/* ==========================================================================
   CAPRI Alternative — design system  (v2: Capri / Amalfi longevity lifestyle)
   Cinematic near-black navy, warm gold, frosted glass over Mediterranean imagery.
   Shared between the static preview and the `capri` WordPress block theme.
   Tokens mirror capri/theme.json.
   ========================================================================== */

:root {
  /* Palette — lighter royal/label blue (lifted from near-black navy), light text, gold accents */
  --bg:        #205fa8;   /* page background, lighter label-style royal blue */
  --bg-2:      #1a5093;   /* raised panel, slightly deeper */
  --navy:      #0B2545;
  --navy-700:  #102f57;
  --gold:      #C2A14D;
  --gold-bright:#E6C972;
  --gold-deep: #A8853A;
  --offwhite:  #FAF9F6;
  --text:      #EAE6DF;   /* body on blue */
  --muted:     #c3d3e2;   /* muted, lightened for the lighter blue bg */
  --line:      rgba(255,255,255,0.14);
  --glass:     rgba(255,255,255,0.055);
  --glass-2:   rgba(255,255,255,0.085);
  --glass-border: rgba(255,255,255,0.16);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Anton", "Inter", sans-serif; /* heavy condensed — matches the physical product labels */

  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px;

  --maxw: 1200px;
  --radius: 12px;
  --shadow: 0 10px 40px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 70px rgba(0,0,0,0.5);

  --gold-gradient: linear-gradient(180deg, #F0D98A 0%, #D8BB63 45%, #B68F38 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--gold); }

h1,h2,h3,h4 {
  font-family: var(--serif); color: var(--offwhite);
  font-weight: 500; line-height: 1.08; margin: 0 0 var(--s-4);
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); letter-spacing: 0.5px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 var(--s-4); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-5); }

.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.72rem; font-weight: 600; color: var(--gold); margin: 0 0 var(--s-3);
}

.skip-link { position: absolute; left:-999px; top:0; background: var(--gold); color: var(--navy); padding: var(--s-3) var(--s-4); z-index: 1000; font-weight: 600; }
.skip-link:focus { left: var(--s-4); top: var(--s-4); }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------- Brand wordmark */
.brand-mark { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1; }
.brand-mark .rocks { color: var(--offwhite); }
.brand-mark .name {
  font-family: var(--serif); color: var(--offwhite);
  font-size: 1.55rem; font-weight: 500; letter-spacing: 0.42em;
  padding-left: 0.42em; /* optical centering for tracking */
}
.brand-mark .sub {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 0.52rem; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--gold); padding-left: 0.42em;
}
.brand-mark .sub::before, .brand-mark .sub::after { content:""; height:1px; width:18px; background: var(--gold); opacity: 0.7; }

