/* ==========================================================================
   Archana's Food Basket (AFB) - Premium Royal Confectionery Design System
   Designed for Lighthouse 100/100, Instant LCP, Zero CLS, WCAG 2.1 AA Contrast
   ========================================================================== */

:root {
  /* Royal Palette - High Contrast & Warmth */
  --color-maroon-dark: #580d1e;
  --color-maroon: #7b132b;
  --color-maroon-light: #941835;
  --color-gold: #c29525;
  --color-gold-light: #dfb64e;
  --color-gold-pale: #f9f1db;
  --color-cream: #faf6ee;
  --color-cream-card: #ffffff;
  --color-dark: #201518;
  --color-muted: #5e5054;
  --color-border: #e6decb;
  --color-border-light: #f0eade;
  --color-green: #116839;
  --color-green-light: #e8f5ec;
  --color-saffron: #bd4b00;
  --color-saffron-light: #fef0e6;
  --color-whatsapp: #1f9a4e;

  /* Typography */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(88, 13, 30, 0.05);
  --shadow-md: 0 6px 20px rgba(88, 13, 30, 0.08);
  --shadow-lg: 0 14px 34px rgba(88, 13, 30, 0.12);
  --shadow-modal: 0 25px 60px rgba(32, 21, 24, 0.35);

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --transition: 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Edge */
  overflow-x: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Brave */
  width: 0;
  height: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition);
}

/* Accessibility: Visible Focus Rings */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Announcement Strip: Clean, quiet single line */
.top-strip {
  background: var(--color-maroon-dark);
  color: var(--color-gold-pale);
  font-size: 0.84rem;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(194, 149, 37, 0.2);
  text-align: center;
}

.top-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-strip-text {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-gold-pale);
}

.top-strip-phone {
  font-weight: 700;
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.top-strip-phone:hover {
  color: #ffffff;
}

/* Primary Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(88, 13, 30, 0.04);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.5vw, 20px);
}

/* Brand Logo & Lockup */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo {
  height: 46px;
  max-height: 40px;
  width: auto;
  max-width: 68px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  mix-blend-mode: multiply;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex-shrink: 1;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 700;
  color: var(--color-maroon-dark);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .brand-logo {
    height: 40px;
  }
  .brand-title {
    font-size: clamp(0.85rem, 3.8vw, 1.05rem);
  }
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 22px);
  list-style: none;
}

.nav-link {
  font-size: clamp(0.86rem, 0.95vw, 0.92rem);
  font-weight: 600;
  color: var(--color-dark);
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-maroon);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--color-gold);
  border-radius: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-gold-pale);
  color: var(--color-maroon-dark);
  border: 1px solid var(--color-gold);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.cart-btn:hover {
  background: var(--color-maroon);
  color: #ffffff;
  border-color: var(--color-maroon);
}

.cart-badge {
  background: var(--color-maroon);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.cart-btn:hover .cart-badge {
  background: var(--color-gold);
  color: var(--color-maroon-dark);
}

.mobile-nav-toggle {
  display: none;
  padding: 8px;
  color: var(--color-maroon-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: all var(--transition);
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-maroon), var(--color-maroon-dark));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(88, 13, 30, 0.25);
  border: 1px solid var(--color-maroon-dark);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-maroon-light), var(--color-maroon));
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(88, 13, 30, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-maroon-dark);
  border: 1.5px solid var(--color-gold);
}

.btn-secondary:hover {
  background: var(--color-gold-pale);
  color: var(--color-maroon);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), #b38519);
  color: var(--color-maroon-dark);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(194, 149, 37, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-maroon-dark);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #ffffff;
  border: 1px solid #167a3d;
  box-shadow: 0 4px 12px rgba(31, 154, 78, 0.25);
}

.btn-whatsapp:hover {
  background: #178241;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Peer Benchmarked "Shop as First Screen" Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #440715 0%, #680d22 55%, #420614 100%);
  color: #ffffff;
  padding: 50px 0 70px;
  overflow: hidden;
  border-bottom: 2px solid rgba(194, 149, 37, 0.35);
}

