/* ==========================================================================
   Modafinil New York — design tokens
   Palette: Americana — Old Glory blue (primary accent) + Old Glory red
   (semantic accent: alerts, low-stock, sale badges) + off-white/off-black
   neutrals. Red is never used as a second decorative accent alongside blue
   in the same component; it is reserved for status/semantic use so the
   page still reads as one accent-led system, not a red-and-blue clash.
   Shape lock: buttons = pill, cards = 16px, inputs = 10px.
   ========================================================================== */
:root{
  --bg: #f8f8f6;
  --bg-alt: #eef1f5;
  --surface: #ffffff;
  --border: #dde3ea;
  --text: #10151f;
  --text-muted: #55606e;

  --primary: #0a3161;
  --primary-dark: #06213f;
  --primary-tint: #e6ecf5;
  --on-primary: #ffffff;

  --danger: #b31942;
  --danger-tint: #f9e6ea;
  --rating: #e8a13d;

  --flag-stripe: linear-gradient(90deg, #b31942 0 33.33%, #ffffff 33.33% 66.66%, #0a3161 66.66% 100%);

  --radius-card: 16px;
  --radius-input: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16,21,31,0.06);
  --shadow-md: 0 12px 32px -12px rgba(10,49,97,0.24);

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --header-h: 68px;
  --ticker-h: 40px;

  color-scheme: light;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--ticker-h) + 16px); }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Heading scale (h1-h6), fluid across all viewport widths ---------- */
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-display);
  color: var(--text);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1{ font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); }
