/* ── OJASATVA DESIGN SYSTEM & RESPONSIVE STYLES (Updated July 21, 2026) ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --cream: #FAF6EF;
  --warm-white: #FFF8F0;
  --terracotta: #D22701;
  --terracotta-dark: #D22701;
  --terracotta-light: #D22701;
  --gold: #C9952A;
  --gold-light: #F0C96A;
  --earth: #AAD15F;
  --earth-mid: #AAD15F;
  --earth-light: #AAD15F;
  --sage: #AAD15F;
  --olive-green: #1D4D35;
  --text-dark: #1F2A0F;
  --text-mid: #3B4E1F;
  --text-light: #8C6B58;
  --border: #E8D9C8;
  --shadow: rgba(61, 43, 31, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ── TOP ANNOUNCEMENT BAR ── */
.top-announcement-bar {
  background: linear-gradient(90deg, #D22701 0%, #B01E00 100%);
  color: #FFF8F0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.45rem 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  z-index: 101;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.top-announcement-bar strong {
  color: #FFFFFF;
  font-weight: 700;
}
.top-announcement-bar .bar-dot {
  opacity: 0.6;
  font-size: 0.65rem;
}
@media (max-width: 600px) {
  .top-announcement-bar {
    font-size: 0.72rem;
    padding: 0.4rem 0.6rem;
    line-height: 1.35;
  }
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--olive-green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 68px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: height 0.2s ease;
}

.nav-logo-emblem {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  will-change: transform;
}
.nav-logo-wordmark {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-left: -0.3rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  opacity: 1;
  color: var(--gold-light);
}

.nav-cart-btn {
  position: relative;
  background: var(--terracotta);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cart-btn:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.cart-count {
  background: var(--gold-light);
  color: var(--earth);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── NEW MODERN SEARCH CONTAINER ── */
.nav-search-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Icon Button initially visible */
.nav-search-icon-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--cream);
  font-size: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  z-index: 105;
}
.nav-search-icon-btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--text-dark);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(210, 39, 1, 0.08);
}

/* Expand wrap - hidden by default, slides out when active */
.nav-search-expand-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--terracotta);
  border-radius: 50px;
  height: 38px;
  width: 250px;
  padding: 0 0.5rem 0 1.2rem;
  box-shadow: 0 10px 25px rgba(31, 42, 15, 0.12);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 104;
}

/* Active state for expanding */
.nav-search-expand-wrap.active {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
  pointer-events: all;
}

/* Input field inside the expand wrap */
.nav-search-input-field {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  width: 100%;
  height: 100%;
}
.nav-search-input-field::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

/* Clear/Close button */
.nav-search-clear-btn {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: var(--text-mid);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.25rem;
}
.nav-search-clear-btn:hover {
  background: var(--terracotta);
  color: #fff;
}

/* Responsiveness */
@media (max-width: 768px) {
  .nav-search-expand-wrap {
    width: 170px;
  }
}
@media (max-width: 480px) {
  /* On very small devices, make it overlay the rest of the navbar items or logo when open */
  .nav-search-expand-wrap.active {
    position: fixed;
    right: 5vw;
    left: 5vw;
    top: 15px;
    width: auto;
    z-index: 110;
  }
}

/* ── NAV SEARCH SUGGESTIONS DROPDOWN ── */
.nav-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  width: 320px;
  max-height: 360px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(31, 42, 15, 0.15);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.nav-search-dropdown.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav-search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.2s ease;
  cursor: pointer;
  text-align: left;
}
.nav-search-dropdown-item:last-child {
  border-bottom: none;
}
.nav-search-dropdown-item:hover {
  background: var(--cream);
}

.nsd-img-box {
  width: 36px;
  height: 36px;
  background: var(--warm-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}
.nsd-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nsd-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nsd-name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-dark);
}
.nav-search-dropdown-item:hover .nsd-name {
  color: var(--terracotta);
}