/* Traditional Indian Textile Border Pattern (Paisley / Buta & Ornamental Band) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80' viewBox='0 0 120 80'%3E%3Cpath d='M0 3 L120 3 M0 12 L120 12 M0 68 L120 68 M0 77 L120 77' stroke='%23dfb64e' stroke-width='0.8' fill='none' opacity='0.7'/%3E%3Cg fill='%23dfb64e' opacity='0.6'%3E%3Ccircle cx='0' cy='7.5' r='1.3'/%3E%3Ccircle cx='15' cy='7.5' r='1.3'/%3E%3Ccircle cx='30' cy='7.5' r='1.3'/%3E%3Ccircle cx='45' cy='7.5' r='1.3'/%3E%3Ccircle cx='60' cy='7.5' r='1.3'/%3E%3Ccircle cx='75' cy='7.5' r='1.3'/%3E%3Ccircle cx='90' cy='7.5' r='1.3'/%3E%3Ccircle cx='105' cy='7.5' r='1.3'/%3E%3Ccircle cx='120' cy='7.5' r='1.3'/%3E%3Ccircle cx='0' cy='72.5' r='1.3'/%3E%3Ccircle cx='15' cy='72.5' r='1.3'/%3E%3Ccircle cx='30' cy='72.5' r='1.3'/%3E%3Ccircle cx='45' cy='72.5' r='1.3'/%3E%3Ccircle cx='60' cy='72.5' r='1.3'/%3E%3Ccircle cx='75' cy='72.5' r='1.3'/%3E%3Ccircle cx='90' cy='72.5' r='1.3'/%3E%3Ccircle cx='105' cy='72.5' r='1.3'/%3E%3Ccircle cx='120' cy='72.5' r='1.3'/%3E%3C/g%3E%3Cg stroke='%23dfb64e' stroke-width='1.2' fill='none' opacity='0.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M60 20 C68 20 75 26 75 35 C75 44 65 52 60 58 C55 52 45 44 45 35 C45 26 52 20 60 20 Z'/%3E%3Cpath d='M60 28 C64 28 67 31 67 35 C67 39 60 45 60 45 C60 45 53 39 53 35 C53 31 56 28 60 28 Z' fill='%23dfb64e' fill-opacity='0.25'/%3E%3Cpath d='M60 20 C60 16 63 15 65 17'/%3E%3Cpath d='M0 35 C0 44 10 52 15 58 M0 35 C0 26 7 20 15 20 M15 20 C15 16 12 15 10 17'/%3E%3Cpath d='M120 35 C120 44 110 52 105 58 M120 35 C120 26 113 20 105 20 M105 20 C105 16 108 15 110 17'/%3E%3Cpath d='M15 52 Q30 62 45 52 Q60 42 75 52 Q90 62 105 52'/%3E%3Cpath d='M15 26 Q30 16 45 26 Q60 36 75 26 Q90 16 105 26'/%3E%3Ccircle cx='30' cy='39' r='3.5' fill='%23dfb64e' fill-opacity='0.3'/%3E%3Ccircle cx='90' cy='39' r='3.5' fill='%23dfb64e' fill-opacity='0.3'/%3E%3Cpath d='M30 32 L30 46 M23 39 L37 39 M25 34 L35 44 M25 44 L35 34'/%3E%3Cpath d='M90 32 L90 46 M83 39 L97 39 M85 34 L95 44 M85 44 L95 34'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 120px 80px;
  background-position: 0 0;
  opacity: 0.26;
  animation: heroBorderBob 16s ease-in-out infinite;
}

/* Vertical bob: moves up, reverses, moves down, reverses (8s each way, 16s total) */
@keyframes heroBorderBob {
  0% {
    background-position-y: 0px;
  }
  50% {
    background-position-y: -80px;
  }
  100% {
    background-position-y: 0px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUpEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUpEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(194, 149, 37, 0.15);
  border: 1px solid rgba(194, 149, 37, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fffaf0;
  margin-bottom: 18px;
}

.hero-title span {
  display: block;
  color: var(--color-gold-light);
  font-style: italic;
  margin-top: 6px;
}

.hero-subtitle-line {
  color: #ffd23f !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-lead {
  font-size: 1.1rem;
  color: #f7e8c3;
  margin-bottom: 28px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-claims {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 32px;
}

.hero-claim-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #fff9ea;
  font-weight: 600;
}

.hero-claim-item svg {
  color: var(--color-gold-light);
  flex-shrink: 0;
}

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

.hero-card {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(194, 149, 37, 0.4);
  background: #2a040d;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-card:hover img {
  transform: scale(1.03);
}

.hero-card-floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(32, 21, 24, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(194, 149, 37, 0.4);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-card-floating-badge h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff9ea;
}

.hero-card-floating-badge p {
  font-size: 0.8rem;
  color: var(--color-gold-light);
}

/* Published Proof Metric Bar (PDF Page 8: JhaJi / Humble Flavors benchmarks) */
.proof-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  box-shadow: var(--shadow-sm);
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.proof-item {
  padding: 8px 12px;
  border-right: 1px solid var(--color-border);
}

.proof-item:last-child {
  border-right: none;
}

.proof-number {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-maroon-dark);
  line-height: 1.2;
}

.proof-number span {
  color: var(--color-gold);
}

.proof-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-top: 4px;
}

/* Category Filter Bar */
.catalog-section {
  padding: 60px 0 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--color-maroon-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto;
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--color-maroon);
  color: var(--color-maroon);
}

.filter-btn.active {
  background: var(--color-maroon);
  border-color: var(--color-maroon);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(88, 13, 30, 0.2);
}

/* Product Cards Grid - 3 Columns Desktop, 2 Columns Tablet, 1 Column Mobile */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-content: center;
  align-items: stretch;
}

