:root {
  --primary: #0a3d66;
  --primary-hover: #072d4c;
  --primary-light: #edf4fa;
  --primary-border: #b9d5ee;
  --accent: #b86a28;
  --accent-hover: #9c5419;
  --accent-light: #fef5ec;
  --bg: #fcfbfa;
  --card-bg: #ffffff;
  --text: #141f28;
  --text-muted: #576573;
  --border: #e2e8ee;
  --border-light: #edf2f7;
  --veg-color: #1b8a36;
  --nonveg-color: #ad3324;
  --star-color: #e59c00;
  --shadow-xs: 0 1px 3px rgba(10, 61, 102, 0.05);
  --shadow-sm: 0 2px 8px rgba(10, 61, 102, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 61, 102, 0.08);
  --shadow-lg: 0 18px 44px rgba(10, 61, 102, 0.12);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open,
body.cart-open,
body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

.page-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ----------------- 1. Top Announcement Bar ----------------- */
.announcement-bar {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-bottom: 12px;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.announcement-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.pincode-pill-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.pincode-pill-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.support-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.74rem;
  white-space: nowrap;
}

.support-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ----------------- 2. Modern E-Commerce Header ----------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 4px 18px rgba(10, 61, 102, 0.05);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

/* Primary Top Header Row */
.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 22px;
  min-height: 66px;
  width: 100%;
  box-sizing: border-box;
}

/* Brand Group: Logo & Delivery Pill */
.header-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 1;
}

.mobile-menu-button {
  display: none;
  background: #f5f4ed;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.mobile-menu-button:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-menu-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 1;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-wordmark {
  height: 32px;
  width: auto;
  max-width: 145px;
  object-fit: contain;
  display: block;
}

/* Header Location Pill (Desktop) */
.header-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  height: 42px;
  padding: 0 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  font: inherit;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.header-location-pill:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.loc-pin {
  font-size: 0.95rem;
  line-height: 1;
}

.loc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.loc-sub {
  font-size: 0.64rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.loc-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

/* Centered Search Bar Container */
.header-search-container {
  flex: 1;
  max-width: 480px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #f5f4ed;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0 16px;
  height: 42px;
  width: 100%;
  transition: all 0.2s ease;
}

.search-box:focus-within {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 61, 102, 0.12);
}

.search-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  stroke-width: 2;
  fill: none;
  margin-right: 8px;
  flex-shrink: 0;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.86rem;
  width: 100%;
  color: var(--text);
  font-weight: 400;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.clear-search {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
  display: none;
  line-height: 1;
}

.search-box:focus-within .clear-search {
  display: block;
}

/* Header Right Actions */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-search-button {
  display: none;
  background: #f5f4ed;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.18s ease;
}

.mobile-search-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Account Button */
.header-account-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f4ed;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  height: 42px;
  padding: 0 16px;
  cursor: pointer;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.18s ease;
}

.header-account-button:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.header-account-button .btn-icon,
.icon-button .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-account-button svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  display: block;
}

/* Account Menu Wrapper & Dropdown */
.account-menu-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-account-button.is-logged-in {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  height: 42px;
  padding: 3px 12px 3px 4px;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-account-button.is-logged-in:hover,
.header-account-button.is-logged-in.is-open {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.account-avatar-circle {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: #0d2137;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-body, 'Inter', sans-serif);
  line-height: 1;
  user-select: none;
}

.account-chevron-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-account-button.is-open .account-chevron-icon {
  transform: rotate(180deg);
}

/* User Account Dropdown */
.user-account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  padding: 0;
  overflow: hidden;
  z-index: 1050;
  transform-origin: top right;
  animation: userDropdownAppear 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes userDropdownAppear {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.user-dropdown-header {
  padding: 16px 20px 14px 20px;
  background: #ffffff;
}

.user-dropdown-name {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 3px 0;
  word-break: break-word;
}

.user-dropdown-sub {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.2;
  margin: 0;
  word-break: break-all;
}

.user-dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0;
}

.user-dropdown-body {
  padding: 6px 0;
}

.user-dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 20px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  outline: none;
}

.user-dropdown-item:hover,
.user-dropdown-item:focus-visible {
  background: #f8fafc;
  color: #0a3d66;
}

.user-dropdown-footer {
  padding: 4px 0 8px 0;
}

.user-dropdown-item.user-dropdown-logout {
  color: #dc2626;
  font-weight: 500;
}

.user-dropdown-item.user-dropdown-logout:hover,
.user-dropdown-item.user-dropdown-logout:focus-visible {
  background: #fef2f2;
  color: #b91c1c;
}

/* Cart Button */
.header-cart-button,
.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  height: 42px;
  padding: 0 18px;
  cursor: pointer;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(10, 61, 102, 0.2);
}

.header-cart-button:hover,
.cart-button:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 61, 102, 0.28);
  color: #ffffff;
}

.header-cart-button:active,
.cart-button:active {
  transform: translateY(0);
}

.header-cart-button .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-cart-button svg,
.cart-button svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
  display: block;
}

.cart-count-badge,
.cart-count {
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
}

/* Secondary Department Navigation Strip */
.header-category-strip {
  border-top: 1px solid var(--border-light);
  background: #faf9f5;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 4px 20px;
  overflow: hidden;
}

.category-strip-track {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.category-strip-track::-webkit-scrollbar {
  display: none;
}

.strip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}

.strip-link:hover {
  color: var(--primary);
  background: rgba(10, 61, 102, 0.05);
}

