/* ===== FALLING DOODLES ===== */
.doodles-bg {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  overflow: hidden;
}
.doodle {
  pointer-events: all;
  cursor: pointer;
}
.doodle-popup {
  position: fixed;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800;
  pointer-events: none;
  z-index: 10000;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(46,125,50,0.4);
  animation: popupAnim 3s ease forwards;
  transform: translate(-50%, -50%);
}
@keyframes popupAnim {
  0%   { opacity: 0; transform: translate(-50%, -60%) scale(0.7); }
  15%  { opacity: 1; transform: translate(-50%, -70%) scale(1.1); }
  30%  { transform: translate(-50%, -75%) scale(1); }
  80%  { opacity: 1; transform: translate(-50%, -80%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -95%) scale(0.9); }
}
.doodle {
  position: absolute; top: -120px;
  opacity: 0;
  animation: doodleFall linear infinite;
}
.doodle svg { display: block; }

@keyframes doodleFall {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
  5%   { opacity: 0.35; }
  90%  { opacity: 0.25; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* Each doodle: different position, size, speed, delay */
.doodle:nth-child(1)  { left:3%;   width:28px; animation-duration:18s; animation-delay:0s;    }
.doodle:nth-child(2)  { left:9%;   width:22px; animation-duration:22s; animation-delay:2s;    }
.doodle:nth-child(3)  { left:16%;  width:32px; animation-duration:16s; animation-delay:4s;    }
.doodle:nth-child(4)  { left:23%;  width:20px; animation-duration:21s; animation-delay:1s;    }
.doodle:nth-child(5)  { left:30%;  width:26px; animation-duration:19s; animation-delay:6s;    }
.doodle:nth-child(6)  { left:38%;  width:30px; animation-duration:15s; animation-delay:3s;    }
.doodle:nth-child(7)  { left:45%;  width:24px; animation-duration:24s; animation-delay:5s;    }
.doodle:nth-child(8)  { left:52%;  width:28px; animation-duration:18s; animation-delay:7s;    }
.doodle:nth-child(9)  { left:59%;  width:20px; animation-duration:21s; animation-delay:2.5s;  }
.doodle:nth-child(10) { left:66%;  width:34px; animation-duration:16s; animation-delay:8s;    }
.doodle:nth-child(11) { left:73%;  width:22px; animation-duration:25s; animation-delay:9s;    }
.doodle:nth-child(12) { left:80%;  width:28px; animation-duration:19s; animation-delay:10s;   }
.doodle:nth-child(13) { left:87%;  width:18px; animation-duration:22s; animation-delay:11s;   }
.doodle:nth-child(14) { left:93%;  width:30px; animation-duration:18s; animation-delay:0.5s;  }
.doodle:nth-child(15) { left:6%;   width:24px; animation-duration:21s; animation-delay:3.5s;  }
.doodle:nth-child(16) { left:13%;  width:26px; animation-duration:24s; animation-delay:12s;   }
.doodle:nth-child(17) { left:27%;  width:20px; animation-duration:16s; animation-delay:1.5s;  }
.doodle:nth-child(18) { left:42%;  width:32px; animation-duration:19s; animation-delay:7.5s;  }
.doodle:nth-child(19) { left:57%;  width:22px; animation-duration:22s; animation-delay:4.5s;  }
.doodle:nth-child(20) { left:70%;  width:28px; animation-duration:18s; animation-delay:9.5s;  }
.doodle:nth-child(21) { left:83%;  width:24px; animation-duration:21s; animation-delay:6.5s;  }
.doodle:nth-child(22) { left:96%;  width:20px; animation-duration:15s; animation-delay:2s;    }

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text); overflow-x: hidden;
  user-select: none; -webkit-user-select: none; -ms-user-select: none;
  -webkit-touch-callout: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(194,24,91,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(123,31,162,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(0,121,107,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 70%, rgba(173,20,87,0.08) 0%, transparent 60%),
    linear-gradient(160deg, #fff0f6 0%, #fdf0ff 30%, #f0f4ff 60%, #f0faf8 100%);
  min-height: 100vh;
}
img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
input, textarea { user-select: text; -webkit-user-select: text; }
a { text-decoration: none; color: inherit; }

:root {
  /* Jewel-tone saree palette — deep magenta, royal purple, teal */
  --pink:        #c2185b;
  --pink-light:  #fce4ec;
  --pink-mid:    #ad1457;
  --lavender:    #7b1fa2;
  --lavender-light: #f3e5f5;
  --teal:        #00796b;
  --teal-light:  #e0f2f1;
  --sky:         #0288d1;
  --sky-light:   #e1f5fe;

  /* Primary brand accent — deep magenta/rose */
  --green:       #c2185b;
  --green-mid:   #ad1457;
  --green-light: #e91e8c;
  --green-pale:  #fce4ec;
  --orange:      #7b1fa2;
  --orange-light:#9c27b0;

  --text:   #1a0a2e;
  --muted:  #6d4c7a;
  --border: rgba(173,20,87,0.18);
  --shadow: 0 8px 32px rgba(173,20,87,0.15);
  --radius: 20px;

  /* Glass surfaces */
  --glass:        rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.7);
  --glass-shadow: 0 8px 32px rgba(173,20,87,0.18);
}

/* ===== NAVBAR ===== */
.navbar { position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(135deg, rgba(173,20,87,0.96) 0%, rgba(123,31,162,0.96) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 0 rgba(255,255,255,0.08), 0 4px 28px rgba(173,20,87,0.35);
  padding: 12px 6%;
  display: flex; align-items: center; gap: 16px;
  transition: padding 0.3s, box-shadow 0.3s;
  overflow: visible;
}
.navbar.scrolled { padding-top: 8px; padding-bottom: 8px; box-shadow: 0 4px 30px rgba(173,20,87,0.45); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo-wrap {
  width: 42px; height: 42px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  background: #fff;
}
.brand-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name { font-size: 1.55rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; display: block; line-height: 1.1; }
.brand-badge { font-size: 0.62rem; font-weight: 700; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.8px; display: block; }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a {
  font-size: 0.92rem; font-weight: 600; color: rgba(255,255,255,0.85);
  position: relative; transition: color 0.2s; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.6));
  border-radius: 2px; transition: width 0.28s;
}
.nav-links a:hover, .nav-links a.active-link { color: #fff; }
.nav-links a:hover::after, .nav-links a.active-link::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 20px; flex-shrink: 0; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.18); border-radius: 25px; padding: 8px 16px;
  border: 1.5px solid rgba(255,255,255,0.35); transition: all 0.25s;
  position: relative;
}
.search-box:focus-within { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.28); box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }
.search-box input { border: none; background: transparent; outline: none; font-size: 0.88rem; width: 190px; color: #fff; }
.search-box input::placeholder { color: rgba(255,255,255,0.65); }
.search-box > svg { width: 15px; height: 15px; color: rgba(255,255,255,0.8); flex-shrink: 0; }
.search-clear {
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--muted); display: none; flex-shrink: 0;
  transition: color 0.2s;
}
.search-clear.visible { display: flex; align-items: center; }
.search-clear:hover { color: var(--text); }
.search-clear svg { width: 14px; height: 14px; }