.product-card {
  background: var(--color-cream-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(194, 149, 37, 0.45);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f4eee2;
  overflow: hidden;
}

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

.product-card:hover .product-media img {
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.badge-bestseller {
  background: var(--color-maroon-dark);
  color: var(--color-gold-light);
  border: 1px solid var(--color-gold);
}

.badge-healthy {
  background: var(--color-green);
  color: #ffffff;
}

.badge-care {
  background: var(--color-saffron);
  color: #ffffff;
}

.badge-luxury {
  background: linear-gradient(135deg, var(--color-gold), #966f14);
  color: #ffffff;
}

.badge-traditional {
  background: var(--color-maroon);
  color: #ffffff;
}

/* Quick View Floating Pill over Product Media - Centered at bottom of image with zero footer overlap */
.product-media .quick-view-btn,
.quick-view-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-maroon-dark);
  border: 1.5px solid rgba(194, 149, 37, 0.6);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(32, 21, 24, 0.18);
  backdrop-filter: blur(6px);
  cursor: pointer;
  z-index: 3;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.product-media .quick-view-btn:hover,
.quick-view-btn:hover {
  background: var(--color-maroon-dark);
  color: #ffffff;
  border-color: var(--color-maroon-dark);
  box-shadow: 0 6px 16px rgba(104, 13, 34, 0.35);
  transform: translateX(-50%) translateY(-2px);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.product-rating-stars {
  color: #e5a100;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.product-rating-count {
  font-weight: 600;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-maroon-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.product-tagline {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}

/* Peer: Andaal Home Foods / Golden Grass Clean-Label Exclusions */
.clean-label-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.clean-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f4f0e6;
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.clean-chip.highlight {
  background: var(--color-green-light);
  color: var(--color-green);
  border-color: #b8e0c8;
}

/* Weight Selection Switches - Peer: Humble Flavors / Golden Grass */
.weight-selector-wrap {
  margin-bottom: 18px;
  background: #fcf9f2;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.weight-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.weight-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.weight-pill {
  padding: 7px 4px;
  border-radius: 6px;
  border: 1.5px solid var(--color-border);
  background: #ffffff;
  color: var(--color-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.weight-pill:hover {
  border-color: var(--color-gold);
}

.weight-pill.active {
  background: var(--color-maroon-dark);
  color: #ffffff;
  border-color: var(--color-maroon-dark);
  box-shadow: 0 2px 6px rgba(88, 13, 30, 0.2);
}

.weight-pill-save {
  display: block;
  font-size: 0.65rem;
  color: var(--color-green);
  font-weight: 800;
}

.weight-pill.active .weight-pill-save {
  color: var(--color-gold-light);
}

/* Card Price & Add-To-Cart Footer */
.product-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-display {
  display: flex;
  flex-direction: column;
}

.price-current {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-maroon-dark);
  line-height: 1.1;
}

.price-servings {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.btn-card-add {
  flex: 1;
  background: var(--color-maroon);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(88, 13, 30, 0.2);
}

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

/* City Split Delivery Tag (Peer: Bombay Sweet Shop) */
.city-delivery-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--color-muted);
  margin-top: 8px;
  padding: 4px 8px;
  background: #f7f3ea;
  border-radius: 4px;
}

.city-delivery-tag svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Feature Showcase Strip */
.features-section {
  background: #ffffff;
  padding: 70px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-box {
  padding: 24px;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #ffffff;
  border: 1.5px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-maroon);
}

.feature-box h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-maroon-dark);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Gifting & Hampers Spotlight */
.hamper-spotlight {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7efe1 0%, #fffbf4 100%);
}

.hamper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hamper-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-gold);
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.hamper-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hamper-details .badge {
  display: inline-block;
  background: var(--color-maroon);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hamper-details h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-maroon-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hamper-details p {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hamper-perks {
  list-style: none;
  margin-bottom: 30px;
}

.hamper-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.hamper-perks li svg {
  color: var(--color-green);
  flex-shrink: 0;
}

/* Postpartum Specialty Banner */
.postpartum-spotlight {
  padding: 80px 0;
  background: #ffffff;
}

.postpartum-card {
  background: linear-gradient(135deg, #440715 0%, #580c1d 40%, #680d22 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--color-gold);
  position: relative;
  overflow: hidden;
}

.postpartum-content {
  padding: 52px 36px 52px 48px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.postpartum-badge {
  display: inline-flex !important;
  align-items: center;
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: fit-content !important;
  background: var(--color-gold) !important;
  color: var(--color-maroon-dark) !important;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.postpartum-content h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #fff9ea;
  margin-bottom: 16px;
  line-height: 1.25;
}

.postpartum-content p {
  color: #f7e3ba;
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.postpartum-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border: none;
  border-radius: 0;
  max-width: none;
  margin: 0;
  display: flex;
  /* Feather smoothly towards the text on the left */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 12%, rgba(0, 0, 0, 0.85) 35%, #000000 60%, #000000 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 12%, rgba(0, 0, 0, 0.85) 35%, #000000 60%, #000000 100%);
}

.postpartum-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #440715 0%, rgba(68, 7, 21, 0.7) 18%, rgba(68, 7, 21, 0) 52%);
  pointer-events: none;
  z-index: 2;
}

.postpartum-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Corporate Bulk Calculator (Fixing PDF Page 3: "Corporate is an email") */
.corporate-section {
  padding: 80px 0;
  background: var(--color-cream);
}

.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.calc-input-group {
  margin-bottom: 20px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-maroon-dark);
  margin-bottom: 8px;
}

.calc-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2d9c5;
  accent-color: var(--color-maroon);
}

.calc-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: #ffffff;
}

.calc-summary-box {
  background: #fdfaf3;
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.calc-discount-badge {
  display: inline-block;
  background: var(--color-green);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.calc-price-large {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-maroon-dark);
}

.calc-price-sub {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 20px;
}

/* Verified Reviews & Peer Proof Strip */
.reviews-section {
  padding: 80px 0;
  background: #ffffff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-stars {
  color: #e5a100;
  font-size: 0.95rem;
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-green);
}

.review-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-maroon-dark);
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.review-author-meta {
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
  font-size: 0.82rem;
}

.review-author-name {
  font-weight: 700;
  color: var(--color-dark);
}

.review-author-location {
  color: var(--color-muted);
}

.review-product-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-maroon);
}

