/* =============================================
   Pabna Natural Foods — Dark Professional Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@400;500;600;700&family=Noto+Serif+Bengali:wght@500;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d0d1a;
  --bg2:       #12122a;
  --bg3:       #1a1a35;
  --bg4:       #22224a;
  --border:    rgba(150,100,255,0.12);
  --border2:   rgba(150,100,255,0.22);
  --accent:    #a78bfa;
  --accent2:   #c4b5fd;
  --accent3:   #f472b6;
  --accent4:   #38bdf8;
  --text:      #f0eeff;
  --text2:     #a09acd;
  --text3:     #5a5480;
  --green:     #34d399;
  --green-bg:  rgba(52,211,153,0.12);
  --red:       #f87171;
  --red-bg:    rgba(248,113,113,0.12);
  --gold-glow: 0 0 40px rgba(167,139,250,0.25);
  --r:         14px;
  --r2:        9px;
  --font-display: 'Noto Serif Bengali', 'Playfair Display', serif;
  --font-body:    'Anek Bangla', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
input, textarea, button, select { font-family: var(--font-body); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* CURSOR GLOW */
.cursor-glow {
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.08) 0%, rgba(244,114,182,0.04) 50%, transparent 70%);
  position: fixed; pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.08s ease, top 0.08s ease;
}
/* Custom cursor dot */
.cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background 0.2s;
  box-shadow: 0 0 10px var(--accent);
}

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.header.scrolled { border-bottom-color: var(--border2); }
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { font-size: 22px; background: linear-gradient(135deg, var(--accent), var(--accent3)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-bn { font-family: var(--font-display); font-size: 16px; color: var(--text); white-space: nowrap; }
.logo-en { font-size: 9px; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; }

.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  font-size: 13px; letter-spacing: 1px; color: var(--text2);
  text-decoration: none; text-transform: uppercase;
  transition: color 0.2s; cursor: pointer;
}
.nav-links a:hover { color: var(--accent); }

.cart-trigger {
  display: flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--border2);
  color: var(--text); padding: 8px 16px; border-radius: 50px;
  cursor: pointer; font-size: 13px; transition: all 0.2s;
}
.cart-trigger:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 20px rgba(167,139,250,0.2); }
.cart-count {
  background: linear-gradient(135deg, var(--accent3), var(--accent)); color: #fff;
  border-radius: 50%; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
}