/* Search dropdown */
.search-dropdown {
  display: none;
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  border: 1px solid var(--border);
  z-index: 1200;
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
}
.search-dropdown.open { display: block; }
.sd-section-label {
  padding: 10px 16px 6px;
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.6px; color: var(--muted);
  background: #fafafa; border-bottom: 1px solid #f3f4f6;
}
.sd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f9fafb;
}
.sd-item:last-child { border-bottom: none; }
.sd-item:hover { background: #f0fdf4; }
.sd-emoji { font-size: 1.6rem; width: 36px; text-align: center; flex-shrink: 0; }
.sd-img-photo { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.sd-info { flex: 1; }
.sd-name { font-size: 0.88rem; font-weight: 700; color: #0f172a; }
.sd-name mark { background: #bbf7d0; color: var(--green-mid); border-radius: 3px; padding: 0 2px; font-style: normal; }
.sd-meta { font-size: 0.74rem; color: var(--muted); margin-top: 1px; }
.sd-price { font-size: 0.9rem; font-weight: 800; color: var(--green-mid); flex-shrink: 0; }
.sd-add {
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #fff; border: none; border-radius: 14px;
  padding: 5px 12px; font-size: 0.78rem; font-weight: 700;
  cursor: pointer; flex-shrink: 0; transition: transform 0.15s;
}
.sd-add:hover { transform: scale(1.06); }
.sd-no-results {
  padding: 28px 16px; text-align: center;
  color: var(--muted); font-size: 0.9rem;
}
.sd-footer {
  padding: 10px 16px;
  background: #fafafa; border-top: 1px solid #f3f4f6;
  text-align: center;
}
.sd-footer button {
  background: none; border: none; cursor: pointer;
  color: var(--green-mid); font-size: 0.82rem; font-weight: 700;
  transition: opacity 0.2s;
}
.sd-footer button:hover { opacity: 0.7; }
.cart-btn {
  position: relative; background: rgba(255,255,255,0.22);
  color: #fff; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.cart-btn svg { width: 18px; height: 18px; }
.cart-btn:hover { transform: scale(1.1); background: rgba(255,255,255,0.35); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  background: linear-gradient(135deg, #00796b, #00bfa5);
  color: #fff; font-size: 0.6rem; font-weight: 800;
  width: 19px; height: 19px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--green-mid); padding: 4px; }
.menu-toggle svg { width: 24px; height: 24px; }

/* ===== MOBILE NAV ===== */
.mobile-nav { display: none; }

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(173,20,87,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(123,31,162,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 10%, rgba(0,121,107,0.05) 0%, transparent 60%),
    linear-gradient(160deg, #fff5f9 0%, #fdf5ff 40%, #f5f0ff 100%);
  display: flex; flex-direction: column;
  padding: 36px 6% 56px;
  overflow: hidden; position: relative; z-index: 1;
}
.hero::before {
  content: '';
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(173,20,87,0.06) 0%, transparent 70%);
  top: -100px; right: -100px; border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(123,31,162,0.06) 0%, transparent 70%);
  bottom: 0; left: 5%; border-radius: 50%;
  pointer-events: none;
}
.hero-body {
  display: flex; align-items: center;
  gap: 48px; flex: 1; padding-top: 36px;
}
.hero-content { flex: 1; max-width: 560px; }
.hero-sub {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(173,20,87,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--green-mid);
  font-size: 0.78rem; font-weight: 800;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 22px; text-transform: uppercase; letter-spacing: 1px;
  border: 1px solid rgba(173,20,87,0.15);
  box-shadow: 0 2px 12px rgba(173,20,87,0.08);
}
.hero-sub svg { width: 13px; height: 13px; fill: var(--green-mid); }
.hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 900;
  line-height: 1.1; color: #1a0a2e; margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero-content h1 span {
  color: transparent;
  background: linear-gradient(135deg, var(--green-mid), var(--lavender));
  -webkit-background-clip: text; background-clip: text;
}
.hero-desc { font-size: 1.05rem; color: var(--muted); margin-bottom: 16px; line-height: 1.8; max-width: 460px; }
.hero-gift {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: var(--lavender); margin-bottom: 28px;
  background: rgba(123,31,162,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(123,31,162,0.15); border-radius: 20px;
  padding: 8px 18px; font-weight: 600;
  box-shadow: 0 2px 12px rgba(123,31,162,0.08);
}
.hero-gift svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-gift strong { color: var(--lavender); font-weight: 800; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--lavender) 100%);
  color: #fff; padding: 14px 30px; border-radius: 30px;
  font-weight: 700; font-size: 0.95rem; border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(173,20,87,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
  border-radius: 30px;
}
.btn-primary svg { width: 17px; height: 17px; position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(173,20,87,0.4); }
.hero-contact {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(173,20,87,0.1);
}
.hero-contact-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 9px 16px 9px 10px;
  border-radius: 30px; border: 1.5px solid rgba(173,20,87,0.12);
  box-shadow: 0 2px 12px rgba(173,20,87,0.07);
  transition: all 0.22s;
}
.hero-contact-item:hover { border-color: var(--green-light); box-shadow: 0 4px 20px rgba(173,20,87,0.15); transform: translateY(-2px); }
.hero-contact-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-contact-icon svg { width: 16px; height: 16px; }
.hero-contact-wa   { background: rgba(0,121,107,0.12); color: #00796b; }
.hero-contact-mail { background: rgba(2,136,209,0.12); color: #0288d1; }

/* Hero visual */
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.hero-circle {
  width: 420px; height: 420px;
  background: conic-gradient(from 180deg at 50% 50%, rgba(173,20,87,0.12), rgba(123,31,162,0.15), rgba(0,121,107,0.1), rgba(173,20,87,0.12));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border: 2px solid rgba(255,255,255,0.65);
  box-shadow: 0 30px 80px rgba(173,20,87,0.15), inset 0 0 60px rgba(255,255,255,0.35);
  animation: float 5s ease-in-out infinite;
}
.hero-circle::before { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-main-img {
  width: 220px; height: 220px;
  object-fit: contain;
  border-radius: 50%;
  position: relative; z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(173,20,87,0.18));
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(1deg); }
}
.badge {
  position: absolute;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 30px;
  padding: 9px 16px; font-size: 0.76rem; font-weight: 700;
  box-shadow: 0 8px 24px rgba(173,20,87,0.1);
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.88);
  z-index: 2;
}
.badge svg { width: 15px; height: 15px; flex-shrink: 0; }
.badge-organic { top: 30px; left: -24px; color: var(--green-mid); animation: badgePulse 3.5s ease-in-out infinite; }
.badge-delivery { bottom: 55px; left: -44px; color: var(--teal); animation: badgePulse 3.5s ease-in-out 1.2s infinite; }
.badge-freedel  { top: 30px; right: -44px; color: #0288d1; animation: badgePulse 3.5s ease-in-out 0.6s infinite; }
.badge-brand    { bottom: 10px; right: -32px; color: var(--green-mid); animation: badgePulse 3.5s ease-in-out 2.4s infinite; }
.badge-brand img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
@keyframes badgePulse {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.06) translateY(-3px); }
}

/* ===== HERO CATEGORIES ===== */
.hero-cats {
  display: flex; flex-direction: row; align-items: center;
  justify-content: flex-start; gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(173,20,87,0.08);
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
}
.hero-cats::-webkit-scrollbar { display: none; }
.hcat { display: flex; flex-direction: column; align-items: center; gap: 9px; cursor: pointer; }
.hcat-circle {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  border: 2px solid rgba(173,20,87,0.12);
  box-shadow: 0 4px 16px rgba(173,20,87,0.07);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), border-color 0.2s, box-shadow 0.2s;
}
.hcat-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hcat:hover .hcat-circle, .hcat.active .hcat-circle {
  transform: translateY(-7px) scale(1.1);
  border-color: var(--green-mid);
  box-shadow: 0 12px 28px rgba(173,20,87,0.2);
}
.hcat span {
  font-size: 0.71rem; font-weight: 700; color: var(--muted);
  text-align: center; max-width: 80px; line-height: 1.3; transition: color 0.2s;
}
.hcat:hover span, .hcat.active span { color: var(--green-mid); }

/* ===== PRODUCTS DRAWER ===== */
.drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(26,10,46,0.4); backdrop-filter: blur(4px);
  z-index: 1500;
}
.drawer-overlay.open { display: block; }
.drawer {
  position: fixed; top: 0; right: -100%;
  width: min(560px, 100%);
  height: 100vh;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1600;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(173,20,87,0.12);
  transition: right 0.38s cubic-bezier(0.4,0,0.2,1);
}
.drawer.open { right: 0; }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(173,20,87,0.1);
  background: linear-gradient(135deg, rgba(173,20,87,0.05), rgba(255,255,255,0.9));
  flex-shrink: 0;
}
.drawer-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 900; color: var(--text);
}
.drawer-cat-icon { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.drawer-cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.drawer-cat-icon svg { width: 100%; height: 100%; }
.drawer-header-right { display: flex; align-items: center; gap: 10px; }
.drawer-search {
  display: flex; align-items: center; gap: 7px;
  background: rgba(173,20,87,0.05); border-radius: 20px; padding: 7px 14px;
  border: 1.5px solid rgba(173,20,87,0.12); transition: all 0.2s;
}
.drawer-search:focus-within { border-color: var(--green-mid); background: #fff; box-shadow: 0 0 0 3px rgba(173,20,87,0.08); }
.drawer-search svg { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }
.drawer-search input { border: none; background: transparent; outline: none; font-size: 0.85rem; width: 130px; color: var(--text); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; scrollbar-width: thin; scrollbar-color: rgba(173,20,87,0.2) transparent; }
.drawer-body::-webkit-scrollbar { width: 4px; }
.drawer-body::-webkit-scrollbar-track { background: transparent; }
.drawer-body::-webkit-scrollbar-thumb { background: rgba(173,20,87,0.2); border-radius: 4px; }
.drawer-body::-webkit-scrollbar-thumb:hover { background: rgba(173,20,87,0.35); }

/* Drawer cart button */
.drawer-cart-btn {
  position: relative;
  background: linear-gradient(135deg, var(--green-mid), var(--lavender));
  color: #fff; border: none; border-radius: 50%;
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(173,20,87,0.3);
}
.drawer-cart-btn svg { width: 17px; height: 17px; }
.drawer-cart-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(173,20,87,0.4); }
.drawer-cart-count {
  position: absolute; top: -5px; right: -5px;
  background: linear-gradient(135deg, #00796b, #00bfa5);
  color: #fff; font-size: 0.6rem; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.drawer-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 60px 20px; color: var(--muted);
}
.drawer-empty svg { width: 40px; height: 40px; opacity: 0.3; }

/* Product grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.prod-card {
  border: 1.5px solid rgba(173,20,87,0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(173,20,87,0.07);
  transition: transform 0.22s, box-shadow 0.22s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(173,20,87,0.14); }
.prod-img {
  background: linear-gradient(135deg, rgba(173,20,87,0.05), rgba(123,31,162,0.05));
  height: 130px; display: flex; align-items: center; justify-content: center;
  position: relative; font-size: 4rem;
}
.prod-emoji { line-height: 1; }
.prod-img-photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
  position: absolute; inset: 0;
}
.prod-tag {
  position: absolute; top: 10px; left: 10px;
  color: #fff; font-size: 0.65rem; font-weight: 800;
  padding: 3px 9px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.4px;
}
.prod-body { padding: 12px 14px 14px; }
.prod-cat-label { font-size: 0.68rem; font-weight: 700; color: var(--green-mid); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.prod-name { font-size: 0.92rem; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.prod-unit { font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; }
.prod-footer { display: flex; align-items: center; justify-content: space-between; }
.prod-price { font-size: 1.05rem; font-weight: 900; color: var(--green-mid); }
.prod-add-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, var(--green-mid), var(--lavender));
  color: #fff; border: none; border-radius: 20px;
  padding: 7px 14px; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 12px rgba(173,20,87,0.25);
}
.prod-add-btn svg { width: 13px; height: 13px; }
.prod-add-btn:hover { transform: scale(1.06); box-shadow: 0 5px 18px rgba(173,20,87,0.35); }
.prod-qty-ctrl {
  display: flex; align-items: center; gap: 8px;
  background: rgba(173,20,87,0.05); border-radius: 20px; padding: 4px 10px;
  border: 1.5px solid rgba(173,20,87,0.2);
}
.prod-qty-ctrl button {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 800; color: var(--green-mid);
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  transition: color 0.15s;
}
.prod-qty-ctrl button:hover { color: var(--lavender); }
.prod-qty-ctrl span { font-size: 0.88rem; font-weight: 800; color: var(--text); min-width: 16px; text-align: center; }

/* All Products category circle */
.hcat-all {
  background: linear-gradient(135deg, rgba(173,20,87,0.07), rgba(123,31,162,0.07));
  display: flex; align-items: center; justify-content: center;
}
.hcat-all svg { width: 40px; height: 40px; }

/* Address modal sits ABOVE checkout modal */
#addrOverlay { z-index: 3500; }
#addrOverlay .modal { max-width: 600px; }
.addrbook-body { display: flex; flex-direction: column; gap: 0; max-height: 75vh; overflow-y: auto; }
.addrbook-list-section { padding: 16px 24px; }
.addrbook-list-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--muted);
  margin-bottom: 14px;
}
.addrbook-form-section {
  border-top: 1px solid var(--border);
  background: #fafafa;
}
.addrbook-form-section .addr-form { background: #fafafa; padding-top: 0; }
.addrbook-form-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px 0;
  font-size: 0.9rem; font-weight: 800; color: #0f172a;
}
.addr-nav-btn {
  background: rgba(255,255,255,0.2); border: none; border-radius: 50%;
  width: 40px; height: 40px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background 0.2s, transform 0.15s;
}
.addr-nav-btn svg { width: 18px; height: 18px; }
.addr-nav-btn:hover { background: rgba(255,255,255,0.32); transform: scale(1.08); }
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(26,10,46,0.45); backdrop-filter: blur(6px);
  z-index: 2000; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  width: 100%; max-width: 480px;
  box-shadow: 0 32px 80px rgba(173,20,87,0.15);
  border: 1px solid rgba(255,255,255,0.8);
  overflow: hidden;
  animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-wide { max-width: 680px; }