/* Client Logos Proof Strip */
.client-logos-section {
  padding: 40px 0;
  background: #fdfaf3;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.client-logos-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.client-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.client-badge-item {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-maroon);
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

/* Founder Story */
.founder-section {
  padding: 80px 0;
  background: var(--color-cream);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 50px;
}

.founder-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--color-gold);
  box-shadow: var(--shadow-lg);
  background: #2a040d;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.founder-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.founder-story h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-maroon-dark);
  margin-bottom: 8px;
}

.founder-lead {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.founder-text {
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.founder-quote {
  padding: 18px 22px;
  background: #ffffff;
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-maroon-dark);
  margin-bottom: 24px;
}

/* Slide-Over Cart Drawer (Fixes PDF Page 3: "No cart, No checkout") */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32, 21, 24, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}

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

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-maroon-dark);
  color: #ffffff;
}

.cart-drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff9ea;
}

.close-drawer-btn {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px;
}

.close-drawer-btn:hover {
  color: var(--color-gold-light);
}

.cart-free-shipping-bar {
  background: #fdfaf3;
  padding: 12px 24px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-maroon-dark);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: #e6ded0;
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--color-green);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-muted);
}

.cart-empty-state svg {
  margin: 0 auto 16px;
  color: var(--color-gold);
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border-light);
  align-items: center;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.cart-item-info h4 {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--color-maroon-dark);
  line-height: 1.25;
}

.cart-item-variant {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--color-maroon);
  font-size: 0.95rem;
  margin-top: 4px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #f0ebdf;
  color: var(--color-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--color-gold);
  color: #ffffff;
}

.qty-count {
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  color: #a89498;
  font-size: 1.2rem;
  padding: 4px;
}

.cart-item-remove:hover {
  color: #d32f2f;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--color-border);
  background: #fcfaf5;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-maroon-dark);
  margin-bottom: 14px;
}

.cart-subtotal-row span:last-child {
  font-family: var(--font-serif);
  color: var(--color-maroon);
  font-size: 1.3rem;
}

.cart-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Modals (Quick View & Checkout) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32, 21, 24, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  position: relative;
  border: 1px solid var(--color-border);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4eee2;
  color: var(--color-dark);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--color-maroon);
  color: #ffffff;
}

.modal-content-pad {
  padding: 32px;
}

/* Form Styles inside Checkout Modal */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-maroon-dark);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: #ffffff;
  color: var(--color-dark);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-maroon);
}

.payment-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.payment-option {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  background: #faf7f0;
}

.payment-option input {
  display: none;
}

.payment-option.active {
  border-color: var(--color-maroon);
  background: #f8ecf0;
  color: var(--color-maroon);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--color-maroon-dark);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border-left: 4px solid var(--color-gold);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastIn 0.3s ease forwards;
  pointer-events: auto;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.site-footer {
  background: var(--color-maroon-dark);
  color: var(--color-gold-pale);
  padding: 70px 0 24px;
  border-top: 4px solid var(--color-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-gold-light);
  margin-bottom: 6px;
}

.footer-brand p {
  color: rgba(250, 246, 238, 0.75);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(250, 246, 238, 0.8);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-gold-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(250, 246, 238, 0.85);
  margin-bottom: 14px;
}

