/* ==========================================================================
   itrink — Creative Modern E-Commerce Design System
   Natural Earth, Emerald Forest & Botanical Luxury
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary: #1b4332;         /* Deep Forest Green */
  --primary-hover: #133225;
  --primary-light: #2d6a4f;
  --accent: #52b788;          /* Sprout Leaf Green */
  --accent-glow: #74c69d;
  --accent-soft: #eaf6ee;
  --soil: #58311c;            /* Rich Earth / Roasted Chestnut */
  --soil-light: #7c4627;
  --soil-deep: #321c10;
  --gold: #f4a261;            /* Warm Honey Amber */
  --gold-star: #e76f51;

  /* Surfaces & Backgrounds */
  --bg: #fbf9f4;              /* Soft Warm Oat Canvas */
  --bg-alt: #f3efe6;          /* Mellow Sand Surface */
  --surface: #ffffff;         /* Pure Card White */
  --surface-hover: #fdfcfa;
  --border: #e6dfd1;          /* Organic Muted Border */
  --border-light: #f0eae0;

  /* Typography */
  --text: #1d1916;            /* Deep Roasted Charcoal */
  --text-muted: #6c6358;      /* Warm Slate Earth */
  --text-light: #9e9385;

  /* Shadows & Glass */
  --shadow-sm: 0 2px 8px rgba(33, 25, 17, 0.04);
  --shadow-md: 0 10px 25px rgba(33, 25, 17, 0.08);
  --shadow-lg: 0 20px 45px rgba(33, 25, 17, 0.12);
  --shadow-pouch: 0 25px 50px rgba(50, 28, 16, 0.22);
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #14120e;
  --bg-alt: #1e1a14;
  --surface: #24201a;
  --surface-hover: #2d2821;
  --border: #3b3429;
  --border-light: #2d271e;
  --text: #f7f3ec;
  --text-muted: #aca192;
  --text-light: #7c7365;
  --accent-soft: #1d2c20;
  --glass-bg: rgba(36, 32, 26, 0.88);
  --glass-border: rgba(59, 52, 41, 0.6);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-bottom: 70px; /* Space for mobile bottom dock */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--text);
  line-height: 1.15;
  font-weight: 700;
}

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

button, input, select {
  font: inherit;
}

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

.w {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.tag.amber {
  color: #b45309;
  background: #fef3c7;
}

/* ==========================================================================
   Buttons & Chips
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.2);
  text-align: center;
  user-select: none;
}

.btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--accent-soft);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(82, 183, 136, 0.3);
}

.btn-accent:hover {
  background: #40916c;
  color: #ffffff !important;
}

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

.btn-track-order {
  display: none;
}

@media (min-width: 768px) {
  .btn-track-order {
    display: inline-flex;
  }
}

.btn-block {
  width: 100%;
}

.icon-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

.icon-btn:hover {
  background: var(--bg-alt);
}

/* ==========================================================================
   Top Promotional Ticker Bar
   ========================================================================== */
.promo-banner {
  background: linear-gradient(90deg, #1b4332 0%, #2d6a4f 50%, #1b4332 100%);
  color: #f7f3ec;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 101;
  overflow: hidden;
}

.promo-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.promo-banner .highlight {
  background: rgba(244, 162, 97, 0.25);
  border: 1px dashed #f4a261;
  color: #ffe3b3;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo:hover img {
  transform: scale(1.04);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link,
.nav-link-dropdown {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.nav-link:hover,
.nav-link-dropdown:hover,
.nav-item-dropdown:hover .nav-link-dropdown {
  color: var(--primary);
}

.nav-link::after,
.nav-link-dropdown::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item-dropdown:hover .nav-link-dropdown::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text);
  font-weight: 700;
}

.chevron-icon {
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.nav-badge-pill {
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
  padding: 8px 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 150;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(2px);
}

.dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s ease;
}

.dropdown-item:hover {
  background: var(--bg-alt);
}

.dropdown-item-icon {
  font-size: 20px;
  width: 38px;
  height: 38px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
}

.dropdown-item small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.dropdown-footer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.dropdown-footer a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  display: inline-block;
  padding: 4px 8px;
  text-decoration: none;
}

.dropdown-footer a:hover {
  text-decoration: underline;
}

/* Nav Action Buttons on Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.nav-action-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.nav-track-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

@media (min-width: 860px) {
  .nav-track-btn {
    display: inline-flex;
  }
}

.nav-track-btn:hover {
  background: var(--bg-alt);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

/* User Account Portal Button */
.nav-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.nav-account-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-account-btn svg {
  stroke: var(--text);
}

.nav-account-btn:hover svg {
  stroke: var(--primary);
}

.nav-user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-btn-indicator {
  position: relative;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  color: #ffffff !important;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.22);
}

.cart-btn-indicator:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 67, 50, 0.3);
}

