/* ============================================================
   MASTER STYLESHEET - comPlex Skin Care
   Updated: Nov 12, 2025
   ============================================================ */

/* --- 1. VARIABLES & RESET --- */
:root { 
  --brand: #2b6fa6; 
  --gold: #C5A059;
  --ink: #111; 
  --muted: #6b7280; 
  --bg: #fff; 
  --pcx-header-peek: 22px;
}
* { box-sizing: border-box; }
/* =========================
   ABOUT PAGE – GIGI BRANDS
   ========================= */

.about-brand-lockup{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.about-brand-label{
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(17,17,17,0.65);
  margin-right: 6px;
}

.about-brand-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(43,111,166,0.18);
  background: rgba(255,255,255,0.85);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.about-brand-link img{
  display: block;
}

/* GIGI BRAND — PRIMARY EMPHASIS */
.about-brand-link img[src*="ICON"]{
  width: 82px;
  height: 82px;
}

.about-brand-link img[src*="LOGO"]{
  height: 46px;
  width: auto;
}
/* Make the Gigi brand link show mark + readable wordmark */
.about-brand-link--gigi{
  gap: 10px;
  padding-right: 16px;
}

.about-brand-word{
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(17,17,17,0.78);
  font-size: 1.05rem;
  line-height: 1;
}

/* GIGI.LA LOGO — primary emphasis */
.about-brand-lockup img.about-brand-gigi{
  height: 72px;
  width: auto;
}
.about-brand-lockup img.about-brand-gigi{
  height: 46px;
}

.about-hero{
  margin-top: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

body { 
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
  margin: 0; 
  background: var(--bg); 
  color: var(--ink); 
  line-height: 1.6; 
}
a { color: var(--brand); text-decoration: none; }

/* ============================================================
   2. DARK LUXURY HEADER & NAVIGATION (GLOBAL)
   ============================================================ */
body > header {
  background:
    linear-gradient(90deg, rgba(28, 25, 20, 0.42), rgba(12, 12, 11, 0.52)),
    rgba(26, 26, 26, 0.48);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.5); /* Gold Divider */
  box-shadow: 0 4px 16px rgba(0,0,0,0.42);
  min-height: 110px; 
  position: sticky; 
  top: 0; 
  z-index: 1000;
}

@media (hover: hover) and (min-width: 900px) {
  body{
    padding-top: var(--pcx-header-peek);
  }

  body > header{
    position: fixed;
    left: 0;
    right: 0;
    transform: translateY(calc(-100% + var(--pcx-header-peek)));
    transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
  }

  body > header::after{
    content: "\25B2  \25B2  \25B2   PCOMPLEX MENU   \25B2  \25B2  \25B2";
    position: absolute;
    left: 50%;
    bottom: 0;
    height: var(--pcx-header-peek);
    min-width: 420px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(197, 160, 89, 0.34);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background:
      linear-gradient(90deg, rgba(16,16,15,.18), rgba(197,160,89,.18), rgba(16,16,15,.18)),
      linear-gradient(90deg, rgba(255,255,255,.28) 0 22%, #f5d37c 34% 40%, rgba(255,255,255,.28) 52% 100%);
    background-size: 100% 100%, 260% 100%;
    background-position: 0 0, 120% 0;
    -webkit-background-clip: border-box, text;
    background-clip: border-box, text;
    color: transparent;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(197,160,89,.18);
    pointer-events: none;
    animation: pcxMenuArrows 1.55s linear infinite;
  }

  body > header:hover,
  body > header:focus-within{
    transform: translateY(0);
  }

  body > header:hover::after,
  body > header:focus-within::after{
    opacity: 0;
  }
}

@keyframes pcxMenuArrows{
  0%{ background-position: 0 0, 125% 0; }
  100%{ background-position: 0 0, -35% 0; }
}

body > header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- LOGO (LV Style Box) --- */
.logo img {
  height: 90px;
  width: auto;
  display: block;
  border: 1px solid var(--gold); /* Gold Frame */
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}
/* HARBOUR AESTHETIC SPA — SECONDARY BRAND ON ABOUT PAGE (exact filename) */
.about-brand-lockup img.about-brand-has{
  height: 30px;
  width: auto;
  opacity: 0.88;
}

.about-brand-lockup{
  margin-bottom: 18px;
}

.about-brand-label{
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  opacity: 0.75;
}


/* --- NAVIGATION MENU --- */
nav ul {
  display: flex;
  align-items: center;
  gap: 30px; 
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li a {
  color: #ffffff;
  font-size: 1.2rem; /* Large text */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.72);
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--gold);
}

/* Dropdown Menu Logic */
.dropdown { position: relative; display: inline-block; }
.dropbtn { cursor: pointer; }

.dropdown-content {
  display: none; 
  position: absolute;
  background:
    linear-gradient(180deg, rgba(31, 28, 22, 0.92), rgba(14, 14, 13, 0.94)),
    rgba(26,26,26,.92);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  z-index: 2000;
  border: 1px solid var(--gold);
  border-top: none;
  top: 100%; left: 0;
}

.dropdown-content a {
  color: #fff;
  padding: 14px 16px;
  display: block;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #333;
  text-transform: none;
}

.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { color: var(--gold); background: #333; }
.dropdown:hover .dropdown-content { display: block; }

/* Cart Count Badge */
#cart-count {
  background-color: var(--gold);
  color: #000;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 5px;
  vertical-align: text-top;
}

/* ============================================================
   3. HOME PAGE HERO (ROTATING)
   ============================================================ */
.hero { 
  position: relative; 
  height: calc(85vh - var(--pcx-header-peek));
  min-height: 640px;
  overflow: hidden;
  margin-top: 0;
}

.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.5); color: #fff;
  padding: 1rem; text-align: center;
}

/* ============================================================
   4. AFFILIATES PAGE STYLES
   ============================================================ */