.strip-link.active {
  color: var(--primary);
  font-weight: 700;
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.strip-icon {
  font-size: 0.92rem;
  line-height: 1;
}

.strip-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 4px;
  flex-shrink: 0;
}

.strip-link-secondary {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Off-Canvas Navigation Drawer (Mobile / Tablet) */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 1400;
  box-shadow: 8px 0 36px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(-105%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  visibility: hidden;
  pointer-events: none;
}

.main-nav.mobile-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  background: #fbfaf6;
  flex-shrink: 0;
}

.mobile-nav-close {
  background: #f2f0e8;
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.15s ease;
}

.mobile-nav-close:hover {
  background: #e8e5dc;
}

.mobile-nav-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px;
}

.mobile-nav-location {
  margin-bottom: 16px;
}

.mobile-loc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f6f0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text);
  cursor: pointer;
}

.loc-change-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.mobile-nav-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 12px 0 8px;
  padding-left: 6px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mobile-nav-links a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-links.secondary a {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mobile-nav-links.secondary a:hover {
  color: var(--primary);
}

.mobile-nav-footer {
  border-top: 1px solid var(--border-light);
  padding: 14px 18px;
  background: #fbfaf6;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-shrink: 0;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1390;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
}

.nav-scrim.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* ----------------- 3. Hero Section ----------------- */
.hero {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #07253f 0%, #0a3d66 50%, #155894 100%);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
  margin-bottom: 44px;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  padding: 44px 50px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e3effa;
  margin-bottom: 14px;
}

.hero-copy h1,
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.06;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-support {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 500px;
  margin: 0 0 22px;
}

.benefit-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.76rem;
  font-weight: 500;
}

.benefit-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-shop-button {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.hero-shop-button:hover {
  background: #f2f7fc;
  transform: translateY(-2px);
}

.hero-secondary-btn {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  padding: 11px 20px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}

/* Hero Showcase Card */
.hero-card-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: 0 20px 48px -8px rgba(7, 37, 63, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.hero-card-showcase:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px -6px rgba(7, 37, 63, 0.55);
}

.hero-showcase-img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
}

/* ----------------- 5. Category Showcase Strip ----------------- */
.category-strip {
  margin-bottom: 32px;
}

.category-heading {
  margin-bottom: 14px;
}

.category-heading .eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.category-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
}

.category-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.category-card {
  position: relative;
  flex: 0 0 150px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.category-card-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #0a3d66;
  color: #ffffff;
  font-size: 0.60rem;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  letter-spacing: 0.25px;
  box-shadow: 0 2px 6px rgba(10, 61, 102, 0.25);
  border: 1.5px solid #ffffff;
  z-index: 2;
  pointer-events: none;
}

.category-card.is-active .category-card-badge {
  background: #ea580c;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-border);
}

.category-card.is-active {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.category-thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-light);
  background: #f6f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card > span:last-child {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.category-card.is-active > span:last-child {
  color: var(--primary);
  font-weight: 700;
}

/* ----------------- 6. Products Catalog Section ----------------- */
.featured-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 38px;
}

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

.section-header h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.diet-filter-btn {
  background: #f5f4ed;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
}

.diet-filter-btn:hover {
  background: #eae8dc;
  color: var(--text);
}

.diet-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.sort-select {
  background: #f5f4ed;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}

.view-all {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.18s ease;
}

.view-all:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 6px 0 0;
  max-width: 600px;
}

/* ============================================================
   3D-STYLE HORIZONTAL PRODUCT SLIDER
   ============================================================ */
.product-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 34px 0 40px;
  margin: 0 auto;
  perspective: 1200px;
  user-select: none;
}

.product-carousel {
  display: flex;
  align-items: center;
  position: relative;
  width: max-content;
  min-height: 480px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  gap: 24px;
}

/* Individual Product Card (Matching Reference Image) */
.product-card {
  width: 310px;
  min-width: 310px;
  max-width: 310px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.45s ease,
              box-shadow 0.45s ease,
              filter 0.45s ease,
              border-color 0.45s ease;
  cursor: pointer;
  position: relative;
  transform-origin: center center;
  background-clip: padding-box;
}

/* Center Prominent 3D Card */
.product-card.is-center {
  transform: scale(1.06);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 24px 50px -10px rgba(10, 61, 102, 0.18), 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(10, 61, 102, 0.20);
  filter: none;
  cursor: pointer;
}

/* Adjacent Cards (Immediate Left & Right) */
.product-card.is-adjacent {
  transform: scale(0.91);
  opacity: 0.72;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  filter: saturate(0.95);
}

.product-card.is-adjacent:hover {
  opacity: 0.88;
  transform: scale(0.93);
}

/* Cards Two Steps Away */
.product-card.is-far {
  transform: scale(0.80);
  opacity: 0.45;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  filter: saturate(0.85);
}

.product-card.is-far:hover {
  opacity: 0.65;
  transform: scale(0.82);
}

/* Very Far Cards (Edge Peeking) */
.product-card.is-edge {
  transform: scale(0.72);
  opacity: 0.22;
  z-index: 1;
  filter: saturate(0.75);
}

/* Product Card Media Area */
.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  background: #f7f6f0;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card .product-image img[src*="gongura-chicken-pickle"],
.product-card[data-product-id="17"] .product-image img {
  object-position: 50% 90%;
}

.product-card .product-image img[src*="gongura-mutton-pickle"],
.product-card[data-product-id="18"] .product-image img {
  object-position: 50% 88%;
}