.cart-btn-indicator svg {
  stroke: #ffffff;
}

.cart-badge {
  background: #ffffff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px;
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   Mobile Navigation Drawer
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background: var(--surface);
  z-index: 200;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-drawer.open {
  left: 0;
}

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

.drawer-links {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-links a {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.drawer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 50px 0 70px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(82, 183, 136, 0.12) 0%, rgba(251, 249, 244, 0) 60%),
              radial-gradient(circle at 15% 80%, rgba(88, 49, 28, 0.08) 0%, rgba(251, 249, 244, 0) 50%);
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
  }
}

.hero-content h1 {
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}

.hero-content h1 em {
  font-style: italic;
  font-family: 'Fraunces', serif;
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 530px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 36px;
}

.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  margin-left: -10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-label {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.35;
}

.trust-label strong {
  color: var(--text);
  display: block;
}

/* Hero Creative Pouch Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 10px;
}

.visual-backdrop-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.28) 0%, rgba(244, 162, 97, 0.15) 50%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

.interactive-pack-card {
  position: relative;
  z-index: 1;
  width: 300px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transform: rotate(-1deg);
  transition: transform 0.4s ease;
}

.interactive-pack-card:hover {
  transform: rotate(0deg) translateY(-6px);
}

/* Real Product Hero Photo Card */
.hero-photo-card {
  width: 370px;
  max-width: 100%;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-pouch);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transform: rotate(-1.5deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.hero-photo-card:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 32px 64px rgba(27, 67, 50, 0.25);
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: #fbf9f4;
}

