/* =============================================================
   Alluvia Peptides — Global Base (loaded on every page)
   Single source of truth for design tokens + body typography.
   ============================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ── Design Tokens ── */
:root {
  /* Palette */
  --navy:        #0a1a27;
  --navy-deep:   #050b12;  /* boxed-layout backdrop — one step darker than --navy */
  --navy-mid:    #15283b;
  --navy-soft:   #213f5d;
  /* Sitewide boxed-layout width (the centered platform "box"). */
  --box-width:   1280px;
  --teal:        #0eaf9f;
  --teal-dark:   #0a8174;
  --teal-glow:   rgba(14,175,159,0.18);
  --gold:        #c6a253;
  --gold-light:  #e4c98f;
  --coral:       #db627a;
  --pearl:       #f5f0e7;
  --pearl-dark:  #e8e0d2;
  --white:       #ffffff;
  --text-dark:   #0a1a27;
  --text-mid:    #44515f;
  --text-light:  #6b7d8e;

  /* Typography scale */
  --fs-micro:  11px;
  --fs-xs:     12px;
  --fs-sm:     13px;
  --fs-ui:     14px;
  --fs-base:   16px;
  --fs-body:   17px;
  --fs-lead:   19px;
  --fs-sub:    22px;
  --fs-label:  24px;
  --fs-title:  28px;
  --fs-h3:     32px;
  --fs-h2:     clamp(36px, 4vw, 56px);
  --fs-h1:     clamp(48px, 6vw, 80px);

  /* Fonts */
  /* Unified platform typeface — Montserrat across body + headings */
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-ui:      'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;

  /* Radius alias — used by cart, checkout, product inline styles */
  --radius:      12px;

  /* Extended palette — used by product badges and card accents */
  --purple:      #8a60c1;
  --orange:      #d4663c;
  --mint:        #58b488;
  --sky:         #6aa6c6;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(10,26,39,0.08);
  --shadow-md:   0 8px 32px rgba(10,26,39,0.14);
  --shadow-lg:   0 20px 60px rgba(10,26,39,0.2);
  --shadow-glow: 0 0 40px rgba(14,175,159,0.25);

  /* Motion */
  --transition: 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Box model + reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base typography ── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--pearl);
  overflow-x: hidden;
}

/* Universal platform background — matches the landing page (navy).
   Every page carries the `alluvia-site` body class (added in header-alluvia.php),
   giving higher specificity than a bare `body{}` rule, so this is the single
   source of truth for the page background. Light content blocks (white/pearl
   cards and sections) keep their own backgrounds and dark text on top of this
   navy base — the same navy-base + light-cards pattern the landing page uses.
   The fixed header always clears 72px below it. */
body.alluvia-site {
  background: var(--navy);
}

/* ── Boxed layout (entire platform) ──
   The whole site sits in a centered box (--box-width) floating on a darker-navy
   backdrop with a soft shadow. Because every full-bleed section background lives
   inside <body>, constraining the body's width clips all section backgrounds to
   the box edge — that's the boxed effect. The fixed nav is centered over the box
   to match (see .alluvia-nav below). On screens narrower than the box, the box is
   simply full-width, so mobile is unaffected. */
html {
  background: var(--navy-deep);
}
body.alluvia-site {
  max-width: var(--box-width);
  margin-inline: auto;
  position: relative;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.55);
}

/* ── Headings: bold across the whole platform ──
   Forces every heading element bold, overriding the lighter display weights
   (300/400/500) that individual templates set on heading classes. */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .shop-hero h1, .reviews-hero h1,
.account-hero-info h1, .archive-hero h1, .search-hero h1,
.product-info h1, .tab-content-card h3,
.woocommerce div.product .product_title,
.woocommerce .related > h2, .woocommerce .cart_totals h2 {
  font-weight: 700 !important;
}
/* Push fixed-header content clear of the always-solid nav on templates that
   don't already start with a full-height hero. Heroes use their own top padding. */

p {
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text-mid);
}

/* ── Heading defaults ── */
h1 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 300; line-height: 1.08; color: var(--navy); }
h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; line-height: 1.12; color: var(--navy); }
h3 { font-family: var(--font-ui);      font-size: var(--fs-h3); font-weight: 600; line-height: 1.3;  color: var(--navy); }
h4 { font-family: var(--font-ui);      font-size: var(--fs-title); font-weight: 600; color: var(--navy); }
h5 { font-family: var(--font-ui);      font-size: var(--fs-label); font-weight: 600; color: var(--navy); }
h6 { font-family: var(--font-ui);      font-size: var(--fs-sub);   font-weight: 600; color: var(--text-mid); }