.product-card.is-center:hover .product-image img {
  transform: scale(1.04);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  color: #8c532b;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 3;
}

.product-card-badge.sub-badge {
  background: #0a3d66;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4.5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(10, 61, 102, 0.32);
}

.fssai-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.fssai-indicator.veg {
  border: 1.5px solid var(--veg-color);
}

.fssai-indicator.veg::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--veg-color);
}

.fssai-indicator.non-veg {
  border: 1.5px solid var(--nonveg-color);
}

.fssai-indicator.non-veg::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nonveg-color);
}

/* Product Card Body */
.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.28;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Card Price & Action Row */
.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-price-left {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.card-price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.card-size-label {
  font-size: 0.80rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Round Brown/Terracotta Cart Button (As in reference image) */
.card-round-cart-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #8c532b;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(140, 83, 43, 0.28);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.card-round-cart-btn:hover {
  background: #734220;
  transform: scale(1.08);
  box-shadow: 0 5px 12px rgba(140, 83, 43, 0.38);
}

.card-round-cart-btn:active {
  transform: scale(0.96);
}

.card-round-cart-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Feature Icon Pills Below Price Row */
.card-feature-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.card-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fbfbf9;
  border: 1px solid #eef0f3;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.68rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
}

.card-pill-tag .pill-icon {
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* Arrow Navigation Buttons */
.arrow-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.2s ease;
}

.arrow-button:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(10, 61, 102, 0.18);
}

.arrow-button.prev {
  left: 14px;
}

.arrow-button.next {
  right: 14px;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot.active {
  width: 26px;
  background: var(--primary);
}

/* ============================================================
   GRID VIEW MODE (Activated by "View All" Button)
   - Desktop view: 3 cards column
   - Mobile view: 2 cards column
   ============================================================ */
.product-carousel-wrapper.is-grid-view {
  overflow: visible !important;
  perspective: none !important;
  padding: 16px 0 32px !important;
}

.product-carousel-wrapper.is-grid-view .arrow-button,
.product-carousel-wrapper.is-grid-view ~ .carousel-dots,
.product-carousel-wrapper.is-grid-view + .carousel-dots,
.is-grid-view .arrow-button,
#carouselDots.is-hidden {
  display: none !important;
}

.product-carousel.is-grid-view {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: auto !important;
  transform: none !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}

.product-carousel.is-grid-view .product-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 18px !important;
  cursor: pointer !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
}

.product-carousel.is-grid-view .product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(10, 61, 102, 0.12) !important;
  border-color: rgba(10, 61, 102, 0.22) !important;
}

.product-carousel.is-grid-view .product-card.is-center,
.product-carousel.is-grid-view .product-card.is-adjacent,
.product-carousel.is-grid-view .product-card.is-far,
.product-carousel.is-grid-view .product-card.is-edge {
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  z-index: 1 !important;
}

.product-carousel.is-grid-view .product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-carousel.is-grid-view .product-card .card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-carousel.is-grid-view .product-card .card-feature-pills {
  display: flex !important;
  opacity: 1 !important;
  margin-top: 10px;
}

/* Active State for View All toggle button */
.view-all.is-active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

/* Mobile Responsiveness for Grid View (2 Cards Column) */
@media (max-width: 768px) {
  .product-carousel.is-grid-view {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .product-carousel.is-grid-view .product-card {
    border-radius: 14px !important;
  }

  .product-carousel.is-grid-view .product-card .product-image {
    aspect-ratio: 1.1 / 1;
  }

  .product-carousel.is-grid-view .product-card .card-body {
    padding: 10px 10px 12px !important;
  }

  .product-carousel.is-grid-view .product-card .product-name {
    font-size: 0.90rem !important;
    min-height: 2.3em;
    line-height: 1.22;
    margin-bottom: 2px;
  }

  .product-carousel.is-grid-view .product-card .card-price-val {
    font-size: 1.02rem !important;
  }

  .product-carousel.is-grid-view .product-card .card-round-cart-btn {
    width: 32px !important;
    height: 32px !important;
  }

  .product-carousel.is-grid-view .product-card .card-round-cart-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  .product-carousel.is-grid-view .product-card .card-feature-pills {
    gap: 4px !important;
    margin-top: 6px !important;
  }

  .product-carousel.is-grid-view .product-card .card-pill-tag {
    padding: 2px 5px !important;
    font-size: 0.62rem !important;
  }
}

@media (max-width: 380px) {
  .product-carousel.is-grid-view {
    gap: 8px !important;
  }
}

/* General button fallback */
.card-add-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.18s ease;
}

.card-add-btn:hover {
  background: var(--primary-dark);
}

/* Modal Stock Badge */
.modal-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.modal-stock-badge .stock-dot {
  font-size: 0.65rem;
}

.modal-stock-badge.out-of-stock {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

/* View Recipe Button in Product Modal */
.view-recipe-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 16px;
  margin-top: 14px;
  background: #fdfbf7;
  border: 1.5px solid #8c532b;
  border-radius: var(--radius-md);
  color: #8c532b;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-recipe-trigger-btn:hover {
  background: #8c532b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(140, 83, 43, 0.20);
}

/* Recipe Detail Modal */
.recipe-modal {
  max-width: 620px;
  width: 94vw;
  max-height: 88vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(10, 61, 102, 0.35);
  border: 1px solid var(--border);
  position: relative;
  box-sizing: border-box;
}

.recipe-scroll-container {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 34px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.recipe-header-banner {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
  padding-right: 36px;
}

.recipe-header-banner h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  margin: 6px 0 10px;
  line-height: 1.28;
}