.footer-contact-item svg {
  color: var(--color-gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(194, 149, 37, 0.25);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(250, 246, 238, 0.6);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .hamper-grid, .founder-grid, .calculator-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .postpartum-card {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .postpartum-content {
    padding: 36px 28px 24px !important;
  }

  .postpartum-image {
    height: 300px !important;
    min-height: 300px !important;
    width: 100% !important;
    max-width: 100% !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 15%, #000000 45%, #000000 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 15%, #000000 45%, #000000 100%) !important;
  }

  .postpartum-image::before {
    background: linear-gradient(to bottom, #440715 0%, rgba(68, 7, 21, 0.7) 18%, rgba(68, 7, 21, 0) 55%) !important;
  }

  /* Cards and photos share 4:3 ratio and grow with the column, capped at 560px (hero) and 380px (cards) */
  .hero-card {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
  }

  .product-card,
  .founder-image-frame,
  .founder-grid > div:first-child,
  .hamper-image-frame {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }

  .product-media img,
  .founder-image-frame img,
  .founder-grid img,
  .hamper-image-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
  }
}

/* Mobile & Responsive Header: Under 992px = One row with 3 distinct slots */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1060;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-maroon-dark);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Animates from three lines to close mark (X) when open, and back when closed */
.mobile-nav-toggle.open .hamburger-bar.top {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.open .hamburger-bar.mid {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-nav-toggle.open .hamburger-bar.bot {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991px) {
  .header-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 8px !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .nav-menu,
  nav[aria-label="Primary Navigation"],
  .site-nav {
    display: none !important;
  }

  .header-actions {
    display: contents !important;
  }

  .header-auth-slot {
    display: none !important;
  }

  /* Slot 1: Left - Animated hamburger (First control) */
  .mobile-nav-toggle {
    grid-column: 1 !important;
    order: 1 !important;
    justify-self: start !important;
    display: flex !important;
  }

  /* Slot 2: Center - Supplied logo, with Archana's Food Basket on a second line directly under the logo */
  .brand {
    grid-column: 2 !important;
    order: 2 !important;
    justify-self: center !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  .brand-logo {
    height: 36px !important;
    max-height: 38px !important;
    width: auto !important;
    flex-shrink: 0 !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .brand-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .brand-title {
    font-size: clamp(0.72rem, 2.9vw, 0.88rem) !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.18 !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .brand-subtitle {
    display: none !important;
  }

  /* Slot 3: Right - Basket button with count badge (Last control) */
  .cart-btn {
    grid-column: 3 !important;
    order: 3 !important;
    justify-self: end !important;
    padding: 8px 10px !important;
    font-size: 0.85rem !important;
  }
  .cart-btn span:not(.cart-badge) {
    display: none !important;
  }

  .hero-grid, .hamper-grid, .founder-grid, .calculator-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 640px) {
  .proof-strip-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .calculator-card {
    padding: 22px 18px !important;
  }
  .calc-summary-box {
    padding: 18px 14px !important;
  }
  .client-badges {
    gap: 16px !important;
  }
  .filter-btn {
    padding: 8px 16px !important;
    font-size: 0.84rem !important;
  }
  .proof-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
  }
  .product-card {
    border-radius: var(--radius-md);
  }
  .product-media {
    aspect-ratio: 4 / 3;
  }
  .product-body {
    padding: 16px 14px 16px !important;
  }
  .product-title {
    font-size: 1.15rem !important;
    min-height: auto !important;
    margin-bottom: 4px !important;
  }
  .product-tagline {
    font-size: 0.84rem !important;
    min-height: auto !important;
    margin-bottom: 10px !important;
  }
  .clean-label-chips {
    min-height: auto !important;
    gap: 5px !important;
    margin-bottom: 10px !important;
  }
  .clean-chip {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
  }
  .weight-selector-wrap {
    min-height: auto !important;
    margin-bottom: 10px !important;
  }
  .weight-selector-header {
    font-size: 0.75rem !important;
    margin-bottom: 4px !important;
  }
  .weight-options {
    gap: 6px !important;
  }
  .weight-chip {
    padding: 5px 8px !important;
    font-size: 0.78rem !important;
  }
  .product-card-footer {
    padding-top: 10px !important;
    margin-top: auto !important;
  }
  .price-current {
    font-size: 1.25rem !important;
  }
  .price-servings {
    font-size: 0.75rem !important;
  }
  .add-to-cart-btn {
    padding: 8px 14px !important;
    font-size: 0.88rem !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .payment-radio-group {
    grid-template-columns: 1fr;
  }
  .cart-drawer {
    max-width: 100%;
  }
}

/* Accessible Mobile Nav Slide Panel: Opens under the header */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32, 21, 24, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border-bottom: 2px solid var(--color-gold);
  z-index: 1051;
  transform: translateY(-115%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  padding: 24px 20px;
}

.mobile-nav-panel.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-maroon-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: var(--color-gold-pale);
  color: var(--color-maroon);
}

/* Toast Container */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 90vw;
}

.toast-message {
  background: var(--color-maroon-dark);
  color: #ffffff;
  border: 1px solid var(--color-gold);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(32, 21, 24, 0.35);
  animation: toastFadeIn 0.25s ease-out;
  pointer-events: auto;
  text-align: center;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Checkout Saved Address Radios */
.saved-address-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.saved-address-card {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: #fdfcf9;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.saved-address-card:hover, .saved-address-card.selected {
  border-color: var(--color-gold);
  background: var(--color-gold-pale);
}

.saved-address-card input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--color-maroon);
}

.saved-address-info strong {
  color: var(--color-maroon-dark);
  font-size: 0.95rem;
}

.saved-address-info p {
  color: var(--color-muted);
  font-size: 0.88rem;
  margin-top: 4px;
  line-height: 1.4;
}

/* 5-Step Order Progress Tracker */
.track-step-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 36px 0 28px;
}

.track-step-bar::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 4px;
  background: #e4ded2;
  z-index: 1;
}

.track-step-bar .track-progress-line {
  position: absolute;
  top: 18px;
  left: 30px;
  height: 4px;
  background: var(--color-green);
  z-index: 2;
  transition: width 0.4s ease;
}

.track-step {
  position: relative;
  z-index: 3;
  text-align: center;
  flex: 1;
}

.track-step-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e4ded2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 auto 8px;
  transition: all var(--transition);
}

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