/* ============ OFFER STRIP ============ */
.offer-strip {
  margin-top: 64px;
  background: linear-gradient(90deg, #0d0d1a, #1a0d2e, #0d1a2a, #0d0d1a);
  border-bottom: 1px solid rgba(167,139,250,0.2);
  padding: 10px 24px; text-align: center;
}
.offer-strip-inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.offer-pulse { color: var(--accent); animation: blink 1s infinite; font-size: 10px; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.offer-divider { color: var(--text3); }
.offer-countdown { background: linear-gradient(90deg, var(--accent), var(--accent4)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; letter-spacing: 1px; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 100px 24px 60px;
  background: radial-gradient(ellipse at 20% 50%, rgba(167,139,250,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(244,114,182,0.07) 0%, transparent 50%),
              radial-gradient(ellipse at 60% 80%, rgba(56,189,248,0.06) 0%, transparent 50%);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167,139,250,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 700px;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: 4px; color: var(--accent4);
  text-transform: uppercase; margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}
.hero-heading {
  font-family: var(--font-display);
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  margin-bottom: 24px;
}
.hero-line1 {
  font-size: clamp(48px, 8vw, 90px);
  font-weight: 400; color: var(--text);
  line-height: 1; animation: fadeUp 0.9s ease both;
}
.hero-line2 {
  font-size: clamp(48px, 8vw, 90px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent3) 50%, var(--accent4) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1; animation: fadeUp 1s ease both;
}
.hero-sub {
  font-size: 14px; color: var(--text2); letter-spacing: 1px;
  margin-bottom: 40px; animation: fadeUp 1.1s ease both;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent3) 100%);
  color: #fff;
  padding: 14px 36px; border-radius: 50px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.5px;
  text-decoration: none; transition: all 0.3s;
  box-shadow: 0 0 40px rgba(167,139,250,0.35), 0 0 20px rgba(244,114,182,0.2);
  animation: fadeUp 1.2s ease both;
}
.hero-cta:hover { filter: brightness(1.15); transform: translateY(-4px); box-shadow: 0 0 60px rgba(167,139,250,0.5), 0 0 30px rgba(244,114,182,0.35); }

.hero-visual {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  z-index: 1; pointer-events: none;
}
.hero-ring {
  position: absolute; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: spin 20s linear infinite;
}
.r1 { border: 1px solid rgba(167,139,250,0.2); }
.r2 { border: 1px solid rgba(244,114,182,0.2); }
.r3 { border: 1px dashed rgba(56,189,248,0.2); }
.r1 { width: 300px; height: 300px; animation-duration: 30s; }
.r2 { width: 200px; height: 200px; animation-duration: 20s; animation-direction: reverse; }
.r3 { width: 100px; height: 100px; animation-duration: 15s; }
.hero-center-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 48px; background: linear-gradient(135deg, var(--accent), var(--accent3)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: 0.5;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes spin { from{transform:translate(-50%,-50%) rotate(0)} to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes pulse { 0%,100%{opacity:0.3} 50%{opacity:0.7} }

/* ============ PRODUCTS ============ */
.products-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 24px;
}
.section-label { font-size: 11px; letter-spacing: 4px; background: linear-gradient(90deg, var(--accent4), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 48px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media(min-width:600px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:900px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  animation: cardReveal 0.5s ease both;
  position: relative;
}
.product-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(167,139,250,0.07) 0%, rgba(244,114,182,0.04) 60%, transparent 100%);
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover { border-color: rgba(167,139,250,0.4); transform: translateY(-8px); box-shadow: 0 0 40px rgba(167,139,250,0.2), 0 0 80px rgba(244,114,182,0.08); }
.product-card:hover::before { opacity: 1; }
@keyframes cardReveal { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

.pc-img {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s;
  overflow: hidden;
}
.product-card:hover .pc-img { transform: scale(1.05); }
.pc-img img { width: 100%; height: 100%; object-fit: contain; }

.pc-disc-tag {
  position: absolute; top: 10px; right: 10px;
  background: linear-gradient(135deg, var(--accent3), var(--accent)); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 8px; border-radius: 50px;
}
.pc-body { padding: 14px; }
.pc-cat { font-size: 10px; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; margin-bottom: 6px; }
.pc-name { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.pc-price-row { display: flex; align-items: center; gap: 8px; }
.pc-price { font-size: 16px; font-weight: 700; background: linear-gradient(90deg, var(--accent), var(--accent3)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.pc-orig { font-size: 12px; color: var(--text3); text-decoration: line-through; }

.empty-wrap { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 48px; color: var(--text3); margin-bottom: 16px; }
.empty-wrap p { font-size: 18px; color: var(--text2); margin-bottom: 6px; }
.empty-wrap span { font-size: 13px; color: var(--text3); }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.footer-name { font-family: var(--font-display); font-size: 20px; color: var(--text); }
.footer-tagline { font-size: 12px; color: var(--text3); letter-spacing: 2px; margin-bottom: 16px; }
.footer-admin-link { font-size: 12px; color: var(--accent); text-decoration: none; letter-spacing: 1px; }
.footer-admin-link:hover { text-decoration: underline; }

/* ============ OVERLAYS & DRAWERS ============ */
.overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: none; justify-content: flex-end;
  animation: overlayIn 0.2s ease;
}
.overlay.center-overlay { justify-content: center; align-items: center; }
@keyframes overlayIn { from{opacity:0} to{opacity:1} }

.drawer {
  background: var(--bg2);
  border-left: 1px solid var(--border2);
  width: 100%; max-width: 440px;
  height: 100%; overflow-y: auto;
  animation: drawerIn 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
@media(max-width:480px) { .drawer { max-width: 100%; } }
@keyframes drawerIn { from{transform:translateX(60px);opacity:0} to{transform:translateX(0);opacity:1} }

.drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg2); z-index: 10;
}
.drawer-header h3 { font-size: 18px; font-weight: 600; }
.drawer-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border2); background: transparent;
  color: var(--text2); cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.drawer-close:hover { border-color: var(--accent); color: var(--accent); }

/* PRODUCT DRAWER */
.product-drawer { display: flex; flex-direction: column; }
.pd-img-wrap {
  height: 260px; display: flex; align-items: center; justify-content: center;
  font-size: 100px; background: var(--bg3);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0; overflow: hidden;
}
.pd-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.pd-body { padding: 28px; flex: 1; }
.pd-category { font-size: 10px; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
.pd-name { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.pd-desc { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.pd-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.pd-final-price { font-size: 28px; font-weight: 700; background: linear-gradient(90deg, var(--accent), var(--accent3)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.pd-orig-price { font-size: 16px; color: var(--text3); text-decoration: line-through; }
.pd-badge { background: linear-gradient(135deg, rgba(167,139,250,0.2), rgba(244,114,182,0.2)); color: var(--accent2); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 50px; }

.qty-wrap { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.qty-label { font-size: 14px; color: var(--text2); }
.qty-box { display: flex; align-items: center; gap: 16px; background: var(--bg3); border-radius: 50px; padding: 4px 6px; border: 1px solid var(--border2); }
.qty-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: transparent; color: var(--text);
  font-size: 18px; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--accent); color: #000; }
.qty-num { font-size: 18px; font-weight: 700; min-width: 28px; text-align: center; }
.pd-btn-row { display: flex; gap: 12px; }

/* CART DRAWER */
.cart-drawer { display: flex; flex-direction: column; }
.cart-list { flex: 1; padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: flex; gap: 14px; align-items: center;
  background: var(--bg3); border-radius: var(--r2); padding: 12px;
  border: 1px solid var(--border);
}
.ci-img { width: 48px; height: 48px; border-radius: var(--r2); background: var(--bg4); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; overflow: hidden; }
.ci-img img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r2); }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-price { font-size: 12px; color: var(--accent); margin-top: 2px; }
.ci-qty-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.ci-qty-btn { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border2); background: transparent; color: var(--text); cursor: pointer; font-size: 12px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.ci-qty-btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.ci-qty-num { font-size: 13px; font-weight: 700; min-width: 20px; text-align: center; }
.ci-remove { background: none; border: none; color: var(--text3); cursor: pointer; font-size: 16px; flex-shrink: 0; }
.ci-remove:hover { color: var(--red); }

.cart-empty-msg { display: none; text-align: center; padding: 60px 24px; color: var(--text3); font-size: 15px; flex: 1; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 16px; }
.cart-total-row strong { font-size: 20px; color: var(--accent); }

/* ADDRESS DRAWER */
.address-drawer .address-form { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.order-preview { background: var(--bg3); border-radius: var(--r2); padding: 14px; border: 1px solid var(--border); }
.op-item { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; color: var(--text2); }
.op-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--border); color: var(--accent); }
.delivery-tag { font-size: 13px; color: var(--green); font-weight: 500; text-align: center; }

/* SUCCESS CARD */
.success-card {
  background: var(--bg2); border: 1px solid rgba(201,168,76,0.2);
  border-radius: 24px; padding: 48px 40px; text-align: center;
  max-width: 400px; width: 90%;
  animation: popIn 0.4s cubic-bezier(0.4,0,0.2,1);
}
@keyframes popIn { from{transform:scale(0.8);opacity:0} to{transform:scale(1);opacity:1} }
.success-glyph {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-bg); border: 1px solid var(--green);
  color: var(--green); font-size: 32px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.success-card h2 { font-family: var(--font-display); font-size: 28px; margin-bottom: 12px; }
.success-card p { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.success-id { background: var(--bg3); border-radius: var(--r2); padding: 10px 16px; font-size: 13px; color: var(--text2); margin-bottom: 24px; }
.success-id strong { color: var(--accent); }

/* MODAL CARD */
.modal-card {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 20px; padding: 0; width: 90%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  animation: popIn 0.3s ease;
}
.modal-hdr { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-hdr h3 { font-size: 17px; font-weight: 600; }
.pf-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.pf-actions { display: flex; gap: 12px; margin-top: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.confirm-card { padding: 40px; text-align: center; max-width: 360px; }
.confirm-icon { font-size: 48px; margin-bottom: 16px; }
.confirm-card h3 { font-size: 20px; margin-bottom: 8px; }
.confirm-card p { color: var(--text2); font-size: 14px; margin-bottom: 24px; }
.confirm-btns { display: flex; gap: 12px; }

/* ============ FORM FIELDS ============ */
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label { font-size: 11px; letter-spacing: 1.5px; color: var(--text2); text-transform: uppercase; }
.field-group input, .field-group textarea, .field-group select {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--r2); padding: 11px 14px;
  color: var(--text); font-size: 14px; outline: none;
  transition: border-color 0.2s;
}
.field-group input:focus, .field-group textarea:focus { border-color: var(--accent); }
.field-group input::placeholder, .field-group textarea::placeholder { color: var(--text3); }
.field-group small { font-size: 11px; color: var(--text3); }

/* ============ BUTTONS ============ */
.btn-glow {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent3) 100%);
  color: #fff;
  border: none; border-radius: 50px;
  padding: 12px 24px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 0 20px rgba(167,139,250,0.3);
}
.btn-glow:hover { filter: brightness(1.15); box-shadow: 0 0 40px rgba(167,139,250,0.5), 0 0 20px rgba(244,114,182,0.3); transform: translateY(-2px); }
.btn-glow.full-width { width: 100%; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border2); border-radius: 50px;
  padding: 12px 24px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--text2); }
.btn-outline.full-width { width: 100%; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--bg3); border: 1px solid var(--border2);
  color: var(--text); padding: 12px 24px; border-radius: 50px;
  font-size: 13px; z-index: 9999;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), var(--gold-glow);
  animation: toastPop 0.3s ease;
  white-space: nowrap;
}
@keyframes toastPop { from{opacity:0;transform:translateX(-50%) translateY(12px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }

/* ============ ADMIN LAYOUT ============ */
.admin-page { cursor: default; }

.login-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  background-image: linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 20px;
}
.login-card {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 20px; padding: 48px 40px;
  width: 100%; max-width: 380px; text-align: center;
  animation: popIn 0.4s ease;
}
.login-glyph { font-size: 40px; color: var(--accent); margin-bottom: 16px; }
.login-title { font-family: var(--font-display); font-size: 28px; margin-bottom: 6px; letter-spacing: 3px; }
.login-sub { font-size: 13px; color: var(--text2); margin-bottom: 32px; }
.login-err { color: var(--red); font-size: 13px; margin-top: 12px; }
.login-hint { color: var(--text3); font-size: 12px; margin-top: 20px; }
.login-hint strong { color: var(--accent); }
.login-card .field-group { margin-bottom: 16px; text-align: left; }

.admin-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 24px 20px; border-bottom: 1px solid var(--border);
}
.sidebar-name { font-family: var(--font-display); font-size: 17px; color: var(--text); }
.sidebar-nav { padding: 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sidebar-footer { padding: 12px; border-top: 1px solid var(--border); }

.snav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: var(--r2);
  background: none; border: none; color: var(--text2);
  font-size: 14px; cursor: pointer; width: 100%; text-align: left;
  transition: all 0.2s; text-decoration: none; position: relative;
}
.snav-item:hover { background: var(--bg3); color: var(--text); }
.snav-item.active { background: rgba(201,168,76,0.1); color: var(--accent); }
.snav-icon { font-size: 16px; width: 20px; text-align: center; }
.snav-badge {
  margin-left: auto; background: var(--red); color: white;
  border-radius: 50px; padding: 2px 7px; font-size: 11px; font-weight: 700;
}
.logout-btn { color: var(--text3); }
.logout-btn:hover { color: var(--red); background: var(--red-bg); }

.admin-main {
  margin-left: 220px; flex: 1;
  padding: 32px; min-height: 100vh;
  background: var(--bg);
}
@media(max-width:700px) {
  .sidebar { width: 100%; height: auto; position: relative; flex-direction: row; flex-wrap: wrap; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-main { margin-left: 0; padding: 20px 16px; }
}

/* STATS ROW */
.stats-row {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 32px;
}
@media(min-width:700px) { .stats-row { grid-template-columns: repeat(4,1fr); } }
.stat-tile {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px;
  transition: border-color 0.2s;
}
.stat-tile:hover { border-color: var(--border2); }
.stat-tile.accent { border-color: rgba(201,168,76,0.2); }
.stat-num { font-size: 36px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.stat-lbl { font-size: 12px; color: var(--text3); letter-spacing: 1px; }

/* PANEL */
.tab-panel { animation: fadeUp 0.3s ease; }
.panel-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.panel-header h2 { font-size: 20px; font-weight: 600; }

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media(min-width:600px) { .admin-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:900px) { .admin-grid { grid-template-columns: repeat(4,1fr); } }

.admin-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  animation: cardReveal 0.4s ease both;
  transition: border-color 0.2s;
}
.admin-card:hover { border-color: var(--border2); }
.ac-img { height: 110px; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 44px; border-bottom: 1px solid var(--border); overflow: hidden; }
.ac-img img { width: 100%; height: 100%; object-fit: contain; }
.ac-body { padding: 12px; }
.ac-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.ac-price { font-size: 14px; color: var(--accent); font-weight: 700; }
.ac-disc { font-size: 11px; color: var(--text3); margin-top: 2px; }
.ac-actions { display: flex; gap: 6px; margin-top: 10px; }
.ac-btn {
  flex: 1; padding: 7px; border-radius: var(--r2);
  border: 1px solid var(--border2); background: transparent;
  color: var(--text2); font-size: 11px; cursor: pointer; transition: all 0.2s;
}
.ac-btn:hover { border-color: var(--accent); color: var(--accent); }
.ac-btn.del:hover { border-color: var(--red); color: var(--red); }

/* ORDERS */
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ftab {
  padding: 7px 14px; border: 1px solid var(--border2); border-radius: 50px;
  background: transparent; color: var(--text2); font-size: 12px; cursor: pointer; transition: all 0.2s;
}
.ftab.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 600; }

.order-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px; margin-bottom: 12px;
  animation: cardReveal 0.3s ease;
}
.oc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.oc-id { font-size: 11px; letter-spacing: 1px; color: var(--text3); }
.oc-status { padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 600; }
.st-pending { background: rgba(255,180,0,0.12); color: #f5c518; }
.st-accepted { background: var(--green-bg); color: var(--green); }
.st-cancelled { background: var(--red-bg); color: var(--red); }
.oc-cust-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.oc-cust-info { font-size: 13px; color: var(--text2); line-height: 1.7; }
.oc-items { background: var(--bg3); border-radius: var(--r2); padding: 12px; margin: 12px 0; }
.oc-item-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text2); padding: 3px 0; }
.oc-total { font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.oc-date { font-size: 11px; color: var(--text3); margin-bottom: 14px; }
.oc-actions { display: flex; gap: 10px; }
.oc-accept { flex: 1; padding: 10px; border: none; border-radius: 50px; background: var(--green-bg); color: var(--green); font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--green); transition: all 0.2s; }
.oc-accept:hover { background: var(--green); color: #000; }
.oc-cancel { flex: 1; padding: 10px; border-radius: 50px; background: var(--red-bg); color: var(--red); font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--red); transition: all 0.2s; }
.oc-cancel:hover { background: var(--red); color: white; }
.oc-locked { font-size: 13px; color: var(--text3); font-style: italic; }

/* OFFERS */
.offer-panel-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.offer-panel-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 20px; color: var(--text); }
.offer-btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.offer-status-txt { font-size: 13px; margin-top: 14px; }