/* --------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--sans); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; min-height: 48px; transition: all 0.2s ease;
}
.btn-gold { background: var(--gold-gradient); color: #2a1f06; box-shadow: 0 6px 22px rgba(214,187,99,0.28); }
.btn-gold:hover { color: #2a1f06; filter: brightness(1.06); transform: translateY(-1px); }
.btn-navy { background: rgba(11,37,69,0.7); color: var(--offwhite); border-color: rgba(255,255,255,0.18); backdrop-filter: blur(6px); }
.btn-navy:hover { background: var(--navy-700); color: var(--offwhite); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold-bright); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-ghost { background: transparent; border-color: var(--glass-border); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-block { width: 100%; }
.btn-square { border-radius: 10px; }

/* --------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,12,22,0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 82px; }
.brand { display: flex; align-items: center; }
.brand .brand-mark .name { font-size: 1.3rem; }
.main-nav ul { list-style: none; display: flex; gap: var(--s-7); margin: 0; padding: 0; }
.main-nav a { color: var(--offwhite); font-weight: 500; font-size: 1rem; padding: 8px 2px; position: relative; }
.main-nav a::after { content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background: var(--gold); transition: width 0.22s ease; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after, .main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: var(--s-5); }
.icon-link { color: var(--offwhite); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center; }
.icon-link:hover { color: var(--gold-bright); }
.icon-link .count { background: var(--gold); color: var(--navy); font-size: 0.7rem; font-weight: 700; border-radius: 999px; padding: 1px 7px; }
.hamburger { display: none; background: none; border: 0; color: var(--offwhite); width: 44px; height: 44px; cursor: pointer; }

/* --------------------------------------------------------- Hero (full-bleed cinematic) */
.hero {
  position: relative; min-height: 88vh; display: grid; align-items: end;
  padding-bottom: 12vh;
  text-align: center; color: #fff; overflow: hidden;
  /* TODO_HERO: drop a golden-hour Capri photo at assets/img/hero.jpg.
     Fallback gradient below keeps it looking intentional until then. */
  background:
    linear-gradient(180deg, rgba(7,15,26,0.30) 0%, rgba(7,15,26,0.55) 55%, rgba(7,15,26,0.95) 100%),
    radial-gradient(120% 80% at 25% 35%, #c98a3c 0%, #5d4a2e 30%, #0d1726 70%),
    var(--bg);
  background-size: cover; background-position: center;
}
.hero::after { content:""; position:absolute; inset:0; box-shadow: inset 0 -60px 80px -55px var(--bg); pointer-events:none; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin: 0 0 var(--s-4); text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.hero .lead { font-size: 1.25rem; color: #eef2f7; max-width: 640px; margin: 0 auto var(--s-6); text-shadow: 0 1px 16px rgba(0,0,0,0.5); }
.hero-cta { display: flex; gap: var(--s-4); flex-wrap: wrap; justify-content: center; }
.trust-row { display: flex; gap: var(--s-5); justify-content: center; align-items: center; margin-top: var(--s-7); flex-wrap: wrap; }
.trust-row .item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #e9edf2; }
.trust-row .item svg { color: var(--gold); flex: none; }
.trust-row .sep { width: 1px; height: 20px; background: var(--line); }

/* --------------------------------------------------------- Sections */
.section { padding: var(--s-9) 0; position: relative; }
.section-tight { padding: var(--s-8) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto var(--s-7); }
.section-head h2 { margin-bottom: var(--s-3); }
.section-head .rule { width: 60px; height: 2px; background: var(--gold); margin: var(--s-3) auto 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Sea backdrop for product sections (placeholder until real imagery) */
.sea-bg {
  background:
    linear-gradient(180deg, rgba(7,15,26,0.85), rgba(7,15,26,0.97)),
    radial-gradient(100% 60% at 50% 0%, #16314f 0%, #0a1424 60%, var(--bg) 100%);
}

/* --------------------------------------------------------- Trust feature cards */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.glass {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.trust-card { padding: var(--s-6); text-align: center; display: flex; flex-direction: column; }
.trust-card .ic { width: 54px; height: 54px; margin: 0 auto var(--s-4); display: grid; place-items: center; border-radius: 50%; background: rgba(194,161,77,0.16); color: var(--gold-bright); }
.trust-card h3 { color: var(--offwhite); font-size: 1.35rem; }
.trust-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.trust-card a.link { color: var(--gold-bright); font-weight: 600; }
.trust-card a.link:hover { color: var(--gold); }

/* --------------------------------------------------------- Product grid (glass cards) */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.product-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(10px);
  display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: center;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(230,201,114,0.45); }
.product-media { aspect-ratio: 1/1; display: grid; place-items: center; padding: var(--s-5); position: relative; }
.product-media .vial {
  width: 64px; height: 120px; border-radius: 8px 8px 10px 10px; position: relative;
  background: linear-gradient(100deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.18);
}
.product-media .vial::before { content:""; position:absolute; top:-10px; left:50%; transform:translateX(-50%); width:34px; height:14px; background:#2a2f36; border-radius:4px; }
.product-media .vial::after { content:attr(data-label); position:absolute; left:50%; top:46%; transform:translate(-50%,-50%); width:80%; text-align:center; font-family:var(--serif); color: var(--gold-bright); font-size:0.74rem; letter-spacing:0.04em; line-height:1.15; }

/* Capsule / pill bottle (white, wider, rounded) */
.product-media .pillbottle, .pdp-media .pillbottle-lg {
  width: 78px; height: 118px; border-radius: 14px 14px 12px 12px; position: relative;
  background: linear-gradient(100deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.22);
}
.product-media .pillbottle::before, .pdp-media .pillbottle-lg::before { content:""; position:absolute; top:-12px; left:50%; transform:translateX(-50%); width:52px; height:16px; background:#e9e9ec; border-radius:5px; }
.product-media .pillbottle::after, .pdp-media .pillbottle-lg::after { content:attr(data-label); position:absolute; left:50%; top:52%; transform:translate(-50%,-50%); width:80%; text-align:center; font-family:var(--serif); color: var(--navy-700); font-size:0.72rem; line-height:1.15; }
.product-media .pillbottle, .pdp-media .pillbottle-lg { box-shadow: inset 0 0 0 6px rgba(255,255,255,0.06); }

/* Blue dropper serum bottle */
.product-media .dropper, .pdp-media .dropper-lg {
  width: 60px; height: 124px; border-radius: 8px 8px 12px 12px; position: relative;
  background: linear-gradient(100deg, #1f4f8a, #0e2c52); border: 1px solid rgba(120,160,210,0.5);
}
.product-media .dropper::before, .pdp-media .dropper-lg::before { content:""; position:absolute; top:-20px; left:50%; transform:translateX(-50%); width:26px; height:24px; background:#f2f2f4; border-radius:6px 6px 3px 3px; }
.product-media .dropper::after, .pdp-media .dropper-lg::after { content:attr(data-label); position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:80%; text-align:center; font-family:var(--serif); color: #cfe0f5; font-size:0.7rem; line-height:1.15; }

/* Large vessels on PDP */
.pdp-media .pillbottle-lg { width: 130px; height: 200px; }
.pdp-media .pillbottle-lg::before { width: 90px; height: 28px; top:-18px; }
.pdp-media .dropper-lg { width: 96px; height: 210px; }
.pdp-media .dropper-lg::before { width: 40px; height: 40px; top:-32px; }
.product-body { padding: 0 var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body .cat { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; }
.product-body h3 { color: var(--offwhite); font-size: 1.25rem; margin: 0; }
.product-body .mg { color: var(--muted); font-size: 0.85rem; }
.product-body .coa { font-size: 0.8rem; font-weight: 600; color: var(--gold-bright); }
.product-body .coa.todo { color: var(--muted); }
.product-body .price { font-size: 1.3rem; font-weight: 700; color: var(--offwhite); margin: var(--s-2) 0; }
.product-body .qv { font-size: 0.82rem; color: var(--muted); margin-top: var(--s-2); }
.product-body .qv:hover { color: var(--gold-bright); }

/* --------------------------------------------------------- Verified / lifestyle band */
.verified-band {
  text-align: center; padding: var(--s-9) 0; position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,15,26,0.78), rgba(7,15,26,0.92)),
    radial-gradient(80% 120% at 80% 0%, #b07a35 0%, #2a2a2e 35%, var(--bg) 70%);
}
.verified-band h2 { color: #fff; }
.verified-band p { color: #e3e8ee; max-width: 640px; margin: 0 auto var(--s-6); }

/* --------------------------------------------------------- Shop */
.page-hero { padding: var(--s-9) 0 var(--s-7); text-align: center; position: relative; background: var(--sea-bg, var(--bg-2)); }
.page-hero { background: linear-gradient(180deg, rgba(7,15,26,0.6), var(--bg)), radial-gradient(100% 80% at 50% -20%, #16314f, var(--bg)); }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.shop-layout { display: grid; grid-template-columns: 230px 1fr; gap: var(--s-7); }
.filters { position: sticky; top: 100px; align-self: start; }
.filters h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; color: var(--muted); }
.filters ul { list-style: none; margin: 0 0 var(--s-6); padding: 0; }
.filters li { margin-bottom: var(--s-2); }
.filters a { color: var(--text); font-size: 0.95rem; }
.filters a.active, .filters a:hover { color: var(--gold-bright); font-weight: 600; }

/* --------------------------------------------------------- Single product (glass panel) */
.pdp-wrap { position: relative; padding: var(--s-9) 0; }
.pdp { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); align-items: start; }
.pdp-media { display: grid; place-items: center; padding: var(--s-6); }
.pdp-media .vial-lg { width: 120px; height: 230px; border-radius: 10px 10px 14px 14px; position: relative; background: linear-gradient(100deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.2); box-shadow: var(--shadow-lg); }
.pdp-media .vial-lg::before { content:""; position:absolute; top:-16px; left:50%; transform:translateX(-50%); width:60px; height:22px; background:#23272e; border-radius:6px; }
.pdp .back { color: var(--gold-bright); font-size: 0.9rem; display: inline-block; margin-bottom: var(--s-5); }
.pdp h1 { color: #fff; font-size: clamp(2.2rem,4vw,3rem); margin-bottom: 0; }
.pdp .product-name { color: var(--gold-bright); }
.pdp .sub { font-style: italic; color: var(--muted); font-family: var(--serif); font-size: 1.3rem; margin-bottom: var(--s-4); }
.pdp .desc { color: var(--text); }
.bullets { list-style: none; padding: 0; margin: var(--s-5) 0; }
.bullets li { position: relative; padding-left: 22px; margin-bottom: var(--s-3); color: var(--text); }
.bullets li::before { content:""; position:absolute; left:0; top:9px; width:7px; height:7px; border-radius:50%; background: var(--gold); }

.buy-box { padding: var(--s-5); margin: var(--s-5) 0; }
.buy-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--glass-border); border-radius: 8px; overflow: hidden; }
.qty-stepper button { background: transparent; border: 0; color: var(--offwhite); width: 42px; height: 44px; font-size: 1.2rem; cursor: pointer; }
.qty-stepper input { width: 48px; height: 44px; text-align: center; background: transparent; border: 0; color: #fff; font-size: 1rem; }
.buy-box .price { font-size: 1.8rem; font-weight: 700; color: #fff; font-family: var(--serif); }
.cart-summary { border-top: 1px solid var(--line); margin-top: var(--s-4); padding-top: var(--s-4); }
.cart-summary .row { display: flex; justify-content: space-between; color: var(--text); margin-bottom: var(--s-2); }
.cart-summary .row strong { color: #fff; }

.spec-list { list-style: none; padding: 0; margin: var(--s-5) 0; }
.spec-list li { display: flex; justify-content: space-between; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { font-weight: 600; color: #fff; }

.ruo-notice { background: rgba(194,161,77,0.08); border-left: 3px solid var(--gold); color: var(--muted); font-size: 0.85rem; padding: var(--s-3) var(--s-4); border-radius: 6px; margin-top: var(--s-5); }

.sticky-cart { position: fixed; left:0; right:0; bottom:0; z-index: 90; background: rgba(8,16,28,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: var(--s-3) var(--s-4); display:none; align-items:center; justify-content: space-between; gap: var(--s-3); }
.sticky-cart .price { font-size: 1.2rem; font-weight: 700; color: #fff; }

/* --------------------------------------------------------- COAs table */
.coa-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); }
.coa-table th, .coa-table td { text-align: left; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.coa-table th { background: rgba(11,37,69,0.6); color: #fff; font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.coa-table td { color: var(--text); }
.coa-table tr:last-child td { border-bottom: 0; }
.tag-todo { background: rgba(255,255,255,0.08); color: var(--muted); font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.tag-ready { background: rgba(194,161,77,0.2); color: var(--gold-bright); font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

/* --------------------------------------------------------- Account / login */
.auth-wrap { max-width: 880px; margin: 0 auto; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.auth-card { padding: var(--s-7); }
.auth-card h2 { color: #fff; font-size: 1.8rem; }
.field { margin-bottom: var(--s-4); }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.03em; }
.field input { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.04); color: #fff; font-size: 1rem; }
.field input:focus { border-color: var(--gold); outline: none; }
.auth-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: var(--s-4); }

/* --------------------------------------------------------- Footer */
.site-footer { background: #050b14; color: #9fb0c2; padding: var(--s-8) 0 var(--s-5); margin-top: var(--s-9); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s-6); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s-3); }
.site-footer a { color: #9fb0c2; font-size: 0.95rem; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-brand p { font-size: 0.92rem; margin-top: var(--s-4); max-width: 300px; }
.footer-contact a { color: var(--gold-bright); }
.disclaimer { border-top: 1px solid var(--line); margin-top: var(--s-7); padding-top: var(--s-5); font-size: 0.82rem; color: #7f93bd; font-style: italic; letter-spacing: 0.012em; line-height: 1.7; }
.disclaimer p { font-style: italic; }
.disclaimer .ruo { color: #9db1da; margin-bottom: var(--s-2); }
/* Soft, pretty legal text — light blue, gently slanted, low contrast on the dark bg. */
.co-usage, .co-usage p { color: #7f93bd !important; font-style: italic; line-height: 1.7; }
.co-usage p:first-child { color: #a3b6dd !important; }
.brand-note p { color: #8296bf !important; font-style: italic; }
.tagline-strip { text-align: center; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold); margin-bottom: var(--s-6); }

/* --------------------------------------------------------- Age gate */
.age-gate { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(4,9,16,0.85); backdrop-filter: blur(6px); padding: var(--s-4); }
.age-gate.open { display: flex; }
.age-card { max-width: 460px; width: 100%; padding: var(--s-7); text-align: center; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg); }
.age-card .brand-mark { margin: 0 auto var(--s-4); }
.age-card p { color: var(--muted); font-size: 0.95rem; }
.age-actions { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.age-actions .btn { flex: 1; }
.age-card .legal-note { font-size: 0.72rem; margin-top: var(--s-4); }

/* --------------------------------------------------------- Mobile nav */
.mobile-nav { position: fixed; top:0; right:0; bottom:0; width: min(320px,85vw); background: var(--bg-2); z-index: 200; transform: translateX(100%); transition: transform 0.25s ease; padding: var(--s-6); overflow-y: auto; border-left: 1px solid var(--line); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { list-style: none; padding: 0; margin: var(--s-6) 0 0; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a { color: var(--offwhite); display: block; padding: var(--s-4) 0; font-size: 1.1rem; }
.mobile-nav .close { background: none; border: 0; color: var(--offwhite); font-size: 1.7rem; cursor: pointer; }
.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 199; display: none; }
.nav-overlay.open { display: block; }

.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: var(--s-5); }
.crumbs a { color: var(--gold-bright); }
.todo-flag { display: inline-block; background: rgba(230,201,114,0.12); color: var(--gold-bright); border: 1px dashed var(--gold-deep); font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: 0.04em; text-transform: uppercase; }
/* Hide all "pending / awaiting / TODO / COA pending / not verified" status flags site-wide while COAs are being finalized (owner request 2026-07-02, COAs arriving next week). Delete this one line to bring the pending badges back once COA PDFs are uploaded. */
.todo-flag, .coa.todo, .tag-todo { display: none !important; }

/* ========================================================= Responsive */
@media (max-width: 1080px) {
  .product-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid, .product-grid.cols-3, .product-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: var(--s-6); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters h4 { width: 100%; margin-bottom: 8px; }
  .filters ul { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--s-5); }
  .filters li { margin-bottom: 0; }
  .filters li a { display: inline-block; padding: 9px 16px; border: 1px solid var(--glass-border);
    border-radius: 999px; background: var(--glass); font-size: 0.9rem; color: var(--text); }
  .filters li a.active { background: rgba(194,161,77,0.18); border-color: var(--gold-bright); color: #fff; font-weight: 600; }
  .auth-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .main-nav, .icon-link.account-text { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .hero-cta .btn { flex: 1; }
  .trust-row { gap: var(--s-3); }
  .trust-row .sep { display: none; }
  .sticky-cart { display: flex; }
  .pdp-wrap { padding-bottom: 90px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .product-grid, .product-grid.cols-3, .product-grid.cols-6 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v3 additions — official logo image, label-style product titles,
   Quick View modal, research-focus lists
   ========================================================================== */

/* Official logo (assets/img/logo.png). Falls back to the inline mark until present. */
.brand .logo-img { height: 52px; width: auto; display: block; }
.site-header .brand .logo-img { height: 46px; }
.footer-brand .logo-img { height: 64px; margin-bottom: var(--s-3); }
.login-logo .logo-img { height: 150px; margin: 0 auto; filter: drop-shadow(0 0 22px rgba(150,190,240,0.35)); }
.age-card .logo-img { height: 84px; margin: 0 auto var(--s-3); }

/* Product titles in the heavy condensed label face */
.product-body h3, .pdp h1 .pname { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.98; }
.product-body h3 { font-size: 1.2rem; }
.pdp h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; font-size: clamp(2.4rem, 5vw, 3.6rem); color:#fff; }
.pdp .sub { font-style: normal; font-family: var(--sans); font-weight: 600; color: #cdd9ec; font-size: 1.05rem; letter-spacing: 0.02em; }

/* Dose pill (matches label) */
.dose-pill { display:inline-block; border:1px solid var(--glass-border); border-radius:999px; padding:6px 18px; font-weight:600; font-size:0.95rem; color:#fff; margin: var(--s-2) 0 var(--s-4); }

/* Section heading style on PDP (PRODUCT DESCRIPTION / RESEARCH FOCUS) */
.pdp-section { border-top:1px solid var(--line); padding-top: var(--s-5); margin-top: var(--s-5); }
.pdp-section h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--gold-bright); margin-bottom: var(--s-3); }
.pdp-section p { color: var(--text); }

/* Research-focus list with gold check circles */
.focus-list { list-style:none; padding:0; margin:0; }
.focus-list li { position:relative; padding-left: 30px; margin-bottom: var(--s-3); color: var(--text); }
.focus-list li::before {
  content:""; position:absolute; left:0; top:2px; width:18px; height:18px; border-radius:50%;
  background: var(--gold-gradient);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/></svg>") center/12px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/></svg>") center/12px no-repeat;
  box-shadow: 0 0 0 2px rgba(230,201,114,0.25);
}

/* Quick View modal */
.qv-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: var(--s-4); background: rgba(4,9,16,0.8); backdrop-filter: blur(6px); }
.qv-modal.open { display: flex; }
.qv-card { background: var(--bg-2); border: 1px solid var(--glass-border); border-radius: 16px; max-width: 880px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 0.8fr 1.2fr; }
.qv-card .qv-media { display: grid; place-items: center; padding: var(--s-7); background: radial-gradient(80% 80% at 50% 30%, #16314f, var(--bg)); border-radius: 16px 0 0 16px; }
.qv-card .qv-body { padding: var(--s-7); position: relative; }
.qv-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.qv-close:hover { color: #fff; }
.qv-body h3 { font-family: var(--display); text-transform: uppercase; color: #fff; font-size: 2rem; font-weight: 400; line-height: 0.98; margin-bottom: 4px; }
.qv-body .qv-compound { color: #cdd9ec; font-weight: 600; }
.qv-body .qv-price { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-bright); margin: var(--s-3) 0; }
.qv-body .desc p { color: var(--text); font-size: 0.95rem; }
@media (max-width: 760px) {
  .qv-card { grid-template-columns: 1fr; }
  .qv-card .qv-media { border-radius: 16px 16px 0 0; padding: var(--s-6); }
}

/* ==========================================================================
   v4 — "Your Plan" 3-step questionnaire + straight-to-checkout
   ========================================================================== */
.quiz-wrap { max-width: 880px; margin: 0 auto; }
.quiz-progress { display: flex; gap: var(--s-2); justify-content: center; margin-bottom: var(--s-7); }
.quiz-progress .dot { height: 5px; width: 64px; border-radius: 999px; background: var(--glass-border); transition: background .25s; }
.quiz-progress .dot.done { background: var(--gold); }
.quiz-progress .dot.active { background: var(--gold-bright); }

.quiz-step { display: none; }
.quiz-step.active { display: block; animation: qfade .3s ease; }
@keyframes qfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-step .step-eyebrow { text-align: center; }
.quiz-step h2 { text-align: center; margin-bottom: var(--s-2); }
.quiz-step .step-hint { text-align: center; color: var(--muted); margin-bottom: var(--s-6); }

.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.option-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.option {
  text-align: left; cursor: pointer; padding: var(--s-5); border-radius: var(--radius);
  background: var(--glass); border: 1.5px solid var(--glass-border); color: var(--text);
  transition: border-color .18s, transform .18s, background .18s; position: relative;
  display: flex; flex-direction: column; gap: 6px; min-height: 96px;
}
.option:hover { transform: translateY(-2px); border-color: rgba(230,201,114,0.5); }
.option.selected { border-color: var(--gold-bright); background: rgba(230,201,114,0.10); }
.option .opt-title { font-family: var(--serif); font-size: 1.35rem; color: #fff; line-height: 1.1; }
.option .opt-sub { font-size: 0.88rem; color: var(--muted); }
.option .opt-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--glass-border); display: grid; place-items: center; color: var(--navy); }
.option.selected .opt-check { background: var(--gold-gradient); border-color: transparent; }
.option.selected .opt-check::after { content: "✓"; font-size: 0.8rem; font-weight: 700; }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s-7); gap: var(--s-4); }
.quiz-nav .spacer { flex: 1; }

/* Results / recommended protocol */
.protocol-list { display: grid; gap: var(--s-4); margin-bottom: var(--s-6); }
.protocol-item { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-border); }
.protocol-item .mini-vessel { flex: none; width: 44px; height: 80px; border-radius: 6px 6px 8px 8px; background: linear-gradient(100deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.2); }
.protocol-item .pi-body { flex: 1; }
.protocol-item .pi-body h4 { font-family: var(--display); text-transform: uppercase; color: #fff; font-size: 1.1rem; font-weight: 400; margin: 0; }
.protocol-item .pi-body small { color: var(--muted); }
.protocol-item .pi-price { font-weight: 700; color: #fff; }
.protocol-total { display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) 0; border-top: 1px solid var(--line); font-size: 1.2rem; }
.protocol-total strong { color: #fff; font-family: var(--serif); font-size: 1.6rem; }
.protocol-email { margin: var(--s-5) 0 var(--s-4); text-align: left; }
.protocol-email label { display: block; font-family: var(--serif); font-size: 1.25rem; color: #fff; margin-bottom: var(--s-3); }
.protocol-email input { width: 100%; box-sizing: border-box; padding: 14px 16px; font-size: 1.05rem; color: #fff;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 10px; }
.protocol-email input::placeholder { color: var(--muted); }
.protocol-email input:focus { outline: none; border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(194,161,77,0.18); }
.protocol-email input.invalid { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217,83,79,0.18); }
.protocol-email .email-note { color: var(--muted); font-size: 0.85rem; margin: var(--s-2) 0 0; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--s-7); align-items: start; }
.order-summary { position: sticky; top: 100px; padding: var(--s-6); }
.order-summary h3 { color: #fff; font-size: 1.4rem; }
.order-line { display: flex; justify-content: space-between; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.order-line:last-of-type { border-bottom: 0; }
.order-grand { display: flex; justify-content: space-between; margin-top: var(--s-4); padding-top: var(--s-4); border-top: 2px solid var(--gold); font-size: 1.2rem; }
.order-grand strong { color: #fff; }
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.checkbox-row { display: flex; gap: var(--s-3); align-items: flex-start; margin: var(--s-4) 0; font-size: 0.9rem; color: var(--muted); }
.checkbox-row input { margin-top: 4px; }
.card-badge { font-size: 0.78rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-top: var(--s-2); }

/* Payment method selector (Card / PayPal / Zelle) */
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin: var(--s-3) 0 var(--s-5); }
.pay-method { position: relative; cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method .pm-face { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px;
  border: 1px solid var(--glass-border); border-radius: 10px; color: #e9eef6; font-weight: 600; font-size: 0.95rem;
  background: var(--glass); transition: border-color .15s, background .15s; }
.pay-method input:checked + .pm-face { border-color: var(--gold-bright); background: rgba(194,161,77,0.16); color: #fff; }
.pay-method input:focus-visible + .pm-face { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.zelle-box { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; padding: var(--s-4);
  border: 1px solid var(--glass-border); border-radius: 12px; background: var(--glass); }
.zelle-info { display: flex; flex-direction: column; gap: 4px; }
.zelle-info .zelle-name { font-weight: 700; color: #fff; letter-spacing: 0.02em; }
.zelle-info a { color: var(--gold-bright); font-size: 1.1rem; font-weight: 600; }
.zelle-info .zelle-hint { color: var(--muted); font-size: 0.82rem; }
.zelle-qr { width: 150px; height: 150px; border-radius: 10px; background: #fff; padding: 8px; box-sizing: border-box; }
.zelle-noqr { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } .order-summary { position: static; } .option-grid, .option-grid.cols-3 { grid-template-columns: 1fr; } .pay-row { grid-template-columns: 1fr; } }

/* Real product photos (with fallback to vessel placeholders) */
.product-media .product-photo { max-height: 80%; max-width: 78%; width: auto; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4)); }
.pdp-media .product-photo.big { max-height: 380px; max-width: 100%; width: auto; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 12px 36px rgba(0,0,0,0.5)); }
.qv-media .product-photo.big { max-height: 260px; max-width: 100%; width: auto; margin: 0 auto; object-fit: contain; }

/* ==========================================================================
   v6 — CSS-rendered labeled bottles (vial / dropper / pill) built from catalog
   Mirrors the real Capri labels so products look enticing without photo files.
   Everything sized in em; .bottle font-size sets the scale.
   ========================================================================== */
.bottle { font-size: 8.5px; position: relative; display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 1.2em 1.6em rgba(0,0,0,0.45)); }
.bottle.lg { font-size: 16.5px; }

.bottle .cap { width: 6.2em; height: 1.8em; background: linear-gradient(180deg,#343436,#0d0d0f); border-radius: 0.5em 0.5em 0.25em 0.25em; position: relative; z-index: 4; }
.bottle .collar { width: 6.5em; height: 1.5em; background: linear-gradient(180deg,#eef0f2 0%,#aeb2b8 55%,#d6d9dd 100%); border-radius: 0.2em; margin-top: -0.15em; z-index: 3; box-shadow: inset 0 -0.2em 0.3em rgba(0,0,0,0.25); }
.bottle .neck { width: 5.2em; height: 1em; background: linear-gradient(180deg, rgba(235,242,250,0.7), rgba(235,242,250,0.2)); border: 1px solid rgba(180,200,220,0.5); border-bottom: 0; margin-top: -0.1em; z-index: 2; }
.bottle .glass {
  width: 11.6em; height: 17.5em; border-radius: 0.7em 0.7em 1em 1em; position: relative; margin-top: -0.15em; z-index: 1;
  background: linear-gradient(105deg, rgba(255,255,255,0.5) 0%, rgba(210,225,240,0.18) 45%, rgba(255,255,255,0.42) 100%);
  border: 1px solid rgba(210,228,245,0.55); box-shadow: inset 0.4em 0 0.8em rgba(255,255,255,0.35), inset -0.4em 0 0.8em rgba(120,150,180,0.18);
  overflow: hidden;
}
.bottle .glass::before { content:""; position:absolute; top:0.6em; left:1.2em; width:1.1em; height:60%; border-radius:1em; background:linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0)); }

.bottle .label { position: absolute; left: 0.45em; right: 0.45em; top: 4.6em; background: #fff; border-radius: 0.35em; padding: 0.6em 0.55em 0.65em; color: #0B2545; text-align: center; box-shadow: 0 0.25em 0.7em rgba(0,0,0,0.18); }
.bottle .label .lh { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.bottle .label .lh-rocks { height: 1.05em; width: auto; margin-bottom: 0.15em; }
.bottle .label .lh-name { font-family: var(--serif); font-weight: 600; letter-spacing: 0.28em; font-size: 1.25em; color: #13294e; line-height: 1; padding-left: 0.28em; }
.bottle .label .lh-sub { font-size: 0.5em; letter-spacing: 0.34em; color: #13294e; margin-top: 0.2em; }
.bottle .label .lbl-band { background: #13294e; color: #fff; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.35em; line-height: 1.05; padding: 0.18em 0.25em; border-radius: 0.18em; margin: 0.45em 0 0.3em; word-break: break-word; }
.bottle .label .lbl-compound { font-size: 0.62em; font-weight: 600; letter-spacing: 0.03em; color: #1b3a63; line-height: 1.15; }
.bottle .label .lbl-dose { font-weight: 700; font-size: 0.8em; margin-top: 0.25em; color: #0B2545; }
.bottle .label .lbl-meta { font-size: 0.6em; font-weight: 600; letter-spacing: 0.07em; border-top: 1px solid #d8dee8; border-bottom: 1px solid #d8dee8; padding: 0.28em 0; margin: 0.35em 0; color: #1b3a63; }
.bottle .label .lbl-usa { font-size: 0.58em; font-weight: 700; letter-spacing: 0.05em; color: #0B2545; }
.bottle .label .lbl-usa .flag { color: #b22234; }
.bottle .label .lbl-ruo { font-size: 0.54em; letter-spacing: 0.05em; color: #1b3a63; margin-top: 0.1em; }
.bottle .label .lbl-badges { display: flex; justify-content: space-between; gap: 0.25em; border-top: 1px solid #d8dee8; margin-top: 0.35em; padding-top: 0.35em; }
.bottle .label .lbl-badges span { font-size: 0.4em; font-weight: 700; line-height: 1.15; color: #13294e; letter-spacing: 0.02em; flex: 1; }

/* Blue dropper (Glow Serum) */
.bottle--dropper .glass { width: 9.6em; height: 16.5em; background: linear-gradient(105deg,#2c63a8 0%,#0e2f5a 45%,#2a5896 100%); border-color: rgba(150,185,225,0.55); }
.bottle--dropper .glass::before { background: linear-gradient(rgba(255,255,255,0.35),rgba(255,255,255,0)); }
.bottle--dropper .cap { width: 3.6em; height: 3em; background: linear-gradient(180deg,#fbfbfc,#e6e7ea); border-radius: 1.6em 1.6em 0.4em 0.4em; }
.bottle--dropper .collar { width: 5.4em; height: 2.4em; background: linear-gradient(180deg,#fdfdfd,#dfe0e3); border-radius: 0.25em; }
.bottle--dropper .neck { display: none; }
.bottle--dropper .label { top: 4.2em; left: 0.3em; right: 0.3em; }

/* White pill bottle (Oral Appetite Suppressant) */
.bottle--pill .glass { width: 11.4em; height: 15.2em; background: linear-gradient(105deg,#ffffff 0%,#e7e9ec 50%,#ffffff 100%); border-color: rgba(0,0,0,0.06); border-radius: 0.5em 0.5em 0.8em 0.8em; }
.bottle--pill .glass::before { background: linear-gradient(rgba(255,255,255,0.7),rgba(255,255,255,0)); }
.bottle--pill .cap { width: 8.4em; height: 2.8em; background: repeating-linear-gradient(90deg,#fbfbfc,#fbfbfc 0.25em,#e9ebed 0.25em,#e9ebed 0.45em); border-radius: 0.35em 0.35em 0.2em 0.2em; }
.bottle--pill .collar, .bottle--pill .neck { display: none; }
.bottle--pill .label { top: 3.2em; box-shadow: none; border: 1px solid #eef0f3; }

/* Bottle thumbnails in protocol results + checkout summary */
.protocol-item .pi-thumb { flex: none; display: inline-flex; }
.protocol-item .pi-thumb .bottle { font-size: 3.4px; filter: none; }
.order-line .ol-name { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
.order-line .ol-thumb { flex: none; display: inline-flex; }
.order-line .ol-thumb .bottle { font-size: 2.6px; filter: none; }

/* Cart line: thumb/name · qty stepper · price · remove */
.order-line { flex-wrap: wrap; gap: 8px; align-items: center; }
.order-line .ol-qty { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.order-line .ol-qty button { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--glass-border);
  background: var(--glass); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.order-line .ol-qty button:hover { border-color: var(--gold-bright); }
.order-line .ol-qty b { min-width: 16px; text-align: center; color: #fff; }
.order-line .ol-price { flex: none; color: #fff; font-weight: 600; min-width: 54px; text-align: right; }
.order-line .ol-remove { flex: none; width: 22px; height: 22px; border: 0; background: transparent; color: var(--muted);
  font-size: 18px; line-height: 1; cursor: pointer; border-radius: 6px; }
.order-line .ol-remove:hover { color: #e88; }
.empty-cart { padding: var(--s-5) 0; line-height: 1.7; }

/* Add-to-cart confirmation flash */
.btn.added { background: #1f7a44 !important; border-color: #1f7a44 !important; color: #fff !important; }

/* ==========================================================================
   v7 — photorealistic product shots: white tile + clear glass + crisp label
   Overrides earlier bottle styles (later rules win).
   ========================================================================== */

/* Present products on a clean white "photo" tile so the clear glass reads */
.product-media, .pdp-media, .pdp-media.glass, .qv-media {
  background: radial-gradient(120% 95% at 50% 22%, #ffffff 0%, #f4f5f7 68%, #e9eb0e 100%) !important;
  background: radial-gradient(120% 95% at 50% 22%, #ffffff 0%, #f4f5f7 68%, #e9ebee 100%) !important;
}
.product-card .product-media { border-bottom: 1px solid var(--glass-border); }

/* ---- Bottle: clear vial ---- */
.bottle { filter: drop-shadow(0 0.7em 0.5em rgba(20,40,70,0.16)); }
.bottle .glass::before { display: none; } /* replace old highlight with .shine */
.bottle .shine { position: absolute; top: 0.6em; left: 1.05em; width: 0.85em; height: 56%; border-radius: 1em; background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.05)); z-index: 2; pointer-events: none; }

.bottle .cap { background: linear-gradient(180deg,#3c3c3e 0%,#1a1a1c 55%,#2c2c2e 100%); border-radius: 0.6em 0.6em 0.25em 0.25em; box-shadow: inset 0 0.18em 0.18em rgba(255,255,255,0.18), inset 0 -0.18em 0.25em rgba(0,0,0,0.4); }
.bottle .collar { background: linear-gradient(180deg,#f4f5f7 0%,#cfd3d8 30%,#9da2a9 52%,#d6dadf 76%,#b4b9bf 100%); box-shadow: inset 0 -0.18em 0.25em rgba(0,0,0,0.22); }
.bottle .shoulder { width: 6.2em; height: 1.5em; background: linear-gradient(180deg, rgba(228,238,247,0.85), rgba(247,251,254,0.55)); border: 1px solid rgba(176,196,216,0.6); border-bottom: 0; border-radius: 0.7em 0.7em 0 0; margin-top: -0.12em; z-index: 1; }

.bottle--vial .glass {
  width: 11.6em; height: 17.6em; border-radius: 0.55em 0.55em 0.85em 0.85em; overflow: hidden;
  background: linear-gradient(100deg, rgba(196,214,232,0.6) 0%, rgba(243,248,252,0.85) 16%, rgba(255,255,255,0.96) 48%, rgba(236,244,250,0.85) 80%, rgba(190,210,230,0.6) 100%);
  border: 1px solid rgba(176,196,216,0.75);
  box-shadow: inset 0.55em 0 0.7em rgba(255,255,255,0.75), inset -0.6em 0 0.75em rgba(150,174,198,0.4), 0 0.4em 0.7em rgba(0,0,0,0.06);
}

/* ---- Blue dropper (Glow Serum) ---- */
.bottle--dropper .glass {
  width: 9.8em; height: 16.5em; overflow: hidden;
  background: linear-gradient(100deg,#1f5096 0%,#0f2f5c 16%,#2a5fa0 48%,#103461 80%,#1c4a8e 100%);
  border: 1px solid rgba(120,160,205,0.6);
  box-shadow: inset 0.5em 0 0.8em rgba(255,255,255,0.22), inset -0.6em 0 0.8em rgba(0,20,50,0.4);
}
.bottle--dropper .shine { background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.02)); }
.bottle--dropper .cap { width: 3.7em; height: 3.1em; background: linear-gradient(180deg,#fcfcfd,#e4e5e8); border-radius: 1.7em 1.7em 0.4em 0.4em; box-shadow: inset 0 0.2em 0.2em rgba(255,255,255,0.7); }
.bottle--dropper .collar { width: 5.6em; height: 2.5em; background: repeating-linear-gradient(90deg,#fdfdfd,#fdfdfd 0.22em,#e7e8ea 0.22em,#e7e8ea 0.4em); border-radius: 0.25em; }
.bottle--dropper .shoulder { display: none; }
.bottle--dropper .label { top: 4.4em; left: 0.35em; right: 0.35em; }

/* ---- White pill bottle (Oral Appetite Suppressant) ---- */
.bottle--pill .glass {
  width: 11.6em; height: 15em; overflow: hidden; border-radius: 0.5em 0.5em 0.8em 0.8em;
  background: linear-gradient(100deg,#e9ebee 0%,#fbfbfc 18%,#ffffff 48%,#f2f3f5 80%,#e4e6e9 100%);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: inset 0.5em 0 0.7em rgba(255,255,255,0.9), inset -0.6em 0 0.7em rgba(0,0,0,0.05), 0 0.4em 0.7em rgba(0,0,0,0.08);
}
.bottle--pill .cap { width: 8.6em; height: 3em; background: repeating-linear-gradient(90deg,#fcfcfd,#fcfcfd 0.26em,#e7e9ec 0.26em,#e7e9ec 0.46em); border-radius: 0.4em 0.4em 0.25em 0.25em; box-shadow: inset 0 0.2em 0.2em rgba(255,255,255,0.8), inset 0 -0.2em 0.25em rgba(0,0,0,0.08); }
.bottle--pill .collar, .bottle--pill .shoulder { display: none; }
.bottle--pill .shine { background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.1)); }
.bottle--pill .label { top: 3.4em; }

/* ---- Label (shared) ---- */
.bottle .label { background: #fff; border-radius: 0.18em; padding: 0.62em 0.6em 0.5em; box-shadow: 0 0.14em 0.4em rgba(0,0,0,0.1); border: 1px solid #eef0f3; z-index: 3; }
.bottle .label .lh-name { color: #13294e; }
.bottle .label .lh-sub { color: #2a3f63; }
.bottle .label .lbl-band { background: linear-gradient(180deg,#173260,#0e2347); color: #fff; border-radius: 0; margin: 0.45em -0.6em 0.4em; padding: 0.26em 0.4em; font-size: 1.4em; letter-spacing: 0.01em; }
.bottle .label .lbl-pill { display: inline-block; background: #143058; color: #fff; font-family: var(--sans); font-weight: 700; font-size: 0.74em; letter-spacing: 0.07em; padding: 0.26em 1.2em; border-radius: 0.35em; margin: 0.1em 0 0.05em; }
.bottle .label .lbl-compound { font-size: 0.62em; font-weight: 700; color: #143058; line-height: 1.18; letter-spacing: 0.02em; padding: 0 0.3em; }
.bottle .label .lbl-dose { font-weight: 700; font-size: 0.82em; color: #143058; margin-top: 0.22em; }
.bottle .label .lbl-meta { font-size: 0.6em; font-weight: 600; letter-spacing: 0.08em; color: #2a3f63; border-top: 1px solid #dfe3e9; border-bottom: 1px solid #dfe3e9; padding: 0.3em 0; margin: 0.4em 0; }
.bottle .label .lbl-usa { display: flex; align-items: center; justify-content: center; gap: 0.45em; font-size: 0.6em; font-weight: 700; letter-spacing: 0.05em; color: #143058; }
.bottle .label .lbl-flag { width: 1.7em; height: auto; border: 0.5px solid #d2d6dc; border-radius: 1px; }
.bottle .label .lbl-ruo { font-size: 0.55em; font-weight: 600; letter-spacing: 0.06em; color: #2a3f63; margin-top: 0.25em; }
.bottle .label .lbl-badges { display: flex; justify-content: space-between; gap: 0.25em; border-top: 1px solid #dfe3e9; margin-top: 0.45em; padding-top: 0.45em; }
.bottle .label .bdg { display: flex; align-items: center; gap: 0.28em; flex: 1; justify-content: center; }
.bottle .label .bdg svg { width: 1.5em; height: 1.5em; flex: none; }
.bottle .label .bdg b { font-size: 0.4em; font-weight: 800; line-height: 1.1; color: #143058; text-align: left; letter-spacing: 0.02em; }

/* ==========================================================================
   v8 — composite real bottle photo + label artwork (with cylinder sheen)
   ========================================================================== */
.shot { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.shot-base { display: block; width: auto; max-width: 100%; max-height: 230px; }
.product-media .shot-base { max-height: 220px; }
.pdp-media .shot.big .shot-base, .qv-media .shot.big .shot-base { max-height: 380px; }
.shot-label { position: absolute; left: 50%; top: 61%; transform: translate(-50%,-50%); width: 63%; line-height: 0; }
.shot-label img { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.18); }
.shot-label .lbl-curve { position: absolute; inset: 0; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,20,40,0.22) 0%, rgba(255,255,255,0.10) 16%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.10) 84%, rgba(10,20,40,0.22) 100%);
  mix-blend-mode: multiply; }
.shot-label--vial { top: 61%; width: 63%; }
.shot-label--dropper { top: 66%; width: 60%; }
.shot-label--pill { top: 52%; width: 72%; }

/* v9 — vector product images (generated SVG) */
.product-svg { display: block; width: auto; max-width: 100%; max-height: 230px; margin: 0 auto; filter: drop-shadow(0 0.6em 0.5em rgba(20,40,70,0.14)); }
.product-media .product-svg { max-height: 220px; }
.pdp-media .product-svg.big, .qv-media .product-svg.big { max-height: 380px; }

/* v10 — real product images (bottle photo / label / svg) */
.product-shot { display:block; width:auto; max-width:100%; max-height:230px; margin:0 auto; filter: drop-shadow(0 0.6em 0.5em rgba(20,40,70,0.12)); }
.product-media .product-shot { max-height:230px; }
.pdp-media .product-shot.big, .qv-media .product-shot.big { max-height:400px; }
.product-shot.is-label { max-height:190px; border-radius:8px; box-shadow:0 6px 18px rgba(0,0,0,0.12); }
.pdp-media .product-shot.is-label.big, .qv-media .product-shot.is-label.big { max-height:300px; }
.pi-thumb img, .ol-thumb img { display:block; width:auto; }
.protocol-item .pi-thumb img { max-height:64px; }
.order-line .ol-thumb img { max-height:64px; }

/* v12 — fit the 3D mockups seamlessly into the product cards
   (match tile to the mockups' light studio background; size to fill; no double shadow) */
.product-media, .pdp-media, .pdp-media.glass, .qv-media { background: #f2f3f5 !important; }
.product-card .product-media { padding: 8px !important; border-bottom: 0 !important; }
.product-shot { width: auto; max-width: 100%; filter: none; }
.product-media .product-shot { max-height: 94%; }
.pdp-media .product-shot.big, .qv-media .product-shot.big { max-height: 440px; }
/* the few products still on a flat label: keep a soft frame so they read as product art */
.product-shot.is-label { filter: none; box-shadow: 0 4px 14px rgba(0,0,0,0.10); border-radius: 6px; }
/* protocol/checkout thumbnails on the matching light tile so they blend too */
.protocol-item .pi-thumb, .order-line .ol-thumb { background: #f2f3f5; border-radius: 8px; padding: 2px 4px; }

/* v13 — uniform product cards: identical height, same bg, product centered-bottom */
.product-media { aspect-ratio: auto !important; height: 320px !important; background: #f5f5f7 !important; padding: 16px !important; display: flex !important; align-items: flex-end !important; justify-content: center !important; }
.product-media .product-shot { width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: center bottom; }
.pdp-media, .pdp-media.glass, .qv-media { background: #f5f5f7 !important; }

/* v14 — final uniform sizing (images are pre-normalized to 1000x1000) */
.product-media { height: 350px !important; padding: 24px !important; background: #f5f5f7 !important; align-items: center !important; }
.product-media .product-shot { object-position: center center; }

/* v16 — solid white behind product images */
.product-media, .pdp-media, .pdp-media.glass, .qv-media { background: #ffffff !important; }
.protocol-item .pi-thumb, .order-line .ol-thumb { background: #ffffff; }

/* v17 — framed-panel images carry their own margin; trim card padding */
.product-media { padding: 10px !important; background: #ffffff !important; }
.product-media .product-shot { object-position: center center; }

/* v18 — uniform framed white tile around every product image (the look from the middle card) */
.product-card .product-media {
  margin: 12px 12px 0; height: 330px !important; padding: 14px !important;
  background: #ffffff !important; border: 1px solid #e6e9ee !important; border-radius: 14px !important;
  box-shadow: 0 1px 2px rgba(11,37,69,0.04);
}
.product-card .product-media .product-shot { object-position: center center; }

/* v28 — product tile background now MATCHES the bottle photos' own white (#fbfbfb) so
   there's no visible frame/second-white around the product; plus a soft bottom-right
   shadow on the bottle for a little depth. */
.product-card .product-media, .pdp-media, .pdp-media.glass, .qv-media { background: #fbfbfb !important; }
.product-card .product-media { border-color: #eef1f5 !important; }
.protocol-item .pi-thumb, .order-line .ol-thumb { background: #fbfbfb; }
.product-card .product-media .product-shot,
.pdp-media .product-shot, .qv-media .product-shot { filter: drop-shadow(2px 5px 7px rgba(18,38,68,0.16)) !important; }

/* v29 — kill the floating white tile: the product photo is now a clean full-bleed
   panel at the TOP of the card (top corners rounded by the card's own overflow),
   flush into the dark info area below. No inset margin, no second border. */
.product-card { overflow: hidden; }
.product-card .product-media {
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 300px !important;
  padding: 22px 22px 12px !important;
  background: #fbfbfb !important;
}
/* photos are now flattened to pure #fff backgrounds, so the panel is pure white and the
   photo edge blends seamlessly — one uniform white filling the whole box, no second tile. */
.product-card .product-media, .pdp-media, .pdp-media.glass, .qv-media { background: #ffffff !important; }
.product-card .product-media .product-shot { max-height: 100% !important; filter: none !important; }
.product-card .product-body { padding-top: var(--s-5); }

/* v30 — lift the hero text block higher off the bottom and give "The Capri standard"
   more presence (larger, wider tracking, brighter gold). */
.hero { padding-bottom: 20vh; }
.hero .eyebrow {
  font-size: 1.05rem; letter-spacing: 0.34em; font-weight: 600;
  color: #f0d98a; margin-bottom: var(--s-4);
  text-shadow: 0 2px 14px rgba(0,0,0,0.7), 0 0 2px rgba(0,0,0,0.5);
}

/* v31 — time-of-day hero. Night (default) keeps the sunset image + white text + gold button.
   Day swaps to the bright daytime scene with NAVY text + cream primary button (per mockup). */
html.is-day .hero {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 42%, rgba(9,17,30,0.16) 100%),
    url('../img/hero-day.jpg?v=20260707d2');
  background-size: cover; background-position: center center;
}
html.is-day .hero::after { box-shadow: inset 0 -140px 120px -60px var(--bg); }
html.is-day .hero .eyebrow { color: #17457f; text-shadow: 0 1px 12px rgba(255,255,255,0.6); }
html.is-day .hero h1 { color: #0e2347; text-shadow: 0 1px 18px rgba(255,255,255,0.55), 0 1px 2px rgba(255,255,255,0.7); }
html.is-day .hero .lead { color: #1b3055; text-shadow: 0 1px 12px rgba(255,255,255,0.6); }
html.is-day .hero .trust-row .item { color: #0e2347; font-weight: 700;
  text-shadow: 0 0 12px rgba(255,255,255,0.9), 0 1px 3px rgba(255,255,255,0.95); }
html.is-day .hero .trust-row .item svg { stroke: #17457f; }
html.is-day .hero .trust-row .sep { background: rgba(20,41,78,0.4); }
/* buttons: cream primary + navy secondary */
html.is-day .hero .btn-gold { background: #f6f0dc; border: 1px solid rgba(20,41,78,0.18); color: #14294e;
  box-shadow: 0 10px 26px rgba(14,25,48,0.28); }
html.is-day .hero .btn-gold:hover { filter: brightness(1.02); }
html.is-day .hero .btn-navy { background: #14294e; border-color: #14294e; color: #fff;
  box-shadow: 0 10px 26px rgba(14,25,48,0.3); }

/* v27 — hero photo (drop assets/img/hero.jpg). Dark overlay keeps headline legible;
   falls back to the dark gradient until the file exists. */
.hero {
  background-image:
    linear-gradient(180deg, rgba(7,15,26,0.20) 0%, rgba(7,15,26,0.30) 50%, rgba(7,15,26,0.58) 100%),
    url('../img/hero.jpg?v=20260705h');
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
}

/* ============================================================
   Responsive hardening — phones (≤760) / tablets (≤980) 
   ============================================================ */
img { max-width: 100%; }

/* Home hero on phones: tall image (sky cropped), scene framed, compact side-by-side CTAs */
@media (max-width: 768px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(7,15,26,0.28) 0%, rgba(7,15,26,0.34) 45%, rgba(7,15,26,0.52) 100%),
      url('../img/hero-mobile.jpg?v=20260705m');
    background-position: center bottom;   /* diver, yacht, sunset — not sky */
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 90vh;
    align-items: start;
  }
  /* Daytime hero on phones: bright PORTRAIT crop so the yacht isn't cropped, and WHITE text
     (the desktop navy is hard to read on the busy phone photo). Overrides v31. */
  html.is-day .hero {
    background-image:
      linear-gradient(180deg, rgba(7,15,26,0.05) 0%, rgba(7,15,26,0.05) 52%, rgba(7,15,26,0.22) 100%),
      url('../img/hero-day-mobile.jpg?v=20260707day');
    background-position: center center; background-size: cover;
  }
  html.is-day .hero::after { box-shadow: inset 0 -120px 110px -70px var(--bg); }
  html.is-day .hero .eyebrow { color: #f7e39a; text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 0 2px rgba(0,0,0,0.7); }
  html.is-day .hero h1 { color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.65); }
  html.is-day .hero .lead { color: #f7e39a; text-shadow: 0 2px 14px rgba(0,0,0,0.9), 0 0 2px rgba(0,0,0,0.7); }
  html.is-day .hero .trust-row .item { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.75); }
  html.is-day .hero .trust-row .item svg { stroke: #f0d98a; }
  html.is-day .hero .btn-gold { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%); border: 1px solid var(--gold); color: var(--ink); box-shadow: none; }
  html.is-day .hero .btn-navy { background: #14294e; border-color: #14294e; color: #fff; box-shadow: none; }
  /* Phone layout order: headline + buttons sit up top (off the rocks), then the tagline,
     then the trust badges lower down. White text throughout for legibility. */
  .hero .container { padding: 11vh 20px 0; display: flex; flex-direction: column; align-items: center; }
  .hero .eyebrow { order: 1; color: #f0d98a; text-shadow: 0 2px 10px rgba(0,0,0,0.75), 0 0 2px rgba(0,0,0,0.6); }
  .hero h1 { order: 2; color: #fff; font-size: clamp(2.3rem, 12vw, 3.3rem); text-shadow: 0 2px 18px rgba(0,0,0,0.65); }
  /* Two groups: eyebrow+headline+buttons together up top, then a big gap of open water,
     then tagline+badges together near the bottom. */
  .hero-cta { order: 3; margin-top: 26px; }
  .hero .lead { order: 4; margin-top: 90px; color: #f0d98a; font-size: 1.05rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 0 2px rgba(0,0,0,0.65); }
  .hero .trust-row { order: 5; margin-top: 20px; }
  /* CTAs: side by side on one row, compact, no wrap. */
  .hero-cta { flex-direction: row; flex-wrap: nowrap; justify-content: center; gap: 10px; width: 100%; }
  .hero-cta .btn { flex: 0 1 auto; width: auto; min-width: 0; min-height: 46px; padding: 11px 16px;
    font-size: 0.82rem; letter-spacing: 0.02em; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; }
  /* Trust badges: wrap cleanly, drop the inline separators */
  .trust-row { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
  .trust-row .sep { display: none; }
}

/* Tap targets ≥44px on phones (inputs, buttons, payment chips) */
@media (max-width: 760px) {
  .field input, .field select, .login-form input, .dl-input input,
  input[type="email"], input[type="text"], input[type="tel"], input[type="password"] { min-height: 46px; font-size: 16px; }
  .btn, button.btn, .pay-method .pm-face, .ov-login { min-height: 46px; }
  .age-check input, .dl-age input, .checkbox-row input { width: 22px; height: 22px; }
}

/* Single-column product grid on small phones for readability */
@media (max-width: 560px) {
  .product-grid, .product-grid.cols-3, .product-grid.cols-6 { grid-template-columns: 1fr; }
}

/* Belt-and-suspenders: stacked layouts + no horizontal overflow on phones */
@media (max-width: 860px) {
  .checkout-grid, .shop-layout, .pdp, .auth-grid { grid-template-columns: 1fr; }
  .pay-row { grid-template-columns: 1fr; }
}
html, body { max-width: 100%; overflow-x: hidden; }

/* ============================================================
   Tactile, "addictive" button feedback + quick-checkout popup
   ============================================================ */
.btn, .option, [data-add] {
  position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn {
  transition: transform .14s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease,
              filter .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: scale(.93); }
.btn-gold:active { transform: scale(.93); box-shadow: 0 2px 10px rgba(214,187,99,0.5); }
.option { transition: transform .14s cubic-bezier(.34,1.56,.64,1), border-color .2s, background .2s; }
.option:active { transform: scale(.97); }

/* Release "pop" bounce (class added briefly by JS on press) */
@keyframes capri-pop { 0% { transform: scale(.92); } 55% { transform: scale(1.05); } 100% { transform: scale(1); } }
.pressed-pop { animation: capri-pop .28s cubic-bezier(.34,1.56,.64,1); }

/* Ripple from the press point */
.btn-ripple {
  position: absolute; border-radius: 50%; transform: scale(0); pointer-events: none;
  background: rgba(255,255,255,0.4); animation: capri-ripple .55s ease-out forwards;
}
@keyframes capri-ripple { to { transform: scale(2.4); opacity: 0; } }

/* Gold buttons get a shine sweep so the CTA feels alive */
.btn-gold::after {
  content:""; position:absolute; top:0; left:-130%; width:60%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg); pointer-events:none;
}
.btn-gold:hover::after, .btn-gold.shine::after { animation: capri-shine .7s ease; }
@keyframes capri-shine { from { left:-130%; } to { left:140%; } }

/* Add-to-Cart CTAs breathe + shimmer on their own so they pull the eye (engagement boost 2026-07-07) */
.buy-box .btn-gold, .sticky-cart .btn-gold, [data-add], .qv-add, .btn-cta-dark {
  background: linear-gradient(160deg,#5a9bd8 0%,#2a63b0 46%,#153a72 100%);
  color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.35);
  border-top:1px solid rgba(255,255,255,.4);
  border-radius:14px; letter-spacing:.03em;
  display:flex; align-items:center; justify-content:center; gap:10px;
  transition: background .35s ease;
  animation: capri-cart-glow 3.4s ease-in-out infinite;
}
.buy-box .btn-gold, .qv-add { white-space:nowrap; }
.sticky-cart .btn-gold { white-space:nowrap; font-size:13px; letter-spacing:.02em; }
[data-add] { font-size:13.5px; }
.buy-box .btn-gold:hover, .sticky-cart .btn-gold:hover, [data-add]:hover, .qv-add:hover { background: linear-gradient(160deg,#2a3346 0%,#141a29 58%,#0a0e18 100%); color:#fff; }
.buy-box .btn-gold::before, .qv-add::before, .sticky-cart .btn-gold::before, [data-add]::before {
  content:""; flex:none; width:28px; height:28px; border-radius:50%;
  background:#0c1524 url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6c972' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/></svg>") center/16px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(230,201,114,.4);
}
.buy-box .btn-gold::after, .sticky-cart .btn-gold::after, [data-add]::after, .qv-add::after, .btn-cta-dark::after {
  content:""; position:absolute; top:0; left:-130%; width:52%; height:100%; transform:skewX(-18deg); pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);
  animation: capri-shine-idle 7s ease-in-out 2s infinite;
}
/* Browse Catalog = WHITE button with a blue glow + blue shimmer across it (owner req 2026-07-08) */
.btn-cta-dark { position:relative; overflow:hidden;
  background: linear-gradient(180deg,#ffffff 0%,#e9eef6 100%) !important;
  color:#14294e !important; text-shadow:none !important;
  border:0 !important; border-top:1px solid #ffffff !important;
  transition: background .3s ease;
  animation: capri-cta-blue-glow 3s ease-in-out infinite !important; }
.btn-cta-dark:hover { background: linear-gradient(180deg,#ffffff 0%,#d7e5f8 100%) !important; color:#14294e !important; }
.btn-cta-dark::after { background: linear-gradient(100deg,transparent,rgba(58,120,225,.55),transparent) !important; }
@keyframes capri-cta-blue-glow {
  0%,100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 5px 22px rgba(52,108,210,.55); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 11px 34px rgba(52,108,210,.85); }
}
.buy-box .btn-gold:hover::after, .sticky-cart .btn-gold:hover::after, [data-add]:hover::after, .qv-add:hover::after {
  animation: capri-shine .7s ease;
}
@keyframes capri-cart-glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(230,201,114,0.16), 0 5px 22px rgba(230,190,100,0.45); }
  50% { box-shadow: inset 0 1px 0 rgba(230,201,114,0.16), 0 10px 36px rgba(230,190,100,0.72); }
}
@keyframes capri-shine-idle {
  0%, 68%, 100% { left:-130%; }
  90% { left:140%; }
}

/* The real checkout CTAs pulse gently to pull the eye */
a[data-proceed].btn-gold, [data-checkout-form] button.btn-gold {
  animation: capri-cta-pulse 2.2s ease-in-out infinite;
}
@keyframes capri-cta-pulse {
  0%,100% { box-shadow: 0 6px 22px rgba(214,187,99,0.3); }
  50% { box-shadow: 0 8px 34px rgba(240,217,138,0.62), 0 0 0 4px rgba(240,217,138,0.12); }
}

/* "Added → Checkout now" quick popup */
.add-pop {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 150%);
  z-index: 120; width: min(440px, calc(100vw - 28px));
  background: rgba(10,18,32,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(230,201,114,0.4); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55); padding: 14px 16px; opacity: 0;
  transition: transform .34s cubic-bezier(.2,.9,.3,1.25), opacity .25s ease;
}
.add-pop.show { transform: translate(-50%, 0); opacity: 1; }
.add-pop-msg { display:flex; align-items:center; gap:9px; color:#fff; font-weight:600; font-size:1rem; margin-bottom:12px; }
.add-pop-msg .chk { display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:#1f7a44; color:#fff; font-size:0.8rem; }
.add-pop-actions { display:flex; gap:10px; }
.add-pop-actions .btn { flex:1; min-height:48px; padding:13px 14px; font-size:0.82rem; }
@media (max-width: 380px) { .add-pop-actions { flex-direction: column; } }


/* ============================================================
   MEDITERRANEAN BLUE v2 — lift the near-black navy to a lighter
   Mediterranean blue with faint white VERTICAL pinstripes.
   All hero photos / product images are left untouched.
   ============================================================ */
/* Body: Mediterranean blue + faint white vertical lines */
body {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 44px),
    var(--bg);
  background-attachment: fixed;
}

/* Lift the other hardcoded near-black surfaces into the same lighter blue family */
.site-footer { background: #1a5093; }
.site-header { background: rgba(24,66,120,0.85); }
.sea-bg { background: linear-gradient(180deg, rgba(30,84,150,0.5), rgba(32,95,168,0.9)); }
/* Interior page hero → blue (checkout keeps its grotto photo via its own inline style) */
.page-hero { background: linear-gradient(180deg, rgba(30,84,150,0.45), var(--bg)); }

/* Center the whole footer on mobile */
@media (max-width: 820px) {
  .site-footer { text-align: center; }
  .site-footer .footer-grid,
  .site-footer .footer-brand,
  .site-footer .footer-contact,
  .site-footer ul,
  .site-footer .disclaimer,
  .site-footer .disclaimer .ruo { text-align: center; }
  .site-footer .brand,
  .site-footer .brand-mark { justify-content: center; }
}

/* Home hero: a modern bottom fade into the page (more than slight, less than the original) */
.hero::after { box-shadow: inset 0 -72px 78px -48px var(--bg) !important; }