.track-step.active .track-step-node {
  background: var(--color-gold);
  border-color: var(--color-maroon-dark);
  color: var(--color-maroon-dark);
  box-shadow: 0 0 0 4px rgba(194, 149, 37, 0.25);
}

.track-step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
}

.track-step.done .track-step-label,
.track-step.active .track-step-label {
  color: var(--color-maroon-dark);
  font-weight: 700;
}

/* Pincode Checker Card (Below Story on Homepage) */
.pincode-section {
  padding: 50px 0;
  background: var(--color-cream);
}

.pincode-card {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pincode-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-maroon-dark);
  margin-bottom: 8px;
}

.pincode-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 18px;
}

.pincode-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 380px;
  margin: 0 auto 12px;
}

.pincode-result {
  font-size: 0.9rem;
  min-height: 24px;
}

/* ==========================================================================
   Subtle Art & Architectural Dividers (Reference: Yellow Muslin Artistry)
   AFB Gold, Paisley/Buta language, 8-16% opacity, pointer-events: none
   ========================================================================== */

/* Thin Gold Section Dividers */
.geo-band {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(194, 149, 37, 0.4) 15%, rgba(223, 182, 78, 0.75) 50%, rgba(194, 149, 37, 0.4) 85%, transparent 100%);
  position: relative;
  margin: 0;
  border: none;
  display: block;
}

.geo-band::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: var(--color-gold);
  border: 2px solid var(--color-cream);
  box-sizing: border-box;
}

/* Faint Oversized Paisley/Buta Motifs */
.geo-ornament {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.11;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.4;
  user-select: none;
}

.hero .geo-ornament {
  right: -50px;
  top: 15%;
  opacity: 0.13;
  stroke: var(--color-gold-light);
}

.founder-section {
  position: relative;
  overflow: hidden;
}

.founder-section .geo-ornament {
  left: -60px;
  top: 25%;
  opacity: 0.10;
}

.shop-header-banner {
  position: relative;
  overflow: hidden;
}

.shop-header-banner .geo-ornament {
  right: 5%;
  top: -20px;
  opacity: 0.13;
  stroke: var(--color-gold-light);
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer .geo-ornament {
  right: -50px;
  bottom: 20px;
  opacity: 0.09;
  stroke: var(--color-gold-light);
}

/* Micro-animations and Interaction Feedback */
@keyframes badgeBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  70% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.cart-badge.bump {
  animation: badgeBump 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.weight-chip, .weight-pill {
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.weight-chip:active, .weight-pill:active {
  transform: none !important;
}

.weight-chip.active, .weight-pill.active {
  transform: none !important;
}

/* Product & Hamper Card Grid Responsive Rules */
/* 1024px and up: 3 columns, gap 32px, card cap 380px */
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 380px)) !important;
    gap: 32px !important;
    justify-content: center !important;
  }
  .product-card {
    max-width: 380px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}

/* 640px to 1023px: 2 columns. A card may not exceed 380px. Center the grid. Do not let one card fill 768px. */
@media (min-width: 640px) and (max-width: 1023px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 380px)) !important;
    gap: 24px !important;
    justify-content: center !important;
  }
  .product-card {
    max-width: 380px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}