@keyframes modalIn {
  from { transform: scale(0.85) translateY(24px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px;
  background: linear-gradient(135deg, rgba(173,20,87,0.06), rgba(255,255,255,0.8));
  border-bottom: 1px solid rgba(173,20,87,0.1);
}
.modal-title { display: flex; align-items: center; gap: 9px; font-size: 1rem; font-weight: 800; color: var(--text); }
.modal-title svg { width: 18px; height: 18px; color: var(--green-mid); }
.modal-close {
  background: rgba(173,20,87,0.07); border: none; border-radius: 50%;
  width: 32px; height: 32px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.modal-close:hover { background: rgba(173,20,87,0.14); }
.modal-close svg { width: 14px; height: 14px; }

/* ===== ADDRESS FORM ===== */
.addr-form { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.addr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.addr-field { display: flex; flex-direction: column; gap: 5px; }
.addr-field label { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.addr-field input {
  padding: 11px 14px; border: 1.5px solid rgba(173,20,87,0.15);
  border-radius: 12px; font-size: 0.92rem; font-family: inherit;
  outline: none; transition: border 0.2s, box-shadow 0.2s; background: rgba(255,255,255,0.7);
}
.addr-field input:focus { border-color: var(--green-mid); background: #fff; box-shadow: 0 0 0 3px rgba(173,20,87,0.1); }
.addr-label-btns { display: flex; gap: 8px; }
.addr-label-btn {
  padding: 7px 14px; border-radius: 20px;
  border: 1.5px solid rgba(173,20,87,0.15); background: rgba(255,255,255,0.7);
  font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.addr-label-btn.active { background: linear-gradient(135deg, var(--green-mid), var(--lavender)); color: #fff; border-color: transparent; box-shadow: 0 3px 12px rgba(173,20,87,0.25); }
.full-w { width: 100%; justify-content: center; margin-top: 4px; }

/* ===== ADDRESS CARDS ===== */
.addr-empty { color: var(--muted); font-size: 0.9rem; padding: 12px 0; }
.addr-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; border: 1.5px solid rgba(173,20,87,0.1);
  border-radius: 14px; margin-bottom: 10px; cursor: pointer;
  transition: all 0.22s;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.addr-card:hover { border-color: rgba(173,20,87,0.25); background: rgba(173,20,87,0.04); }
.addr-card.addr-selected { border-color: var(--green-mid); background: rgba(173,20,87,0.05); box-shadow: 0 0 0 3px rgba(173,20,87,0.1); }
.addr-card-radio { padding-top: 2px; }
.addr-radio-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border); transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.addr-radio-dot.active { border-color: var(--green-mid); background: var(--green-mid); }
.addr-radio-dot.active::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.addr-card-body { flex: 1; }
.addr-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.addr-label-tag {
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
  background: rgba(173,20,87,0.08); color: var(--green-mid);
  padding: 2px 9px; border-radius: 10px; letter-spacing: 0.4px;
}
.addr-phone { font-size: 0.82rem; color: var(--muted); }
.addr-card-body p { font-size: 0.84rem; color: var(--text); line-height: 1.5; }
.addr-card-actions { display: flex; flex-direction: column; gap: 6px; }
.addr-card-actions button { background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px; transition: color 0.2s; }
.addr-card-actions button:hover { color: var(--green-mid); }
.addr-card-actions button svg { width: 15px; height: 15px; }

/* checkout-body kept for legacy compat */
.checkout-body { padding: 0; }
.checkout-section { margin-bottom: 16px; }
.checkout-section-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 800; color: #0f172a; margin-bottom: 14px;
}
.checkout-section-head svg { width: 16px; height: 16px; color: var(--green-mid); }
.link-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; color: var(--green-mid);
  font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: opacity 0.2s;
}
.link-btn:hover { opacity: 0.7; }
.link-btn svg { width: 13px; height: 13px; }
.order-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; padding: 8px 0; border-bottom: 1px solid #f3f4f6; gap: 8px; }
.cart-item-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.cart-item-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); }
.cart-item-emoji { font-size: 1.8rem; width: 44px; text-align: center; flex-shrink: 0; }
.cart-item-info { display: flex; flex-direction: column; min-width: 0; }
.cart-item-name { font-weight: 700; color: #0f172a; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-unit { font-size: 0.74rem; color: var(--muted); }
.cart-item-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cart-qty-ctrl {
  display: flex; align-items: center; gap: 6px;
  background: #f0fdf4; border-radius: 20px; padding: 3px 8px;
  border: 1.5px solid var(--green-light);
}
.cart-qty-ctrl button {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 800; color: var(--green-mid);
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
}
.cart-qty-ctrl span { font-size: 0.85rem; font-weight: 800; min-width: 14px; text-align: center; }
.order-item em { color: var(--muted); font-style: normal; }
.order-item-price { font-weight: 700; color: var(--green-mid); }
.order-total-row { font-weight: 900; font-size: 1rem; border-bottom: none; padding-top: 12px; }
.checkout-total { border-top: 2px solid var(--border); margin-top: 4px; }
.modal > .btn-primary { margin: 0 24px 24px; width: calc(100% - 48px); justify-content: center; }

/* ===== PRODUCT DETAIL MODAL ===== */
.pd-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,23,42,0.5); backdrop-filter: blur(4px);
  z-index: 1700; align-items: center; justify-content: center; padding: 20px;
}
.pd-overlay.open { display: flex; }
.pd-panel {
  background: #fff; border-radius: 24px;
  width: 100%; max-width: 520px;
  max-height: 90vh;
  z-index: 1800;
  display: flex; flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
  animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
}
.pd-header {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 12px 16px 0; flex-shrink: 0;
  position: absolute; top: 0; right: 0; z-index: 10;
}
.pd-back { display: none; }
.pd-panel { position: relative; }
.pd-scroll { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #bbf7d0 transparent; }
.pd-scroll::-webkit-scrollbar { width: 4px; }
.pd-scroll::-webkit-scrollbar-track { background: transparent; }
.pd-scroll::-webkit-scrollbar-thumb { background: #bbf7d0; border-radius: 4px; }
.pd-scroll::-webkit-scrollbar-thumb:hover { background: var(--green-light); }
.pd-footer {
  padding: 14px 20px 20px; border-top: 1px solid var(--border);
  flex-shrink: 0; background: #fff;
}

/* Hero section */
.pd-hero {
  background: linear-gradient(135deg, rgba(173,20,87,0.05), rgba(123,31,162,0.06));
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px 24px; position: relative;
}
.pd-emoji { font-size: 7rem; line-height: 1; }
.pd-img-photo {
  width: 100%; height: 240px; object-fit: cover; display: block;
  border-radius: 0;
}
.pd-tag {
  position: absolute; top: 16px; right: 16px;
  color: #fff; font-size: 0.68rem; font-weight: 800;
  padding: 4px 12px; border-radius: 12px; text-transform: uppercase;
}

/* Info section */
.pd-info { padding: 20px 20px 8px; }
.pd-cat { font-size: 0.72rem; font-weight: 800; color: var(--green-mid); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 4px; }
.pd-name { font-size: 1.4rem; font-weight: 900; color: #0f172a; margin-bottom: 8px; letter-spacing: -0.5px; }
.pd-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }

/* Meta row */
.pd-meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pd-meta-item {
  display: flex; align-items: center; gap: 6px;
  background: rgba(173,20,87,0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(173,20,87,0.1);
  border-radius: 20px; padding: 6px 12px;
  font-size: 0.78rem; color: var(--text);
}
.pd-meta-item svg { width: 13px; height: 13px; color: var(--green-mid); flex-shrink: 0; }

/* Price & stock */
.pd-price-row {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, rgba(173,20,87,0.05), rgba(123,31,162,0.04));
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(173,20,87,0.15); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 20px;
}
.pd-price { font-size: 1.6rem; font-weight: 900; color: var(--green-mid); }
.pd-unit { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.pd-stock {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700;
}
.pd-stock svg { width: 15px; height: 15px; }

/* Section title */
.pd-section-title {
  font-size: 0.82rem; font-weight: 800; color: #0f172a;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 12px; margin-top: 4px;
}
.pd-section-title span { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }

/* Nutrition grid */
.pd-nutrition {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 20px;
}
.pd-nutr-item {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(173,20,87,0.1);
  border-radius: 12px; padding: 10px 8px; text-align: center;
}
.pd-nutr-val { font-size: 1rem; font-weight: 900; color: var(--green-mid); }
.pd-nutr-key { font-size: 0.68rem; color: var(--muted); margin-top: 2px; text-transform: capitalize; }

/* Benefits */
.pd-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pd-benefit {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(173,20,87,0.07); color: var(--green-mid);
  border-radius: 20px; padding: 5px 12px;
  font-size: 0.78rem; font-weight: 700;
  border: 1px solid rgba(173,20,87,0.12);
}
.pd-benefit svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Footer cart controls */
.pd-footer { display: flex; gap: 10px; align-items: center; }
.pd-add { flex: 1; justify-content: center; padding: 15px; font-size: 1rem; }
.pd-qty { flex: 1; justify-content: center; padding: 8px 20px; font-size: 1rem; }
.pd-qty button { width: 36px; height: 36px; font-size: 1.2rem; }
.pd-qty span { font-size: 1.1rem; min-width: 30px; }
.pd-share-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(173,20,87,0.05); border: 1.5px solid rgba(173,20,87,0.12);
  border-radius: 30px; padding: 13px 18px;
  font-size: 0.88rem; font-weight: 700; color: var(--text);
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.pd-share-btn svg { width: 16px; height: 16px; }
.pd-share-btn:hover { background: rgba(173,20,87,0.1); border-color: var(--green-mid); color: var(--green-mid); }

.prod-share-icon {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,0.92); border: none; border-radius: 50%;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 2;
}
.prod-share-icon svg { width: 14px; height: 14px; color: var(--green-mid); }
.prod-share-icon:hover { transform: scale(1.12); }
.prod-card:hover .prod-share-icon { opacity: 1; }
@media (hover: none) { .prod-share-icon { opacity: 1; } }

/* Hint on card */
.prod-view-hint {
  position: absolute; bottom: 8px; right: 8px;
  font-size: 0.62rem; font-weight: 700; color: var(--green-mid);
  background: rgba(255,255,255,0.9); border-radius: 8px;
  padding: 2px 7px; opacity: 0; transition: opacity 0.2s;
}
.prod-card:hover .prod-view-hint { opacity: 1; }
.prod-card { cursor: pointer; }

/* ===== CHECKOUT WIZARD ===== */
.co-steps {
  display: flex; align-items: center;
  padding: 16px 24px 0;
  gap: 0;
}
.co-step {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  flex-shrink: 0;
}
.co-step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: #e5e7eb; color: var(--muted);
  font-size: 0.82rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.co-step span {
  font-size: 0.68rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.4px; transition: color 0.3s;
}
.co-step.active .co-step-circle {
  background: linear-gradient(135deg, var(--green-mid), var(--lavender));
  color: #fff; box-shadow: 0 4px 14px rgba(173,20,87,0.3);
}
.co-step.active span { color: var(--green-mid); }
.co-step.done .co-step-circle {
  background: rgba(173,20,87,0.1); color: var(--green-mid);
}
.co-step.done .co-step-circle::after { content: '\2713'; font-size: 0.9rem; }
.co-step.done .co-step-circle { font-size: 0; }
.co-step.done span { color: var(--green-mid); }
.co-step-line {
  flex: 1; height: 2px;
  background: #e5e7eb; margin: 0 6px; margin-bottom: 20px;
  transition: background 0.3s;
}
.co-body {
  padding: 20px 24px 8px;
  min-height: 220px;
  max-height: 55vh;
  overflow-y: auto;
}
.co-panel-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 800; color: #0f172a;
  margin-bottom: 16px;
}
.co-panel-title svg { width: 16px; height: 16px; color: var(--green-mid); }
.co-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px 20px; border-top: 1px solid var(--border); gap: 12px;
}
.co-btn-back {
  display: flex; align-items: center; gap: 6px;
  background: #f3f4f6; border: none; border-radius: 25px;
  padding: 11px 20px; font-size: 0.88rem; font-weight: 700;
  color: var(--text); cursor: pointer; transition: background 0.2s;
}
.co-btn-back svg { width: 16px; height: 16px; }
.co-btn-back:hover { background: #e5e7eb; }
.co-btn-next { flex: 1; justify-content: center; }

/* Confirm summary */
.co-confirm-box { display: flex; flex-direction: column; gap: 14px; }
.co-confirm-section {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(173,20,87,0.1);
  border-radius: 14px; padding: 14px 16px;
}
.co-confirm-label {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--muted); margin-bottom: 10px;
}
.co-confirm-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.86rem; padding: 5px 0; border-bottom: 1px solid #f3f4f6;
}
.co-confirm-row:last-child { border-bottom: none; }
.co-confirm-row em { color: var(--muted); font-style: normal; }
.co-confirm-total { font-weight: 900; font-size: 0.95rem; color: var(--green-mid); border-top: 2px solid var(--border); margin-top: 4px; padding-top: 8px; }
.co-confirm-addr { font-size: 0.85rem; color: var(--text); line-height: 1.7; display: flex; flex-direction: column; gap: 3px; }
.co-upi-small { font-size: 0.75rem; color: var(--muted); word-break: break-all; text-align: right; max-width: 60%; }

/* WhatsApp redirect note */
.fraud-warning {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(123,31,162,0.05); border: 1.5px solid rgba(123,31,162,0.2);
  border-radius: 12px; padding: 12px 14px;
  font-size: 0.8rem; color: var(--text); line-height: 1.6;
  margin: 8px 0 14px;
}
.fraud-warning svg { width: 20px; height: 20px; stroke: var(--lavender); flex-shrink: 0; margin-top: 1px; }
.fraud-warning strong { color: var(--lavender); }
.fraud-warning span { color: var(--muted); font-style: italic; }

.wa-redirect-note {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,121,107,0.05); border: 1.5px solid rgba(0,121,107,0.2);
  border-radius: 12px; padding: 11px 16px;
  font-size: 0.8rem; color: var(--text); line-height: 1.5;
  margin: 0 0 14px;
}
.wa-redirect-note svg { width: 20px; height: 20px; color: #00796b; flex-shrink: 0; }
.wa-redirect-note strong { color: #00796b; }

/* ===== UPI PAYMENT ===== */
.upi-box {
  display: flex; gap: 24px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(173,20,87,0.04), rgba(123,31,162,0.04));
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(173,20,87,0.12); border-radius: 16px;
  padding: 20px;
}
.upi-qr-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.upi-qr-label { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.upi-qr {
  width: 200px; height: 200px;
  border-radius: 12px;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(46,125,50,0.15);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
  padding: 6px;
}
.upi-qr img { width: 188px !important; height: 188px !important; display: block; border-radius: 6px; }
.upi-qr canvas { width: 188px !important; height: 188px !important; display: block; border-radius: 6px; }
.upi-qr table { border-collapse: collapse; }
.upi-qr table td { padding: 0; font-size: 0; line-height: 0; }
.upi-amount-tag {
  font-size: 0.82rem; color: var(--text);
  background: rgba(255,255,255,0.8); border-radius: 20px;
  padding: 4px 14px; border: 1.5px solid rgba(173,20,87,0.15);
}
.upi-amount-tag strong { color: var(--green-mid); font-size: 0.95rem; }
.upi-details { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.upi-id-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.8); border-radius: 12px;
  padding: 12px 14px; border: 1.5px solid rgba(173,20,87,0.12);
}
.upi-id-info { flex: 1; }
.upi-id-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); display: block; margin-bottom: 2px; }
.upi-id-value { font-size: 0.88rem; font-weight: 800; color: #0f172a; word-break: break-all; }
.upi-copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(173,20,87,0.07); color: var(--green-mid);
  border: 1.5px solid rgba(173,20,87,0.15); border-radius: 20px;
  padding: 6px 14px; font-size: 0.78rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: all 0.2s; flex-shrink: 0;
}
.upi-copy-btn svg { width: 13px; height: 13px; }
.upi-copy-btn:hover { background: rgba(173,20,87,0.14); }
.upi-steps { display: flex; flex-direction: column; gap: 7px; }
.upi-step {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.82rem; color: var(--text);
}
.upi-step-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-mid); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.upi-txn-field { display: flex; flex-direction: column; gap: 5px; }
.upi-txn-field label { font-size: 0.78rem; font-weight: 700; color: var(--text); }
.upi-required { color: #dc2626; }
.upi-txn-input-wrap { display: flex; align-items: center; gap: 8px; }
.upi-txn-input-wrap input {
  flex: 1; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.92rem; font-family: inherit; outline: none;
  transition: border 0.2s, box-shadow 0.2s; background: #fff;
  letter-spacing: 0.5px;
}
.upi-txn-input-wrap input:focus { border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(76,175,80,0.1); }
.upi-txn-check svg { width: 20px; height: 20px; display: block; }
.upi-txn-hint { font-size: 0.74rem; color: var(--muted); }

/* Disabled Place Order button */
#placeOrderBtn:disabled {
  background: #e5e7eb; color: #9ca3af;
  box-shadow: none; cursor: not-allowed; transform: none;
}
#placeOrderBtn:not(:disabled) {
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
}

