/* ================================================================
   HelixGen Labs — Shopify Theme Stylesheet
   ================================================================ */

/* ── CUSTOM PROPERTIES ── */
:root {
  --primary:    #060e1f;
  --primary2:   #0c1e3c;
  --accent:     #0ea5e9;
  --accent2:    #22d3ee;
  --green:      #10b981;
  --gold:       #f59e0b;
  --bg:         #f8fafc;
  --bg2:        #f1f5f9;
  --card:       #ffffff;
  --text:       #0f172a;
  --text2:      #475569;
  --muted:      #94a3b8;
  --border:     #e2e8f0;
  --border2:    #cbd5e1;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:     0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
  --radius:     10px;
  --radius-lg:  16px;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

/* ── TOP BAR ── */
.top-bar {
  background: #1e3a5f;
  color: #fde68a;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ── HEADER ── */
#site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.logo { display: flex; align-items: baseline; gap: 0; line-height: 1; flex-shrink: 0; }
/* HelixGen Labs logo */
.hg-logo { display: inline-flex; align-items: center; gap: .6rem; line-height: 1; }
.hg-logo-mark { flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(14,165,233,0.35)); }
.hg-logo-word { display: inline-flex; align-items: baseline; gap: .3rem; font-weight: 800; letter-spacing: -0.3px; }
.hg-logo-helix { font-size: 1.3rem; color: #fff; }
.hg-logo-gen   { font-size: 1.3rem; color: var(--accent); }
.hg-logo-labs  { font-size: 0.72rem; color: rgba(255,255,255,0.55); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
/* Footer variant — darker background */
footer .hg-logo-helix { color: #fff; }
footer .hg-logo-gen   { color: var(--accent2); }
footer .hg-logo-labs  { color: rgba(255,255,255,0.55); }

/* Main nav */
.main-nav { display: flex; gap: 0.25rem; flex: 1; }
.main-nav ul { display: flex; gap: 0.25rem; flex: 1; list-style: none; padding: 0; margin: 0; align-items: center; }
.main-nav li { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all .15s;
  white-space: nowrap;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* Header right */
.header-right { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; flex-shrink: 0; }

.search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
  transition: background .2s;
}
.search-form:focus-within { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.25); }
.search-input {
  background: transparent; border: none; outline: none;
  padding: 0.4rem 0.85rem 0.4rem 0.85rem;
  color: #fff; font-size: 0.82rem; width: 190px;
}
.search-input::placeholder { color: rgba(255,255,255,0.4); }
.search-submit { background: transparent; border: none; padding: 0.4rem 0.75rem 0.4rem 0; color: rgba(255,255,255,0.5); display: flex; }
.search-submit:hover { color: var(--accent); }

.cart-link {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.07);
  transition: all .15s;
}
.cart-link:hover { background: rgba(255,255,255,0.14); color: #fff; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--accent);
  color: #fff; border-radius: 999px;
  font-size: 0.65rem; font-weight: 700;
  min-width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: .2s; }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--primary2);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.5rem 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background .15s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.mobile-search-form {
  display: flex; align-items: center;
  margin: 0.5rem 1rem 0.75rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; overflow: hidden;
}
.mobile-search-input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 0.55rem 1rem; color: #fff; font-size: 0.9rem;
}
.mobile-search-input::placeholder { color: rgba(255,255,255,0.4); }
.mobile-search-submit {
  background: transparent; border: none;
  padding: 0.55rem 0.9rem 0.55rem 0;
  color: rgba(255,255,255,0.55); display: flex;
}
.mobile-search-submit:hover { color: var(--accent); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2145 40%, #0a2a54 100%);
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(14,165,233,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.3);
  color: var(--accent2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  color: #fff;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 0.82rem 2rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 700; border: none;
  transition: all .2s; display: inline-flex; align-items: center; gap: 0.4rem;
  box-shadow: 0 4px 16px rgba(14,165,233,0.35);
}
.btn-primary:hover { background: #0284c7; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(14,165,233,0.45); }
.btn-secondary {
  background: rgba(255,255,255,0.1); color: #fff;
  padding: 0.82rem 2rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.2);
  transition: all .2s; display: inline-flex; align-items: center; gap: 0.4rem;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); }