/* Under 640px: 1 column, card width 100% of the container, image aspect-ratio: 4 / 3 */
@media (max-width: 639px) {
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .product-card {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .product-media img {
    aspect-ratio: 4 / 3 !important;
    width: 100% !important;
    object-fit: cover !important;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.product-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #f7f2ea;
}

.product-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-maroon-dark);
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

.product-title a:hover {
  color: var(--color-maroon);
}

.product-tagline {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.45;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.clean-label-chips {
  min-height: 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  align-content: flex-start;
}

.product-portion-hint {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 4px;
  margin-bottom: 12px;
}

.product-portion-hint strong {
  color: var(--color-maroon-dark);
}

.weight-selector-wrap {
  min-height: 98px;
  margin-bottom: 14px;
  box-sizing: border-box;
}


.product-card-footer {
  margin-top: auto !important;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-footer .price-display {
  display: flex;
  flex-direction: column;
}

.product-card-footer .add-to-cart-btn,
.product-card-actions .add-to-cart-btn {
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

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

@media (max-width: 440px) {
  .product-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .product-card-footer .price-display {
    text-align: center;
  }
  .product-card-footer .add-to-cart-btn {
    width: 100%;
    text-align: center;
  }
}

/* Checkout Flow 2-Column Grid with Side Order Summary Card */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Guest Track Order Clean Single Column View */
.dash-grid.guest-tracker-view {
  grid-template-columns: 1fr !important;
  max-width: 720px;
  margin: 0 auto;
}
.dash-grid.guest-tracker-view .dash-sidebar {
  display: none !important;
}

/* Header Account Dropdown Menu (160ms Transition) */
.header-account-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-maroon);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.header-account-btn:hover,
.header-account-btn[aria-expanded="true"] {
  background: var(--color-gold-pale);
  color: var(--color-maroon-dark);
  border-color: rgba(194, 149, 37, 0.35);
}

.header-account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(32, 21, 24, 0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 160ms cubic-bezier(0.16, 1, 0.3, 1), transform 160ms cubic-bezier(0.16, 1, 0.3, 1), visibility 160ms;
}

.header-account-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-menu-item {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.account-menu-item:hover,
.account-menu-item:focus {
  background: var(--color-gold-pale);
  color: var(--color-maroon-dark);
}

.account-menu-item.logout-item {
  color: #b71c1c;
  border-top: 1px solid var(--color-border-light);
  margin-top: 3px;
  padding-top: 9px;
}

.account-menu-item.logout-item:hover {
  background: #fdf2f2;
  color: #990000;
}

/* Dashboard & Orders Shared Layout */
.dash-wrap, .orders-page-wrap {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
  position: relative;
}

.dash-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 860px) {
  .dash-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dash-sidebar {
    position: static !important;
    top: auto !important;
  }
  .dash-card, .dash-sidebar {
    padding: 20px !important;
  }
}

.dash-sidebar {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.dash-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-maroon-dark);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.dash-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.dash-menu a, .dash-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.dash-menu a:hover {
  background: var(--color-gold-pale);
  color: var(--color-maroon);
}

.dash-menu a.active {
  background: var(--color-gold-pale);
  color: var(--color-maroon-dark);
  font-weight: 700;
  border-left: 3px solid var(--color-gold);
}

.dash-menu .dash-menu-logout {
  color: #c62828;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-border-light);
}

.dash-menu .dash-menu-logout:hover {
  background: #fdf2f2;
  color: #990000;
}

.dash-card {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

/* Quick View Modal Card */
.qv-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

.qv-media-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qv-img-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fdf8ee;
  box-shadow: var(--shadow-sm);
}

.qv-img-frame .product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.72rem;
  padding: 4px 10px;
}

.qv-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.qv-meta-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qv-meta-pill {
  font-size: 0.78rem;
  color: var(--color-dark);
  background: #f7f3ea;
  border: 1px solid rgba(194, 149, 37, 0.22);
  padding: 5px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
}

.qv-info-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.qv-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-maroon-dark);
  margin-bottom: 2px;
  line-height: 1.25;
  padding-right: 44px; /* Ensure clearance from absolute close button */
}

.qv-tagline {
  font-size: 0.86rem;
  color: var(--color-gold-deep);
  font-weight: 600;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qv-meta-box {
  background: #faf6ee;
  border-radius: 6px;
  border: 1px solid rgba(194, 149, 37, 0.18);
  padding: 9px 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--color-dark);
  line-height: 1.45;
}

.qv-meta-line strong {
  color: var(--color-maroon-dark);
}

.qv-portion-section {
  background: #faf8f4;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.qv-portion-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-maroon-dark);
}

.qv-servings-badge {
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.78rem;
}

.qv-weights-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qv-weights-row .weight-chip,
.qv-weights-row .weight-pill {
  padding: 8px 14px !important;
  font-size: 0.82rem !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--color-border) !important;
  color: var(--color-dark) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.qv-weights-row .weight-chip:hover,
.qv-weights-row .weight-pill:hover {
  border-color: var(--color-gold) !important;
  background: #fdfaf4 !important;
}

.qv-weights-row .weight-chip.active,
.qv-weights-row .weight-pill.active {
  background: var(--color-maroon-dark) !important;
  color: #ffffff !important;
  border-color: var(--color-maroon-dark) !important;
  box-shadow: 0 2px 8px rgba(104, 13, 34, 0.25) !important;
}

.qv-weights-row .weight-pill.active .weight-pill-save {
  color: var(--color-gold-light) !important;
}

.qv-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-light);
  box-shadow: none !important;
}

.qv-price-info {
  display: flex;
  flex-direction: column;
}

.qv-price-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-maroon-dark);
  font-family: var(--font-serif);
  line-height: 1.1;
}

.qv-price-sub {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.qv-add-btn {
  padding: 10px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: none !important;
  transition: all var(--transition);
}

.qv-add-btn:hover {
  background: var(--color-maroon);
  transform: translateY(-1px);
}

/* Quick View Specific Modal Dimensions */
#qv-modal-box {
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(32, 21, 24, 0.35);
  border: 1.5px solid rgba(194, 149, 37, 0.3);
}