.recipe-meta-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.recipe-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.recipe-section {
  margin-bottom: 22px;
}

.recipe-section h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin: 0 0 10px;
}

.recipe-ingredients-list {
  list-style: none;
  padding: 14px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fcfbf7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-sm);
}

.recipe-ingredients-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.5;
}

.recipe-ingredients-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #8c532b;
  font-weight: 800;
}

.recipe-instructions-list {
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recipe-instructions-list li {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.55;
  padding-left: 4px;
}

.recipe-instructions-list li::marker {
  font-weight: 700;
  color: #8c532b;
}

.recipe-related-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.recipe-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.recipe-related-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}

.recipe-related-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.recipe-related-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.recipe-related-price {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
}

.recipe-related-add {
  margin-top: auto;
  padding: 6px 10px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
}

.recipe-related-add:hover {
  background: var(--primary);
  color: #ffffff;
}

@media (max-width: 640px) {
  .recipe-modal {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
  }
  .recipe-scroll-container {
    padding: 22px 18px 28px;
  }
  .recipe-header-banner h3 {
    font-size: 1.30rem;
  }
  .recipe-related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}


.card-add-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.card-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 2px 6px;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.card-stepper button {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
}

.card-stepper button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ----------------- 7. Story & Testimonials ----------------- */
.story-section {
  background: #f3f0e7;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  border: 1px solid #e5e1d5;
}

.story-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 30px;
}

.story-header .eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.story-header h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.story-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.story-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: inline-block;
}

.story-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.story-card p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.reviews-section {
  margin-bottom: 42px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--star-color);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.review-quote {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 14px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.review-meta h5 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.review-meta span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Informational Blocks */
.info-sections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.info-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-xs);
}

.info-block h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.info-block p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ----------------- 8. Cart Drawer ----------------- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #ffffff;
  z-index: 1200;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1190;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
}

body.cart-open .cart-scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
}

.close-cart {
  background: #f4f3ec;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
}

.cart-content {
  padding: 18px 22px;
  overflow-y: auto;
  flex-grow: 1;
}

.free-shipping-card {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
}