.nsd-cat {
  font-size: 0.68rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nsd-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.nav-search-dropdown-empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .nav-search-dropdown {
    width: auto;
    left: 5vw;
    right: 5vw;
    position: fixed;
    top: 58px;
  }
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(210,39,1,0.35); }

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--terracotta); color: #fff; transform: translateY(-1px); }

/* ── SECTION HEADERS ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--earth);
  line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--terracotta); }

/* ── PRODUCT CARD ── */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px var(--shadow); }

.product-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--warm-white);
}
.product-card-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--warm-white), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.product-card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--earth-light);
  margin-bottom: 0.3rem;
}
.product-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--earth);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}
.product-card-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  flex: 1;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-price {
  display: flex;
  flex-direction: column;
}
.product-price-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--terracotta);
}
.product-price-old {
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.add-to-cart-btn {
  background: var(--earth);
  color: #fff;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.add-to-cart-btn:hover { background: var(--terracotta); transform: scale(1.1); }
.add-to-cart-btn.added { background: var(--sage); }

/* ── FOOTER ── */
footer {
  background: var(--earth);
  color: var(--cream);
  padding: 4rem 5vw 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.footer-brand-tagline {
  font-size: 0.82rem;
  color: var(--earth-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(250,246,239,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(250,246,239,0.5);
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--earth);
  color: var(--cream);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.1rem; }

/* ── MOBILE ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--cream); display: block; border-radius: 2px; transition: all 0.3s; }

@media (max-width: 768px) {
  .nav-logo-img {
    height: 40px !important;
  }
  .nav-logo-emblem {
    height: 36px !important;
  }
  .nav-logo-wordmark {
    height: 24px !important;
  }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--olive-green);
    padding: 1.5rem 5vw;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .nav-logo-img {
    height: 34px !important;
  }
  .nav-logo-emblem {
    height: 30px !important;
  }
  .nav-logo-wordmark {
    height: 21px !important;
  }
}

/* ── OLIVE GREEN HEADER ── */

nav {
  background: var(--olive-green) !important;
}
.nav-links a {
  color: var(--cream) !important;
  opacity: 0.9;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light) !important;
  opacity: 1;
}
.hamburger span {
  background: var(--cream) !important;
}
.cart-count {
  background: var(--gold-light) !important;
  color: var(--text-dark) !important;
}

footer {
  background: var(--earth) !important;
  color: var(--text-dark) !important;
}
.footer-brand-name {
  color: var(--text-dark) !important;
}
.footer-brand-tagline {
  color: var(--text-mid) !important;
}
.footer-col h4 {
  color: var(--terracotta) !important;
}
.footer-col ul li a {
  color: var(--text-mid) !important;
}
.footer-col ul li a:hover {
  color: var(--terracotta) !important;
}
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: var(--text-mid) !important;
}

.hero {
  background: #FAF6EF;
}
.hero-title {
  color: var(--text-dark) !important;
}
.hero-title em {
  color: var(--terracotta) !important;
}
.hero-subtitle {
  color: var(--text-mid) !important;
}
.hero-eyebrow {
  background: rgba(210, 39, 1, 0.1) !important;
  border: 1px solid rgba(210, 39, 1, 0.25) !important;
  color: var(--terracotta) !important;
}
.hero .btn-outline {
  color: var(--text-dark) !important;
  border-color: var(--text-dark) !important;
}
.hero .btn-outline:hover {
  background: var(--text-dark) !important;
  color: #fff !important;
}
.satellite-label {
  color: var(--text-dark) !important;
}
.ladoo-satellite {
  background: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
}

.story-banner {
  background: var(--earth) !important;
}
.story-text .section-title {
  color: var(--text-dark) !important;
}
.story-text .section-title em {
  color: var(--terracotta) !important;
}
.story-body {
  color: var(--text-mid) !important;
}
.stat-box {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.stat-number {
  color: var(--terracotta) !important;
}
.stat-label {
  color: var(--text-mid) !important;
}
.story-badge {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.story-badge:first-child {
  background: linear-gradient(135deg, rgba(210, 39, 1, 0.1), rgba(0, 0, 0, 0.04)) !important;
}
.story-badge-title {
  color: var(--text-dark) !important;
}
.story-badge-desc {
  color: var(--text-mid) !important;
}

.about-hero {
  background: var(--earth) !important;
}
.ah-title {
  color: var(--text-dark) !important;
}
.ah-title em {
  color: var(--terracotta) !important;
}
.ah-body {
  color: var(--text-mid) !important;
}
.av-card {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.av-card:first-child {
  background: linear-gradient(135deg, rgba(210, 39, 1, 0.1), rgba(0, 0, 0, 0.04)) !important;
}
.av-title {
  color: var(--text-dark) !important;
}
.av-desc {
  color: var(--text-mid) !important;
}

.catalog-hero {
  background: var(--earth) !important;
}
.catalog-hero .section-title {
  color: var(--text-dark) !important;
}
.catalog-hero .section-title em {
  color: var(--terracotta) !important;
}
.catalog-hero p {
  color: var(--text-mid) !important;
}

.cart-hero {
  background: var(--earth) !important;
}
.cart-hero .section-title {
  color: var(--text-dark) !important;
}

.toast {
  background: var(--text-dark) !important;
  color: var(--earth) !important;
}

/* ── CART DRAWER ── */
#cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#cart-drawer-overlay.open { opacity: 1; pointer-events: all; }
#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 380px;
  max-width: 92vw;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.94, 0.6, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 48px rgba(0, 0, 0, 0.22);
}
#cart-drawer.open { transform: translateX(0); }

.drawer-qty-control {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--cream);
  border-radius: 50px;
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--border);
}
.drawer-qty-btn {
  background: var(--earth);
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  line-height: 1;
}
.drawer-qty-btn:hover { background: var(--terracotta); }
.drawer-qty-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  min-width: 18px;
  text-align: center;
}
.drawer-remove-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.2rem;
  transition: color 0.2s;
}
.drawer-remove-btn:hover { color: #e53e3e; }
.drawer-delivery-box {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.9rem;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  background: var(--earth);
  flex-shrink: 0;
}
.drawer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 600;
}
.drawer-badge {
  background: var(--terracotta);
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}
.drawer-close {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
  padding: 0.4rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close:hover { opacity: 1; background: rgba(0,0,0,0.1); }
.drawer-added-flash {
  background: rgba(170,209,95,0.15);
  border: 1px solid rgba(170,209,95,0.4);
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  margin: 0.6rem 1.5rem 0;
  font-size: 0.8rem;
  color: var(--earth);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: fadeUp 0.3s ease both;
}
.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1.5rem 1rem;
}
.drawer-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.drawer-item:last-child { border-bottom: none; }
.drawer-item-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}
.drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: var(--earth);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.15rem;
}
.drawer-item-meta { font-size: 0.74rem; color: var(--text-light); }
.drawer-item-total { font-size: 0.9rem; font-weight: 700; color: var(--terracotta); flex-shrink: 0; }
.drawer-empty { text-align: center; padding: 2.5rem 1rem; color: var(--text-light); font-size: 0.9rem; }
.drawer-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--warm-white);
  flex-shrink: 0;
}
.drawer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--earth);
}
.drawer-total-amount { color: var(--terracotta); font-size: 1.1rem; }
.drawer-cta-row { display: flex; gap: 0.6rem; }
.drawer-continue-btn {
  flex: 1;
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  padding: 0.7rem 0.5rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.drawer-continue-btn:hover { border-color: var(--earth); color: var(--earth); }
.drawer-checkout-btn {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  color: #fff;
  padding: 0.75rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.drawer-checkout-btn:hover { background: var(--terracotta-dark); transform: translateY(-1px); }

/* Soft sign-in banner inside checkout modal */
.signin-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(170,209,95,0.1);
  border: 1px solid rgba(170,209,95,0.3);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-mid);
  flex-wrap: wrap;
}
.signin-banner-link {
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.8rem;
  margin-left: auto;
}
.signin-banner-link:hover { text-decoration: underline; }