.affiliate-hero {
  position: relative;
  width: 100%;
  height: 60vh; 
  min-height: 400px;
  background-color: #000;
  overflow: hidden;

  margin-top: 0;
}

.affiliate-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 2s ease-in-out;
  cursor: pointer;
}
.affiliate-slide.active { 
  opacity: 1; 
  z-index: 2; /* THIS IS THE FIX: Brings the visible slide to the front so it gets the click */
}

.hero-overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 20px;
  /* Added extra padding at bottom so text isn't cut off */
  padding-bottom: 60px; 
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white; text-align: center; pointer-events: none;
}
.hero-overlay-bottom h1 {
  margin: 0; font-size: 2.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Affiliates Grid */
.affiliates-section {
  padding: 3rem 2rem; max-width: 1200px; margin: 0 auto; text-align: center;
}
.affiliates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 30px;
}

/* Affiliate Card Look */
.affiliate-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 15px; padding: 20px; border-radius: 16px;
  background: #fff; border: 1px solid #eee;
  text-decoration: none; color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.affiliate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  border-color: var(--gold);
}
.affiliate-card img {
  max-width: 90%; height: 120px; object-fit: contain;
}
.affiliate-card span {
  font-weight: 600; text-transform: uppercase; font-size: 0.95rem; color: #333;
}

/* ============================================================
   5. SHARED COMPONENTS (Footer, Products, Cart)
   ============================================================ */