.free-shipping-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.free-shipping-progress {
  width: 100%;
  height: 6px;
  background: rgba(10, 61, 102, 0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.free-shipping-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-details {
  flex-grow: 1;
}

.cart-details h4 {
  margin: 0 0 2px;
  font-size: 0.86rem;
  font-weight: 700;
}

.cart-details p {
  margin: 0 0 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.remove-item {
  background: transparent;
  border: none;
  color: #a8382c;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.cart-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-amount strong {
  font-size: 0.92rem;
}

.cart-quantity {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f4f3ec;
  border-radius: var(--radius-full);
  padding: 2px 6px;
}

.cart-quantity button {
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cart-quantity span {
  font-size: 0.76rem;
  font-weight: 700;
}

.bill-summary-card {
  background: #fbfaf6;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 16px 0;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.bill-row.total {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  border-top: 1px dashed var(--border);
  padding-top: 8px;
  margin-top: 8px;
  margin-bottom: 0;
}

.free-tag {
  color: var(--primary);
  font-weight: 700;
}

.primary-cart {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(10, 61, 102, 0.2);
}

.primary-cart:hover {
  background: var(--primary-hover);
}

/* ----------------- 9. Modals (Product, Account, Policy, Pincode) ----------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 38, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.modal-overlay.hidden {
  display: none;
}

.sheet-grab-bar {
  display: none;
}

.product-modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 880px;
  width: 100%;
  max-height: 94vh;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px -12px rgba(10, 61, 102, 0.35);
  border: 1px solid var(--border);
  overflow: hidden;
  box-sizing: border-box;
  animation: modalPop 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  z-index: 30;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  padding: 0;
}

.modal-close:hover {
  background: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  color: var(--primary);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-scroll-body {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.modal-media {
  background: #f8fafc;
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-media img[src*="gongura-chicken-pickle"] {
  object-position: 50% 95%;
}

.modal-media img[src*="gongura-mutton-pickle"] {
  object-position: 50% 90%;
}

@media (max-width: 768px) {
  .modal-media img[src*="gongura-chicken-pickle"] {
    object-position: 50% 82%;
  }
  .modal-media img[src*="gongura-mutton-pickle"] {
    object-position: 50% 80%;
  }
}

.modal-copy {
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-kicker {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0;
  text-transform: uppercase;
}

.modal-copy h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
  color: var(--text);
}

.modal-description {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-muted);
  margin: 0;
}

/* Product Detail Modal Variants */
.modal-variants-wrap {
  background: #fbfcfe;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.variant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.variant-title {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.variant-active-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.variant-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
  min-height: 36px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.variant-chip:hover {
  border-color: var(--primary-border);
  background: var(--primary-light);
}

.variant-chip.is-active {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.variant-chip .chip-size {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.variant-chip.is-active .chip-size {
  color: var(--primary);
}

.variant-chip .chip-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(10, 61, 102, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.variant-chip.is-active .chip-price {
  background: var(--primary);
  color: #ffffff;
}

/* Single Size Layout */
.modal-single-size-wrap {
  background: #fbfcfe;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* ==========================================================================
   Milk Subscription Selector & Planner Styles
   ========================================================================== */
.purchase-mode-switch {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 3px;
  gap: 4px;
  margin-bottom: 8px;
}

.purchase-mode-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.purchase-mode-tab:hover {
  color: #0f172a;
}

.purchase-mode-tab.active {
  background: #ffffff;
  color: #0a3d66;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  font-weight: 700;
}

.sub-save-tag {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
}

/* Variant Dropdown Wrap & Select */
.variant-dropdown-wrap {
  width: 100%;
}

.sub-pack-size-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0a3d66;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm, 8px);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a3d66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.sub-pack-size-select:focus,
.sub-pack-size-select:hover {
  border-color: #0a3d66;
  box-shadow: 0 0 0 3px rgba(10, 61, 102, 0.12);
}

/* Subscription Planner Wrap */
.subscription-planner-wrap {
  background: #fafcff;
  border: 1.5px solid #bfdbfe;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.sub-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-plan-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1e3a8a;
}

.sub-plan-badge {
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.sub-duration-tabs {
  display: flex;
  gap: 8px;
}

.sub-duration-tab {
  flex: 1;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.80rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.sub-duration-tab:hover {
  border-color: #94a3b8;
}

.sub-duration-tab.active {
  background: #0a3d66;
  border-color: #0a3d66;
  color: #ffffff;
  font-weight: 700;
}

.sub-input-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.sub-select-input {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.88rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-family: inherit;
  font-weight: 600;
  color: #0f172a;
}

.sub-month-hint {
  font-size: 0.75rem;
  color: #64748b;
  margin: 4px 0 0;
}

.sub-days-counter-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-day-stepper-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.sub-day-stepper-btn:hover {
  background: #f1f5f9;
}

.sub-days-number-input {
  flex: 1;
  height: 38px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-family: inherit;
  color: #0f172a;
}

.sub-quick-day-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.sub-quick-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sub-quick-pill:hover,
.sub-quick-pill.active {
  background: #0a3d66;
  border-color: #0a3d66;
  color: #ffffff;
}

.sub-quick-month-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.sub-quick-month-grid .sub-quick-pill {
  text-align: center;
  justify-content: center;
  padding: 6px 2px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 8px;
}

/* Dedicated Subscription Delivery Period Card */
.sub-period-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.06);
}

.sub-period-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-period-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1e40af;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sub-period-total-pill {
  font-size: 0.75rem;
  font-weight: 800;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(6, 95, 70, 0.12);
}

.sub-period-timeline {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 6px 10px;
}

.sub-timeline-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sub-timeline-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #64748b;
  text-transform: uppercase;
}

.sub-timeline-date {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.sub-timeline-arrow {
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sub-period-breakdown-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
}

.sub-breakdown-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 2px 7px;
  font-weight: 600;
  color: #1e3a8a;
}

.sub-breakdown-chip.time {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

/* Dynamic Price Breakdown Card */
.sub-price-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 10px;
}

.sub-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.80rem;
}

.sub-summary-label {
  color: #475569;
  font-weight: 600;
}

.sub-summary-rate {
  font-weight: 700;
  color: #0f172a;
}

.sub-summary-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 4px 0;
}

.sub-summary-totals {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.sub-total-label {
  font-size: 0.78rem;
  color: #64748b;
  display: block;
}

.sub-total-strike-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.sub-regular-strike {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.sub-savings-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 1px 6px;
  border-radius: 4px;
}

.sub-final-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0a3d66;
}

/* Card Badge on Product Cards */
.card-sub-banner {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 4px 8px;
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1d4ed8;
  cursor: pointer;
  transition: all 0.15s ease;
}

.card-sub-banner:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

.single-size-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.single-size-badge {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.single-size-badge strong {
  color: var(--text);
  font-weight: 700;
}

.single-size-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.ingredients-block {
  background: #fbfcfe;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.ingredients-block h4 {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.ingredients-block ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.80rem;
  color: var(--text);
  line-height: 1.6;
}

.modal-extra {
  font-size: 0.80rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* Modal Bottom Action Bar (Quantity Stepper + Add To Cart) */
.modal-action-bar {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 20;
  box-shadow: 0 -4px 18px rgba(10, 61, 102, 0.05);
  flex-shrink: 0;
  box-sizing: border-box;
}

.modal-action-bar .quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  height: 44px;
  box-sizing: border-box;
  min-width: 115px;
  flex-shrink: 0;
}

.modal-action-bar .qty-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease;
  padding: 0;
}

.modal-action-bar .qty-btn:hover {
  background: rgba(10, 61, 102, 0.08);
}

.modal-action-bar #modalQty {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  min-width: 22px;
  text-align: center;
}

.modal-action-bar .modal-submit-btn {
  flex: 0 1 auto;
  min-width: 260px;
  max-width: 420px;
  margin-left: auto;
  height: 44px;
  padding: 0 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(10, 61, 102, 0.22);
  transition: all 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

.modal-action-bar .modal-submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(10, 61, 102, 0.3);
}

.modal-action-bar .modal-submit-btn:active {
  transform: translateY(0);
}

.account-panel {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.account-panel h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  margin: 0 0 14px;
  color: var(--primary);
}

.account-form label,
.checkout-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.account-form input,
.checkout-form input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 4px;
  outline: none;
}

.account-form input:focus,
.checkout-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 61, 102, 0.1);
}

.account-switch {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.forgot-password-link-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
  margin-bottom: 8px;
}

.btn-forgot-password {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.btn-forgot-password:hover {
  color: var(--accent);
}

.forgot-password-box {
  margin-top: 4px;
}

.forgot-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 14px;
  line-height: 1.5;
}

/* ----------------- 10. Footer ----------------- */
.site-footer {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 44px 22px;
  box-shadow: var(--shadow-xs);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand-col p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 12px 0 16px;
  max-width: 320px;
}

.footer-full-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.fssai-badge-box {
  background: #f7f6f0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-block;
}

.footer-col h4 {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a,
.footer-col button {
  color: var(--text-muted);
  font-size: 0.8rem;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease;
}

.footer-col ul a:hover,
.footer-col button:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-contact-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-contact-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Sticky Floating WhatsApp Widget (Bottom-Right Corner) */
.whatsapp-sticky-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-sticky-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.whatsapp-sticky-svg {
  display: block;
  flex-shrink: 0;
}

.whatsapp-sticky-tooltip {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  order: -1;
}

.whatsapp-sticky-widget:hover .whatsapp-sticky-bubble {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.15);
}

.whatsapp-sticky-widget:hover .whatsapp-sticky-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-sticky-widget:active .whatsapp-sticky-bubble {
  transform: scale(0.95);
}

@media (max-width: 640px) {
  .whatsapp-sticky-widget {
    bottom: 20px;
    right: 18px;
  }
  .whatsapp-sticky-bubble {
    width: 52px;
    height: 52px;
  }
  .whatsapp-sticky-svg {
    width: 30px;
    height: 30px;
  }
  .whatsapp-sticky-tooltip {
    display: none;
  }
}

.footer-social-links {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link-btn svg {
  flex-shrink: 0;
}

.social-link-btn:hover {
  transform: translateY(-1px);
}

.social-link-btn.instagram:hover {
  background: #fdf2f8;
  border-color: #f472b6;
  color: #db2777;
}

.social-link-btn.facebook:hover {
  background: #eff6ff;
  border-color: #60a5fa;
  color: #1d4ed8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 14px;
}

.payment-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.pay-badge {
  background: #f4f3ec;
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
}

/* ----------------- 11. Responsive Breakpoints ----------------- */
@media (min-width: 1025px) {
  .main-nav,
  .nav-scrim,
  .mobile-menu-button {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .mobile-menu-button {
    display: flex !important;
  }

  .header-location-pill {
    display: none !important;
  }

  .header-main-row {
    padding: 10px 16px;
    gap: 12px;
  }

  .header-category-strip {
    padding: 4px 14px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 34px 28px;
    gap: 28px;
  }

  .hero-card-showcase {
    max-width: 480px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .info-sections {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding: 0 10px 40px;
    width: 100%;
    box-sizing: border-box;
  }

  .announcement-bar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 8px 10px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    width: 100%;
    box-sizing: border-box;
  }

  .announcement-left {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 0.74rem;
    line-height: 1.35;
    gap: 6px;
    min-width: 0;
  }

  .announcement-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .header-main-row {
    padding: 8px 12px;
    gap: 8px;
    min-height: 58px;
  }

  .header-brand-group {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  .brand-wordmark {
    height: 24px;
    max-width: 105px;
    flex-shrink: 1;
  }

  .header-search-container {
    display: none;
  }

  .header-search-container.mobile-search-open {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 8px;
    right: 8px;
    z-index: 100;
    box-shadow: var(--shadow-lg);
    background: #ffffff;
    padding: 8px;
    border-radius: var(--radius-md);
  }

  .header-tools {
    gap: 6px;
    flex-shrink: 0;
  }

  .mobile-search-button {
    display: flex !important;
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .header-account-button {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    justify-content: center;
  }

  .header-account-button.is-logged-in {
    width: auto;
    min-width: unset;
    padding: 3px 8px 3px 3px;
    gap: 6px;
  }

  .account-btn-label {
    display: none;
  }

  .header-cart-button,
  .cart-button {
    padding: 0 10px;
    height: 38px;
    gap: 4px;
  }

  .cart-btn-label,
  .cart-label {
    display: none;
  }

  .header-category-strip {
    padding: 3px 8px;
  }

  .strip-link {
    padding: 6px 11px;
    font-size: 0.78rem;
  }

  .featured-section {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }

  .catalog-controls {
    display: flex;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
  }

  .catalog-controls::-webkit-scrollbar {
    display: none;
  }

  .diet-filter-btn,
  .sort-select,
  .view-all {
    flex-shrink: 0;
  }

  .product-carousel-wrapper {
    padding: 20px 0 24px;
  }

  .product-carousel {
    min-height: 440px;
    gap: 16px;
  }

  .product-card {
    width: 270px;
    min-width: 270px;
    max-width: 270px;
  }

  .arrow-button {
    width: 40px;
    height: 40px;
  }

  .arrow-button.prev {
    left: 6px;
  }

  .arrow-button.next {
    right: 6px;
  }

  .card-body {
    padding: 14px 16px 16px;
  }

  .product-name {
    font-size: 1.10rem;
    line-height: 1.26;
    margin: 0 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .product-price {
    font-size: 0.98rem;
  }

  .card-add-btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .modal-scroll-body {
    grid-template-columns: 1fr;
  }

  .modal-media {
    min-height: 280px;
    height: 280px;
  }

  .product-modal {
    max-width: 92vw;
  }

  .reviews-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-section {
    padding: 28px 18px;
  }

  .site-footer {
    padding: 32px 20px 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding: 0 8px 30px;
  }

  .announcement-bar {
    padding: 6px 8px;
    font-size: 0.70rem;
    gap: 5px;
  }

  .announcement-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
  }

  .site-header {
    margin-bottom: 16px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }

  .header-main-row {
    padding: 6px 6px;
    gap: 6px;
    min-height: 52px;
  }

  .header-brand-group {
    gap: 6px;
    min-width: 0;
    flex-shrink: 1;
  }

  .mobile-menu-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
  }

  .mobile-menu-button svg {
    width: 18px;
    height: 18px;
  }

  .brand-wrap {
    gap: 5px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
    min-width: 26px;
  }

  .brand-wordmark {
    height: 20px;
    max-width: 78px;
    flex-shrink: 1;
  }

  .header-tools {
    gap: 4px;
    flex-shrink: 0;
  }

  .mobile-search-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .mobile-search-button svg {
    width: 16px;
    height: 16px;
  }

  .header-account-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
    justify-content: center;
  }

  .header-account-button.is-logged-in {
    width: auto;
    min-width: unset;
    padding: 2px 7px 2px 2px;
    gap: 5px;
    height: 34px;
  }

  .header-account-button.is-logged-in .account-avatar-circle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 0.8rem;
  }

  .header-account-button svg {
    width: 16px;
    height: 16px;
  }

  .header-cart-button {
    height: 34px;
    padding: 0 7px;
    gap: 3px;
    min-width: 48px;
  }

  .header-cart-button svg {
    width: 16px;
    height: 16px;
  }

  .cart-count-badge {
    min-width: 18px;
    height: 18px;
    font-size: 0.65rem;
    padding: 0 4px;
  }

  .header-category-strip {
    padding: 2px 4px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }

  .strip-link {
    padding: 5px 9px;
    font-size: 0.74rem;
    gap: 4px;
  }

  /* Hero Section Mobile */
  .hero {
    margin-bottom: 22px;
    border-radius: var(--radius-md);
  }

  .hero-content {
    padding: 18px 12px;
    gap: 16px;
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    padding: 3px 8px;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.12;
    margin-bottom: 10px;
  }

  .hero-support {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .benefit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
  }

  .benefit-item {
    font-size: 0.72rem;
    padding: 4px 10px;
    gap: 6px;
  }

  .benefit-icon {
    width: 18px;
    height: 18px;
    font-size: 0.58rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .hero-shop-button {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 0.86rem;
    border-radius: var(--radius-full);
  }

  .hero-secondary-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.84rem;
    border-radius: var(--radius-full);
  }

  .hero-card-showcase {
    max-width: 100%;
    padding: 6px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    box-shadow: 0 10px 24px -4px rgba(7, 37, 63, 0.35);
  }

  .hero-showcase-img {
    height: 190px;
    max-height: 210px;
    border-radius: calc(var(--radius-sm) - 2px);
  }

  .hero-floating-badge {
    top: -8px;
    right: 12px;
    font-size: 0.60rem;
    padding: 2px 8px;
  }

  /* Trust Propositions */
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 22px;
  }

  .trust-item {
    padding: 12px;
    gap: 10px;
    border-radius: var(--radius-sm);
  }

  .trust-icon-box {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    border-radius: 8px;
  }

  .trust-item h4 {
    font-size: 0.82rem;
  }

  .trust-item p {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  /* Category Strip */
  .category-strip {
    margin-bottom: 22px;
  }

  .category-heading h2 {
    font-size: 1.5rem;
  }

  .category-card {
    flex: 0 0 115px;
    padding: 10px 6px;
    border-radius: var(--radius-sm);
    gap: 6px;
  }

  .category-card-badge {
    font-size: 0.54rem;
    padding: 2px 6px;
    top: -7px;
  }

  .category-thumb {
    width: 42px;
    height: 42px;
  }

  .category-card > span:last-child {
    font-size: 0.70rem;
  }

  .product-card-badge.sub-badge {
    font-size: 0.62rem;
    padding: 3.5px 7px;
    top: 10px;
    left: 10px;
  }

  /* Products Section */
  .featured-section {
    padding: 16px 10px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .catalog-controls {
    gap: 6px;
  }

  .diet-filter-btn {
    padding: 5px 9px;
    font-size: 0.70rem;
  }

  .sort-select {
    padding: 5px 8px;
    font-size: 0.70rem;
  }

  .view-all {
    padding: 5px 9px;
    font-size: 0.70rem;
  }

  .product-carousel {
    min-height: 420px;
    gap: 14px;
  }

  .product-card {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    border-radius: 18px;
  }

  .arrow-button {
    width: 36px;
    height: 36px;
  }

  .arrow-button.prev {
    left: 4px;
  }

  .arrow-button.next {
    right: 4px;
  }

  .card-body {
    padding: 12px 14px 14px;
    gap: 0;
  }

  .product-name {
    font-size: 1.02rem;
    line-height: 1.25;
    margin: 0 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .product-origin {
    font-size: 0.64rem;
  }

  .product-weight {
    font-size: 0.66rem;
  }

  .product-price {
    font-size: 0.88rem;
  }

  .card-footer {
    gap: 4px;
    flex-wrap: wrap;
  }

  .card-add-btn {
    padding: 5px 8px;
    font-size: 0.68rem;
    gap: 2px;
    border-radius: var(--radius-full);
  }

  .card-stepper {
    padding: 2px 4px;
    gap: 4px;
    font-size: 0.72rem;
  }

  .card-stepper button {
    width: 20px;
    height: 20px;
    font-size: 0.82rem;
  }

  /* Story, Reviews, Info */
  .story-section {
    padding: 18px 12px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
  }

  .story-header h2 {
    font-size: 1.55rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .story-card {
    padding: 14px;
    border-radius: var(--radius-sm);
  }

  .reviews-section {
    margin-bottom: 22px;
  }

  .review-card {
    padding: 14px;
    border-radius: var(--radius-sm);
  }

  .info-sections {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .info-block {
    padding: 14px;
    border-radius: var(--radius-sm);
  }

  /* Footer */
  .site-footer {
    padding: 22px 12px 16px;
    border-radius: var(--radius-md);
  }

  .footer-top {
    gap: 18px;
    padding-bottom: 18px;
  }

  .footer-full-logo {
    height: 42px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 14px;
  }

  /* Mobile Bottom-Sheet Product Modal */
  .modal-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  .sheet-grab-bar {
    display: block;
    width: 44px;
    height: 4px;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 99px;
    margin: 10px auto 4px;
    flex-shrink: 0;
  }

  .product-modal {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
    margin: 0;
    animation: sheetSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes sheetSlideUp {
    from {
      transform: translateY(100%);
      opacity: 0.8;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
    z-index: 35;
  }

  .modal-scroll-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
    overscroll-behavior: contain;
  }

  .modal-media {
    width: 100%;
    height: 200px;
    max-height: 210px;
    min-height: auto;
    flex-shrink: 0;
    border-radius: 0;
  }

  .modal-copy {
    padding: 14px 16px 20px;
    gap: 12px;
  }

  .modal-copy h3 {
    font-size: 1.45rem;
    line-height: 1.18;
  }

  .modal-description {
    font-size: 0.84rem;
    line-height: 1.48;
  }

  .modal-variants-wrap {
    padding: 10px 12px;
    gap: 8px;
  }

  .variant-chip {
    padding: 7px 12px;
    min-height: 38px;
  }

  .variant-chip .chip-size {
    font-size: 0.84rem;
  }

  .variant-active-price {
    font-size: 1.25rem;
  }

  .ingredients-block {
    padding: 10px 12px;
  }

  .ingredients-block ul {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .modal-action-bar {
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.1);
  }

  .modal-action-bar .quantity-row {
    height: 42px;
    padding: 2px 8px;
    min-width: 105px;
  }

  .modal-action-bar .qty-btn {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }

  .modal-action-bar .modal-submit-btn {
    max-width: none;
    height: 42px;
    font-size: 0.92rem;
    padding: 0 16px;
  }

  .account-panel {
    width: 95vw;
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }

  .cart-drawer {
    width: 100vw;
  }
}

@media (max-width: 380px) {
  .header-main-row {
    padding: 5px 4px;
    gap: 4px;
  }

  .brand-wordmark {
    max-width: 68px;
    height: 18px;
  }

  .header-tools {
    gap: 3px;
  }

  .mobile-menu-button {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .mobile-search-button,
  .header-account-button {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .header-cart-button {
    height: 32px;
    padding: 0 5px;
    min-width: 44px;
  }
}

/* ----------------- 11. Account Tabs, Address Manager & Tracking Timeline ----------------- */
.account-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border-light);
  margin: 16px 0 20px;
  overflow-x: auto;
}

.account-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}

.account-tab-btn:hover {
  color: var(--primary);
}

.account-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.address-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.address-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: #ffffff;
  position: relative;
  transition: border-color 0.2s;
}

.address-card.is-default {
  border-color: var(--primary-border);
  background: var(--primary-light);
}

.address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.address-card-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.address-card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--primary);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.address-card-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 10px;
}

.address-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.address-action-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
}

.address-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.address-action-btn.btn-danger {
  color: var(--nonveg-color);
  border-color: #f7d2cf;
}

.address-action-btn.btn-danger:hover {
  background: #fdf2f0;
}

/* Quick address selection in Checkout */
.checkout-saved-addresses {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.saved-addr-pill {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s;
  font-size: 0.8rem;
}

.saved-addr-pill:hover,
.saved-addr-pill.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* Order Tracking Modal & Timeline */
.tracking-panel {
  max-width: 620px;
  width: 100%;
}

.tracking-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.tracking-stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin: 24px 0 32px;
  padding: 0 8px;
}

.tracking-stepper::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--border);
  z-index: 1;
}