.hero-trust { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.trust-item span { color: var(--green); font-size: 0.9rem; }

/* ── CATEGORY GRID (homepage) ── */
.cat-grid-section { background: var(--bg); padding: 3.5rem 1.5rem; }
.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.4rem;
}
.section-title { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.5rem; }
.section-sub { color: var(--text2); font-size: 0.95rem; margin-bottom: 2rem; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 1440px; margin: 0 auto;
}
.cat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem 1rem;
  text-align: center; transition: all .2s;
  box-shadow: var(--shadow-sm); cursor: pointer; display: block;
}
.cat-card:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,0.12), var(--shadow); transform: translateY(-2px); }
.cat-icon {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  height: 44px;
}
.cat-icon svg { width: 34px; height: 34px; }
.cat-card:hover .cat-icon { color: #0284c7; transform: scale(1.08); transition: all 0.2s; }
.cat-name { font-size: 0.85rem; font-weight: 700; color: var(--text); }

/* ── COLLECTION / CATALOG PAGE ── */
.collection-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0c1e3c 100%);
  color: #fff; padding: 2.5rem 1.5rem 2rem;
}
.collection-header-inner { max-width: 1440px; margin: 0 auto; }
.breadcrumb { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 0.6rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--accent2); }
.collection-header h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 0.35rem; letter-spacing: -0.5px; }
.collection-header p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* Filter bar */
.filter-bar { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 68px; z-index: 50; }
.filter-bar-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; gap: 0.4rem; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-top: 0.65rem; padding-bottom: 0.65rem;
}
.filter-bar-inner::-webkit-scrollbar { display: none; }
.filter-tab {
  padding: 0.38rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent; font-size: 0.78rem; font-weight: 600;
  color: var(--text2); cursor: pointer; transition: all .15s;
  white-space: nowrap;
}
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.filter-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Product grid */
.catalog-page { max-width: 1440px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.grid-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.grid-meta-title { font-size: 1rem; font-weight: 700; }
.grid-meta-count { font-size: 0.82rem; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }

/* Product card */
.product-card {
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all .2s; display: flex; flex-direction: column; overflow: hidden;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border2); }
.product-card-image {
  height: 220px;
  background: #f5f7fa;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-card-image img {
  max-width: 85%; max-height: 92%;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
.product-card-image .molecule {
  font-size: 2.5rem; opacity: 0.4; z-index: 1;
}
.product-badge {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: rgba(14,165,233,0.9); color: #fff;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 0.2rem 0.5rem; border-radius: 4px; z-index: 2;
}
.product-card-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.product-card-type { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--accent); margin-bottom: 0.25rem; }
.product-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; line-height: 1.3; }
.product-card-desc { font-size: 0.78rem; color: var(--text2); line-height: 1.5; margin-bottom: 0.75rem; flex: 1; }
.product-card-meta { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.75rem; }
.product-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 0.75rem; border-top: 1px solid var(--border);
}
.product-card-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.product-card-price small { font-size: 0.7rem; font-weight: 400; color: var(--muted); font-weight: 500; }
.product-card-price .from { font-size: 0.68rem; color: var(--muted); display: block; font-weight: 400; }
.btn-card {
  background: var(--accent); color: #fff; border: none;
  padding: 0.42rem 1rem; border-radius: 8px; font-size: 0.78rem; font-weight: 700;
  transition: background .15s; white-space: nowrap;
}
.btn-card:hover { background: #0284c7; }
.no-products { grid-column: 1/-1; text-align: center; padding: 4rem 1rem; color: var(--muted); }

/* ── PRODUCT PAGE ── */
.product-page { max-width: 1440px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.product-breadcrumb { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.5rem; }
.product-breadcrumb a { color: var(--text2); }
.product-breadcrumb a:hover { color: var(--accent); }
.product-layout { display: grid; grid-template-columns: 1fr 480px; gap: 3rem; align-items: start; }
.product-gallery { display: flex; flex-direction: column; gap: 0.75rem; }
.product-image-block {
  background: #f5f7fa;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-lg);
  /* Taller-than-square panel that matches a vial's natural proportions;
     capped so the panel doesn't balloon on wide screens. */
  aspect-ratio: 4 / 5;
  max-height: 620px;
  margin: 0 auto;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-image-block img {
  max-width: 82%; max-height: 94%;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
.product-image-icon { font-size: 5rem; z-index: 1; opacity: 0.4; }

.product-thumbs {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.product-thumb {
  width: 68px; height: 68px;
  background: #f5f7fa;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 4px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s;
}
.product-thumb img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.product-thumb:hover { border-color: rgba(14,165,233,0.4); }
.product-thumb.active { border-color: var(--accent); }
.product-type-badge {
  display: inline-block; background: rgba(14,165,233,0.15); border: 1px solid rgba(14,165,233,0.3);
  color: var(--accent); font-size: 0.7rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: 999px; margin-bottom: 0.6rem;
}
.product-title { font-size: 2rem; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 0.5rem; line-height: 1.2; }
.product-sku { font-size: 0.75rem; color: var(--muted); font-family: monospace; margin-bottom: 1.25rem; }

/* Variant selector */
.variant-group { margin-bottom: 1.25rem; }
.variant-label { font-size: 0.82rem; font-weight: 700; margin-bottom: 0.5rem; display: block; }
.variant-select {
  width: 100%; padding: 0.65rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--card); font-size: 0.875rem; font-weight: 500;
  color: var(--text); outline: none; transition: border-color .2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
.variant-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,0.12); }

/* Price */
.price-block { margin-bottom: 1.25rem; }
.price-value { font-size: 2rem; font-weight: 900; color: var(--primary); }
.price-unit { font-size: 0.85rem; color: var(--muted); margin-left: 0.25rem; }
.price-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }

/* Quantity + add to cart */
.purchase-row { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.qty-field {
  width: 80px; padding: 0.65rem 0.75rem; text-align: center;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; outline: none;
}
.qty-field:focus { border-color: var(--accent); }
.btn-add-to-cart {
  flex: 1; background: var(--accent); color: #fff; border: none;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 700;
  transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(14,165,233,0.3);
}
.btn-add-to-cart:hover:not(:disabled) { background: #0284c7; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,165,233,0.4); }
.btn-add-to-cart:disabled { background: var(--muted); box-shadow: none; cursor: not-allowed; }

/* Product trust row */
.product-trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
.trust-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem; text-align: center; }
.trust-card .icon { font-size: 1.3rem; margin-bottom: 0.25rem; color: var(--accent); display: flex; justify-content: center; height: 22px; }
.trust-card .icon svg { width: 20px; height: 20px; }
.trust-card .label { font-size: 0.7rem; font-weight: 600; color: var(--text2); }

/* Tabs: description/details */
.product-tabs { margin-top: 2rem; border-top: 1px solid var(--border); }
.tab-nav { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.tab-btn { padding: 0.85rem 1.25rem; font-size: 0.85rem; font-weight: 600; background: none; border: none; color: var(--muted); border-bottom: 2px solid transparent; transition: all .15s; margin-bottom: -1px; }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.product-description { font-size: 0.9rem; line-height: 1.8; color: var(--text2); }
.product-description h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 1.25rem 0 0.4rem; }
.product-description ul { padding-left: 1.25rem; margin: 0.5rem 0; }
.product-description li { margin-bottom: 0.3rem; }
.research-warning-box {
  background: #fef3c7; border: 1px solid #fde68a; border-radius: var(--radius);
  padding: 0.85rem 1rem; margin-top: 1.5rem; font-size: 0.8rem; color: #78350f; line-height: 1.5;
}

/* ── CART PAGE ── */
.cart-page { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.cart-page h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 2rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-items-table { background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.cart-table-head { display: grid; grid-template-columns: 1fr 80px 100px 40px; gap: 1rem; padding: 0.75rem 1.25rem; background: var(--bg2); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.cart-item-row { display: grid; grid-template-columns: 1fr 80px 100px 40px; gap: 1rem; padding: 1rem 1.25rem; border-top: 1px solid var(--border); align-items: center; }
.cart-item-name { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.15rem; }
.cart-item-variant { font-size: 0.75rem; color: var(--muted); }
.cart-qty-input { width: 70px; padding: 0.4rem 0.6rem; border: 1.5px solid var(--border); border-radius: 6px; text-align: center; font-size: 0.875rem; font-weight: 600; outline: none; }
.cart-qty-input:focus { border-color: var(--accent); }
.cart-line-price { font-size: 0.95rem; font-weight: 700; }
.cart-remove-btn { background: none; border: none; color: var(--muted); font-size: 1.1rem; padding: 0.2rem; transition: color .15s; }
.cart-remove-btn:hover { color: #ef4444; }

.cart-summary-card { background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.cart-summary-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 1.25rem; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.5rem; color: var(--text2); }
.summary-row.total { font-size: 1.1rem; font-weight: 800; color: var(--text); border-top: 1px solid var(--border); padding-top: 0.75rem; margin-top: 0.5rem; }
.cart-note { font-size: 0.75rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.5; }
.btn-checkout {
  width: 100%; padding: 0.9rem; background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius); font-size: 1rem; font-weight: 800;
  transition: all .2s; display: block; text-align: center; margin-bottom: 0.5rem;
  box-shadow: 0 4px 14px rgba(14,165,233,0.3);
}
.btn-checkout:hover { background: #0284c7; }
.btn-update-cart {
  width: 100%; padding: 0.65rem; background: var(--bg2); color: var(--text2); border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; transition: all .15s; margin-bottom: 0.5rem;
}
.btn-update-cart:hover { border-color: var(--accent); color: var(--accent); }
.btn-continue-shop { display: block; text-align: center; font-size: 0.82rem; color: var(--accent); margin-top: 0.5rem; }
.empty-cart-message { text-align: center; padding: 4rem 1rem; }
.empty-cart-message p { color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; }

/* ── HOMEPAGE FEATURES ── */
.features-strip { background: var(--primary2); padding: 1.5rem; }
.features-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.feature { text-align: center; color: rgba(255,255,255,0.8); }
.feature-icon { font-size: 1.5rem; margin-bottom: 0.35rem; color: var(--accent); display: flex; justify-content: center; }
.feature-icon svg { width: 24px; height: 24px; }
.feature-title { font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 0.1rem; }
.feature-text { font-size: 0.72rem; color: rgba(255,255,255,0.5); }

.page-section { max-width: 1440px; margin: 0 auto; padding: 3rem 1.5rem; }

/* ── GENERAL UTILITIES ── */
.container { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── FOOTER ── */
footer { background: var(--primary); color: rgba(255,255,255,0.65); }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 3.5rem 1.5rem 2rem; display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; }
.footer-logo { display: flex; align-items: baseline; gap: 0; margin-bottom: 0.85rem; }
.footer-brand > p { font-size: 0.82rem; line-height: 1.7; max-width: 320px; margin-bottom: 1rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-badges span { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.7rem; font-weight: 500; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
footer h4 { color: #fff; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.85rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.4rem; }
footer ul li a { font-size: 0.8rem; color: rgba(255,255,255,0.5); transition: color .15s; }
footer ul li a:hover { color: var(--accent2); }
.footer-disclaimer { background: rgba(245,158,11,0.08); border-top: 1px solid rgba(245,158,11,0.2); border-bottom: 1px solid rgba(245,158,11,0.2); }
.footer-disclaimer-inner { max-width: 1440px; margin: 0 auto; padding: 1rem 1.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-bottom { background: rgba(0,0,0,0.2); }
.footer-bottom-inner { max-width: 1440px; margin: 0 auto; padding: 0.85rem 1.5rem; display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 0.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-image-block { aspect-ratio: 2/1; }
  .cart-layout { grid-template-columns: 1fr; }
  .features-inner { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 0 1rem; gap: 0.75rem; height: 60px; }
  .header-right { gap: 0.5rem; }
  .search-form { display: none; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .hero h1 { letter-spacing: -0.5px; }
  .product-trust { grid-template-columns: 1fr; }
  .cart-table-head { display: none; }
  .cart-item-row { grid-template-columns: 1fr auto; gap: 0.5rem; }
  .cart-item-row .cart-line-price, .cart-item-row .cart-remove-btn { grid-row: 2; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .features-inner { grid-template-columns: repeat(2,1fr); }
  .hero-products .product-grid { grid-template-columns: repeat(2,1fr) !important; gap: 0.875rem !important; }
  .hero-products h2 { font-size: 1.4rem !important; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr !important; gap: 0.875rem; }
  .hero-products .product-grid { grid-template-columns: 1fr !important; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .footer-links { grid-template-columns: 1fr; }
  .features-inner { grid-template-columns: 1fr 1fr; }
  .purchase-row { flex-direction: column; }
  .product-card { flex-direction: row; min-height: auto; }
  .product-card-image { width: 120px; min-width: 120px; height: auto; min-height: 140px; }
  .product-card-image img { max-width: 90%; max-height: 90%; }
  .product-card-body { padding: 0.75rem 0.875rem; }
  .product-card-title { font-size: 0.95rem; margin-bottom: 0.2rem; }
  .product-card-desc { font-size: 0.72rem; margin-bottom: 0.4rem; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product-card-meta { font-size: 0.68rem; margin-bottom: 0.4rem; }
  .product-card-footer { padding-top: 0.5rem; }
  .product-card-price { font-size: 1rem; }
  .product-badge { font-size: 0.55rem; padding: 0.15rem 0.4rem; top: 0.4rem; left: 0.4rem; }
  .btn-card { padding: 0.35rem 0.75rem; font-size: 0.72rem; white-space: nowrap; }
  .product-card-type { font-size: 0.6rem; }
  .discount-badge { font-size: 0.55rem !important; padding: 0.15rem 0.4rem !important; }
}
@media (min-width: 481px) and (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .product-card-image { height: 160px; }
  .product-card-body { padding: 0.75rem; }
  .product-card-title { font-size: 0.88rem; }
  .product-card-desc { font-size: 0.7rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product-card-price { font-size: 0.95rem; }
  .btn-card { padding: 0.35rem 0.7rem; font-size: 0.72rem; }
}

/* ── PROMO BAR (very top, free-shipping callout) ── */
.promo-bar {
  background: linear-gradient(90deg, #0ea5e9 0%, #6366f1 50%, #8b5cf6 100%);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.promo-bar.is-unlocked {
  background: linear-gradient(90deg, #059669 0%, #10b981 55%, #34d399 100%);
}
.promo-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.promo-bar-progress {
  height: 3px;
  width: 100%;
  background: rgba(255,255,255,0.18);
  margin-top: 0.5rem;
}
.promo-bar-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.5s cubic-bezier(.22,.9,.32,1);
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}
.promo-bar.is-unlocked .promo-bar-progress-fill { width: 100% !important; }
.promo-bar strong { font-weight: 800; letter-spacing: 0.5px; }
.promo-icon { font-size: 1rem; }
@media (max-width: 480px) {
  .promo-bar { padding: 0.45rem 0.75rem 0; font-size: 0.75rem; }
  .promo-icon { font-size: 0.9rem; }
  .promo-bar-progress { margin-top: 0.4rem; }
}

/* ── UTILITY BAR (new, above top-bar) ── */
.utility-bar { background: #0a1529; color: rgba(255,255,255,0.72); font-size: 0.72rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.utility-bar-inner { max-width: 1440px; margin: 0 auto; padding: 0.45rem 1.25rem; display: flex; justify-content: center; align-items: center; gap: 0.7rem; flex-wrap: wrap; letter-spacing: 0.2px; }
.util-sep { color: rgba(255,255,255,0.25); }
.util-item { white-space: nowrap; }
@media (max-width: 640px) {
  .utility-bar-inner { gap: .4rem; font-size: 0.68rem; }
  .util-sep { display: none; }
}

/* ── PRICE RANGE (product card) ── */
.price-range { font-weight: 800; color: var(--text); font-size: 1.05rem; line-height: 1.2; }
.price-range .range-sep { color: var(--muted); margin: 0 .2rem; font-weight: 500; }
.price-range .range-unit { display: block; font-size: 0.7rem; font-weight: 500; color: var(--muted); margin-top: 2px; letter-spacing: .3px; }

/* ── TRUST BAR (under hero) ── */
.trust-bar { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.5rem 1.25rem; }
.trust-bar-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.trust-bar-item { padding: .5rem; }
.trust-bar-num { font-size: 1.9rem; font-weight: 900; color: var(--accent); letter-spacing: -1px; }
.trust-bar-label { font-size: .78rem; color: var(--text2); font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; margin-top: 4px; }
@media (max-width: 640px) { .trust-bar-inner { grid-template-columns: 1fr 1fr; } }

/* ── HOW IT WORKS ── */
.how-section { padding: 4rem 1.25rem; background: #fff; }
.how-grid { max-width: 1200px; margin: 2rem auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.how-step { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; position: relative; transition: transform .2s, box-shadow .2s; }
.how-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.how-step-num { position: absolute; top: -14px; left: 1.5rem; background: linear-gradient(135deg, var(--accent), #7c3aed); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; box-shadow: 0 4px 12px rgba(14,165,233,.35); }
.how-step-icon { font-size: 2rem; margin-bottom: .75rem; color: var(--accent); display: flex; align-items: center; height: 36px; }
.how-step-icon svg { width: 32px; height: 32px; }
.how-step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.how-step-text { font-size: .88rem; color: var(--text2); line-height: 1.55; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .how-grid { grid-template-columns: 1fr; } }

/* ── QUALITY/COA SECTION ── */
.quality-section { padding: 4rem 1.25rem; background: linear-gradient(135deg, #0a1529 0%, #060e1f 100%); color: #fff; }
.quality-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.quality-copy .section-label { color: var(--accent2); }
.quality-copy h2 { color: #fff; font-size: 2.2rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 1rem; }
.quality-copy p { color: rgba(255,255,255,0.72); line-height: 1.65; margin-bottom: 1.25rem; }
.quality-list { list-style: none; padding: 0; }
.quality-list li { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; color: rgba(255,255,255,0.85); }
.quality-list li strong { color: #fff; }
.quality-list li::before { content: "✓"; color: var(--accent2); font-weight: 800; margin-top: 2px; }
.quality-visual { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 2rem; }
.quality-stat { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.quality-stat:last-child { border-bottom: none; }
.quality-stat-label { color: rgba(255,255,255,0.6); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.quality-stat-val { color: var(--accent2); font-weight: 800; font-size: 1.25rem; font-family: 'Inter', monospace; }
@media (max-width: 860px) { .quality-grid { grid-template-columns: 1fr; gap: 2rem; } .quality-copy h2 { font-size: 1.6rem; } }

/* ── TESTIMONIALS ── */
.testimonials-section { padding: 4rem 1.25rem; background: var(--bg); }
.testimonials-grid { max-width: 1280px; margin: 2rem auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.testimonial-stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; margin-bottom: .75rem; }
.testimonial-quote { font-size: .95rem; color: var(--text); line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--text); font-size: .9rem; }
.testimonial-role { color: var(--muted); font-size: .78rem; margin-top: 2px; }
@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.faq-section { padding: 4rem 1.25rem; background: #fff; }
.faq-list { max-width: 820px; margin: 2rem auto 0; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .75rem; overflow: hidden; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--accent); }
.faq-item summary { padding: 1.15rem 1.25rem; cursor: pointer; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; list-style: none; font-size: .98rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; font-weight: 300; transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 1.25rem 1.25rem; color: var(--text2); line-height: 1.65; font-size: .92rem; }

/* ── CTA STRIP ── */
.cta-strip { background: linear-gradient(135deg, #0c2340 0%, #1e3a5f 100%); padding: 3rem 1.25rem; color: #fff; text-align: center; }
.cta-strip h2 { font-size: 2rem; font-weight: 800; letter-spacing: -1px; margin-bottom: .5rem; }
.cta-strip p { opacity: .9; margin-bottom: 1.5rem; font-size: 1.05rem; }
.cta-strip .btn-primary { background: #fff; color: var(--accent); }
.cta-strip .btn-primary:hover { background: #f1f5f9; }

/* ========== Footer payment row ========== */
.footer-payments {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  background: rgba(0,0,0,0.2);
}
.footer-payments-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-payments-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.payment-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.payment-icon {
  height: 24px;
  width: auto;
  opacity: 0.95;
  background: #fff;
  border-radius: 4px;
  padding: 2px;
}
.payment-icon-fallback {
  display: inline-block;
  padding: 4px 8px;
  background: #fff;
  color: #0c2340;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  height: auto;
}
.footer-payments-ssl {
  font-size: 0.78rem;
  color: var(--text2);
  font-weight: 500;
}

/* Value-prop icons on "Four Reasons" section */
.value-icon { color: var(--accent); margin-bottom: 0.75rem; display: flex; }
.value-icon svg { width: 32px; height: 32px; }

/* Outline button — for use on LIGHT backgrounds (btn-secondary is for dark) */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 0.82rem 2rem;
  border-radius: 999px;
  border: 1.5px solid var(--border2);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.15s;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(14,165,233,0.05);
}

/* Cart item thumbnail */
.cart-item-info { display: flex; gap: 0.9rem; align-items: center; }
.cart-item-thumb {
  flex: 0 0 64px;
  width: 64px; height: 64px;
  background: #f5f7fa;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}
.cart-item-thumb img { max-width: 90%; max-height: 90%; object-fit: contain; }

/* ================================================================
   MOBILE OVERHAUL — Products first, less scrolling
   ================================================================ */

/* ── Sticky header on mobile ── */
@media (max-width: 768px) {
  #site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--primary);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* ── Hide utility bar on mobile — redundant with trust bar ── */
@media (max-width: 768px) {
  .utility-bar { display: none; }
}

/* ── Shorten disclaimer on mobile ── */
@media (max-width: 768px) {
  .top-bar {
    font-size: 0.62rem;
    padding: 0.3rem 0.75rem;
    line-height: 1.3;
  }
}

/* ── Compact hero on mobile ── */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 1rem 1.5rem;
  }
  .hero-eyebrow {
    font-size: 0.6rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.5rem;
  }
  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
  }
  .hero-sub {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  /* Hide trust checkmarks on mobile — trust bar shows same info below */
  .hero-trust { display: none; }
}

/* ── Compact trust bar on mobile ── */
@media (max-width: 768px) {
  .trust-bar { padding: 0.75rem 0.75rem; }
  .trust-bar-num { font-size: 1.2rem; }
  .trust-bar-label { font-size: 0.6rem; letter-spacing: 0.8px; }
}

/* ── Hide features strip on mobile — moves products up significantly ── */
@media (max-width: 768px) {
  .features-strip { display: none; }
}

/* ── Category grid: horizontal scroll on mobile instead of 5×2 grid ── */
@media (max-width: 768px) {
  .cat-grid-section { padding: 1.5rem 0 1.5rem 1rem; }
  .cat-grid-section .section-sub { padding-right: 1rem; }
  .cat-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 0.6rem;
    padding-bottom: 0.75rem;
    padding-right: 1rem;
  }
  .cat-card {
    flex: 0 0 120px;
    min-width: 120px;
    scroll-snap-align: start;
    padding: 1rem 0.5rem;
  }
  .cat-icon svg { width: 26px; height: 26px; }
  .cat-name { font-size: 0.72rem; }
}

/* ── Product grid: full-width single column on mobile ── */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ── Smaller product card image on mobile ── */
@media (max-width: 768px) {
  .product-card-image {
    height: 180px;
  }
}

/* ── Product page image: wider, less tall ── */
@media (max-width: 768px) {
  .product-image-block {
    aspect-ratio: 1;
    max-height: 380px;
  }
}

/* ── Compact sections on mobile ── */
@media (max-width: 768px) {
  .page-section,
  .how-section,
  .quality-section,
  .testimonials-section,
  .faq-section {
    padding: 2rem 1rem;
  }
  .section-title { font-size: 1.4rem; }
  .section-sub { font-size: 0.82rem; }
  .quality-copy h2 { font-size: 1.3rem; }
  .how-grid { gap: 1rem; }
  .testimonials-grid { gap: 0.75rem; }
  .testimonial { padding: 1.25rem; }
  .cta-strip h2 { font-size: 1.4rem; }
  .cta-strip p { font-size: 0.88rem; }
}

/* ── Product page mobile: full-width buy panel ── */
@media (max-width: 768px) {
  .product-breadcrumb { font-size: 0.7rem; padding: 0.5rem 1rem; }
  .product-title { font-size: 1.5rem; }
  .product-trust { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .trust-card { padding: 0.5rem; }
  .trust-card .label { font-size: 0.62rem; }
}

/* ── Collection page mobile: compact header ── */
@media (max-width: 768px) {
  .collection-header { padding: 1.5rem 1rem; }
  .collection-header h1 { font-size: 1.5rem; }
  .collection-pills {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }
  .collection-pills a { white-space: nowrap; font-size: 0.72rem; }
}

/* ── Footer compact on mobile ── */
@media (max-width: 768px) {
  .footer-brand p { font-size: 0.78rem; }
  .footer-badges { gap: 0.3rem; }
  .footer-badges span { font-size: 0.65rem; }
  .footer-disclaimer-inner { font-size: 0.65rem; padding: 0.75rem 1rem; }
  .footer-bottom-inner { font-size: 0.62rem; flex-direction: column; text-align: center; }
  .footer-payments-inner { gap: 0.75rem; padding: 0 1rem; font-size: 0.68rem; }
}

/* ── Hide scrollbar on horizontal-scroll elements (cleaner mobile) ── */
.cat-grid::-webkit-scrollbar,
.collection-pills::-webkit-scrollbar {
  display: none;
}
.cat-grid, .collection-pills {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Short/full disclaimer toggle */
.top-bar-short { display: none; }
@media (max-width: 768px) {
  .top-bar-full { display: none; }
  .top-bar-short { display: inline; }
}

/* ================================================================
   STICKY MOBILE ADD-TO-CART BAR
   Only visible on mobile, only when the real Add to Cart is scrolled
   out of view. Uses IntersectionObserver to toggle .is-visible.
   ================================================================ */
.mobile-sticky-cart {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.mobile-sticky-cart.is-visible {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .mobile-sticky-cart { display: block; }
  /* Offset footer bottom so sticky bar doesn't cover content */
  .footer-bottom { padding-bottom: 5rem; }
}
.mobile-sticky-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.mobile-sticky-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}
.mobile-sticky-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-sticky-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent);
}
.mobile-sticky-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.mobile-sticky-btn:hover { background: #0284c7; }
.mobile-sticky-btn:disabled {
  background: var(--muted);
  cursor: not-allowed;
}

/* ── HERO PROMO BADGE (FIRST15 discount callout) ── */
.hero-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(124, 58, 237, 0.18));
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.18);
  letter-spacing: 0.2px;
}
.hero-promo strong { color: #fff; font-weight: 700; }
.hero-promo-icon { font-size: 1.05rem; line-height: 1; }
@media (max-width: 640px) {
  .hero-promo {
    font-size: 0.78rem;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: left;
  }
}

/* ── PRODUCT CARD: FIRST15 discount badge (top-right of image) ── */
.product-card-discount-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.35);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .product-card-discount-badge {
    font-size: 0.55rem;
    padding: 0.18rem 0.4rem;
  }
}

/* ── Conversion blocks on single-product page ────────────────────────────── */
.stock-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #16a34a;
}
.stock-line.low { color: #d97706; }
.stock-line .stock-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
.first-order-promo {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fcd34d;
  border-radius: 10px;
  font-size: 0.875rem;
  color: #78350f;
  line-height: 1.45;
}
.first-order-promo .promo-tag {
  display: inline-block;
  background: #b45309;
  color: #fff;
  padding: 0.1rem 0.55rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-right: 0.45rem;
  vertical-align: 1px;
}
.first-order-promo strong { color: #7c2d12; font-weight: 700; }
.purity-guarantee {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #064e3b;
}
.purity-guarantee .pg-icon {
  flex-shrink: 0;
  color: #059669;
  margin-top: 0.1rem;
}
.purity-guarantee .pg-body strong { color: #047857; font-weight: 700; }
@media (max-width: 560px) {
  .first-order-promo, .purity-guarantee { font-size: 0.82rem; }
  .stock-line { font-size: 0.85rem; }
}

/* ──────────────────────────────────────────────────────────────────
   WooCommerce my-account, login, lost-password, checkout — clean
   white card on dark page so text is readable and looks professional.
   ────────────────────────────────────────────────────────────────── */
.woocommerce-account,
.woocommerce-checkout,
.woocommerce-page,
.woocommerce-cart {
  background: transparent;
}
.woocommerce-account .entry-content,
.woocommerce-account .site-main,
.woocommerce-account main,
.woocommerce-account .woocommerce {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2.25rem 2rem;
  background: #fff;
  color: #0c1e3f;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.woocommerce-account h1,
.woocommerce-account h2,
.woocommerce-account h3,
.woocommerce-account .entry-title {
  color: #0c1e3f !important;
}
.woocommerce-account p,
.woocommerce-account label,
.woocommerce-account legend,
.woocommerce-account th,
.woocommerce-account td,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-content p {
  color: #374151 !important;
}
.woocommerce-account a {
  color: #2563eb;
  text-decoration: none;
}
.woocommerce-account a:hover { text-decoration: underline; }

.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #f9fafb;
  border-radius: 10px;
  padding: 6px 0;
  margin-right: 1.5rem;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 10px 18px;
  color: #6b7280 !important;
  font-weight: 500;
  border-left: 3px solid transparent;
  border-radius: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  color: #0c1e3f !important;
  background: #fff;
  border-left-color: #2563eb;
}

.woocommerce-account fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 0 0 1.25rem;
  background: #fafafa;
}
.woocommerce-account legend {
  font-weight: 600;
  color: #0c1e3f !important;
  padding: 0 8px;
}
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account select,
.woocommerce-account textarea {
  background: #fff !important;
  color: #0c1e3f !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}
.woocommerce-account input:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus {
  outline: none;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.woocommerce-account button,
.woocommerce-account .button,
.woocommerce-account input[type="submit"] {
  background: #0c1e3f !important;
  color: #fff !important;
  border: 0 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}
.woocommerce-account button:hover,
.woocommerce-account .button:hover,
.woocommerce-account input[type="submit"]:hover {
  background: #1e3a8a !important;
}
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
  background: #eff6ff;
  color: #1e3a8a !important;
  border-left: 4px solid #2563eb;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.woocommerce-account .woocommerce-error {
  background: #fef2f2;
  color: #991b1b !important;
  border-left: 4px solid #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
}
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account table.shop_table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
}
.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .shop_table th {
  background: #f9fafb;
  color: #6b7280 !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .03em;
  padding: 10px;
}
.woocommerce-account .woocommerce-orders-table td,
.woocommerce-account .shop_table td {
  padding: 10px;
  border-bottom: 1px solid #f3f4f6;
}

/* WC login form on /my-account/ (when logged out) */
.woocommerce-form-login,
.woocommerce-form-register {
  max-width: 460px;
  margin: 0 auto;
}
.woocommerce-form-login label, .woocommerce-form-register label {
  color: #0c1e3f !important;
}

@media (max-width: 768px) {
  .woocommerce-account .entry-content,
  .woocommerce-account .site-main,
  .woocommerce-account main,
  .woocommerce-account .woocommerce {
    margin: 1rem;
    padding: 1.5rem 1rem;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation {
    margin: 0 0 1rem 0;
  }
}