.page-heading { max-width: 1300px; margin: 2rem auto 1rem; padding: 0 2rem; font-size: 2rem; text-align: center; }
.products-wrap, .cart-wrap { max-width: 1300px; margin: 0 auto; padding: 0 2rem 2rem; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

/* Product Card */
.product-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid #eee; border-radius: 12px;
  padding: 1rem; box-shadow: 0 2px 6px rgba(0,0,0,.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-card img { width: 100%; height: 200px; object-fit: contain; margin-bottom: 1rem; }
.btn { background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 8px; border: 0; cursor: pointer; }

/* Footer */
footer { background: #f8fafc; border-top: 1px solid #eee; margin-top: 3rem; }
footer .wrap { display: flex; justify-content: center; padding: 1rem; }
.small { font-size: .9rem; color: var(--muted); }

/* Cart Specifics */
.cart-box { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 1rem; margin: .75rem 0; }
.total-line { display: flex; justify-content: space-between; border-bottom: 1px solid #eee; padding: .4rem 0; }
.controls { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.shipping-box { display: flex; justify-content: space-between; padding: .5rem 0; }

/* Compact cart rows: product pages can be expressive; the cart should scan like an order summary. */
#cart-list.cart-box { padding: .65rem 1rem; }
.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 5.5rem 6rem auto;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid #edf0f2;
}
.cart-row:last-child { border-bottom: 0; }
.cart-item { min-width: 0; display: flex; align-items: center; gap: .7rem; }
.cart-item .thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  border: 1px solid #edf0f2;
  border-radius: 8px;
  background: #fff;
}
.cart-item .meta { min-width: 0; }
.cart-item .title { font-weight: 750; line-height: 1.25; }
.cart-item .sku { margin-top: .18rem; font-size: .72rem; }
.cart-qty { display: inline-flex; align-items: center; gap: .2rem; }
.cart-qty .qty-btn { width: 1.8rem; height: 1.8rem; padding: 0; border: 1px solid #dfe5e9; border-radius: 5px; background: #f8fafc; color: #173042; cursor: pointer; }
.cart-qty .qty-input { width: 2.6rem; padding: .28rem .15rem; text-align: center; border: 1px solid #dfe5e9; border-radius: 5px; }
.cart-price, .cart-line { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.cart-line { font-weight: 800; }
.cart-row .remove { padding: .42rem .65rem; font-size: .78rem; }

/* =======================
   Affiliates Infinity Hero
   ======================= */

.affiliate-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.affiliate-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.affiliate-slide.active {
  opacity: 1;
}

/* Blurred background layer */
.affiliate-slide .bg-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px) brightness(0.72);
  transform: scale(1.25);
}

/* Foreground sharp image */
.affiliate-slide .fg-img {
  position: relative;
  z-index: 2;
  max-height: 55%;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

/* Bottom overlay text */
.hero-overlay-bottom {
  position: absolute;
  bottom: 4%;
  width: 100%;
  text-align: center;
  color: white;
  text-shadow: 0 0 18px rgba(0,0,0,0.8);
  z-index: 3;
}
/* --- SEO content block (minimal visual impact) --- */
.seo-block {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.25rem;
  border-top: 1px solid rgba(0,0,0,.08);
  color: inherit;
}
.seo-block h2 { font-size: 1.125rem; margin: 0 0 .75rem; }
.seo-block h3 { font-size: 1rem; margin: 1rem 0 .5rem; }
.seo-block p, .seo-block li { font-size: .95rem; line-height: 1.55; margin: 0 0 .75rem; }
.seo-block ul { margin: 0 0 .75rem 1.25rem; }
.seo-muted { opacity: .85; }

/* ============================================================
   PRODUCTS PAGE: GROUPED CATEGORIES (catalog layout)
   ============================================================ */

.products-group{
  max-width: 1300px;
  margin: 0 auto 2.4rem;
  padding: 0 2rem;
  scroll-margin-top: 130px; /* sticky header offset */
}

.products-group__head{
  margin: 1.4rem 0 1rem;
  padding: 1.05rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: linear-gradient(135deg, rgba(43,111,166,0.08), rgba(43,111,166,0.02));
  border-left: 5px solid var(--brand);
}

.products-group__head h2{
  margin: 0 0 .35rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.products-group__intro{
  margin: 0;
  color: rgba(17,17,17,0.80);
}

.products-grid--grouped{ margin-top: .25rem; }

/* Category links in SEO block */
.seo-block a{
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(43,111,166,0.35);
}
.seo-block a:hover{ border-bottom-color: rgba(43,111,166,0.80); }

@media (max-width: 520px){
  .products-group{ padding: 0 1rem; }
}
@media (max-width: 520px){
  .about-brand-link img[src*="ICON"]{
    width: 52px;
    height: 52px;
  }
	.about-brand-word{
  font-size: 0.95rem;
  letter-spacing: 0.07em;
}

  .about-brand-lockup img.about-brand-gigi{
    height: 34px;
  }
  .about-brand-lockup img.about-brand-has{
    height: 22px;
  }

  .about-brand-link img[src*="LOGO"]{
    height: 28px;
  }
}

/* ============================================================
   PRODUCTS PAGE: CATEGORY JUMP NAV
   ============================================================ */

.category-jump{
  position: relative;
  top: auto;
  z-index: 50;
  max-width: 1300px;
  margin: 0 auto 1.25rem;
  padding: 0 2rem;
}

.category-jump__inner{
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: .7rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.category-jump__label{
  font-weight: 800;
  color: rgba(17,17,17,0.75);
  white-space: nowrap;
}

.category-jump__link{
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(43,111,166,0.18);
  background: rgba(43,111,166,0.06);
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.category-jump__link:hover{
  background: rgba(43,111,166,0.10);
  border-color: rgba(43,111,166,0.28);
}

@media (max-width: 520px){
  .category-jump{ top: auto; padding: 0 1rem; }
  .category-jump__label{ font-size: .9rem; }
}

/* ============================================================
   PRODUCTS PAGE: AESTHETIC POLISH (visual upgrade; SEO-safe)
   ============================================================ */

body.page-products{
  background:
    radial-gradient(1100px 560px at 18% 0%, rgba(197,160,89,0.10), rgba(197,160,89,0.00) 58%),
    radial-gradient(820px 460px at 86% 8%, rgba(43,111,166,0.055), rgba(43,111,166,0.00) 56%),
    linear-gradient(180deg, #fffdf8 0%, #f8fafb 58%, #ffffff 100%);
}

/* Make body text feel more premium */
.page-products .seo-block,
.page-products .products-group__head{
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Refine SEO block typography */
.page-products .seo-block h2{
  font-size: 1.2rem;
  font-weight: 800;
}
.page-products .seo-block h3{
  font-weight: 800;
}
.page-products .seo-block p,
.page-products .seo-block li{
  line-height: 1.7;
}

/* Category headers: stronger presence, better separation */
.page-products .products-group{
  position: relative;
}
.page-products .products-group::after{
  content: "";
  display: block;
  height: 1px;
  margin: 2rem 0 0;
  background: linear-gradient(90deg, rgba(43,111,166,0.0), rgba(43,111,166,0.30), rgba(43,111,166,0.0));
}
.page-products .products-group:last-of-type::after{
  display: none;
}

/* Improve card “gallery” feel within each category without changing product card mechanics */
.page-products .products-grid--grouped{
  padding-bottom: .25rem;
}

/* Jump nav polish (slightly more branded) */
.page-products .category-jump__inner{
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(248,250,252,0.92));
  border-color: rgba(43,111,166,0.14);
}

.page-heading--products{
  margin: 0;
  padding: 0;
}
.products-hero{
  max-width: 1300px;
  margin: 1.35rem auto 1rem;
  padding: 0 2rem;
}
.products-hero__inner{
  padding: 1.35rem 1.45rem;
  border-radius: 18px;
  border: 1px solid rgba(23,48,66,0.10);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,252,245,0.96)),
    radial-gradient(900px 500px at 82% 0%, rgba(197,160,89,0.11), rgba(43,111,166,0.035) 48%, rgba(43,111,166,0.00) 68%);
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
}
.products-hero__eyebrow{
  margin: 0 0 .45rem;
  color: #9a7634;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.products-hero__lead{
  max-width: 72ch;
  margin: .55rem 0 0;
  color: rgba(17,17,17,0.76);
  font-size: 1.04rem;
}
.products-hero__trust{
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.products-hero__trust span{
  display: inline-flex;
  align-items: center;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(43,111,166,0.07);
  border: 1px solid rgba(43,111,166,0.14);
  color: rgba(17,17,17,0.82);
  font-size: .92rem;
  font-weight: 700;
}
.products-assurance{
  max-width: 1300px;
  margin: 0 auto 1.2rem;
  padding: 0 2rem;
}
.cart-hero{
  margin-bottom: 1rem;
}
.cart-assurance{
  margin-top: 1rem;
}
.products-assurance__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.products-assurance__card{
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(23,48,66,0.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.products-assurance__card h2{
  margin: 0 0 .35rem;
  font-size: 1.02rem;
}
.products-assurance__card p{
  margin: 0;
  color: rgba(17,17,17,0.74);
}
.page-products .product-card{
  border-radius: 16px;
  border-color: rgba(23,48,66,0.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}
.page-products .product-card h3{
  margin-bottom: .4rem;
}
.page-products .product-card .small{
  min-height: 3.9em;
}
.page-products .stock-message{
  min-height: 1.3rem;
  margin: .2rem 0 .55rem;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.page-products .product-card.is-in-stock{
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}
.page-products .product-card.is-out-of-stock{
  opacity: .92;
}
.pm-meta{
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.pm-meta__line{
  margin: 0 0 .3rem;
  color: rgba(17,17,17,0.68);
  font-size: .92rem;
}
@media (max-width: 860px){
  .products-assurance__grid{
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HOME PAGE: PREMIUM CONVERSION LAYER
   ============================================================ */
.hero .overlay{
  background:
    linear-gradient(180deg, rgba(6,10,16,0.10), rgba(6,10,16,0.74)),
    linear-gradient(135deg, rgba(197,160,89,0.12), rgba(43,111,166,0.10));
  padding: 4.5rem 1.25rem 2.6rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-kicker{
  display: inline-block;
  margin-bottom: .75rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #f8e7bf;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero .overlay h1{
  max-width: 18ch;
  margin: 0 auto .75rem;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.hero .overlay p{
  max-width: 62ch;
  margin: 0 auto;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.92);
}
.hero-cta{
  display: flex;
  justify-content: center;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 46px;
  padding: .7rem 1.05rem;
  border-radius: 10px;
  font-weight: 800;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.btn-gold{
  background: linear-gradient(135deg, #d7b36a, #b98d39);
  color: #111;
}
.btn-ghost-light{
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-secondary{
  background: #f3f6f9;
  color: #173042;
  border: 1px solid rgba(23,48,66,0.10);
}
.hero-proof{
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.2rem auto 0;
  padding: 0;
  list-style: none;
}
.hero-proof li{
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: .92rem;
  color: rgba(255,255,255,0.94);
}
.page-kicker{
  max-width: 980px;
  margin: 1.3rem auto 0;
  padding: 0 2rem;
  text-align: center;
  color: rgba(17,17,17,0.68);
  font-size: 1.02rem;
  font-weight: 600;
}
.home-proof{
  max-width: 1240px;
  margin: 1.35rem auto 0;
  padding: 0 2rem;
}
.home-proof__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.home-proof__card{
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
  border: 1px solid rgba(23,48,66,0.08);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  padding: 1.25rem 1.15rem;
}
.home-proof__card h2{
  margin: 0 0 .5rem;
  font-size: 1.08rem;
}
.home-proof__card p{
  margin: 0;
  color: rgba(17,17,17,0.76);
}
.home-section-head{
  max-width: 860px;
  margin: 0 auto 1.4rem;
  text-align: center;
}
.section-eyebrow{
  margin: 0 0 .45rem;
  color: #9a7634;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-section-head h2{
  margin: 0 0 .45rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.08;
}
.home-section-head p{
  margin: 0;
  color: rgba(17,17,17,0.72);
}
.product-card__actions{
  display: flex;
  flex-direction: column;
  gap: .65rem;
  width: 100%;
  margin-top: .35rem;
}
@media (max-width: 860px){
  .hero{
    height: 78vh;
    min-height: 650px;
  }
  .hero .overlay{
    padding-top: 5rem;
  }
  .hero .overlay h1{
    max-width: 11ch;
    font-size: clamp(2rem, 8vw, 3.2rem);
  }
  .home-proof__grid{
    grid-template-columns: 1fr;
  }
}
.page-products .category-jump__link{
  background: linear-gradient(135deg, rgba(43,111,166,0.08), rgba(43,111,166,0.04));
  border-color: rgba(43,111,166,0.20);
}
.page-products .category-jump__link:hover{
  background: linear-gradient(135deg, rgba(43,111,166,0.12), rgba(43,111,166,0.06));
  border-color: rgba(43,111,166,0.32);
}

/* Mobile spacing balance */
@media (max-width: 520px){
  body.page-products{ background: linear-gradient(180deg, #fffdf8, #ffffff); }
  .page-products .products-group__head{ padding: .95rem 1rem; }
}

/* ============================================================
   SKIN QUIZ
   ============================================================ */
.page-quiz{
  background: linear-gradient(180deg, #fbfcfd 0%, #f5f7f9 52%, #ffffff 100%);
}
.quiz-hero{
  background:
    linear-gradient(135deg, rgba(23,48,66,.94), rgba(19,27,38,.92)),
    url("../images/MockUp Pcomplex8 Product Line.png") center/cover;
  color: #fff;
  padding: clamp(4.8rem, 8vw, 7.2rem) 1.25rem clamp(2.6rem, 5vw, 4rem);
  text-align: center;
}
.quiz-hero__inner{
  max-width: 920px;
  margin: 0 auto;
}
.quiz-hero .section-eyebrow{
  color: #f2d28c;
}
.quiz-hero h1{
  max-width: 14ch;
  margin: 0 auto .9rem;
  font-size: clamp(2.35rem, 5.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.quiz-hero p{
  max-width: 64ch;
  margin: 0 auto;
  color: rgba(255,255,255,.9);
  font-size: 1.08rem;
  line-height: 1.65;
}
.quiz-hero__actions{
  display: flex;
  justify-content: center;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.quiz-shell{
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.25rem;
  align-items: start;
}
.quiz-panel,
.quiz-note,
.quiz-routine,
.quiz-product,
.quiz-guardrails{
  background: #fff;
  border: 1px solid rgba(23,48,66,.10);
  box-shadow: 0 12px 30px rgba(0,0,0,.055);
}
.quiz-panel{
  border-radius: 8px;
  padding: clamp(1.15rem, 3vw, 2rem);
}
.quiz-note{
  position: sticky;
  top: 1rem;
  border-radius: 8px;
  padding: 1.2rem;
}
.quiz-note h2{
  margin: 0 0 .55rem;
  font-size: 1.2rem;
}
.quiz-note p{
  margin: 0 0 .8rem;
  color: rgba(17,17,17,.72);
  line-height: 1.58;
}
.quiz-progress{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(17,17,17,.64);
  font-size: .88rem;
  font-weight: 800;
}
.quiz-progress__bar{
  height: 8px;
  margin: .6rem 0 1.6rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf1;
}
.quiz-progress__bar i{
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #d7b36a, #2b6fa6);
  transition: width .22s ease;
}
.quiz-question__title{
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}
.quiz-question__help{
  max-width: 760px;
  margin: .7rem 0 1.2rem;
  color: rgba(17,17,17,.68);
  line-height: 1.55;
}
.quiz-options{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.quiz-option{
  min-height: 88px;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .95rem;
  border: 1px solid rgba(23,48,66,.14);
  border-radius: 8px;
  background: #fff;
  color: #111;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.quiz-option:hover{
  transform: translateY(-1px);
  border-color: rgba(43,111,166,.35);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.quiz-option.is-selected{
  border-color: #b98d39;
  box-shadow: 0 0 0 3px rgba(215,179,106,.18);
  background: #fffaf0;
}
.quiz-option__mark{
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: .15rem;
  border: 2px solid rgba(23,48,66,.28);
  border-radius: 50%;
  background: #fff;
}
.quiz-option.is-selected .quiz-option__mark{
  border-color: #b98d39;
  background: radial-gradient(circle at center, #b98d39 0 42%, transparent 45%);
}
.quiz-option strong,
.quiz-option small{
  display: block;
}
.quiz-option strong{
  font-size: .98rem;
  line-height: 1.25;
}
.quiz-option small{
  margin-top: .25rem;
  color: rgba(17,17,17,.66);
  line-height: 1.4;
}
.quiz-validation{
  min-height: 1.25rem;
  margin: .85rem 0 0;
  color: #9b2d24;
  font-weight: 800;
  font-size: .92rem;
}
.quiz-controls{
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23,48,66,.10);
}
.quiz-results{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}
.quiz-results__head{
  max-width: 900px;
  margin: .5rem auto 1.25rem;
  text-align: center;
}
.quiz-results__head h2{
  margin: 0 0 .55rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}
.quiz-results__head p{
  margin: 0 auto;
  max-width: 760px;
  color: rgba(17,17,17,.72);
  line-height: 1.62;
}
.quiz-routines{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.quiz-routine{
  border-radius: 8px;
  padding: 1.2rem;
}
.quiz-routine h3{
  margin: 0 0 .7rem;
  font-size: 1.45rem;
}
.quiz-step{
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: .75rem;
  padding: .8rem 0;
  border-top: 1px solid rgba(23,48,66,.10);
}
.quiz-step:first-of-type{
  border-top: 0;
}
.quiz-step span{
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #173042;
  color: #fff;
  font-weight: 900;
  font-size: .86rem;
}
.quiz-step strong,
.quiz-step small{
  display: block;
}
.quiz-step small{
  margin-top: .25rem;
  color: rgba(17,17,17,.66);
  line-height: 1.45;
}
.quiz-products-title{
  margin: 2rem 0 .9rem;
  text-align: center;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}
.quiz-products{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.quiz-product{
  display: grid;
  grid-template-rows: 190px 1fr;
  border-radius: 8px;
  overflow: hidden;
}
.quiz-product img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  background: linear-gradient(180deg, #f8fafc, #eef3f7);
}
.quiz-product__body{
  padding: 1rem;
}
.quiz-product__body p{
  margin: 0 0 .4rem;
  color: #9a7634;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.quiz-product__body h3{
  margin: 0 0 .45rem;
  font-size: 1.12rem;
  line-height: 1.2;
}
.quiz-product__body span{
  display: block;
  margin-bottom: .8rem;
  color: #173042;
  font-weight: 900;
}
.quiz-product__actions{
  display: grid;
  gap: .55rem;
}
.quiz-product__actions .btn{
  width: 100%;
}
.quiz-guardrails{
  margin-top: 1.2rem;
  border-radius: 8px;
  padding: 1.2rem;
  background: #173042;
  color: #fff;
}
.quiz-guardrails h2{
  margin: 0 0 .5rem;
  font-size: 1.25rem;
}
.quiz-guardrails p{
  margin: 0;
  color: rgba(255,255,255,.86);
  line-height: 1.6;
}
.quiz-result-actions{
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.home-quiz-cta{
  max-width: 1180px;
  margin: 1.3rem auto 0;
  padding: 0 2rem;
}
.home-quiz-cta__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(23,48,66,.10);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f4f8fb);
  box-shadow: 0 12px 30px rgba(0,0,0,.055);
}
.home-quiz-cta__inner > .btn{
  flex: 0 0 auto;
}
.home-quiz-cta h2{
  margin: 0 0 .25rem;
  font-size: 1.35rem;
}
.home-quiz-cta p{
  margin: 0;
  color: rgba(17,17,17,.70);
}
.home-social-launch{
  max-width: 1180px;
  margin: 1.35rem auto 0;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 1.15rem;
  align-items: stretch;
}
.home-social-launch__media,
.home-social-launch__copy{
  border: 1px solid rgba(23,48,66,.10);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.055);
}
.home-social-launch__media{
  background:
    linear-gradient(135deg, rgba(23,48,66,.12), rgba(197,160,89,.10)),
    #f8fafc;
}
.home-social-launch__media img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}
.home-social-launch__copy{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,252,245,.93)),
    radial-gradient(720px 420px at 100% 0%, rgba(197,160,89,.16), transparent 62%);
}
.home-social-launch__copy h2{
  max-width: 13ch;
  margin: 0 0 .6rem;
  color: #173042;
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  line-height: 1.03;
}
.home-social-launch__copy p{
  max-width: 60ch;
  margin: 0;
  color: rgba(17,17,17,.72);
}
.home-social-launch__actions{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.2rem;
}
.btn-ghost-dark{
  background: rgba(23,48,66,.08);
  color: #173042;
  border: 1px solid rgba(23,48,66,.16);
}
.category-jump__link--quiz{
  background: linear-gradient(135deg, rgba(215,179,106,.20), rgba(43,111,166,.08));
}
@media (max-width: 920px){
  .quiz-shell{
    grid-template-columns: 1fr;
  }
  .quiz-note{
    position: static;
  }
  .quiz-products{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-quiz-cta__inner{
    align-items: flex-start;
    flex-direction: column;
  }
  .home-social-launch{
    grid-template-columns: 1fr;
  }
  .home-social-launch__media img{
    min-height: 260px;
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 640px){
  .quiz-shell,
  .quiz-results,
  .home-quiz-cta,
  .home-social-launch{
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .quiz-options,
  .quiz-routines,
  .quiz-products{
    grid-template-columns: 1fr;
  }
  .quiz-controls{
    flex-direction: column-reverse;
  }
  .quiz-controls .btn{
    width: 100%;
  }
  .quiz-hero{
    padding-top: 4.2rem;
  }
  .quiz-hero h1{
    max-width: 12ch;
  }
  .home-social-launch__copy h2{
    max-width: none;
  }
}
@media (max-width: 420px){
  .btn{
    white-space: normal;
  }
}

/* September 2026 sales audit: keep navigation and checkout usable on narrow screens. */
@media (max-width: 899px){
  body > header{position:static}
  .hero{height:auto;min-height:0}
  .hero .overlay{position:relative;min-height:0;padding:2.5rem 1rem}
  .hero .overlay h1{max-width:18ch;font-size:clamp(1.8rem,7vw,3.2rem)}
  body > header .wrap{flex-wrap:wrap;gap:12px;max-width:100%}
  body > header nav{min-width:0;max-width:100%}
  body > header nav ul{flex-wrap:wrap;gap:4px 14px}
  body > header nav ul li a{display:inline-block;font-size:.95rem;padding:10px 3px}
  .shipping-box{flex-direction:column;gap:8px}
  .shipping-box > div{min-width:0}
  .shipping-select{max-width:100%;white-space:normal}
  .cart-box input,.cart-box select{font-size:16px;max-width:100%}
}
@media (max-width: 520px){
  body > header .wrap{padding:10px 16px}
  body > header .logo img{height:64px}
  .products-wrap,.cart-wrap{padding-left:16px;padding-right:16px}
  .products-grid{grid-template-columns:minmax(0,1fr)}
  .product-card{min-width:0}
  .controls > div{max-width:100%}
  .shipping-box .btn,.coupon-box .btn{margin-top:8px}
  #cart-list.cart-box { padding: .45rem .7rem; }
  .cart-row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: .45rem .6rem; padding: .65rem 0; }
  .cart-item { display: contents; }
  .cart-item .thumb { grid-column: 1; grid-row: 1 / span 2; width: 48px; height: 48px; flex-basis: 48px; }
  .cart-item .meta { grid-column: 2 / span 2; grid-row: 1; }
  .cart-qty { grid-column: 2; grid-row: 2; }
  .cart-price { grid-column: 3; grid-row: 2; }
  .cart-line { grid-column: 2; grid-row: 3; text-align: left; font-size: .9rem; }
  .cart-row .remove { grid-column: 3; grid-row: 3; justify-self: end; }
}


/* September 2026 controlled shop refinement.
   Header is shared; page presentation is scoped to home/products.
   Skin Quiz owns its styles and is intentionally unchanged. */
body { padding-top: 0; }
body > header {
  position: sticky;
  transform: none;
  min-height: 80px;
  background: #fff;
  border-bottom: 1px solid #ded9d0;
  box-shadow: none;
  transition: none;
}
body > header::after { display: none; animation: none; }
body > header .wrap { min-height: 80px; gap: 24px; padding: 10px 24px; }
body > header .logo img { height: 58px; border: 0; box-shadow: none; }
body > header nav ul { gap: 22px; }
body > header nav ul li a,
body > header .dropbtn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: #171714;
  font: 600 .82rem/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-shadow: none;
  background: none;
  border: 0;
}
body > header nav ul li a:hover,
body > header .dropbtn:hover { color: #7a2f27; }
body > header #cart-count { background: #ece5da; color: #171714; font-size: .8rem; }
body > header .dropdown-content { background: #fff; border: 1px solid #ded9d0; box-shadow: 0 6px 14px rgba(23,23,20,.06); }
body > header .dropdown-content a { display: block; padding: 12px 16px; color: #171714; border-bottom: 1px solid #eee9e1; text-transform: none; letter-spacing: 0; }
body > header .dropdown-content a:hover { background: #f7f3eb; color: #7a2f27; }
body > header .dropdown:focus-within .dropdown-content { display: block; }
body > header :focus-visible { outline: 2px solid #7a2f27; outline-offset: 4px; }

.page-home, body.page-products {
  --shop-ink: #171714;
  --shop-muted: #625e56;
  --shop-paper: #f7f3eb;
  --shop-line: #ded9d0;
  --shop-accent: #7a2f27;
  background: var(--shop-paper);
  color: var(--shop-ink);
}
:is(.page-home, .page-products) main { display: block; }
:is(.page-home, .page-products) main h1,
:is(.page-home, .page-products) main h2,
:is(.page-home, .page-products) main h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--shop-ink); }
:is(.page-home, .page-products) main h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.2; }
:is(.page-home, .page-products) .section-eyebrow,
.page-products .products-hero__eyebrow { color: var(--shop-accent); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 12px; }
:is(.page-home, .page-products) .btn { background: var(--shop-ink); color: #fff; border: 1px solid var(--shop-ink); border-radius: 6px; box-shadow: none; font-size: .92rem; font-weight: 600; white-space: normal; }
:is(.page-home, .page-products) .btn:hover { background: #35352f; transform: none; box-shadow: none; }
:is(.page-home, .page-products) .btn-secondary { background: transparent; color: var(--shop-ink); border-color: #aaa398; }
:is(.page-home, .page-products) .btn-secondary:hover { background: #ece5da; }
:is(.page-home, .page-products) .btn:disabled { cursor: not-allowed; transform: none; }
:is(.page-home, .page-products) main :focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 4px; }
:is(.page-home, .page-products) .shop-text-link,
.shop-help-links a,
.page-products .shop-catalog-help a { color: var(--shop-ink); text-decoration: underline; text-underline-offset: 4px; }
.shop-hero, .priority-products, .shop-quiz, .shop-founder, .shop-reassurance { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.shop-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; padding-top: 34px; padding-bottom: 34px; }
.shop-hero h1 { font-size: clamp(2.2rem, 4.3vw, 3.4rem); line-height: 1.06; letter-spacing: -.025em; margin: 0 0 18px; }
.shop-hero__lead { max-width: 44ch; color: var(--shop-muted); font-size: 1rem; line-height: 1.65; margin: 0; }
.shop-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.shop-hero__media { height: 280px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; background: #fff; border-radius: 8px; padding: 18px; }
.shop-hero__media img { object-fit: contain; max-width: 52%; mix-blend-mode: multiply; }
.shop-hero__bottle { width: 168px; height: 244px; }
.shop-hero__jar { width: 220px; height: 206px; }
.priority-products { padding-top: 20px; padding-bottom: 44px; }
.shop-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.shop-section-head h2 { margin: 0; }
.shop-text-link { font-size: .9rem; }
.priority-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.priority-card { display: flex; flex-direction: column; min-width: 0; color: var(--shop-ink); }
.priority-card__image { display: block; background: #fff; border: 1px solid #eee9e1; border-radius: 6px; padding: 14px; }
.priority-card__image img { display: block; width: 100%; height: 176px; object-fit: contain; }
.priority-card__copy { display: flex; flex: 1; flex-direction: column; padding-top: 12px; }
.priority-card__size { color: var(--shop-muted); font-size: .75rem; }
.priority-card h3 { font-size: 1.25rem; line-height: 1.25; margin: 5px 0 8px; }
.priority-card p { font-size: .88rem; color: var(--shop-muted); line-height: 1.5; margin: 0 0 14px; }
.priority-card__link { margin-top: auto; font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; }
.priority-card:hover .priority-card__link { color: var(--shop-accent); }
.priority-card:hover .priority-card__image { border-color: #aaa398; }
.shop-quiz { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid var(--shop-line); border-bottom: 1px solid var(--shop-line); }
.shop-quiz h2 { margin: 0 0 12px; }
.shop-quiz p:not(.section-eyebrow) { max-width: 60ch; color: var(--shop-muted); margin: 0; }
.shop-quiz .btn { flex-shrink: 0; }
.shop-founder { display: grid; grid-template-columns: 200px minmax(0, 620px); justify-content: center; gap: 44px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.shop-founder > img { width: 200px; height: 220px; object-fit: cover; border-radius: 6px; }
.shop-founder h2 { margin: 0 0 16px; }
.shop-founder p:not(.section-eyebrow) { color: var(--shop-muted); margin: 0 0 12px; }
.shop-reassurance { padding-top: 28px; padding-bottom: 12px; border-top: 1px solid var(--shop-line); text-align: center; }
.shop-reassurance h2 { margin: 0 0 14px; }
.shop-reassurance p { max-width: 78ch; margin: 0 auto 20px; color: var(--shop-muted); font-size: .94rem; }
.shop-help-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; font-size: .88rem; }
:is(.page-home, .page-products) footer { background: transparent; border-color: var(--shop-line); }

.page-products .products-hero { max-width: 1200px; margin: 0 auto; padding: 28px 24px 18px; }
.page-products .products-hero__inner { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.page-products .page-heading--products { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; text-align: left; }
.page-products .products-hero__lead { font-size: .96rem; color: var(--shop-muted); }
.page-products .category-jump { max-width: 1200px; padding: 0 24px; margin-bottom: 0; }
.page-products .category-jump__inner { padding: 10px 0; border: 0; border-top: 1px solid var(--shop-line); border-bottom: 1px solid var(--shop-line); border-radius: 0; background: none; box-shadow: none; gap: 8px; }
.page-products .category-jump__label { font-size: .78rem; font-weight: 600; }
.page-products .category-jump__link { min-height: 44px; padding: 10px; border: 0; background: none; border-radius: 4px; color: var(--shop-ink); font-size: .84rem; font-weight: 500; }
.page-products .category-jump__link:hover { background: #ece5da; }
.priority-products--compact { padding-top: 20px; padding-bottom: 22px; }
.page-products .priority-products--compact h2 { font: 600 .85rem/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; margin: 0 0 12px; }
.priority-products--compact .priority-grid { gap: 12px; }
.priority-products--compact .priority-card { flex-direction: row; align-items: center; gap: 10px; background: #fff; border: 1px solid #eee9e1; border-radius: 6px; padding: 10px; }
.priority-products--compact .priority-card__image { flex: 0 0 60px; padding: 0; border: 0; }
.priority-products--compact .priority-card__image img { height: 82px; }
.priority-products--compact .priority-card__copy { padding: 0; }
.priority-products--compact .priority-card h3 { font-size: 1rem; margin: 3px 0 8px; }
.priority-products--compact .priority-card__link { font-size: .76rem; }
.page-products .products-wrap { max-width: 1200px; padding: 0 24px; }
.page-products .products-group { margin-top: 0; padding-top: 16px; scroll-margin-top: 100px; }
.page-products .products-group__head { background: none; border: 0; box-shadow: none; padding: 0; margin-bottom: 18px; }
.page-products .products-group__head h2 { margin: 0 0 8px; }
.page-products .products-group__intro { color: var(--shop-muted); font-size: .92rem; }
.page-products .products-group::after { background: var(--shop-line); margin: 28px 0 12px; }
.page-products .products-grid--grouped { gap: 20px; }
.page-products .product-card { padding: 18px; border-radius: 6px; border-color: #eee9e1; background: #fff; box-shadow: none; align-items: stretch; text-align: left; transition: border-color .15s ease; }
.page-products .product-card:hover,
.page-products .product-card.is-in-stock { transform: none; box-shadow: none; }
.page-products .product-card:hover { border-color: #aaa398; }
.page-products .product-card img { height: 190px; margin-bottom: 14px; }
.page-products .product-card > .modal-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 190px;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}
.page-products .product-card > .modal-trigger img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}
.page-products .product-card h3 { font-size: 1.3rem; line-height: 1.25; margin-top: 0; scroll-margin-top: 320px; }
.page-products .product-card .small { color: var(--shop-muted); line-height: 1.55; margin: 8px 0 16px; }
.page-products .product-card .price { margin: auto 0 4px; font-size: 1.05rem; font-weight: 600; }
.page-products .stock-message { font-size: .8rem; font-weight: 500; }
.page-products .seo-block { max-width: 1152px; padding: 28px 0 0; margin: 36px auto 0; border-top: 1px solid var(--shop-line); background: none; box-shadow: none; }
.page-products .seo-block h2 { font-size: 1.5rem; }
.page-products .seo-block p,
.page-products .seo-block li { color: var(--shop-muted); }
.page-products .seo-block a { color: var(--shop-ink); border-bottom-color: #aaa398; }
.shop-catalog-help { max-width: 1200px; margin: 20px auto 0; padding: 0 24px; font-size: .9rem; color: var(--shop-muted); }

@media (max-width: 899px) {
  body > header { position: static; }
  body > header .wrap { gap: 12px 20px; justify-content: center; }
  body > header nav ul { justify-content: center; gap: 0 18px; }
  body > header nav ul li a, body > header .dropbtn { font-size: .8rem; }
  .shop-hero { gap: 24px; }
  .priority-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-quiz { align-items: flex-start; flex-direction: column; gap: 20px; }
  .page-products .product-card h3 { scroll-margin-top: 240px; }
  .page-products .products-group { scroll-margin-top: 20px; }
  .page-products .seo-block { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 600px) {
  body > header .wrap { padding: 10px 16px; }
  body > header .logo img { height: 44px; }
  body > header nav ul { gap: 0 16px; }
  body > header .dropdown-content { left: 50%; transform: translateX(-50%); }
  .shop-hero, .priority-products, .shop-quiz, .shop-founder, .shop-reassurance { padding-left: 16px; padding-right: 16px; }
  .shop-hero { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 12px; gap: 20px; }
  .shop-hero h1 { font-size: 2.2rem; }
  .shop-hero__actions { gap: 10px; margin-top: 18px; }
  .shop-hero__actions .btn { flex: 1; padding-left: 10px; padding-right: 10px; font-size: .86rem; }
  .shop-hero__media { height: 158px; padding: 8px; gap: 20px; }
  .shop-hero__bottle { width: 100px; height: 142px; }
  .shop-hero__jar { width: 150px; height: 140px; }
  .priority-grid { gap: 22px 12px; }
  .priority-card__image { padding: 10px; }
  .priority-card__image img { height: 138px; }
  .priority-card h3 { font-size: 1.1rem; }
  .priority-card p { font-size: .83rem; }
  .shop-founder { grid-template-columns: 1fr; gap: 22px; padding-top: 32px; padding-bottom: 32px; }
  .shop-founder > img { width: 144px; height: 158px; }
  .shop-reassurance { text-align: left; }
  .shop-help-links { justify-content: flex-start; }
  .page-products .products-hero { padding: 22px 16px 16px; }
  .page-products .category-jump, .page-products .products-wrap { padding-left: 16px; padding-right: 16px; }
  .priority-products--compact .priority-grid { gap: 10px; }
  .priority-products--compact .priority-card { gap: 8px; padding: 8px; }
  .priority-products--compact .priority-card__image { flex-basis: 36px; }
  .priority-products--compact .priority-card__image img { height: 66px; }
  .priority-products--compact .priority-card h3 { font-size: .93rem; }
  .page-products .seo-block { margin-left: 16px; margin-right: 16px; }
  .shop-catalog-help { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.page-home, .page-products) .btn,
  .page-products .product-card { transition: none; }
}

/* Keep product discovery close on the narrowest phones. */
@media (max-width: 360px) {
  .shop-hero h1 { font-size: 1.95rem; }
  .shop-hero__media { height: 124px; }
  .shop-hero__bottle { height: 108px; }
  .shop-hero__jar { height: 106px; }
}

/* Beta Booster bottle proportions: 20% taller at the existing width.
   Reserve the extra vertical space so the cap/base never overlaps nearby content. */
img[src*="Beta"][src*="Booster"] {
  scale: 1 1.2;
  transform-origin: center bottom;
}
.shop-hero__media:has(.shop-hero__bottle[src*="Beta"][src*="Booster"]) {
  height: 328.8px;
}
.priority-card__image:has(> img[src*="Beta"][src*="Booster"]) {
  padding-top: 49.2px;
}
.priority-products--compact .priority-card__image:has(> img[src*="Beta"][src*="Booster"]) {
  padding: 16.4px 0 0;
}
.product-card img[src*="Beta"][src*="Booster"] {
  margin-top: 40px;
}
.page-products .product-card > .modal-trigger:has(> img[src*="Beta"][src*="Booster"]) {
  height: 228px;
  align-items: flex-end;
}
.page-products .product-card > .modal-trigger img[src*="Beta"][src*="Booster"] {
  height: 190px;
  margin: 0;
}
.quiz-product:has(> img[src*="Beta"][src*="Booster"]) {
  grid-template-rows: 228px 1fr;
}
.quiz-product > img[src*="Beta"][src*="Booster"] {
  height: 190px;
  align-self: end;
}
.cart-item .thumb[src*="Beta"][src*="Booster"] {
  margin-top: 11.2px;
}
@media (max-width: 600px) {
  .shop-hero__media:has(.shop-hero__bottle[src*="Beta"][src*="Booster"]) {
    height: 186.4px;
  }
  .priority-card__image:has(> img[src*="Beta"][src*="Booster"]) {
    padding-top: 37.6px;
  }
  .priority-products--compact .priority-card__image:has(> img[src*="Beta"][src*="Booster"]) {
    padding: 13.2px 0 0;
  }
}
@media (max-width: 360px) {
  .shop-hero__media:has(.shop-hero__bottle[src*="Beta"][src*="Booster"]) {
    height: 145.6px;
  }
}