#qv-modal-box .modal-content-pad {
  padding: 24px 28px;
}

/* Height-based media query for screens under 700px tall */
@media (max-height: 700px) {
  #qv-modal-box,
  .modal-box {
    max-height: calc(100vh - 30px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
  }
  #qv-modal-box .modal-content-pad,
  .modal-content-pad {
    overflow-y: auto !important;
    max-height: calc(100vh - 50px) !important;
    padding: 16px 20px !important;
  }
  .qv-footer-row {
    position: sticky !important;
    bottom: 0 !important;
    background: #ffffff !important;
    padding-top: 10px !important;
    padding-bottom: 8px !important;
    border-top: 1px solid var(--color-border-light) !important;
    box-shadow: none !important;
    z-index: 20 !important;
  }
}

@media (max-width: 640px) {
  .qv-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .qv-img-frame {
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }
  .qv-img {
    max-width: 280px;
    margin: 0 auto;
  }
  .qv-meta-badges {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .qv-title {
    font-size: 1.25rem;
    padding-right: 36px;
  }
}

/* Dashboard Address Items & Order Summary Card */
.dash-address-item {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  transition: border-color var(--transition);
}

.dash-address-item:hover {
  border-color: rgba(194, 149, 37, 0.4);
}

@media (max-width: 600px) {
  .dash-address-item {
    flex-direction: column;
    align-items: stretch;
  }
  .dash-address-actions {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--color-border-light);
    padding-top: 10px;
    margin-top: 8px;
    gap: 8px;
  }
}

.dash-order-preview-card {
  background: #faf8f4;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Subtle Art Hero Backgrounds for Bare Pages */
.contact-hero,
.gifts-hero,
.cart-wrap,
.checkout-wrap,
.auth-page,
.dash-wrap,
.orders-page-wrap {
  position: relative;
  overflow: hidden;
}

.contact-hero .geo-ornament,
.counter-hero .geo-ornament,
.gifts-hero .geo-ornament,
.cart-wrap .geo-ornament,
.checkout-wrap .geo-ornament,
.auth-page .geo-ornament,
.dash-wrap .geo-ornament,
.orders-page-wrap .geo-ornament {
  right: -40px;
  top: 10px;
  opacity: 0.12;
}

/* One-time entrance fade-up for sections */
.fade-up-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-up-ready.in-view {
  opacity: 1;
  transform: translateY(0);
}

.toast-message {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Reduced Motion: Static patterns, no extra animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero::before {
    animation: none !important;
  }
  .cart-badge.bump {
    animation: none !important;
  }
  .fade-up-ready {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Customer Speaks & Homepage Teaser Strip
   ========================================================================== */

/* Homepage Speaks Teaser Strip */
.speaks-teaser-strip {
  padding: 0 0 60px;
}

.speaks-teaser-card {
  background: var(--color-gold-pale);
  border: 1px solid rgba(194, 149, 37, 0.28);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 16px rgba(88, 13, 30, 0.04);
}

.speaks-teaser-text {
  min-width: 0;
}

.speaks-teaser-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-maroon-dark);
  margin-bottom: 6px;
}

.speaks-teaser-desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 640px) {
  .speaks-teaser-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 18px;
  }
  .speaks-teaser-action {
    width: 100%;
  }
  .speaks-teaser-action .btn {
    width: 100%;
  }
}

/* Customer Speaks Page */
.speaks-section {
  padding: 60px 0 80px;
  position: relative;
}

.speaks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 32px;
}

@media (max-width: 799px) {
  .speaks-grid {
    grid-template-columns: minmax(0, 420px);
    gap: 24px;
  }
}

.speaks-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.speaks-card:hover {
  box-shadow: var(--shadow-md);
}

.speaks-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a080d;
  overflow: hidden;
}

.speaks-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000000;
}

.speaks-video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a0b12;
  color: var(--color-gold-light);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px;
  text-align: center;
  z-index: 2;
}

.speaks-card-caption {
  padding: 20px 24px;
  flex-grow: 1;
  background: #ffffff;
}

.speaks-card-caption h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-maroon-dark);
  margin: 0;
  line-height: 1.35;
}

.speaks-cta-wrap {
  text-align: center;
  margin-top: 48px;
}

.speaks-kitchen-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-maroon);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition);
}

.speaks-kitchen-link:hover {
  color: var(--color-gold-dark);
}

/* Customer Speaks - Patron Testimonials Section (Pure White Area & 3x4 Grid) */
.patron-testimonials-section {
  background: #ffffff !important;
  padding: 70px 0 80px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  width: 100%;
}

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

@media (max-width: 991px) {
  .reviews-grid-3x4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .reviews-grid-3x4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.review-card-item {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Contact Hub & Form Responsive Grids */
.contact-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-hub-grid,
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .contact-card,
  .contact-form-box {
    padding: 22px 18px !important;
  }
}

/* About Page 4 Pillars Responsive Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 640px) {
  .pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