.tracking-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.step-node {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: all 0.3s;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.tracking-step.done .step-node {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.tracking-step.current .step-node {
  background: #ffffff;
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}

.tracking-step.current .step-label {
  color: var(--accent);
  font-weight: 700;
}

.tracking-courier-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.tracking-audit-log {
  border-left: 2px solid var(--primary-border);
  padding-left: 16px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audit-entry {
  position: relative;
  font-size: 0.8rem;
}

.audit-entry::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.audit-timestamp {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Admin Orders Modal */
.admin-modal-panel {
  max-width: 960px;
  width: 95%;
  max-height: 88vh;
  overflow-y: auto;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.admin-stat-card {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.admin-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 4px;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-orders-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.admin-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}

.admin-orders-table th {
  background: #f8fafc;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.admin-orders-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: capitalize;
}

.status-badge.placed,
.status-badge.pending {
  background: #fff8e6;
  color: #b45309;
}

.status-badge.confirmed,
.status-badge.processing {
  background: #eef7ff;
  color: #0369a1;
}

.status-badge.shipped,
.status-badge.out_for_delivery {
  background: #f3e8ff;
  color: #7e22ce;
}

.status-badge.delivered {
  background: #ecfdf5;
  color: #047857;
}

.status-badge.cancelled {
  background: #fef2f2;
  color: #b91c1c;
}