/* ── Links ── */
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-dark); }

/* ── Icon sizing helpers ── */
.icon-sm  { width: 16px; height: 16px; stroke-width: 2;   flex-shrink: 0; }
.icon-md  { width: 20px; height: 20px; stroke-width: 1.8; flex-shrink: 0; }
.icon-lg  { width: 24px; height: 24px; stroke-width: 1.6; flex-shrink: 0; }
.icon-xl  { width: 32px; height: 32px; stroke-width: 1.5; flex-shrink: 0; }
.icon-2xl { width: 40px; height: 40px; stroke-width: 1.4; flex-shrink: 0; }

/* ── Shared nav (used on ALL pages) ── */
/* Distinct, consistent header on EVERY page — always a solid navy bar
   (previously transparent until scroll, which made it invisible on light pages). */
.alluvia-nav {
  /* Centered over the boxed layout: instead of spanning the viewport, the fixed
     bar is capped at --box-width and centred, so it lines up with the body box. */
  position: fixed; top: 0; left: 50%; right: auto; transform: translateX(-50%);
  width: 100%; max-width: var(--box-width); z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: rgba(10,26,39,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14,175,159,0.18);
  box-shadow: 0 2px 30px rgba(0,0,0,0.30);
}
.alluvia-nav.scrolled,
.alluvia-nav.solid {
  padding: 12px 0;
  box-shadow: 0 4px 34px rgba(0,0,0,0.40);
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; flex-direction: row; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-word { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: #fff; letter-spacing: 0.05em; }
.nav-logo-sub  { font-family: var(--font-ui); font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.35em; color: var(--teal); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
@media (max-width: 1180px) { .nav-links { gap: 16px; } .nav-links a { font-size: 11px; } }
.nav-links a { font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.06em; color: rgba(255,255,255,0.8); text-decoration: none; text-transform: uppercase; transition: color 0.25s; }
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }
.nav-cta,
.nav-cta:visited { color: var(--navy) !important; background: var(--teal); padding: 10px 22px; border-radius: 100px; font-weight: 700 !important; font-size: var(--fs-ui) !important; transition: var(--transition) !important; white-space: nowrap; }
.nav-cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,175,159,0.4); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-icon-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 600; color: #fff; text-decoration: none; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 100px; padding: 8px 16px; transition: var(--transition); }
.nav-icon-btn:hover { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.cart-count { background: var(--teal); color: var(--navy); font-size: var(--fs-sm); font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; z-index: 10; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* ── Mobile overlay menu ── */
.mobile-overlay { position: fixed; inset: 0; z-index: 999; background: linear-gradient(170deg,#0c2031 0%, var(--navy) 55%, #081019 100%); display: flex; flex-direction: column; padding: 0 0 28px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-overlay.open { opacity: 1; pointer-events: all; transform: none; }
/* sticky brand bar */
.mobile-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background: rgba(10,26,39,.82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mobile-brand svg { width: 30px; height: 30px; }
.mobile-brand-text { display: flex; flex-direction: column; line-height: 1; }
.mobile-brand-text b { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff; }
.mobile-brand-text small { font-family: var(--font-ui); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }
.mobile-close { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 50%; width: 40px; height: 40px; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mobile-close svg { width: 22px; height: 22px; }
.mobile-close:hover { background: rgba(255,255,255,.14); }
/* primary links */
.mobile-links { display: flex; flex-direction: column; padding: 12px 14px 2px; }
.mobile-links a { display: flex; align-items: center; gap: 14px; padding: 14px 12px; font-family: var(--font-ui); font-size: 16px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 10px; transition: color .2s, background .2s; }
.mobile-links a > span { flex: 1; }
.mobile-links a > svg:first-child { width: 19px; height: 19px; color: var(--teal); flex-shrink: 0; }
.mobile-links a .m-arrow { width: 16px; height: 16px; color: rgba(255,255,255,.32); }
.mobile-links a:hover, .mobile-links a:active { background: rgba(255,255,255,.05); color: var(--teal); }
/* category chips */
.mobile-cat-label { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: 20px 26px 12px; }
.mobile-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 20px; }
.mobile-cat { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); font-family: var(--font-ui); font-size: 13.5px; font-weight: 600; color: #fff; text-decoration: none; transition: .2s; }
.mobile-cat:hover, .mobile-cat:active { background: color-mix(in srgb, var(--c,var(--teal)) 16%, transparent); border-color: color-mix(in srgb, var(--c,var(--teal)) 48%, transparent); }
.mc-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--c,var(--teal)); color: #0a1a27; box-shadow: 0 6px 16px color-mix(in srgb, var(--c,var(--teal)) 45%, transparent); }
.mc-ic svg { width: 18px; height: 18px; stroke-width: 2.4; }
/* footer CTAs */
.mobile-foot { display: flex; gap: 12px; padding: 24px 20px 6px; }
.mobile-cta { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; border-radius: 100px; font-family: var(--font-ui); font-size: 14px; font-weight: 700; text-decoration: none; transition: .2s; }
.mobile-cta svg { width: 17px; height: 17px; }
.mobile-cta:not(.ghost) { background: var(--teal); color: var(--navy); }
.mobile-cta:not(.ghost):active { background: var(--teal-dark); }
.mobile-cta.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.2); }
.mobile-cta.ghost:active { border-color: var(--teal); color: var(--teal); }

/* ── Shared footer ── */
.alluvia-footer { position: relative; background: radial-gradient(ellipse 60% 80% at 15% 0%, rgba(17,182,163,0.06), transparent 55%), radial-gradient(ellipse 50% 70% at 90% 10%, rgba(198,162,83,0.05), transparent 55%), #060e17; padding: 80px 0 0; color: rgba(255,255,255,0.65); }
.alluvia-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--teal), #1fb074, #e07b43, var(--gold), var(--teal)); opacity: 0.7; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding: 0 40px 60px; border-bottom: 1px solid rgba(255,255,255,0.07); max-width: 1280px; margin: 0 auto; }
.footer-desc { font-size: var(--fs-base); line-height: 1.75; color: rgba(255,255,255,0.55); margin-top: 20px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: var(--transition); color: rgba(255,255,255,0.6); }
.social-btn:hover { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.footer-col-title { font-family: var(--font-ui); font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: var(--fs-ui); color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.25s; display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 24px 40px; display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-sm); color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: var(--fs-sm); transition: color 0.25s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }

/* ── Shared button primitives ── */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--teal); color: var(--navy); font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 700; letter-spacing: 0.04em; padding: 14px 30px; border-radius: 100px; text-decoration: none; transition: var(--transition); border: none; cursor: pointer; }
.btn-primary:hover { background: var(--teal-dark); color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(14,175,159,0.4); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: rgba(255,255,255,0.85); font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 500; padding: 14px 26px; border-radius: 100px; text-decoration: none; border: 1px solid rgba(255,255,255,0.25); transition: var(--transition); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: #fff; background: rgba(255,255,255,0.06); }

/* ── Shared section commons ── */
.section-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--teal); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ── WooCommerce global overrides (applied on all woo pages) ── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--teal); color: var(--navy); font-family: var(--font-ui); font-weight: 700; font-size: var(--fs-ui);
  border: none; border-radius: 100px; padding: 12px 26px; transition: var(--transition); cursor: pointer;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--teal-dark); transform: translateY(-2px); }
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: var(--navy); color: #fff; }
.woocommerce form .form-row label { font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 600; color: var(--navy); margin-bottom: 6px; display: block; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea { border: 1.5px solid var(--pearl-dark); border-radius: var(--radius-sm); padding: 13px 16px; font-size: var(--fs-base); font-family: var(--font-body); width: 100%; transition: border-color 0.25s; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(14,175,159,0.12); }
.woocommerce table.shop_table { border-collapse: collapse; width: 100%; background: #fff; border-radius: var(--radius-md); overflow: hidden; }
.woocommerce table.shop_table th { font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); padding: 16px; border-bottom: 1px solid var(--pearl-dark); background: var(--pearl); }
.woocommerce table.shop_table td { padding: 16px; border-bottom: 1px solid var(--pearl-dark); font-size: var(--fs-base); vertical-align: middle; }
.woocommerce .price, .woocommerce div.product p.price { color: var(--teal); font-weight: 700; font-size: var(--fs-title); }
.woocommerce-message, .woocommerce-info { border-top: none; border-left: 4px solid var(--teal); background: rgba(14,175,159,0.07); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: var(--fs-base); font-family: var(--font-ui); }
.woocommerce-error { border-left-color: var(--coral); background: rgba(219,98,122,0.07); }
.woocommerce .woocommerce-breadcrumb { font-family: var(--font-ui); font-size: var(--fs-sm); color: var(--text-light); margin-bottom: 24px; }

/* ── Responsive nav ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner, .footer-grid { padding-left: 24px; padding-right: 24px; }
  /* group the cart/account icons to the right, next to the hamburger */
  .nav-right { margin-left: auto; gap: 8px; }
}
@media (max-width: 480px) {
  .nav-inner { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .nav-icon-btn { padding: 8px 12px; font-size: 12px; }
  .nav-right { gap: 6px; }
  .nav-hamburger { padding: 8px 4px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 20px 24px; }
  .container { padding: 0 20px; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* All WooCommerce product grids → 2 columns on mobile (shop, category archives,
   related, up-sells). Forced as a grid to override WooCommerce's default
   float/percentage-width layout so cards stay an even 2-up on phones. */
@media (max-width: 640px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
  }
}

/* ── Production polish ── */

/* Focus rings — accessibility */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection color */
::selection { background: rgba(14,175,159,0.25); color: var(--navy); }

/* Scrollbar (webkit) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pearl); }
::-webkit-scrollbar-thumb { background: var(--pearl-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* WooCommerce notice spacing */
.woocommerce-notices-wrapper { margin-bottom: 24px; }

/* Images */
img { max-width: 100%; height: auto; display: block; }

/* Star ratings */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: var(--gold); }

/* Remove WooCommerce default blue active star override */
.woocommerce .star-rating { color: var(--gold); }

/* Loading overlay */
.blockUI.blockOverlay { background: rgba(245,240,231,0.7) !important; }

/* ── Products mega-dropdown ── */
.has-dropdown { position: relative; }
.has-dropdown > a { display: flex; align-items: center; gap: 4px; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(10,26,39,0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  transform: translateX(-50%) translateY(8px);
  z-index: 200;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
/* arrow */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #fff;
  rotate: 45deg;
  box-shadow: -2px -2px 4px rgba(10,26,39,0.04);
}
.nav-dropdown-inner { padding: 16px; }
.nav-drop-all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: var(--fs-ui);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  transition: background 0.2s;
}
.nav-drop-all:hover { background: var(--teal); color: var(--navy); }
.nav-drop-all .nav-drop-icon { color: var(--teal); }
.nav-drop-all:hover .nav-drop-icon { color: var(--navy); }
.nav-drop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
/* Scoped under .nav-dropdown so these win over the white/uppercase `.nav-links a`
   rule (which otherwise made the category labels white-on-white inside the panel). */
.nav-dropdown .nav-drop-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.nav-dropdown .nav-drop-item:hover { background: rgba(14,175,159,0.08); color: var(--teal-dark); }
.nav-dropdown .nav-drop-all { text-transform: none; letter-spacing: 0.02em; }
.nav-drop-icon { width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--pearl); display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.nav-dropdown .nav-drop-item:hover .nav-drop-icon { background: rgba(14,175,159,0.14); }

/* ── Product review reactions (lucide icons) ── */
.review-reactions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.review-reaction { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border: 1.5px solid var(--pearl-dark); border-radius: 100px; background: #fff; font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--text-mid); cursor: pointer; transition: all 0.18s; line-height: 1; }
.review-reaction:hover:not(:disabled) { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-1px); }
.review-reaction .reaction-count { font-weight: 700; color: var(--navy); }
.review-reaction.reacted { background: rgba(14,175,159,0.1); border-color: var(--teal); color: var(--teal-dark); cursor: default; }
.review-reaction.reacted .reaction-count { color: var(--teal-dark); }
.review-reaction:disabled { cursor: default; }

/* rotate chevron when dropdown open */
.has-dropdown:hover > a i[data-lucide="chevron-down"],
.has-dropdown:focus-within > a i[data-lucide="chevron-down"] { transform: rotate(180deg); }

/* ── nav-cart-btn alias (legacy support) ── */
.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: var(--fs-ui);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 8px 16px;
  transition: var(--transition);
}
.nav-cart-btn:hover { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.nav-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: var(--fs-ui);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 8px 14px;
  transition: var(--transition);
}
.nav-account-btn:hover { background: rgba(255,255,255,0.15); }

/* ── Unified button system ── */
.alluvia-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  border: none; border-radius: 100px; cursor: pointer; text-decoration: none;
  transition: var(--transition); white-space: nowrap;
}
.alluvia-btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--navy); padding: 13px 28px; font-size: 14px;
}
.alluvia-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,175,159,.35); color: var(--navy); }
.alluvia-btn-navy {
  background: var(--navy); color: #fff; padding: 13px 28px; font-size: 14px;
}
.alluvia-btn-navy:hover { background: var(--teal-dark); color: #fff; }
.alluvia-btn-outline {
  background: transparent; color: var(--navy); border: 1.5px solid var(--pearl-dark);
  padding: 12px 24px; font-size: 13px;
}
.alluvia-btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.alluvia-btn-sm { padding: 9px 18px; font-size: 12px; }
.alluvia-btn-lg { padding: 16px 36px; font-size: 15px; }