@media (max-width: 600px) {
  .upi-box { flex-direction: column; align-items: center; }
  .upi-qr-wrap { width: 100%; }
}
.img-zoom-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.95); backdrop-filter: blur(8px);
  z-index: 20000; align-items: center; justify-content: center;
  cursor: zoom-out;
  flex-direction: column; gap: 16px;
}
.img-zoom-overlay.open { display: flex; }
.img-zoom-box {
  animation: zoomIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  max-width: 96vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.img-zoom-box img {
  max-width: 96vw; max-height: 88vh;
  width: auto; height: auto;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  object-fit: contain; display: block;
  pointer-events: none;
}
.img-zoom-close {
  position: fixed; top: 16px; right: 16px;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3);
  color: #fff; border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.4rem; font-weight: 700;
  z-index: 20001; transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.img-zoom-close:hover { background: rgba(255,255,255,0.3); }
.img-zoom-hint-text {
  color: rgba(255,255,255,0.6); font-size: 0.78rem;
  pointer-events: none;
}
@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.pd-main-zoomable { cursor: zoom-in !important; }
.pd-zoom-hint {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 0.7rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  pointer-events: none; white-space: nowrap;
}

.badge-brand-btn {
  cursor: pointer;
  background: linear-gradient(135deg, #1b5e20, #2e7d32) !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  box-shadow: 0 8px 24px rgba(27,94,32,0.45), 0 0 0 0 rgba(76,175,80,0.4);
  animation: badgePulse 3.5s ease-in-out 2.4s infinite, brandGlow 2.5s ease-in-out infinite !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.badge-brand-btn img { border: 2px solid rgba(255,255,255,0.5); }
.badge-brand-btn:hover {
  transform: scale(1.1) translateY(-3px) !important;
  box-shadow: 0 12px 32px rgba(27,94,32,0.55), 0 0 0 6px rgba(76,175,80,0.2) !important;
}
@keyframes brandGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(27,94,32,0.45), 0 0 0 0 rgba(76,175,80,0.4); }
  50%       { box-shadow: 0 8px 24px rgba(27,94,32,0.45), 0 0 0 8px rgba(76,175,80,0); }
}

.pd-img-swipe {
  position: relative; overflow: hidden; cursor: grab; width: 100%;
}
.pd-img-swipe:active { cursor: grabbing; }
.pd-img-swipe img { pointer-events: all; }
.pd-thumbs img { pointer-events: all; cursor: pointer; }
.pd-gallery #pdMainImg { width: 100%; height: 260px; object-fit: cover; display: block; }
.pd-tag-gallery {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  color: #fff; font-size: 0.68rem; font-weight: 800;
  padding: 4px 12px; border-radius: 12px; text-transform: uppercase;
}



/* ===== ABOUT OVERLAY ===== */
.about-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,23,42,0.6); backdrop-filter: blur(6px);
  z-index: 10001; align-items: center; justify-content: center; padding: 20px;
  overflow-y: auto;
}
.about-overlay.open { display: flex; }
.about-panel {
  background: #fff; border-radius: 28px;
  width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.25);
  animation: modalIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  scrollbar-width: thin; scrollbar-color: #bbf7d0 transparent;
}
.about-panel::-webkit-scrollbar { width: 4px; }
.about-panel::-webkit-scrollbar-thumb { background: #bbf7d0; border-radius: 4px; }
.about-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  background: rgba(255,255,255,0.9); border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12); transition: background 0.2s;
}
.about-close:hover { background: #f3f4f6; }
.about-close svg { width: 15px; height: 15px; }

.about-hero {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--lavender) 100%);
  padding: 48px 32px 36px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; overflow: hidden;
  border-radius: 28px 28px 0 0;
}
.about-hero-glow {
  position: absolute; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  top: -80px; right: -60px; border-radius: 50%; pointer-events: none;
}
.about-logo {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  margin-bottom: 14px;
  animation: float 4s ease-in-out infinite;
}
.about-since {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.15); border-radius: 20px;
  padding: 4px 14px; margin-bottom: 12px;
}
.about-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 900;
  color: #fff; letter-spacing: -0.5px; margin-bottom: 8px;
}
.about-tagline {
  font-size: 0.95rem; color: rgba(255,255,255,0.8);
  font-style: italic; font-weight: 500;
}