.hero-real-product-img {
  width: 100%;
  height: 380px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.hero-photo-card:hover .hero-real-product-img {
  transform: scale(1.04);
}

.photo-overlay-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(27, 67, 50, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 4px 8px 4px;
}

.catalog-card-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.35s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card:hover .catalog-card-real-img {
  transform: scale(1.05);
}

/* Packaging Art Representation */
.art-pouch {
  width: 100%;
  height: 300px;
  background: linear-gradient(165deg, #1b4332 0%, #2d6a4f 55%, #183e2e 100%);
  border-radius: 28px 28px 20px 20px;
  position: relative;
  box-shadow: 0 16px 36px rgba(27, 67, 50, 0.35);
  color: #fff;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.art-pouch::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: -20%;
  right: -20%;
  height: 44%;
  background: var(--soil);
  border-radius: 50% 50% 0 0;
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.art-pouch-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.art-pouch-brand {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: #fff;
}

.art-pouch-seal {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.art-pouch-center {
  position: relative;
  z-index: 2;
  text-align: left;
}

.art-pouch-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: #f7f3ec;
}

.art-pouch-sub {
  font-size: 11px;
  opacity: 0.85;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
  color: #d8f3dc;
}

.art-pouch-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fceade;
}

.art-pouch-bottom b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Floating Ingredient Badges on Hero */
.floating-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-badge.fb-1 {
  top: 15px;
  left: -20px;
  animation-delay: 0.3s;
}

.floating-badge.fb-2 {
  bottom: 35px;
  right: -25px;
  animation-delay: 1.2s;
}

.floating-badge.fb-3 {
  bottom: -15px;
  left: 20px;
  animation-delay: 2.1s;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   Trust / Value Props Strip
   ========================================================================== */
.features-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

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

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.feature-text p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   E-Commerce Product Catalog Section
   ========================================================================== */
.catalog-section {
  padding: 80px 0;
}

.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

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

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2);
}

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

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Single Product Card */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-card-badge.gold {
  background: #d97706;
  color: #fff;
}

.product-card-badge.green {
  background: var(--accent);
  color: #fff;
}

.product-card-image {
  height: 240px;
  background: linear-gradient(145deg, var(--bg-alt) 0%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
  overflow: hidden;
}

/* Visual Product Mini-Pouch inside Card */
.card-mini-pouch {
  width: 140px;
  height: 180px;
  border-radius: 18px 18px 12px 12px;
  color: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-card:hover .card-mini-pouch {
  transform: scale(1.06) rotate(-1deg);
}

.card-mini-pouch::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -20%;
  right: -20%;
  height: 44%;
  background: var(--soil);
  border-radius: 50% 50% 0 0;
  z-index: 1;
}

.card-mini-pouch.classic {
  background: linear-gradient(160deg, #1b4332 0%, #2d6a4f 100%);
}

.card-mini-pouch.millet {
  background: linear-gradient(160deg, #405b33 0%, #606c38 100%);
}

.card-mini-pouch.kids {
  background: linear-gradient(160deg, #b0692d 0%, #ca6702 100%);
}

.card-mini-pouch.kids::after {
  background: #733c16;
}

.card-mini-pouch.diabetic {
  background: linear-gradient(160deg, #283618 0%, #1e3b26 100%);
}

.card-mini-pouch.bundle {
  background: linear-gradient(160deg, #6b2d5c 0%, #4a1942 100%);
}

.card-mini-pouch.bundle::after {
  background: #2f102a;
}

.pouch-brand-text {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.pouch-title-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.pouch-flavor-text {
  font-size: 10px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.product-rating .stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.product-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.product-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.weight-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.weight-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

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

.weight-btn.active {
  background: var(--accent-soft);
  color: var(--primary);
  border-color: var(--accent);
  font-weight: 700;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

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

.product-current-price {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.product-old-price {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ==========================================================================
   Interactive Ingredient Breakdown Showcase
   ========================================================================== */
.ingredients-section {
  background: var(--bg-alt);
  padding: 85px 0;
  position: relative;
}

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

.ingredient-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ingredient-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.ingredient-emoji {
  font-size: 32px;
  margin-bottom: 12px;
  background: var(--bg-alt);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.ingredient-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.ingredient-pill {
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Comparison Section: itrink vs Regular Malt Drinks
   ========================================================================== */
.comparison-section {
  padding: 85px 0;
}

.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th, 
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--bg-alt);
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
}

.comparison-table th.brand-col {
  background: var(--primary);
  color: #fff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.comparison-table td.brand-col {
  background: rgba(82, 183, 136, 0.08);
  font-weight: 600;
  color: var(--primary);
}

.check-icon {
  color: #2e7d32;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cross-icon {
  color: #c62828;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Interactive "How to Brew" Recipe Section
   ========================================================================== */
.recipe-section {
  background: var(--surface);
  padding: 85px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.recipe-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.recipe-tab-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.recipe-tab-btn.active {
  background: var(--soil);
  color: #ffffff;
  border-color: var(--soil);
}

.recipe-content {
  display: none;
}

.recipe-content.active {
  display: block;
}

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

.recipe-step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.recipe-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.step-number {
  width: 54px;
  height: 54px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 18px;
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
}

.recipe-step-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.recipe-step-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ==========================================================================
   Brand Story Banner
   ========================================================================== */
.story-banner {
  background: linear-gradient(135deg, var(--soil) 0%, var(--soil-deep) 100%);
  color: #f7f3ec;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.story-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.story-content {
  max-width: 760px;
}

.story-content .tag {
  background: rgba(255, 255, 255, 0.12);
  color: #a7f3d0;
}

.story-content h2 {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 48px);
  margin: 16px 0 20px;
}

.story-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #ded6c9;
  margin-bottom: 28px;
}

/* ==========================================================================
   Customer Reviews & UGC
   ========================================================================== */
.reviews-section {
  padding: 85px 0;
  background: var(--bg);
}

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

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.review-stars {
  color: #f59e0b;
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card q {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  quotes: none;
  margin-bottom: 20px;
  display: block;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.author-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

.verified-badge {
  font-size: 12px;
  color: #2e7d32;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 85px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  font-weight: 600;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px 24px;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  margin: 40px auto 70px;
  max-width: 1200px;
  text-align: center;
  padding: 50px 24px;
}

.newsletter-content {
  max-width: 580px;
  margin: 0 auto;
}

.newsletter-content h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
}

.newsletter-content p {
  color: #d8f3dc;
  font-size: 16px;
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  outline: none;
}

.newsletter-form input:focus {
  border-color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background: var(--soil-deep);
  color: #ded6c9;
  padding: 70px 0 35px;
  font-size: 14.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

img[src*="logo"] {
  background: transparent !important;
}

.footer-brand img {
  height: 44px;
  width: auto;
  background: transparent !important;
  padding: 0;
  border-radius: 0;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-col h4 {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: #ded6c9;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: #a7f3d0;
}

.footer-badges {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.badge-tag {
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #d1fae5;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  font-size: 13px;
  opacity: 0.8;
}

.payment-methods {
  display: flex;
  gap: 12px;
  align-items: center;
}

.payment-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
}

/* ==========================================================================
   Slide-out Shopping Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--surface);
  z-index: 1001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer.open {
  right: 0;
}

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

.cart-header h3 {
  font-size: 20px;
}

.close-btn {
  background: var(--bg-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
  transition: var(--transition);
}

.close-btn:hover {
  background: var(--border);
}

/* Free Shipping Meter */
.free-shipping-meter {
  background: var(--accent-soft);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-light);
}

.meter-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.meter-bar-track {
  height: 6px;
  background: rgba(82, 183, 136, 0.25);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  background: var(--primary);
  width: 40%;
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.cart-empty-icon {
  font-size: 48px;
  margin-bottom: 14px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.cart-item-img {
  width: 68px;
  height: 68px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

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

.cart-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

.cart-item-size {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg);
  height: 32px;
}

.cart-qty-ctrl button {
  background: none;
  border: none;
  width: 28px;
  height: 100%;
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.cart-qty-ctrl span {
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  transition: color 0.2s ease;
}

.cart-remove-btn:hover {
  color: #e63946;
}

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

.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.coupon-input {
  flex-grow: 1;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  outline: none;
  text-transform: uppercase;
}

.coupon-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-summary-line.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

/* ==========================================================================
   Quick Search Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
}

.modal-overlay.open {
  display: flex;
}

.search-modal-box {
  background: var(--surface);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-input-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.search-input-header input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 17px;
  color: var(--text);
  background: transparent;
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-result-item:hover {
  background: var(--bg-alt);
}

/* ==========================================================================
   Order Tracking Simulator Modal
   ========================================================================== */
.track-modal-box {
  background: var(--surface);
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 28px;
  animation: modalIn 0.25s ease-out;
}

.track-timeline {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 28px;
}

.track-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 9px;
  width: 2px;
  background: var(--border);
}

.timeline-step {
  position: relative;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid var(--surface);
}

.timeline-step.done::before {
  background: var(--accent);
}

.timeline-step.active::before {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(27, 67, 50, 0.2);
}

/* ==========================================================================
   Mobile Bottom Navigation Dock
   ========================================================================== */
.mobile-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  z-index: 99;
  padding: 8px 16px;
  justify-content: space-around;
  align-items: center;
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 4px 12px;
}

.bottom-bar-item.active,
.bottom-bar-item:hover {
  color: var(--primary);
}

.bottom-bar-item svg {
  width: 22px;
  height: 22px;
}

.bottom-bar-badge {
  position: absolute;
  top: 0;
  right: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Toast Notification Banner
   ========================================================================== */
#toast {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 992px) {
  #toast {
    bottom: 30px;
  }
}

/* ==========================================================================
   Customer Auth Modal & Profile Portal
   ========================================================================== */
.auth-modal-box {
  background: var(--surface);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: modalIn 0.25s ease-out;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.auth-tab-btn {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

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

.auth-body {
  padding: 26px;
}

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

.auth-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.auth-input-wrapper {
  position: relative;
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.auth-input:focus {
  border-color: var(--primary);
  background: var(--surface);
}

.auth-pwd-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-helpers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.auth-helpers label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.auth-helpers a {
  color: var(--primary);
  font-weight: 600;
}

.auth-helpers a:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: var(--text-light);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
}

.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.auth-divider span {
  padding: 0 10px;
}

.social-auth-btn {
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  margin-bottom: 10px;
}

.social-auth-btn:hover {
  background: var(--bg-alt);
  border-color: var(--text-muted);
}

.demo-login-box {
  background: var(--accent-soft);
  border: 1px dashed var(--accent);
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12.5px;
  margin-top: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.demo-login-box:hover {
  background: #d8f3dc;
}

/* Customer Profile Dashboard Modal */
.profile-modal-box {
  background: var(--surface);
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: modalIn 0.25s ease-out;
  padding: 26px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  position: relative;
}

.profile-avatar-big {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
  flex-shrink: 0;
}

.profile-rewards-card {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fef3c7 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.profile-menu-item:hover {
  background: var(--bg-alt);
  border-color: var(--accent);
}

/* ==========================================================================
   Inner Pages (Products, Recipes, Story, Contact)
   ========================================================================== */
.page-hero {
  padding: 55px 0 35px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(82, 183, 136, 0.12) 0%, rgba(251, 249, 244, 0) 70%);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin: 12px 0;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 660px;
  margin: 0 auto;
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 40px 0 80px;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
}

.contact-method-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s ease;
}

.contact-form textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
}

/* Story Page Visual Sections */
.story-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 50px 0;
}

@media (min-width: 768px) {
  .story-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.timeline-card-number {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ==========================================================================
   FAQ Accordion Component
   ========================================================================== */
.faq-section {
  padding: 70px 0 90px;
  background: var(--bg);
}

.faq-list {
  max-width: 820px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-question svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 22px;
}

/* ==========================================================================
   Single Product Showcase Section (products.html)
   ========================================================================== */
.single-product-section {
  padding: 40px 0 80px;
  background: var(--bg);
}

.product-breadcrumbs {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.product-breadcrumbs a:hover {
  color: var(--primary);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.product-gallery-box {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.product-gallery-box .main-product-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.product-gallery-box:hover .main-product-img {
  transform: scale(1.02);
}

.gallery-badges-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.gallery-badge {
  background: rgba(82, 183, 136, 0.12);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(82, 183, 136, 0.25);
}

.product-info-panel {
  display: flex;
  flex-direction: column;
}

.product-info-panel .product-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin: 10px 0 8px;
}

@media (min-width: 768px) {
  .product-info-panel .product-title {
    font-size: 36px;
  }
}

.product-tagline {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-price-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 16px 0 24px;
  box-shadow: var(--shadow-sm);
}

.price-row-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
}

.price-row-main .current-price {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
}

.price-row-main .original-price {
  font-size: 19px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-row-main .savings-pill {
  background: #d97706;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.variant-picker-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 18px 0 10px;
  display: block;
}

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

.variant-card-btn {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}

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

.variant-card-btn.active {
  border-color: var(--primary);
  background: rgba(82, 183, 136, 0.08);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.12);
}

.variant-card-btn .variant-weight {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  display: block;
}

.variant-card-btn .variant-cost {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 3px;
  display: block;
}

.variant-card-btn .variant-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

.purchase-actions-box {
  display: flex;
  gap: 12px;
  margin: 22px 0 14px;
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  overflow: hidden;
  height: 50px;
}

.qty-btn {
  width: 42px;
  height: 100%;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.qty-btn:hover {
  background: var(--border-light);
}

.qty-display {
  width: 34px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.add-cart-large-btn {
  flex: 1;
  min-width: 190px;
  height: 50px;
  font-size: 15.5px;
}

.buy-now-large-btn {
  width: 100%;
  height: 48px;
  font-size: 15px;
  background: var(--soil) !important;
  border-color: var(--soil) !important;
  color: #fff !important;
}

.buy-now-large-btn:hover {
  background: #3e2213 !important;
  border-color: #3e2213 !important;
}

.product-perks-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* Center single product on home page catalog */
.products-grid.single-product-grid {
  grid-template-columns: 1fr !important;
  max-width: 450px !important;
  margin: 0 auto !important;
}