.disc-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg3); border-radius: var(--r2); padding: 12px 16px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.disc-img { font-size: 28px; width: 36px; text-align: center; }
.disc-info { flex: 1; }
.disc-name { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.disc-input-row { display: flex; align-items: center; gap: 8px; }
.disc-input { width: 64px; padding: 6px 10px; background: var(--bg4); border: 1px solid var(--border2); border-radius: var(--r2); color: var(--text); font-size: 13px; text-align: center; outline: none; }
.disc-input:focus { border-color: var(--accent); }
.disc-label { font-size: 13px; color: var(--text2); }
.disc-save { padding: 7px 14px; border: none; border-radius: var(--r2); background: var(--accent); color: #000; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.disc-save:hover { background: var(--accent2); }

/* ============ DRAG & DROP IMAGE ZONE ============ */
.img-drop-zone {
  width: 100%; height: 160px;
  border: 2px dashed var(--border2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  background: var(--bg3);
  position: relative; overflow: hidden;
}
.img-drop-zone:hover { border-color: var(--accent); background: rgba(201,168,76,0.05); }
.img-drop-zone.drag-over {
  border-color: var(--accent);
  background: rgba(201,168,76,0.1);
  transform: scale(1.01);
  box-shadow: 0 0 30px rgba(201,168,76,0.2);
}
.drop-preview { text-align: center; pointer-events: none; }
.drop-icon  { font-size: 32px; margin-bottom: 8px; }
.drop-text  { font-size: 14px; color: var(--text); font-weight: 500; margin-bottom: 4px; }
.drop-sub   { font-size: 12px; color: var(--text2); margin-bottom: 6px; }
.drop-formats { font-size: 11px; color: var(--text3); letter-spacing: 0.5px; }
.img-or-row {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 0 6px;
}
.or-line { flex: 1; height: 1px; background: var(--border2); }
.or-text  { font-size: 11px; color: var(--text3); white-space: nowrap; letter-spacing: 1px; }

/* SETTINGS */
.settings-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; max-width: 460px; display: flex; flex-direction: column; gap: 16px; }
.settings-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.pass-msg { font-size: 13px; margin-top: 4px; }

/* ============ PABNA VILLAGE THEME OVERRIDE ============ */
:root {
  --bg: #f6f7ee;
  --bg2: #fffdf4;
  --bg3: #eef3df;
  --bg4: #e1ead0;
  --border: rgba(63, 93, 54, 0.14);
  --border2: rgba(63, 93, 54, 0.24);
  --accent: #2f6f3f;
  --accent2: #78a65a;
  --accent3: #c58a2b;
  --accent4: #1f8f6d;
  --text: #24321f;
  --text2: #65725c;
  --text3: #8a927d;
  --green: #2f8f51;
  --green-bg: rgba(47, 143, 81, 0.12);
  --red: #b44435;
  --red-bg: rgba(180, 68, 53, 0.12);
  --gold-glow: 0 18px 50px rgba(80, 105, 48, 0.14);
  --r: 12px;
  --r2: 8px;
}

body {
  background:
    linear-gradient(rgba(47, 111, 63, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 63, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 34px 34px;
}

.cursor-glow {
  background: radial-gradient(circle, rgba(120, 166, 90, 0.16) 0%, rgba(197, 138, 43, 0.08) 42%, transparent 70%);
}

.cursor-dot {
  background: var(--accent3);
  box-shadow: 0 0 10px rgba(197, 138, 43, 0.7);
}

.header {
  background: rgba(255, 253, 244, 0.9);
  border-bottom: 1px solid rgba(63, 93, 54, 0.16);
  box-shadow: 0 10px 30px rgba(36, 50, 31, 0.06);
}

.logo-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-trigger {
  background: #fffaf0;
  border-color: rgba(47, 111, 63, 0.24);
  color: var(--accent);
}

.cart-trigger:hover {
  background: #eef6df;
  box-shadow: 0 10px 24px rgba(47, 111, 63, 0.12);
}

.cart-count,
.btn-glow,
.hero-cta {
  background: linear-gradient(135deg, #2f6f3f 0%, #78a65a 55%, #c58a2b 100%);
  color: #fffdf4;
  box-shadow: 0 12px 28px rgba(47, 111, 63, 0.22);
}

.btn-glow:hover,
.hero-cta:hover {
  filter: brightness(1.04);
  box-shadow: 0 16px 38px rgba(47, 111, 63, 0.28);
}

.offer-strip {
  background: #2f6f3f;
  border-bottom: 1px solid rgba(255, 253, 244, 0.18);
  color: #fffdf4;
}

.offer-countdown,
.section-label,
.pc-price,
.pd-final-price {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--accent);
}

.hero {
  min-height: 92vh;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 24px 72px;
  background:
    linear-gradient(90deg, rgba(20, 38, 22, 0.74), rgba(20, 38, 22, 0.36) 48%, rgba(20, 38, 22, 0.06)),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero-bg-grid {
  background-image:
    linear-gradient(rgba(255, 253, 244, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 244, 0.08) 1px, transparent 1px);
  opacity: 0.35;
}

.hero-content {
  width: min(1200px, 100%);
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  color: #fffdf4;
}

.hero-eyebrow {
  color: #f8d78b;
  letter-spacing: 3px;
}

.hero-line1,
.hero-line2 {
  align-self: flex-start;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.32);
}

.hero-line1 {
  color: #fffdf4;
}

.hero-line2 {
  background: none;
  -webkit-text-fill-color: #f7d889;
  color: #f7d889;
}

.hero-sub {
  max-width: 560px;
  color: rgba(255, 253, 244, 0.88);
  font-size: 16px;
}

.hero-visual {
  right: 14%;
  opacity: 0.65;
}

.hero-ring {
  background: rgba(255, 253, 244, 0.04);
}

.r1 { border-color: rgba(255, 253, 244, 0.26); }
.r2 { border-color: rgba(247, 216, 137, 0.28); }
.r3 { border-color: rgba(120, 166, 90, 0.38); }

.hero-center-icon {
  background: none;
  -webkit-text-fill-color: rgba(255, 253, 244, 0.8);
  color: rgba(255, 253, 244, 0.8);
}

.products-wrap {
  padding-top: 72px;
}

.section-title {
  color: var(--text);
}

.product-card,
.admin-card,
.stat-tile,
.offer-panel-card,
.settings-card,
.login-card,
.modal-card,
.drawer,
.order-card,
.cart-item,
.order-preview {
  background: rgba(255, 253, 244, 0.94);
  border-color: rgba(63, 93, 54, 0.16);
  box-shadow: 0 16px 42px rgba(36, 50, 31, 0.08);
}

.product-card::before {
  background: linear-gradient(135deg, rgba(120, 166, 90, 0.12), rgba(197, 138, 43, 0.08));
}

.product-card:hover {
  border-color: rgba(47, 111, 63, 0.34);
  box-shadow: 0 22px 54px rgba(47, 111, 63, 0.14);
}

.pc-img,
.ac-img,
.pd-img-wrap {
  background:
    linear-gradient(135deg, rgba(47, 111, 63, 0.08), rgba(197, 138, 43, 0.1)),
    #eef3df;
}

.pc-img,
.ac-img,
.pd-img-wrap,
.ci-img {
  padding: 8px;
}

.pd-img-wrap {
  height: min(62vh, 520px);
}

.pc-img img,
.ac-img img,
.pd-img-wrap img,
.ci-img img {
  border-radius: 8px;
}

.product-card:hover .pc-img {
  transform: none;
}

.pc-disc-tag {
  background: #c58a2b;
}

.footer {
  background: #eef3df;
  border-top-color: rgba(63, 93, 54, 0.15);
}

.field-group input,
.field-group textarea,
.field-group select,
.img-drop-zone,
.disc-input {
  background: #fffaf0;
  border-color: rgba(63, 93, 54, 0.2);
  color: var(--text);
}

.overlay {
  background: rgba(25, 40, 25, 0.5);
}

.drawer-header {
  background: #fffdf4;
}

.sidebar {
  background: #fffdf4;
}

.admin-main,
.login-screen {
  background:
    linear-gradient(rgba(47, 111, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 63, 0.035) 1px, transparent 1px),
    #f6f7ee;
  background-size: 34px 34px;
}

.snav-item.active {
  background: rgba(47, 111, 63, 0.1);
  color: var(--accent);
}

.ftab.active,
.disc-save {
  background: var(--accent);
  color: #fffdf4;
}

.toast {
  background: #fffdf4;
  color: var(--text);
  border-color: rgba(63, 93, 54, 0.18);
}

@media(max-width:700px) {
  .hero {
    justify-content: center;
    min-height: 740px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-line1,
  .hero-line2 {
    align-self: center;
  }

  .hero-visual {
    display: none;
  }
}

/* ============ DARK VILLAGE THEME OVERRIDE ============ */
:root {
  --bg: #0d160f;
  --bg2: #142016;
  --bg3: #1b2a1d;
  --bg4: #253624;
  --border: rgba(230, 193, 120, 0.13);
  --border2: rgba(230, 193, 120, 0.24);
  --accent: #d8a742;
  --accent2: #b6d37a;
  --accent3: #4f9a54;
  --accent4: #e7c67a;
  --text: #f6efd8;
  --text2: #c7c2a5;
  --text3: #847f68;
  --green: #86c35e;
  --green-bg: rgba(134, 195, 94, 0.13);
  --red: #e26d5a;
  --red-bg: rgba(226, 109, 90, 0.13);
  --gold-glow: 0 20px 60px rgba(216, 167, 66, 0.18);
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(79, 154, 84, 0.16), transparent 34%),
    radial-gradient(circle at 78% 14%, rgba(216, 167, 66, 0.11), transparent 30%),
    linear-gradient(rgba(230, 193, 120, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 193, 120, 0.026) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
}

.cursor-glow {
  background: radial-gradient(circle, rgba(216, 167, 66, 0.12) 0%, rgba(79, 154, 84, 0.08) 45%, transparent 70%);
}

.cursor-dot {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(216, 167, 66, 0.72);
}

.header {
  background: rgba(10, 20, 12, 0.86);
  border-bottom-color: rgba(230, 193, 120, 0.16);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

.logo-bn,
.section-title,
.footer-name,
.sidebar-name,
.login-title,
.panel-header h2,
.pd-name {
  color: var(--text);
}

.nav-links a,
.hero-sub,
.footer-tagline,
.field-group label,
.login-sub,
.stat-lbl {
  color: var(--text2);
}

.cart-trigger {
  background: rgba(246, 239, 216, 0.06);
  border-color: rgba(230, 193, 120, 0.25);
  color: var(--text);
}

.cart-trigger:hover {
  background: rgba(216, 167, 66, 0.1);
  color: var(--accent);
  box-shadow: 0 0 28px rgba(216, 167, 66, 0.16);
}

.cart-count,
.btn-glow,
.hero-cta {
  background: linear-gradient(135deg, #4f9a54 0%, #d8a742 100%);
  color: #10180e;
  box-shadow: 0 14px 34px rgba(216, 167, 66, 0.2);
}

.btn-glow:hover,
.hero-cta:hover {
  box-shadow: 0 20px 48px rgba(216, 167, 66, 0.28);
}

.btn-outline {
  color: var(--text);
  border-color: rgba(230, 193, 120, 0.24);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.offer-strip {
  background: linear-gradient(90deg, #0d160f, #1d2b17, #3b2d10, #0d160f);
  border-bottom-color: rgba(230, 193, 120, 0.2);
}

.hero {
  background:
    linear-gradient(90deg, rgba(8, 18, 10, 0.9), rgba(8, 18, 10, 0.62) 50%, rgba(8, 18, 10, 0.2)),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero-bg-grid {
  opacity: 0.24;
}

.hero-line1 {
  color: #fff8dc;
}

.hero-line2 {
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
}

.hero-eyebrow,
.section-label,
.pc-cat,
.pd-category,
.pc-price,
.pd-final-price,
.cart-total-row strong,
.stat-num,
.ac-price,
.success-id strong {
  color: var(--accent);
}

.product-card,
.admin-card,
.stat-tile,
.offer-panel-card,
.settings-card,
.login-card,
.modal-card,
.drawer,
.order-card,
.cart-item,
.order-preview,
.success-card {
  background: rgba(20, 32, 22, 0.96);
  border-color: rgba(230, 193, 120, 0.14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.product-card::before {
  background: linear-gradient(135deg, rgba(216, 167, 66, 0.09), rgba(79, 154, 84, 0.08));
}

.product-card:hover,
.admin-card:hover {
  border-color: rgba(216, 167, 66, 0.38);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.36), 0 0 34px rgba(216, 167, 66, 0.08);
}

.pc-img,
.ac-img,
.pd-img-wrap,
.ci-img {
  background:
    linear-gradient(135deg, rgba(246, 239, 216, 0.06), rgba(216, 167, 66, 0.08)),
    #0f1b11;
}

.pc-disc-tag {
  background: linear-gradient(135deg, #d8a742, #8da546);
  color: #10180e;
}

.footer {
  background: #101b12;
  border-top-color: rgba(230, 193, 120, 0.14);
}

.overlay {
  background: rgba(5, 10, 6, 0.74);
}

.drawer-header {
  background: #142016;
}

.field-group input,
.field-group textarea,
.field-group select,
.img-drop-zone,
.disc-input {
  background: #101b12;
  border-color: rgba(230, 193, 120, 0.18);
  color: var(--text);
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: var(--text3);
}

.sidebar {
  background: #101b12;
  border-right-color: rgba(230, 193, 120, 0.14);
}

.admin-main,
.login-screen {
  background:
    radial-gradient(circle at 15% 10%, rgba(79, 154, 84, 0.14), transparent 34%),
    linear-gradient(rgba(230, 193, 120, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 193, 120, 0.025) 1px, transparent 1px),
    #0d160f;
  background-size: auto, 38px 38px, 38px 38px, auto;
}

.snav-item {
  color: var(--text2);
}

.snav-item:hover {
  background: rgba(246, 239, 216, 0.05);
}

.snav-item.active {
  background: rgba(216, 167, 66, 0.12);
  color: var(--accent);
}

.ftab {
  color: var(--text2);
  border-color: rgba(230, 193, 120, 0.2);
}

.ftab.active,
.disc-save {
  background: var(--accent);
  color: #10180e;
}

.ftab.danger-soft {
  border-color: rgba(226, 109, 90, 0.32);
  color: var(--red);
}

.ftab.danger-soft:hover {
  background: rgba(226, 109, 90, 0.12);
  border-color: rgba(226, 109, 90, 0.55);
}

.toast {
  background: #142016;
  color: var(--text);
  border-color: rgba(230, 193, 120, 0.2);
}

/* ============ PREMIUM BANGLA TYPOGRAPHY ============ */
body,
input,
textarea,
button,
select {
  font-family: 'Anek Bangla', sans-serif;
  font-weight: 500;
}

.hero-heading,
.section-title,
.pd-name,
.footer-name,
.success-card h2 {
  font-family: 'Noto Serif Bengali', serif;
  letter-spacing: 0;
}

.hero-line1,
.hero-line2 {
  font-family: 'Noto Serif Bengali', serif;
  font-weight: 900;
  line-height: 1.06;
}

.hero-line1 {
  font-size: clamp(48px, 7.2vw, 86px);
}

.hero-line2 {
  font-size: clamp(46px, 6.8vw, 82px);
}

.hero-sub,
.pc-name,
.pd-desc,
.oc-cust-info,
.op-item,
.field-group input,
.field-group textarea {
  font-weight: 500;
  line-height: 1.75;
}

.nav-links a,
.cart-trigger,
.hero-cta,
.btn-glow,
.btn-outline,
.ftab,
.snav-item {
  font-weight: 700;
}

.logo-bn,
.login-title,
.sidebar-name {
  font-family: 'Playfair Display', 'Noto Serif Bengali', serif;
  font-weight: 900;
}

.login-title {
  letter-spacing: 2px;
}

/* ============ MARKETPLACE INSPIRED LAYOUT ============ */
.header {
  position: sticky;
}

.header-inner {
  height: 62px;
}

.market-nav {
  position: sticky;
  top: 62px;
  z-index: 850;
  display: flex;
  gap: 10px;
  justify-content: center;
  overflow-x: auto;
  border-bottom: 1px solid rgba(230, 193, 120, 0.12);
  background: rgba(13, 22, 15, 0.92);
  padding: 10px 18px;
  backdrop-filter: blur(16px);
}

.market-nav a {
  flex: 0 0 auto;
  color: var(--text2);
  border: 1px solid rgba(230, 193, 120, 0.18);
  border-radius: 999px;
  padding: 7px 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.market-nav a:hover {
  color: var(--accent);
  border-color: rgba(216, 167, 66, 0.48);
  background: rgba(216, 167, 66, 0.08);
}

.hero {
  min-height: 520px;
  align-items: center;
  padding: 76px 24px 64px;
}

.hero-content {
  max-width: 920px;
  text-align: center;
}

.hero-line1,
.hero-line2 {
  align-self: center;
}

.hero-line1 {
  font-size: clamp(38px, 5.4vw, 68px);
}

.hero-line2 {
  font-size: clamp(38px, 5.2vw, 66px);
}

.hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.hero-visual {
  display: none;
}

.featured-cats,
.products-wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.featured-cats {
  padding: 44px 0 20px;
}

.products-wrap {
  padding: 46px 0 80px;
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-title {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
}

.section-action {
  min-height: 38px;
  border: 1px solid rgba(230, 193, 120, 0.22);
  border-radius: 999px;
  background: rgba(246, 239, 216, 0.05);
  color: var(--accent);
  padding: 0 16px;
  font-weight: 700;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.cat-card {
  display: grid;
  min-height: 104px;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(230, 193, 120, 0.14);
  border-radius: 14px;
  background: rgba(20, 32, 22, 0.96);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.cat-card:hover {
  border-color: rgba(216, 167, 66, 0.42);
  transform: translateY(-3px);
}

.cat-card span {
  font-size: 2rem;
}

.cat-card strong {
  font-size: 0.95rem;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media(min-width:760px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media(min-width:1080px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.pc-img {
  height: 190px;
}

.pc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
}

.pc-name {
  min-height: 48px;
  margin-bottom: 0;
}

.pc-price-row {
  margin-top: auto;
}

.pc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.pc-cart-btn,
.pc-buy-btn {
  min-height: 36px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.pc-cart-btn {
  border: 1px solid rgba(230, 193, 120, 0.22);
  background: rgba(246, 239, 216, 0.05);
  color: var(--text);
}

.pc-buy-btn {
  border: 0;
  background: linear-gradient(135deg, #4f9a54 0%, #d8a742 100%);
  color: #10180e;
}

.pc-cart-btn:hover,
.pc-buy-btn:hover {
  filter: brightness(1.07);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.product-section {
  scroll-margin-top: 132px;
}

.product-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.product-section-head h3 {
  color: var(--text);
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
}

.product-section-head span {
  border: 1px solid rgba(230, 193, 120, 0.18);
  border-radius: 999px;
  color: var(--text2);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
}

.section-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media(min-width:760px) {
  .section-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media(min-width:1080px) {
  .section-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media(max-width:720px) {
  .nav-links {
    display: none;
  }

  .market-nav {
    justify-content: flex-start;
    top: 62px;
  }

  .hero {
    min-height: 500px;
  }

  .section-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pc-img {
    height: 150px;
  }
}

@media(max-width:460px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .section-product-grid {
    grid-template-columns: 1fr;
  }
}