h2{ font-size: clamp(1.6rem, 2vw + 1.1rem, 2.3rem); }
h3{ font-size: clamp(1.05rem, 0.7vw + 0.9rem, 1.25rem); }
h4{ font-size: clamp(0.95rem, 0.3vw + 0.85rem, 1.0625rem); }
h5{ font-size: clamp(0.9rem, 0.2vw + 0.82rem, 1rem); font-weight: 600; }
h6{
  font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
p{ margin: 0 0 1em; color: var(--text-muted); }
a{ color: inherit; }
img{ display:block; max-width: 100%; }

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

.skip-link{
  position: fixed; top: -50px; left: 12px; z-index: 200;
  background: var(--primary); color: var(--on-primary);
  padding: 10px 16px; border-radius: var(--radius-input);
  transition: top .2s ease;
}
.skip-link:focus{ top: 12px; }

.section-inner{ max-width: 1200px; margin: 0 auto; padding: 50px 24px; }
@media (max-width: 768px){ .section-inner{ padding: 56px 20px; } }

/* ---------- Buttons (pill) ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none;
  transition: transform .15s cubic-bezier(.16,1,.3,1), background-color .15s ease, box-shadow .15s ease;
}
.btn:active{ transform: scale(0.98); }
.btn--primary{ background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-md); }
.btn--primary:hover{ background: var(--primary-dark); }
.btn--ghost{ background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover{ border-color: var(--primary); color: var(--primary); }
.btn--sm{ padding: 9px 18px; font-size: 13.5px; }
.btn--lg{ padding: 16px 30px; font-size: 16px; }
.btn--block{ display: flex; width: 100%; }

.icon-btn{
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-pill);
  background: transparent; border: 1px solid transparent; color: var(--text);
  cursor: pointer;
}
.icon-btn:hover{ background: var(--bg-alt); }

/* ==========================================================================
   Flag stripe accent (thin, non-decorative-clutter nod to the Americana
   palette, sits once at the very top of the page above the ticker)
   ========================================================================== */
.flag-stripe{
  height: 4px;
  background: var(--flag-stripe);
}

/* ==========================================================================
   Top scrolling notification ticker (dynamic, data-driven, marquee loop)
   ========================================================================== */
.ticker{
  height: var(--ticker-h);
  background: var(--danger);
  color: #fff;
  overflow: hidden;
  position: relative;
  font-size: 13.5px;
}
.ticker__track{
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track{ animation-play-state: paused; }
.ticker__item{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 40px; white-space: nowrap; font-weight: 500;
}
.ticker__item svg{ flex-shrink: 0; opacity: .85; }
@keyframes ticker-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .ticker__track{ animation: none; overflow-x: auto; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled{ box-shadow: var(--shadow-sm); }
.site-header__inner{
  max-width: 1280px; margin: 0 auto; height: 100%;
  padding: 0 20px;
  display: flex; align-items: center; gap: 20px;
}
.brand{ display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand__mark{ color: var(--primary); display: flex; }
.brand__name{ font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand__name em{ font-style: normal; color: var(--primary); }

.brand__logo{ height: 34px; width: auto; display: block; }
.brand__logo--compact{ height: 28px; }
.brand__logo--footer{width: 220px; height: 60px; margin-bottom: 16px; }
@media (min-width: 640px){ .brand__logo{ height: 38px; } }

.nav-desktop{ display: none; gap: 30px; align-items: center; font-size: 14.5px; font-weight: 500; }
.nav-desktop a{ text-decoration: none; color: var(--text-muted); transition: color .15s ease; }
.nav-desktop a:hover{ color: var(--primary); }

.header-actions{ display: flex; align-items: center; gap: 6px; margin-left: auto; }

@media (min-width: 1024px){
  .nav-desktop{ display: flex; margin: 0 auto; }
}

/* ---------- Nav dropdown: Products ---------- */
.nav-dropdown{ position: relative; }
.nav-dropdown__trigger{
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  color: var(--text-muted); padding: 0; transition: color .15s ease;
}
.nav-dropdown__trigger:hover{ color: var(--primary); }
.nav-dropdown__trigger svg{ transition: transform .2s ease; }
.nav-dropdown__trigger[aria-expanded="true"] svg{ transform: rotate(180deg); color: var(--primary); }

.nav-dropdown__panel{
  position: absolute; top: calc(100% + 16px); left: 0;
  min-width: 190px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-md); padding: 8px; z-index: 70;
}
.nav-dropdown__panel::before{
  content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.nav-dropdown__panel a{
  display: block; padding: 10px 12px; border-radius: var(--radius-input);
  font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none;
}
.nav-dropdown__panel a:hover{ background: var(--bg-alt); color: var(--primary); }

/* Hover reveal on pointer devices, in addition to the JS click toggle
   (keyboard/touch). The ::before bridges the gap so moving the pointer
   from trigger to panel doesn't drop the hover state. */
@media (hover: hover){
  .nav-dropdown:hover .nav-dropdown__panel[hidden],
  .nav-dropdown:focus-within .nav-dropdown__panel[hidden]{
    display: block;
  }
  .nav-dropdown:hover .nav-dropdown__trigger svg,
  .nav-dropdown:focus-within .nav-dropdown__trigger svg{
    transform: rotate(180deg); color: var(--primary);
  }
}

/* ---------- Header dropdowns: account + cart ---------- */
.header-dropdown{ position: relative; }

.cart-trigger{ position: relative; }
.account-trigger__avatar{ width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block; }
.cart-trigger__count{
  position: absolute; top: -2px; right: -2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--danger); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center;
}

.header-dropdown__panel{
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 300px; max-width: 88vw; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-md); padding: 20px; z-index: 70;
}
.header-dropdown__panel h3{ font-size: 16px; margin-bottom: 6px; }
.header-dropdown__panel p{ font-size: 13.5px; margin-bottom: 14px; }
.header-dropdown__panel .btn--block{ margin-bottom: 10px; }
.header-dropdown__link{
  display: block; text-align: center; text-decoration: none;
  font-size: 13.5px; font-weight: 600; color: var(--primary);
}
.header-dropdown__link:hover{ color: var(--primary-dark); }

.header-dropdown__empty{ display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px 0 4px; color: var(--text-muted); }
.header-dropdown__empty[hidden]{ display: none; }
.header-dropdown__empty svg{ color: var(--border); margin-bottom: 4px; }
.header-dropdown__empty p{ margin: 0 0 8px; font-size: 13.5px; }

.header-dropdown__items{ display: flex; flex-direction: column; gap: 12px; max-height: 260px; overflow-y: auto; margin-bottom: 14px; }
.header-dropdown__item{ display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.header-dropdown__item img{ width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.header-dropdown__item span{ flex: 1; min-width: 0; color: var(--text); font-weight: 600; }
.header-dropdown__item small{ display: block; color: var(--text-muted); font-weight: 500; }
.header-dropdown__item button, .header-dropdown__item a[aria-label]{
  border: none; background: transparent; color: var(--text-muted);
  cursor: pointer; padding: 4px; line-height: 0; flex-shrink: 0;
}
.header-dropdown__item button:hover, .header-dropdown__item a[aria-label]:hover{ color: var(--danger); }
.header-dropdown__subtotal{
  display: flex; justify-content: space-between; font-weight: 700;
  font-size: 14px; padding-top: 12px; margin-bottom: 14px; border-top: 1px solid var(--border);
}

/* ==========================================================================
   Off-canvas menu — slides in from the left
   ========================================================================== */
.offcanvas-backdrop{
  position: fixed; inset: 0; background: rgba(6,12,22,0.5);
  z-index: 90; opacity: 0; transition: opacity .25s ease;
}
.offcanvas-backdrop.is-visible{ opacity: 1; }

.offcanvas{
  position: fixed; top: 0; left: 0; height: 100%;
  width: min(340px, 86vw);
  background: var(--surface);
  z-index: 100;
  display: flex; flex-direction: column;
  padding: 20px 22px 26px;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.16,1,.3,1);
  box-shadow: 24px 0 48px rgba(0,0,0,0.18);
}
.offcanvas.is-open{ transform: translateX(0); }
@media (prefers-reduced-motion: reduce){ .offcanvas{ transition: none; } }

.offcanvas__header{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }

.offcanvas__search{
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: var(--radius-input);
  padding: 10px 14px; color: var(--text-muted); margin-bottom: 20px;
}
.offcanvas__search input{
  border: none; outline: none; background: transparent; width: 100%;
  font-family: var(--font-body); font-size: 14.5px; color: var(--text);
}

.offcanvas__links{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.offcanvas__links li + li{ border-top: 1px solid var(--border); }
.offcanvas__links a{
  display: block; padding: 15px 4px; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text);
}
.offcanvas__links a:hover{ color: var(--primary); }

/* Products dropdown inside the off-canvas menu */
.offcanvas__dropdown-trigger{
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 4px; border: none; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text);
  text-align: left;
}
.offcanvas__dropdown-trigger:hover{ color: var(--primary); }
.offcanvas__dropdown-trigger svg{ flex-shrink: 0; color: var(--text-muted); transition: transform .25s ease; }
.offcanvas__dropdown-trigger[aria-expanded="true"]{ color: var(--primary); }
.offcanvas__dropdown-trigger[aria-expanded="true"] svg{ transform: rotate(180deg); color: var(--primary); }

.offcanvas__dropdown-panel{
  list-style: none; margin: 0 0 10px; padding: 4px 0 4px 14px;
  border-left: 2px solid var(--primary-tint);
  display: flex; flex-direction: column;
}
.offcanvas__dropdown-panel[hidden]{ display: none; }
.offcanvas__dropdown-panel li + li{ border-top: none; }
.offcanvas__dropdown-panel a{
  display: block; padding: 11px 4px; text-decoration: none;
  font-family: var(--font-body); font-weight: 500; font-size: 14.5px; color: var(--text-muted);
}
.offcanvas__dropdown-panel a:hover{ color: var(--primary); }

.offcanvas__footer{ margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.offcanvas__footer p{ margin-top: 14px; font-size: 13.5px; text-align: center; }
.offcanvas__footer p a{ color: var(--primary); text-decoration: none; font-weight: 600; }

/* ==========================================================================
   Hero — asymmetric split
   ========================================================================== */
.hero{ background: var(--bg); overflow: hidden; }
.hero__inner{
  max-width: 1280px; margin: 0 auto;
  padding: 56px 24px 0;
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center;
}
.hero__copy h1{
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  max-width: 14ch;
}
.hero__copy p{ font-size: 17px; max-width: 46ch; }
.hero__ctas{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.hero__media{ position: relative; }
.hero__media img{
  width: 100%; height: auto; object-fit: cover;
  border-radius: 20px;
}

@media (min-width: 900px){
  .hero__inner{ grid-template-columns: 1.05fr 0.95fr; padding-top: 72px; gap: 24px; }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip{ background: var(--primary-tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 64px; }
.trust-strip__inner{
  max-width: 1200px; margin: 0 auto; padding: 26px 24px;
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
.trust-item{
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--primary-dark);
}
@media (min-width: 900px){
  .trust-strip__inner{ grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Featured products — "Bestsellers" carousel
   ========================================================================== */
.featured__head{ text-align: center; max-width: 620px; margin: 0 auto 40px; }
.featured__eyebrow{
  display: inline-block; color: var(--danger); font-weight: 700;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px;
}
.featured__head h2{
  font-family: var(--font-display); color: var(--primary);
  font-size: clamp(24px, 4vw, 32px); font-weight: 800;
  text-align: center; line-height: 1.2; margin: 0 0 10px;
}
.featured__intro{ color: var(--text-muted); font-size: 15.5px; text-align: center; margin: 0 auto; }

/* Equal-height cards inside the Owl carousel track */
.product-carousel .owl-stage{ display: flex; }
.product-carousel .owl-item{ display: flex; height: auto; }
.product-carousel .item{ display: flex; width: 100%; }

.product-card_box{
  display: flex; flex-direction: column; width: 100%;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card_box:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.product-card_box form{ display: flex; flex-direction: column; height: 100%; }

.product-card__image{ position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-alt); }
.product-card__image img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.product-card_box:hover .product-card__image img{ transform: scale(1.06); }
@media (prefers-reduced-motion: reduce){
  .product-card_box, .product-card__image img{ transition: none; }
  .product-card_box:hover{ transform: none; }
  .product-card_box:hover .product-card__image img{ transform: none; }
}

.product-card__info{ display: flex; flex-direction: column; gap: 12px; padding: 18px; flex: 1; }
.product-card__info h3{
  font-size: 16px; font-weight: 700; color: var(--text); margin: 0; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Variation / quantity pills — wrap cleanly at any card width */
.quantity{ display: flex; flex-wrap: wrap; gap: 8px; }
.btn-qty1{
  flex: 0 0 auto;
  padding: 7px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  background: var(--surface); color: var(--text); font-size: 13px; font-weight: 700;
  white-space: nowrap; cursor: pointer; transition: .2s ease;
}
.btn-qty1:hover{ border-color: var(--primary); color: var(--primary); }
.btn-qty1.active{ background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }

.prod-price{ margin-top: auto; padding-top: 4px; border-top: 1px dashed var(--border); }
.prod-price p{
  margin: 0; display: flex; align-items: baseline; gap: 8px;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted);
}
.price-value{ font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--primary); text-transform: none; }

.prod-order-btn{ display: flex; gap: 8px; }
.btn-details{
  flex: 1; text-align: center; padding: 10px 10px; border: 1px solid var(--border);
  border-radius: var(--radius-input); color: var(--text); text-decoration: none;
  font-size: 13.5px; font-weight: 700; transition: .2s ease;
}
.btn-details:hover{ border-color: var(--primary); color: var(--primary); }
.btn-order-now{
  flex: 1; padding: 10px 10px; border: none; border-radius: var(--radius-input);
  background: var(--danger); color: #fff; font-weight: 700; font-size: 13.5px;
  cursor: pointer; transition: .2s ease;
}
.btn-order-now:hover{ background: var(--primary); }
.btn-order-now:disabled{ background: var(--border); color: var(--text-muted); cursor: not-allowed; }

.product-carousel .owl-stage-outer{ padding: 4px 2px 20px; }
.product-carousel .owl-dots{ text-align: center; margin-top: 16px; }
.product-carousel .owl-dot span{
  background: var(--border) !important; width: 8px; height: 8px; margin: 4px !important; border-radius: 50%;
}
.product-carousel .owl-dot.active span{ background: var(--danger) !important; }

/* --------------------------------------------------------------------------
   Home featured redesign — tinted band, ingredient tag, savings badge,
   strike price + per-tablet cost. Scoped to .featured--home so the shop
   grid (store.html) keeps its current look.
   -------------------------------------------------------------------------- */
.featured--home{
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-tint) 100%);
  border-bottom: 1px solid var(--border);
}
.featured--home .featured__head{ max-width: 720px; }
.featured--home .featured__intro strong{ color: var(--text); font-weight: 700; }

.featured--home .product-card_box{ border-radius: 20px; }
.featured--home .product-card__image{ background: var(--surface); border-bottom: 1px solid var(--border); }
.featured--home .product-card__image img{ object-fit: contain; padding: 14px; }

.product-card__save{
  position: absolute; top: 12px; left: 12px;
  background: var(--danger); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
  padding: 5px 10px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.product-card__save[hidden]{ display: none; }

.product-card__ingredient{
  align-self: flex-start;
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); background: var(--primary-tint);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.product-card__info h3 a{ color: inherit; text-decoration: none; }
.product-card__info h3 a:hover{ color: var(--primary); }

fieldset.quantity{ border: 0; padding: 0; margin: 0; min-width: 0; }
.quantity__label{
  width: 100%; padding: 0; margin-bottom: 2px;
  font-size: 12px; font-weight: 600; color: var(--text-muted);
}

.featured--home .prod-price{ padding-top: 12px; }
.featured--home .prod-price p{ text-transform: none; letter-spacing: 0; }
.price-old{ font-size: 14px; font-weight: 600; color: var(--text-muted); }
.price-old[hidden]{ display: none; }
.price-per-pill{ display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-muted); }
.price-per-pill:empty{ display: none; }

.featured--home .btn-order-now{ background: var(--primary); }
.featured--home .btn-order-now:hover{ background: var(--primary-dark); }
.featured--home .btn-details, .featured--home .btn-order-now{ border-radius: var(--radius-pill); }

.featured__footer{ text-align: center; margin-top: 28px; }

/* Mobile: keep pills, price and buttons legible on narrow carousel cards */
@media (max-width: 480px){
  .product-card__info{ padding: 14px; gap: 10px; }
  .product-card__info h3{ font-size: 14.5px; }
  .quantity{ gap: 6px; }
  .btn-qty1{ padding: 6px 11px; font-size: 12px; }
  .price-value{ font-size: 19px; }
  .prod-order-btn{ flex-direction: column; }
  .btn-details, .btn-order-now{ font-size: 13px; padding: 10px 8px; }
}

/* ==========================================================================
   Delivery coverage — full-bleed dark banner, centered manifesto-style
   moment (single message = deliberate exception to anti-center-bias)
   ========================================================================== */
.coverage{ background: var(--primary-dark); }
.coverage__inner{
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 72px 24px;
}
.coverage__eyebrow{
  background: var(--danger); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 18px; border-radius: var(--radius-pill); margin-bottom: 22px;
}
.coverage h2{ color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.coverage__intro{ color: rgba(255,255,255,0.72); max-width: 52ch; margin: 0 0 40px; }

.coverage__cities{
  list-style: none; margin: 0; padding: 0; max-width: 920px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.coverage__cities li{
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 10px 18px; border-radius: var(--radius-pill);
}
.coverage__dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--danger); flex-shrink: 0; }
.coverage__cities li.coverage__cities__check{
  background: rgba(179,25,66,0.22); border-color: var(--danger);
}
.coverage__cities__check svg{ color: #ff9db3; flex-shrink: 0; }

@media (max-width: 640px){
  .coverage__cities li{ font-size: 12.5px; padding: 9px 14px; }
}

/* ==========================================================================
   Services bento (asymmetric grid, real cell count = 4 items)
   ========================================================================== */
.services h2{ margin-bottom: 40px; }

/* ==========================================================================
   How it works — full-bleed light banner, numbered steps connected by a
   line (distinct layout family; uses --bg-alt to stay light instead of
   repeating the cta-banner's navy right below it)
   ========================================================================== */
.how{ background: var(--bg-alt); }
.how__inner{ display: flex; flex-direction: column; align-items: center; text-align: center; }
.how__eyebrow{
  background: var(--danger); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 18px; border-radius: var(--radius-pill); margin-bottom: 22px;
}
.how h2{ color: var(--text); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.how__intro{ color: var(--text-muted); margin: 0 0 56px; }

.how__row{
  display: flex; flex-direction: column; gap: 44px;
  width: 100%; max-width: 900px;
}
.how__step{ position: relative; flex: 1; padding: 0 12px; }
.how__circle{
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--danger); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
}
.how__step h3{ color: var(--text); font-size: 17px; margin-bottom: 8px; }
.how__step p{ color: var(--text-muted); font-size: 14.5px; margin: 0; max-width: 32ch; margin-inline: auto; }

@media (min-width: 860px){
  .how__row{ flex-direction: row; align-items: flex-start; }
  .how__step:not(:first-child)::before{
    content: ''; position: absolute; z-index: 1;
    top: 26px; left: -56%; width: 100%; height: 2px;
    background: var(--border);
  }
}

/* ==========================================================================
   Refill CTA banner — full width, distinct family
   ========================================================================== */
.cta-banner{ background: var(--primary); color: var(--on-primary); }
.cta-banner__inner{
  max-width: 1200px; margin: 0 auto; padding: 64px 24px;
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
}
.cta-banner h2{ color: var(--on-primary); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-banner p{ color: rgba(255,255,255,0.82); max-width: 40ch; margin: 0; }
.cta-banner__form{ display: flex; flex-wrap: wrap; gap: 10px; }
.cta-banner__form input{
  flex: 1 1 220px; padding: 13px 18px; border-radius: var(--radius-input);
  border: 1px solid transparent; font-family: var(--font-body); font-size: 15px;
  background: rgba(255,255,255,0.94); color: var(--text);
}
.cta-banner__form input:focus-visible{ outline: 3px solid rgba(255,255,255,0.5); outline-offset: 2px; }
.cta-banner .btn--primary{ background: var(--on-primary); color: var(--primary-dark); box-shadow: none; }
.cta-banner .btn--primary:hover{ background: #e8f0fb; }
.cta-banner__msg{
  flex-basis: 100%; margin: 2px 0 0; font-size: 13.5px; color: #fff;
}
.cta-banner__msg.is-error{ color: #ffd9e0; }

@media (min-width: 860px){ .cta-banner__inner{ grid-template-columns: 1.1fr 1fr; } }

/* ==========================================================================
   Reviews — centered header, featured-center 3-card row, dot pagination
   ========================================================================== */
.reviews__inner{ display: flex; flex-direction: column; align-items: center; text-align: center; }
.reviews__inner h2{ margin-bottom: 14px; }
.reviews__rule{ width: 56px; height: 3px; background: var(--danger); border-radius: var(--radius-pill); margin-bottom: 22px; }
.reviews__intro{ max-width: 52ch; margin: 0 0 20px; }
.reviews__trust{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 44px;
}
.reviews__trust svg{ color: var(--rating); }

.reviews__row{
  display: grid; grid-template-columns: 1fr; gap: 20px;
  width: 100%; max-width: 1080px; align-items: stretch;
}
.review-card:not(.review-card--featured){ display: none; }
@media (min-width: 900px){
  .reviews__row{ grid-template-columns: repeat(3, 1fr); }
  .review-card:not(.review-card--featured){ display: flex; }
}

.review-card{
  margin: 0; text-align: left; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.review-card__quote{ color: var(--border); margin-bottom: 10px; }
.review-card__stars{ color: var(--rating); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card h3{ font-size: 17px; margin-bottom: 10px; }
.review-card p{ font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 20px; }
.review-card footer{
  font-size: 13.5px; font-weight: 700; color: var(--text);
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
}
.review-card footer small{ display: block; font-weight: 500; color: var(--text-muted); margin-top: 2px; }

.review-card--featured{
  background: var(--primary); border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px){ .review-card--featured{ transform: translateY(-10px); } }
.review-card--featured .review-card__quote{ color: rgba(255,255,255,0.35); }
.review-card--featured .review-card__stars{ color: var(--rating); }
.review-card--featured h3,
.review-card--featured footer{ color: #fff; }
.review-card--featured p{ color: rgba(255,255,255,0.82); }
.review-card--featured footer{ border-top-color: rgba(255,255,255,0.2); }
.review-card--featured footer small{ color: rgba(255,255,255,0.68); }

.reviews__dots{ display: flex; gap: 8px; margin-top: 40px; }
.reviews__dots button{
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: var(--border); cursor: pointer; padding: 0;
}
.reviews__dots button[aria-current="true"]{ background: var(--danger); width: 22px; border-radius: var(--radius-pill); transition: width .2s ease; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq{ background: var(--bg-alt); }
.faq h2{ margin-bottom: 32px; }

.faq__grid{
  display: grid; grid-template-columns: 1fr; gap: 0 56px;
  max-width: 1120px;
}
.faq__col{ min-width: 0; }
.faq__item{ border-bottom: 1px solid var(--border); }
.faq__col .faq__item:first-child{ border-top: 1px solid var(--border); }

@media (min-width: 800px){
  .faq__grid{ grid-template-columns: 1fr 1fr; }
}

.faq__question{
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; text-align: left; background: transparent; border: none; cursor: pointer;
  padding: 20px 4px; font-family: var(--font-display); font-weight: 600;
  font-size: 16px; color: var(--text);
}
.faq__chevron{ flex-shrink: 0; color: var(--text-muted); transition: transform .25s ease; }
.faq__question[aria-expanded="true"] .faq__chevron{ transform: rotate(180deg); color: var(--primary); }

.faq__answer{
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  transition: grid-template-rows .3s ease;
}
.faq__answer p{ min-height: 0; overflow: hidden; margin: 0 4px 20px; font-size: 14.5px; max-width: 62ch; }
.faq__item.is-open .faq__answer{ grid-template-rows: 1fr; }
@media (prefers-reduced-motion: reduce){ .faq__answer{ transition: none; } }

.faq__more{
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.faq__more p{ margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 16px; }

/* ==========================================================================
   Blog section
   ========================================================================== */
.blog{ background: var(--bg); }
.blog__header{ margin-bottom: 36px; }
.blog__header h2{ margin-bottom: 6px; }
.blog__header p{ margin: 0; }

.blog__grid{ display: grid; grid-template-columns: 1fr; gap: 24px; }
.blog-card{ display: flex; flex-direction: column; }
.blog-card__media{ position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; }
.blog-card__media img{ width: 100%; object-fit: cover; background: var(--bg-alt); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.blog-card:hover .blog-card__media img{ transform: scale(1.04); }
@media (prefers-reduced-motion: reduce){ .blog-card:hover .blog-card__media img{ transform: none; } }
.blog-card__tag{
  position: absolute; top: 14px; left: 14px;
  background: var(--surface); color: var(--primary);
  font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill);
}
.blog-card__body{ padding-top: 18px; }
.blog-card__meta{ font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; }
.blog-card__body h3{ font-size: 18px; margin-bottom: 8px; line-height: 1.3; }
.blog-card__body h3 a{ text-decoration: none; color: var(--text); }
.blog-card__body h3 a:hover{ color: var(--primary); }
.blog-card__body p{ font-size: 14px; margin-bottom: 14px; }
.blog-card__link{ font-size: 13.5px; font-weight: 700; color: var(--primary); text-decoration: none; }
.blog-card__link:hover{ color: var(--primary-dark); }

.blog__footer{ display: flex; justify-content: center; margin-top: 40px; }
.blog__empty{ text-align: center; padding: 40px 20px; color: var(--text-muted); }

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

/* ==========================================================================
   Footer + newsletter
   ========================================================================== */
.footer-newsletter{ background: var(--primary-dark); color: #e8f0fb; }
.footer-newsletter__inner{
  max-width: 1200px; margin: 0 auto; padding: 52px 24px;
  display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center;
}
.footer-newsletter__copy h2{ color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 4px; }
.footer-newsletter__copy p{ color: rgba(232,240,251,0.75); margin: 0; }
.footer-newsletter__form{ display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.footer-newsletter__form input{
  flex: 1 1 220px; padding: 13px 18px; border-radius: var(--radius-input);
  border: 1px solid transparent; font-family: var(--font-body); font-size: 15px;
  background: rgba(255,255,255,0.95); color: var(--text);
}
.footer-newsletter__form input:focus-visible{ outline: 3px solid rgba(255,255,255,0.5); outline-offset: 2px; }
.footer-newsletter .btn--primary{ background: #fff; color: var(--primary-dark); box-shadow: none; }
.footer-newsletter .btn--primary:hover{ background: #e8f0fb; }
.footer-newsletter__msg{
  flex-basis: 100%; margin: 4px 0 0; font-size: 13.5px; color: #e8f0fb;
}
.footer-newsletter__msg.is-error{ color: #ffd9e0; }

@media (min-width: 860px){ .footer-newsletter__inner{ grid-template-columns: 1fr 1fr; } }

.footer-main{ background: #0b1220; color: #c7d0dc; }
.footer-main__inner{
  max-width: 1200px; margin: 0 auto; padding: 52px 24px 32px;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
.footer-col h4{ color: #fff; font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a{ text-decoration: none; color: #c7d0dc; font-size: 14.5px; }
.footer-col a:hover{ color: #fff; }
.footer-col--brand .brand__name{ color: #fff; font-size: 19px; }
.footer-col--brand .brand__name em{ color: #7fa8e8; font-style: normal; }
.footer-col--brand p{ color: #9aa8bb; font-size: 13.5px; margin: 12px 0 0; }
.footer-col--brand a{ font-size: 13.5px; }

.footer-bottom{
  max-width: 1200px; margin: 0 auto; padding: 20px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p{ margin: 0; font-size: 12.5px; color: #8592a3; }

@media (min-width: 640px){ .footer-main__inner{ grid-template-columns: 1.3fr repeat(3, 1fr); } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal]{ opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}




/* ═══════════════════════════════════════════════
   HOW TO ORDER — SCOPED STANDALONE
   Palette: #F4991A  #00843D  #FFF1CA  #219653  #BD9800
   ═══════════════════════════════════════════════ */
 
.order-section {
  padding: 80px 5%;
  background: #eef1f5;
}
 
.order-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
 
/* Section tag pill */
.order-section .section-tag {
  display: inline-block;
  background: rgba(244,153,26,0.15);
  color: #0a3161;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
 
/* Heading */
.order-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #10151f;
  line-height: 1.2;
  margin: 0 0 10px;
}
 
/* Sub */
.order-section .section-sub {
  /* color: rgba(255,241,202,0.6); */
  color: #55606e;
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
 
/* ── Steps grid ── */
.order-section .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  position: relative;
}
 
/* Connecting line */
.order-section .steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(to right, #0a3161, #06213f);
  z-index: 0;
}
 
/* Single step */
.order-section .step {
  position: relative;
  z-index: 1;
}
 
/* Number circle */
.order-section .step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0a3161;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(12, 21, 99, 0.35);
}
 
/* Title */
.order-section .step-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #FFF1CA;
  margin-bottom: 8px;
}
 
/* Description */
.order-section .step-desc {
  font-size: 0.82rem;
  color: rgba(255,241,202,0.55);
  line-height: 1.55;
}
 
/* ── Payment icons ── */
.order-section .payment-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
 
.order-section .pay-icon {
  background: rgba(255,241,202,0.06);
  border: 1px solid rgba(255,241,202,0.15);
  color: rgba(255,241,202,0.8);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
}
 
/* ── Responsive ── */
@media (max-width: 700px) {
  .order-section .steps {
    grid-template-columns: 1fr;
  }
  .order-section .steps::before {
    display: none;
  }
}
/* ============ SHOP PAGE ============ */
.shop-grid{
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.shop-grid .product-card__info h3 a{ color: inherit; text-decoration: none; }
.shop-grid .product-card__info h3 a:hover{ color: var(--primary); }
.shop-empty{ text-align: center; color: var(--muted, inherit); }
@media (max-width: 480px){
  .shop-grid{ grid-template-columns: 1fr 1fr; gap: 12px; }
}