.about-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 28px; }

.about-mission {
  background: rgba(173,20,87,0.04);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(173,20,87,0.12); border-radius: 16px;
  padding: 18px 20px; font-size: 0.95rem; color: var(--text); line-height: 1.8;
}
.about-mission strong { color: var(--green-mid); }

.about-pillars { display: flex; flex-direction: column; gap: 14px; }
.about-pillar {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(173,20,87,0.08);
  border-radius: 16px; padding: 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.about-pillar:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(173,20,87,0.1);
  border-color: rgba(173,20,87,0.2);
}
.about-pillar-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.about-pillar-icon svg { width: 20px; height: 20px; }
.about-pillar-title { font-size: 0.92rem; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.about-pillar-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.about-stat {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(173,20,87,0.1); border-radius: 14px;
  padding: 16px 10px; text-align: center;
  transition: transform 0.2s;
}
.about-stat:hover { transform: translateY(-3px); }
.about-stat-num {
  font-size: 1.5rem; font-weight: 900;
  color: var(--green-mid); line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label { font-size: 0.68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }

.about-vision {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(135deg, var(--green-mid), var(--lavender));
  border-radius: 18px; padding: 20px;
}
.about-vision-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.about-vision-icon svg { width: 20px; height: 20px; stroke: #fff; }
.about-vision-title { font-size: 0.88rem; font-weight: 800; color: #fff; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.about-vision-text { font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.7; }

.about-cta { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }

@media (max-width: 600px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-body { padding: 20px 16px 24px; }
  .about-hero { padding: 36px 20px 28px; }
}
@media (max-width: 430px) {
  .about-overlay { padding: 0; align-items: flex-end; }
  .about-panel { border-radius: 24px 24px 0 0; max-height: 94vh; }
  .about-hero { border-radius: 24px 24px 0 0; }
  .about-pillar { flex-direction: column; gap: 10px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-body { padding: 16px 14px 24px; gap: 20px; }
  .about-vision { flex-direction: column; gap: 10px; }
}

.doodle-hint {
  position: fixed; bottom: 16px; right: 16px;
  font-size: 0.72rem; font-weight: 600; color: var(--muted);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 14px;
  pointer-events: none; z-index: 9998;
  opacity: 0.7;
}
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff; padding: 13px 28px; border-radius: 30px;
  font-size: 0.88rem; font-weight: 600;
  z-index: 4000; opacity: 0;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none; white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== PRODUCT GALLERY & VARIANTS ===== */
.pd-gallery { width: 100%; }
.pd-gallery #pdMainImg { width: 100%; height: 240px; object-fit: cover; display: block; }
.pd-thumbs {
  display: flex; gap: 8px; padding: 10px 16px;
  background: #f8fafc; overflow-x: auto; scrollbar-width: none;
}
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb {
  width: 56px; height: 56px; border-radius: 10px; object-fit: cover;
  border: 2px solid transparent; cursor: pointer; flex-shrink: 0;
  transition: border-color 0.2s, transform 0.15s;
}
.pd-thumb.active { border-color: var(--green-light); transform: scale(1.08); }
.pd-thumb:hover { border-color: #a7f3d0; }

.pd-variants { margin-bottom: 16px; }
.pd-var-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-var-btn {
  padding: 8px 16px; border-radius: 12px;
  border: 1.5px solid var(--border); background: #fff;
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; text-align: center; line-height: 1.4;
}
.pd-var-btn span { font-size: 0.78rem; color: var(--green-mid); display: block; }
.pd-var-btn.active {
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #fff; border-color: transparent;
  box-shadow: 0 3px 10px rgba(46,125,50,0.3);
}
.pd-var-btn.active span { color: #dcfce7; }

.pd-delivery-note {
  font-size: 0.82rem; font-weight: 700;
  color: var(--green-mid); margin-bottom: 16px;
  background: rgba(173,20,87,0.05); border-radius: 10px;
  padding: 7px 14px; border: 1px solid rgba(173,20,87,0.15);
  display: inline-block;
}

/* Mobile badge strip (shown instead of floating badges on small screens) */
.hero-badges-strip {
  display: none;
  gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 4px 2px 8px; flex-wrap: nowrap;
  justify-content: center;
}
.hero-badges-strip::-webkit-scrollbar { display: none; }
.hero-badges-strip .badge {
  position: static; display: flex;
  font-size: 0.7rem; padding: 6px 12px;
  animation: none; white-space: nowrap; flex-shrink: 0;
}

/* ===== JS-DRIVEN STATES ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.hcat:nth-child(1) { transition-delay: 0.04s; }
.hcat:nth-child(2) { transition-delay: 0.1s; }
.hcat:nth-child(3) { transition-delay: 0.16s; }
.hcat:nth-child(4) { transition-delay: 0.22s; }
@keyframes pulseOnce {
  0%   { box-shadow: 0 6px 20px rgba(46,125,50,0.35); }
  50%  { box-shadow: 0 0 0 14px rgba(46,125,50,0.1); }
  100% { box-shadow: 0 6px 20px rgba(46,125,50,0.35); }
}
.btn-primary.pulse-once { animation: pulseOnce 0.9s ease; }

/* ===== RESPONSIVE ===== */

/* ── Large desktop (≥ 1280px) ── */
@media (min-width: 1280px) {
  .navbar { padding: 14px 8%; }
  .hero { padding: 40px 8% 64px; }
  .hero-circle { width: 460px; height: 460px; }
  .hero-main-img { width: 240px; height: 240px; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .drawer { width: 600px; }
}

/* ── Tablet / small desktop (≤ 1024px) ── */
@media (max-width: 1024px) {
  .hero { padding: 32px 5% 52px; }
  .hero-body { gap: 32px; }
  .hero-circle { width: 340px; height: 340px; }
  .hero-main-img { width: 170px; height: 170px; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .modal-wide { max-width: 90vw; }
}

/* ── Tablet portrait (≤ 900px) ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .navbar { padding: 12px 4%; gap: 10px; }
  .search-box input { width: 140px; }

  .hero { padding: 24px 4% 44px; min-height: auto; }
  .hero-cats { gap: 20px; justify-content: flex-start; padding-bottom: 22px; }
  .hero-body { flex-direction: column; text-align: center; padding-top: 24px; gap: 32px; }
  .hero-content { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-contact { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; max-width: 480px; }
  .hero-circle { width: 280px; height: 280px; }
  .hero-main-img { width: 140px; height: 140px; }
  .badge-delivery { left: -20px; }

  .drawer { width: 100%; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .modal-overlay { padding: 12px; }
  .modal-wide { max-width: 100%; }

  .co-step span { display: none; }
  .co-body { max-height: 50vh; padding: 16px 16px 8px; }
  .co-nav { padding: 10px 16px 16px; }

  .upi-box { flex-direction: column; align-items: center; gap: 16px; }
  .upi-qr-wrap { width: 100%; align-items: center; }
  .upi-details { width: 100%; }

  .pd-panel { max-width: 100%; max-height: 95vh; }
  .pd-nutrition { grid-template-columns: repeat(3, 1fr); }
}

/* ── Mobile (431px – 600px) ── */
@media (min-width: 431px) and (max-width: 600px) {
  .navbar { padding: 7px 4%; gap: 8px; }
  .brand-logo-wrap { width: 32px; height: 32px; }
  .brand-name { font-size: 1.1rem; }
  .brand-badge { display: none; }
  .search-box { padding: 6px 10px; flex: 1; min-width: 0; }
  .search-box input { width: 90px; }
  .nav-actions { gap: 8px; }
  .cart-btn { width: 34px; height: 34px; flex-shrink: 0; }
  .cart-btn svg { width: 15px; height: 15px; }

  .hero { padding: 20px 4% 36px; }
  .hero-cats { gap: 16px; }
  .hcat-circle { width: 64px; height: 64px; }
  .hcat span { font-size: 0.68rem; max-width: 68px; }
  .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .hero-desc { font-size: 0.94rem; margin-bottom: 24px; }
  .hero-gift { font-size: 0.82rem; padding: 7px 14px; }
  .hero-circle { width: 240px; height: 240px; }
  .hero-main-img { width: 120px; height: 120px; }
  .badge { display: none; }
  .hero-badges-strip { display: flex; }
  .hero-contact { gap: 10px; }
  .btn-primary { padding: 12px 24px; font-size: 0.9rem; }

  .drawer-search input { width: 100px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-img { height: 120px; }
  .prod-name { font-size: 0.86rem; }
  .prod-add-btn { padding: 7px 12px; font-size: 0.78rem; }
  .drawer-body { padding: 14px; }

  .addr-form-row { grid-template-columns: 1fr; }
  .modal { border-radius: 20px; }
  .co-body { padding: 14px 14px 6px; max-height: 48vh; }

  .pd-overlay { padding: 12px; }
  .pd-name { font-size: 1.25rem; }
  .pd-nutrition { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pd-info { padding: 16px 16px 8px; }

  .toast { font-size: 0.82rem; padding: 10px 20px; max-width: 90vw; white-space: normal; text-align: center; }
}

/* ── Mobile (≤ 430px) ── */
@media (max-width: 430px) {
  .navbar {
    padding: 8px 4%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .brand { gap: 8px; }
  .brand-logo-wrap { width: 28px; height: 28px; }
  .brand-name { font-size: 1rem; }
  .brand-badge { font-size: 0.55rem; letter-spacing: 0.5px; display: block; }
  .nav-links { display: none; }
  .nav-actions {
    display: flex; align-items: center;
    gap: 8px; margin-left: 0; flex-shrink: 0; width: 100%;
  }
  .search-box { padding: 6px 10px; flex: 1; min-width: 0; max-width: none; }
  .search-box > svg { width: 13px; height: 13px; }
  .search-box input { width: 0; flex: 1; min-width: 0; font-size: 0.8rem; }
  .addr-nav-btn { width: 32px; height: 32px; flex-shrink: 0; }
  .addr-nav-btn svg { width: 15px; height: 15px; }
  .cart-btn { width: 32px; height: 32px; flex-shrink: 0; }
  .cart-btn svg { width: 14px; height: 14px; }
  .cart-count { width: 15px; height: 15px; font-size: 0.52rem; top: -4px; right: -4px; }

  .hero { padding: 16px 3% 28px; }
  .hero-cats { gap: 12px; }
  .hcat-circle { width: 56px; height: 56px; }
  .hcat span { font-size: 0.62rem; max-width: 60px; }
  .hero-content h1 { font-size: clamp(1.55rem, 7.5vw, 2rem); }
  .hero-desc { font-size: 0.9rem; margin-bottom: 20px; }
  .hero-gift { font-size: 0.78rem; padding: 6px 12px; }
  .hero-circle { width: 200px; height: 200px; }
  .hero-main-img { width: 100px; height: 100px; }
  .badge { display: none; }
  .hero-badges-strip { display: flex; }
  .hero-contact { flex-direction: column; align-items: center; gap: 8px; }
  .hero-contact-item { width: 100%; justify-content: center; font-size: 0.8rem; padding: 8px 12px 8px 8px; }
  .hero-contact-icon { width: 28px; height: 28px; }
  .btn-primary { padding: 11px 20px; font-size: 0.86rem; }

  .drawer-search input { width: 80px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .prod-img { height: 100px; font-size: 2.8rem; }
  .prod-body { padding: 8px 10px 10px; }
  .prod-name { font-size: 0.8rem; }
  .prod-unit { font-size: 0.72rem; margin-bottom: 6px; }
  .prod-price { font-size: 0.9rem; }
  .prod-add-btn { padding: 6px 9px; font-size: 0.72rem; }
  .prod-add-btn svg { width: 11px; height: 11px; }
  .drawer-body { padding: 10px; }
  .drawer-header { padding: 14px 14px; }
  .drawer-title { font-size: 0.95rem; }
  .drawer-search input { width: 70px; }

  .addr-form-row { grid-template-columns: 1fr; }
  .addr-form { padding: 14px 14px 18px; }
  .addrbook-list-section { padding: 10px 14px; }
  .addrbook-form-head { padding: 10px 14px 0; }
  .addr-label-btns { flex-wrap: wrap; }

  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { border-radius: 20px 20px 0 0; max-height: 92vh; overflow-y: auto; }
  .modal-wide { max-height: 92vh; }
  .modal-header { padding: 14px 14px 10px; }
  .co-steps { padding: 10px 12px 0; }
  .co-step-circle { width: 26px; height: 26px; font-size: 0.72rem; }
  .co-step-line { margin: 0 4px; margin-bottom: 20px; }
  .co-body { padding: 12px 12px 6px; max-height: 46vh; }
  .co-nav { padding: 10px 12px 14px; }
  .co-btn-back { padding: 10px 12px; font-size: 0.82rem; }

  .upi-box { padding: 12px; flex-direction: column; align-items: center; }
  .upi-qr { width: 150px; height: 150px; }
  .upi-qr img, .upi-qr canvas { width: 138px !important; height: 138px !important; }
  .upi-id-value { font-size: 0.78rem; }
  .upi-copy-btn { padding: 5px 10px; font-size: 0.72rem; }

  .pd-overlay { padding: 0; align-items: flex-end; }
  .pd-panel { border-radius: 20px 20px 0 0; max-height: 93vh; max-width: 100%; }
  .pd-img-photo { height: 200px; }
  .pd-emoji { font-size: 4.5rem; }
  .pd-name { font-size: 1.15rem; }
  .pd-nutrition { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pd-nutr-val { font-size: 0.88rem; }
  .pd-meta-row { gap: 6px; }
  .pd-meta-item { font-size: 0.72rem; padding: 5px 9px; }
  .pd-info { padding: 14px 14px 8px; }
  .pd-footer { padding: 10px 14px 14px; }

  .toast { font-size: 0.78rem; padding: 9px 18px; max-width: 92vw; white-space: normal; text-align: center; }
}

/* ===== DARK MODE TOGGLE BUTTON ===== */
.dark-toggle {
  background: rgba(255,255,255,0.2); border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s; color: #fff;
}
.dark-toggle svg { width: 17px; height: 17px; transition: all 0.3s; }
.dark-toggle .icon-sun { display: none; }
.dark-toggle .icon-moon { display: block; }
.dark-toggle:hover { background: rgba(255,255,255,0.32); border-color: rgba(255,255,255,0.6); transform: rotate(20deg); }

/* ===== DARK MODE ===== */
body.dark {
  --dm-bg:        #0d0812;
  --dm-surface:   #130d1a;
  --dm-surface2:  #1a1024;
  --dm-surface3:  #22152e;
  --dm-border:    rgba(194,24,91,0.18);
  --dm-text:      #f5e6f0;
  --dm-muted:     #9e6b8a;
  --dm-green:     #e91e8c;
  --dm-green2:    #c2185b;
  --dm-glow:      0 0 20px rgba(194,24,91,0.3);
  --dm-glow-sm:   0 0 10px rgba(194,24,91,0.18);
  background: var(--dm-bg);
  color: var(--dm-text);
}

/* Card border colors in dark mode */
body.dark .prod-card:nth-child(6n+1) { border-color: rgba(194,24,91,0.35); }
body.dark .prod-card:nth-child(6n+2) { border-color: rgba(173,20,87,0.28); }
body.dark .prod-card:nth-child(6n+3) { border-color: rgba(123,31,162,0.3); }
body.dark .prod-card:nth-child(6n+4) { border-color: rgba(194,24,91,0.22); }
body.dark .prod-card:nth-child(6n+5) { border-color: rgba(173,20,87,0.2); }
body.dark .prod-card:nth-child(6n+6) { border-color: rgba(123,31,162,0.18); }
body.dark .prod-card:hover { box-shadow: 0 8px 32px rgba(194,24,91,0.2), var(--dm-glow); }

/* Navbar */
body.dark .navbar {
  background: rgba(10,15,10,0.92);
  box-shadow: 0 1px 0 rgba(74,222,128,0.1), 0 4px 24px rgba(0,0,0,0.4);
}
body.dark .brand-name { color: var(--dm-green); }
body.dark .nav-links a { color: var(--dm-text); }
body.dark .nav-links a:hover, body.dark .nav-links a.active-link { color: var(--dm-green); }
body.dark .search-box { background: var(--dm-surface2); border-color: var(--dm-border); }
body.dark .search-box input { color: var(--dm-text); }
body.dark .search-box:focus-within { border-color: var(--dm-green); box-shadow: 0 0 0 3px rgba(74,222,128,0.15), var(--dm-glow-sm); }
body.dark .dark-toggle { background: var(--dm-surface2); border-color: var(--dm-border); color: var(--dm-green); }
body.dark .dark-toggle .icon-sun { display: block; color: var(--dm-green); }
body.dark .dark-toggle .icon-moon { display: none; }
body.dark .dark-toggle:hover { background: var(--dm-surface3); box-shadow: var(--dm-glow-sm); }
body.dark .addr-nav-btn { background: var(--dm-surface2); border-color: var(--dm-border); color: var(--dm-green); }
body.dark .addr-nav-btn:hover { background: var(--dm-surface3); box-shadow: var(--dm-glow-sm); }

/* Hero */
body.dark .hero {
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(74,222,128,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 10% 80%, rgba(34,197,94,0.05) 0%, transparent 60%),
              linear-gradient(160deg, #0a0f0a 0%, #0d160d 100%);
}
body.dark .hero-content h1 { color: var(--dm-text); }
body.dark .hero-content h1 span { background: linear-gradient(135deg, var(--dm-green), var(--dm-green2)); -webkit-background-clip: text; background-clip: text; }
body.dark .hero-desc { color: var(--dm-muted); }
body.dark .hero-sub { background: linear-gradient(135deg, rgba(74,222,128,0.15), rgba(34,197,94,0.1)); color: var(--dm-green); border-color: rgba(74,222,128,0.2); }
body.dark .hero-gift { background: linear-gradient(135deg, #1a1200, #1f1500); border-color: rgba(251,191,36,0.3); color: #fbbf24; }
body.dark .hero-gift strong { color: #fbbf24; }
body.dark .hero-contact-item { background: var(--dm-surface2); border-color: var(--dm-border); color: var(--dm-text); }
body.dark .hero-contact-item:hover { border-color: var(--dm-green); box-shadow: var(--dm-glow-sm); }
body.dark .hero-circle { background: conic-gradient(from 180deg, #1a3a1a, #0f2a0f, #1e4a1e, #1a3a1a); box-shadow: 0 30px 80px rgba(74,222,128,0.15), 0 0 60px rgba(74,222,128,0.08); }
body.dark .badge { background: rgba(15,26,15,0.95); border-color: rgba(74,222,128,0.2); color: var(--dm-text); }

/* Category pills */
body.dark .hcat-circle { background: var(--dm-surface2); border-color: rgba(74,222,128,0.2); box-shadow: 0 4px 16px rgba(0,0,0,0.3), inset 0 0 12px rgba(74,222,128,0.04); }
body.dark .hcat:hover .hcat-circle, body.dark .hcat.active .hcat-circle { border-color: var(--dm-green); background: var(--dm-surface3); box-shadow: 0 0 0 3px rgba(74,222,128,0.15), 0 8px 24px rgba(74,222,128,0.25), 0 0 20px rgba(74,222,128,0.2); transform: translateY(-7px) scale(1.1); }
body.dark .hcat span { color: var(--dm-muted); }
body.dark .hcat:hover span, body.dark .hcat.active span { color: var(--dm-green); text-shadow: 0 0 10px rgba(74,222,128,0.5); }
body.dark .hcat-all { background: linear-gradient(135deg, var(--dm-surface2), var(--dm-surface3)); }

/* Drawer */
body.dark .drawer { background: var(--dm-surface); box-shadow: -8px 0 40px rgba(0,0,0,0.5); }
body.dark .drawer-header { background: linear-gradient(135deg, var(--dm-surface2), var(--dm-surface)); border-color: var(--dm-border); }
body.dark .drawer-title { color: var(--dm-text); }
body.dark .drawer-search { background: var(--dm-surface2); border-color: var(--dm-border); }
body.dark .drawer-search input { color: var(--dm-text); }
body.dark .drawer-search:focus-within { border-color: var(--dm-green); }

/* Product cards */
body.dark .prod-card { background: var(--dm-surface2); }
body.dark .prod-img { background: linear-gradient(135deg, var(--dm-surface2), var(--dm-surface3)); }
body.dark .prod-name { color: var(--dm-text); }
body.dark .prod-cat-label { color: var(--dm-green); }
body.dark .prod-unit { color: var(--dm-muted); }
body.dark .prod-price { color: var(--dm-green); text-shadow: 0 0 12px rgba(74,222,128,0.4); }
body.dark .prod-qty-ctrl { background: var(--dm-surface3); border-color: rgba(74,222,128,0.3); }
body.dark .prod-qty-ctrl button { color: var(--dm-green); }
body.dark .prod-qty-ctrl span { color: var(--dm-text); }
body.dark .prod-view-hint { background: rgba(10,15,10,0.85); color: var(--dm-green); }
body.dark .prod-share-icon { background: rgba(10,15,10,0.85); }

/* Modals */
body.dark .modal { background: var(--dm-surface); }
body.dark .modal-header { background: linear-gradient(135deg, var(--dm-surface2), var(--dm-surface)); border-color: var(--dm-border); }
body.dark .modal-title { color: var(--dm-text); }
body.dark .modal-title svg { color: var(--dm-green); }
body.dark .modal-close { background: var(--dm-surface3); color: var(--dm-text); }
body.dark .modal-close:hover { background: var(--dm-surface2); }

/* Product detail panel */
body.dark .pd-panel { background: var(--dm-surface); }
body.dark .pd-hero { background: linear-gradient(135deg, var(--dm-surface2), var(--dm-surface3)); }
body.dark .pd-footer { background: var(--dm-surface); border-color: var(--dm-border); }
body.dark .pd-name { color: var(--dm-text); }
body.dark .pd-cat { color: var(--dm-green); }
body.dark .pd-desc { color: var(--dm-muted); }
body.dark .pd-meta-item { background: var(--dm-surface2); border-color: var(--dm-border); color: var(--dm-text); }
body.dark .pd-meta-item svg { color: var(--dm-green); }
body.dark .pd-price-row { background: linear-gradient(135deg, var(--dm-surface2), var(--dm-surface3)); border-color: rgba(74,222,128,0.2); }
body.dark .pd-price { color: var(--dm-green); text-shadow: 0 0 16px rgba(74,222,128,0.5); }
body.dark .pd-unit { color: var(--dm-muted); }
body.dark .pd-section-title { color: var(--dm-text); }
body.dark .pd-nutr-item { background: var(--dm-surface2); border-color: var(--dm-border); }
body.dark .pd-nutr-val { color: var(--dm-green); }
body.dark .pd-nutr-key { color: var(--dm-muted); }
body.dark .pd-benefit { background: rgba(74,222,128,0.1); color: var(--dm-green); }
body.dark .pd-delivery-note { background: var(--dm-surface2); border-color: rgba(74,222,128,0.2); color: var(--dm-green); }
body.dark .pd-var-btn { background: var(--dm-surface2); border-color: var(--dm-border); color: var(--dm-text); }
body.dark .pd-var-btn span { color: var(--dm-green); }
body.dark .pd-var-btn.active { background: linear-gradient(135deg, #166534, #15803d); border-color: transparent; box-shadow: 0 3px 12px rgba(74,222,128,0.3), var(--dm-glow-sm); }
body.dark .pd-thumbs { background: var(--dm-surface2); }
body.dark .pd-share-btn { background: var(--dm-surface2); border-color: var(--dm-border); color: var(--dm-text); }
body.dark .pd-share-btn:hover { background: var(--dm-surface3); border-color: var(--dm-green); color: var(--dm-green); }

/* Address cards */
body.dark .addr-card { background: var(--dm-surface2); border-color: var(--dm-border); }
body.dark .addr-card:hover { background: var(--dm-surface3); border-color: rgba(74,222,128,0.3); }
body.dark .addr-card.addr-selected { border-color: var(--dm-green); background: var(--dm-surface3); box-shadow: 0 0 0 3px rgba(74,222,128,0.12); }
body.dark .addr-card-body p { color: var(--dm-text); }
body.dark .addr-field input { background: var(--dm-surface2); border-color: var(--dm-border); color: var(--dm-text); }
body.dark .addr-field input:focus { border-color: var(--dm-green); box-shadow: 0 0 0 3px rgba(74,222,128,0.12); }
body.dark .addr-label-btn { background: var(--dm-surface2); border-color: var(--dm-border); color: var(--dm-text); }
body.dark .addrbook-form-section { background: var(--dm-surface); border-color: var(--dm-border); }

/* Checkout */
body.dark .co-step-circle { background: var(--dm-surface3); color: var(--dm-muted); }
body.dark .co-step-line { background: var(--dm-border); }
body.dark .co-step.active .co-step-circle { background: linear-gradient(135deg, #166534, #15803d); box-shadow: 0 4px 16px rgba(74,222,128,0.35), var(--dm-glow-sm); }
body.dark .co-step.done .co-step-circle { background: rgba(74,222,128,0.15); color: var(--dm-green); }
body.dark .co-panel-title { color: var(--dm-text); }
body.dark .co-nav { border-color: var(--dm-border); }
body.dark .co-btn-back { background: var(--dm-surface2); color: var(--dm-text); }
body.dark .co-btn-back:hover { background: var(--dm-surface3); }
body.dark .co-confirm-section { background: var(--dm-surface2); border-color: var(--dm-border); }
body.dark .co-confirm-row { border-color: rgba(74,222,128,0.08); color: var(--dm-text); }
body.dark .co-confirm-total { color: var(--dm-green); border-color: var(--dm-border); }
body.dark .order-item { border-color: rgba(74,222,128,0.08); color: var(--dm-text); }
body.dark .order-total-row { color: var(--dm-text); }
body.dark .order-item-price { color: var(--dm-green); }
body.dark .cart-item-name { color: var(--dm-text); }
body.dark .cart-item-img { border-color: var(--dm-border); }
body.dark .cart-qty-ctrl { background: var(--dm-surface3); border-color: rgba(74,222,128,0.3); }
body.dark .cart-qty-ctrl button { color: var(--dm-green); }
body.dark .checkout-total { border-color: var(--dm-border); }

/* UPI box */
body.dark .upi-box { background: linear-gradient(135deg, var(--dm-surface2), var(--dm-surface3)); border-color: rgba(74,222,128,0.2); }
body.dark .upi-id-row { background: var(--dm-surface); border-color: rgba(74,222,128,0.2); }
body.dark .upi-id-value { color: var(--dm-text); }
body.dark .upi-amount-tag { background: var(--dm-surface); border-color: rgba(74,222,128,0.2); color: var(--dm-text); }
body.dark .upi-amount-tag strong { color: var(--dm-green); }
body.dark .upi-qr { background: #fff; border-color: rgba(74,222,128,0.3); box-shadow: 0 4px 20px rgba(74,222,128,0.2); }
body.dark .upi-txn-input-wrap input { background: var(--dm-surface2); border-color: var(--dm-border); color: var(--dm-text); }
body.dark .upi-txn-input-wrap input:focus { border-color: var(--dm-green); box-shadow: 0 0 0 3px rgba(74,222,128,0.12); }
body.dark .upi-step { color: var(--dm-text); }
body.dark .upi-txn-hint { color: var(--dm-muted); }

/* Search dropdown */
body.dark .search-dropdown { background: var(--dm-surface); border-color: var(--dm-border); }
body.dark .sd-section-label { background: var(--dm-surface2); color: var(--dm-muted); border-color: var(--dm-border); }
body.dark .sd-item { border-color: rgba(74,222,128,0.06); }
body.dark .sd-item:hover { background: var(--dm-surface2); }
body.dark .sd-name { color: var(--dm-text); }
body.dark .sd-price { color: var(--dm-green); }
body.dark .sd-footer { background: var(--dm-surface2); border-color: var(--dm-border); }
body.dark .sd-footer button { color: var(--dm-green); }

/* About panel */
body.dark .about-panel { background: var(--dm-surface); }
body.dark .about-mission { background: linear-gradient(135deg, var(--dm-surface2), var(--dm-surface3)); border-color: rgba(74,222,128,0.2); color: var(--dm-text); }
body.dark .about-pillar { background: var(--dm-surface2); border-color: var(--dm-border); }
body.dark .about-pillar:hover { border-color: rgba(74,222,128,0.3); box-shadow: var(--dm-glow-sm); }
body.dark .about-pillar-title { color: var(--dm-text); }
body.dark .about-pillar-desc { color: var(--dm-muted); }
body.dark .about-stat { background: linear-gradient(135deg, var(--dm-surface2), var(--dm-surface3)); border-color: rgba(74,222,128,0.2); }
body.dark .about-stat-num { color: var(--dm-green); text-shadow: 0 0 12px rgba(74,222,128,0.4); }
body.dark .about-close { background: rgba(15,26,15,0.9); color: var(--dm-text); }
body.dark .about-close:hover { background: var(--dm-surface3); }

/* Misc */
body.dark .doodle-hint { background: rgba(10,15,10,0.85); border-color: var(--dm-border); color: var(--dm-muted); }
body.dark .toast { background: linear-gradient(135deg, #0f1a0f, #1a2e1a); box-shadow: 0 8px 30px rgba(0,0,0,0.4), var(--dm-glow-sm); }
body.dark .link-btn { color: var(--dm-green); }
body.dark .addr-empty { color: var(--dm-muted); }
body.dark .co-confirm-label { color: var(--dm-muted); }
body.dark .co-upi-small { color: var(--dm-muted); }
body.dark .wa-redirect-note { background: rgba(74,222,128,0.06); border-color: rgba(74,222,128,0.2); color: var(--dm-text); }
body.dark .wa-redirect-note strong { color: var(--dm-green); }

.prod-price-wrap { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.prod-price-original { font-size: 0.72rem; text-decoration: line-through; color: var(--muted); }
.prod-discount-badge { font-size: 0.68rem; font-weight: 800; color: #16a34a; background: #dcfce7; padding: 1px 5px; border-radius: 6px; }
body.dark .prod-price-original { color: var(--dm-muted); }
body.dark .prod-discount-badge { background: rgba(74,222,128,0.15); color: var(--dm-green); }

/* ===== IMAGE NUMBER BUTTONS ===== */
.pd-img-num-row {
  display: flex; gap: 6px; padding: 8px 16px;
  background: #f8fafc; flex-wrap: wrap;
}
.pd-img-num-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--border); background: #fff;
  font-size: 0.78rem; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all 0.2s; flex-shrink: 0;
}
.pd-img-num-btn.active {
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #fff; border-color: transparent;
  box-shadow: 0 3px 10px rgba(46,125,50,0.35);
  transform: scale(1.1);
}
.pd-img-num-btn:hover:not(.active) { border-color: var(--green-light); color: var(--green-mid); }

.pd-img-counter {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  pointer-events: none;
}

/* Dark mode */
body.dark .pd-img-num-row { background: var(--dm-surface2); }
body.dark .pd-img-num-btn { background: var(--dm-surface3); border-color: var(--dm-border); color: var(--dm-muted); }
body.dark .pd-img-num-btn.active { background: linear-gradient(135deg, #166534, #15803d); box-shadow: 0 3px 12px rgba(74,222,128,0.3); }
body.dark .pd-img-num-btn:hover:not(.active) { border-color: var(--dm-green); color: var(--dm-green); }

/* ===== SIZE SELECTOR ===== */
.pd-sizes { margin-bottom: 16px; }
.pd-size-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pd-size-btn {
  min-width: 44px; height: 44px; border-radius: 10px;
  border: 2px solid var(--border); background: #fff;
  font-size: 0.88rem; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: all 0.2s; padding: 0 12px;
}
.pd-size-btn.active {
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #fff; border-color: transparent;
  box-shadow: 0 3px 10px rgba(46,125,50,0.35);
  transform: scale(1.08);
}
.pd-size-btn:hover:not(.active) { border-color: var(--green-light); color: var(--green-mid); }
body.dark .pd-size-btn { background: var(--dm-surface2); border-color: var(--dm-border); color: var(--dm-text); }
body.dark .pd-size-btn.active { background: linear-gradient(135deg,#166534,#15803d); box-shadow: 0 3px 12px rgba(74,222,128,0.3); }
body.dark .pd-size-btn:hover:not(.active) { border-color: var(--dm-green); color: var(--dm-green); }

/* ===== DRAWER FILTER BAR ===== */
.drawer-filters {
  padding: 10px 16px 12px;
  border-top: 1px solid rgba(173,20,87,0.08);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 8px;
  flex-shrink: 0;
}
.df-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.df-label {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--muted); white-space: nowrap; min-width: 32px;
}
.df-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.df-btn {
  padding: 5px 12px; border-radius: 20px; border: 1.5px solid rgba(173,20,87,0.12);
  background: rgba(255,255,255,0.7); font-size: 0.75rem; font-weight: 700; cursor: pointer;
  color: var(--text); transition: all 0.18s; white-space: nowrap;
}
.df-btn.active {
  background: linear-gradient(135deg, var(--green-mid), var(--lavender));
  color: #fff; border-color: transparent;
  box-shadow: 0 2px 10px rgba(173,20,87,0.25);
}
.df-btn:hover:not(.active) { border-color: var(--green-mid); color: var(--green-mid); }

/* Dark mode */
body.dark .drawer-filters { background: var(--dm-surface2); border-color: var(--dm-border); }
body.dark .df-btn { background: var(--dm-surface3); border-color: var(--dm-border); color: var(--dm-text); }
body.dark .df-btn.active { background: linear-gradient(135deg,#166534,#15803d); }
body.dark .df-btn:hover:not(.active) { border-color: var(--dm-green); color: var(--dm-green); }

@media (max-width: 430px) {
  .drawer-filters { padding: 8px 10px 10px; gap: 6px; }
  .df-btn { padding: 4px 9px; font-size: 0.7rem; }
}

/* ===== OUT OF STOCK ===== */
.prod-out-of-stock { opacity: 0.72; }
.prod-oos-badge {
  position: absolute; top: 10px; right: 10px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff; font-size: 0.62rem; font-weight: 800;
  padding: 3px 9px; border-radius: 10px;
  text-transform: uppercase; letter-spacing: 0.4px;
  z-index: 3; box-shadow: 0 2px 8px rgba(220,38,38,0.35);
}
body.dark .prod-oos-badge { background: linear-gradient(135deg, #991b1b, #7f1d1d); box-shadow: 0 2px 8px rgba(220,38,38,0.2); }
body.dark .prod-out-of-stock { opacity: 0.55; }