/* Order Success Screen Styles */
.success-anim {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.success-whatsapp-note {
  background: #e6f8ee;
  border: 1px solid #b2ecd0;
  color: #1b6338;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 0.8rem;
  text-align: left;
}

/* ── MOBILE FIRST & RESPONSIVE TOUCH OVERRIDES ── */
html, body {
  overflow-x: clip;
  max-width: 100vw;
}

@media (max-width: 600px) {
  .order-card-footer-responsive {
    flex-direction: column !important;
    gap: 0.8rem !important;
  }
  .order-card-footer-responsive > div:last-child {
    text-align: left !important;
    width: 100%;
    border-top: 1px dashed var(--border);
    padding-top: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 4vw;
  }
  .nav-search-expand-wrap.active {
    position: fixed;
    right: 4vw;
    left: 4vw;
    top: 14px;
    width: auto;
    z-index: 110;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }
  .nav-search-dropdown {
    position: fixed;
    left: 4vw;
    right: 4vw;
    top: 60px;
    width: auto;
    max-height: 320px;
    z-index: 1000;
  }
  .modal {
    padding: 1.5rem 1.2rem !important;
    border-radius: 20px !important;
  }
  .payment-options {
    flex-direction: column !important;
    gap: 0.6rem !important;
  }
  .auth-card {
    padding: 1.5rem 1.2rem !important;
    border-radius: 20px !important;
  }
  .profile-sidebar, .dashboard-panel {
    padding: 1.2rem 1rem !important;
    border-radius: 18px !important;
  }
}

/* ── WEIGHT VARIANT SELECTORS (Product Detail Modal & Quick-Add) ── */
.weight-selector-wrap {
  margin: 0.9rem 0 1rem;
}
.weight-selector-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.weight-chips-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.weight-chip {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.4rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.weight-chip:hover {
  border-color: var(--terracotta);
  background: #fff;
}
.weight-chip.active {
  border-color: var(--terracotta);
  background: rgba(210, 39, 1, 0.08);
  box-shadow: 0 2px 8px rgba(210, 39, 1, 0.15);
}
.weight-chip-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}
.weight-chip.active .weight-chip-name {
  color: var(--terracotta);
}
.weight-chip-price {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 0.15rem;
}
.weight-chip.active .weight-chip-price {
  color: var(--terracotta);
  font-weight: 700;
}

/* ── QUICK WEIGHT PICKER MODAL (Global) ── */
.wp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.wp-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.wp-sheet {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 380px;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.92) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
  position: relative;
}
.wp-overlay.open .wp-sheet {
  transform: scale(1) translateY(0);
}
.wp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.2s;
}
.wp-close:hover {
  background: var(--border);
}
.wp-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}
.wp-img-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  overflow: hidden;
  flex-shrink: 0;
}
.wp-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}
.wp-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}
.wp-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}
.wp-opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--warm-white);
}
.wp-opt-row:hover {
  border-color: var(--terracotta);
  background: #fff;
}
.wp-opt-row.active {
  border-color: var(--terracotta);
  background: rgba(210, 39, 1, 0.06);
}
.wp-opt-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.wp-opt-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.wp-opt-row.active .wp-opt-radio {
  border-color: var(--terracotta);
}
.wp-opt-row.active .wp-opt-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}
.wp-opt-weight {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}
.wp-opt-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--terracotta);
}
.wp-confirm-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--terracotta), #b82201);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(210, 39, 1, 0.25);
}
.wp-confirm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(210, 39, 1, 0.35);
}

