/* ===== Southern Cross Peptides: clinical/commerce redesign ===== */

:root {
  --paper: #f6f9fa;
  --paper-dim: #eef3f4;
  --card: #eef2f3;
  --card-line: #dde6e8;
  --line: #e0e7e9;
  --ink: #172227;
  --ink-dim: #5c6b70;
  --ink-faint: #8b989c;

  --navy: #0b1c2c;
  --navy-2: #14283b;
  --cream: #f3efe1;

  --accent: #0f8b8f;
  --accent-dark: #0c6f73;
  --sale: #c0432c;

  --radius-card: 8px;
  --radius-btn: 6px;
  --radius-pill: 999px;
  --max-width: 1240px;
  --header-h: 74px;
  --banner-h: 34px;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  font-size: 15px;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.eyebrow-sm {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ===== Announcement banner (looping) ===== */

.announce-bar {
  height: var(--banner-h);
  background: var(--navy);
  color: var(--accent);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .2px;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(15, 139, 143, 0.3);
}

.announce-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.announce-track span {
  display: inline-flex;
  align-items: center;
  padding: 0 26px;
  opacity: .92;
}

.announce-track span::after {
  content: "\2726";
  margin-left: 26px;
  opacity: .5;
  font-size: 10px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
}

/* ===== Header / nav ===== */

header.site-header {
  position: sticky;
  top: var(--banner-h);
  z-index: 55;
  background: var(--navy);
  color: var(--cream);
}

.nav-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav-left { display: flex; align-items: center; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav.main-nav a {
  font-size: 13.5px;
  color: rgba(243, 239, 225, 0.78);
  font-weight: 500;
  letter-spacing: .2px;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--cream);
  border-color: var(--accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: .2px;
  color: var(--cream);
}

.site-header .brand { justify-content: center; white-space: nowrap; min-width: 0; }
footer.site-footer .brand { display: flex; min-width: 0; }

.brand .mark { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.brand .mark svg { width: 100%; height: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--cream);
  width: 22px;
  height: 22px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  opacity: .9;
}
.icon-btn:hover { opacity: 1; }
.icon-btn svg { width: 100%; height: 100%; }

.cart-link {
  position: relative;
  display: inline-flex;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(243,239,225,.16);
  border-radius: 999px;
  padding: 8px 14px;
  width: 100%;
  max-width: 220px;
}
.nav-search svg { width: 15px; height: 15px; color: var(--ink-faint); flex-shrink: 0; }
.nav-search input {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 13px;
  width: 100%;
  font-family: var(--font-body);
}
.nav-search input::placeholder { color: rgba(243,239,225,.45); }
.nav-search input:focus { outline: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  padding: 6px;
  width: 26px;
  height: 26px;
}
.nav-toggle svg { width: 100%; height: 100%; }

@media (max-width: 860px) {
  .nav-search { display: none; }
}

@media (max-width: 760px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-2);
    border-bottom: 1px solid rgba(243,239,225,.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6px 20px 18px;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid rgba(243,239,225,.08); }
  .nav-toggle { display: inline-flex; }
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter .15s ease, transform .12s ease;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-pill {
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--navy);
}
.btn-pill:hover { filter: brightness(1.05); }

.btn-outline {
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--accent-dark); color: var(--accent-dark); }
.btn-outline.on-dark { border-color: rgba(243,239,225,.35); color: var(--cream); }
.btn-outline.on-dark:hover { border-color: var(--accent); color: var(--accent); }

.btn-solid {
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  background: var(--navy);
  color: var(--cream);
}
.btn-solid:hover { filter: brightness(1.15); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 16px; font-size: 12.5px; }

/* ===== Section heads ===== */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 26px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 30px; margin: 8px 0 0; }
.section-head .kicker { display: block; }
.section-head p { color: var(--ink-dim); margin: 10px 0 0; font-size: 14.5px; max-width: 480px; }

section.block { padding: 56px 0; }
section.block.tight { padding: 40px 0; }
section.block.dark { background: var(--navy); color: var(--cream); }
section.block.dim { background: var(--paper-dim); }

/* filter pills */
.pill-toggle { display: flex; gap: 8px; }
.pill-toggle button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.pill-toggle button.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.filter-row { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.chip.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

/* ===== Hero ===== */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  position: relative;
  background: var(--paper-dim);
}
@media (max-width: 620px) { .hero-panel { padding: 48px 24px; } }

.hero-slide { display: none; }
.hero-slide.active { display: block; animation: fadeUp .5s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-panel h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  margin: 14px 0 6px;
}
.hero-panel h1 em { font-style: italic; color: var(--accent-dark); }
.hero-slide-meta { color: var(--ink-faint); font-size: 13px; margin: 0 0 14px; }
.hero-panel p.lead {
  color: var(--ink-dim);
  max-width: 420px;
  font-size: 15.5px;
  margin: 0 0 18px;
}
.hero-price { font-size: 22px; font-weight: 800; margin: 0 0 22px; }
.hero-price .was {
  color: var(--ink-faint);
  font-weight: 500;
  font-size: 14px;
  text-decoration: line-through;
  margin-right: 8px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.trust-line svg { width: 13px; height: 13px; color: var(--accent-dark); flex-shrink: 0; }

.hero-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.hero-counter { font-size: 12.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.hero-track {
  flex: 1;
  max-width: 90px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.hero-track-fill { height: 100%; background: var(--accent-dark); transition: width .3s ease; }
.hero-arrows { display: flex; gap: 6px; }
.hero-arrows button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.hero-arrows button svg { width: 14px; height: 14px; }
.hero-arrows button:hover { border-color: var(--accent-dark); color: var(--accent-dark); }

.hero-photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 36px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg opacity='.07'%3E%3Ccircle cx='32' cy='10' r='2.4' fill='%230b1c2c'/%3E%3Ccircle cx='32' cy='52' r='2.6' fill='%230b1c2c'/%3E%3Ccircle cx='14' cy='30' r='2.2' fill='%230b1c2c'/%3E%3Ccircle cx='46' cy='27' r='2.4' fill='%230b1c2c'/%3E%3Ccircle cx='24' cy='37' r='1.6' fill='%230b1c2c'/%3E%3Cpath d='M32 12.5v37M15.5 30.5 45 27.3' stroke='%230b1c2c' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(120% 100% at 70% 30%, #dff1f2 0%, #bfe1e3 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 260px 260px, cover;
  background-position: 88% 12%, center;
}
.hero-photo::before, .hero-photo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.hero-photo::before { width: 220px; height: 220px; top: -60px; left: -40px; }
.hero-photo::after { width: 160px; height: 160px; bottom: -50px; right: 10%; }
.hero-photo .bottle {
  position: relative;
  width: 34%;
  max-width: 150px;
  filter: drop-shadow(0 20px 30px rgba(11,28,44,.18));
}
.hero-photo .bottle.small { width: 24%; max-width: 110px; align-self: flex-end; margin-bottom: 20px; }
.hero-photo .bottle .vial-photo-wrap { width: 100%; }

/* ===== Intro text block ===== */

.intro-block h2 { font-size: 24px; margin: 10px 0 12px; }
.intro-block p { color: var(--ink-dim); font-size: 14.5px; max-width: 780px; margin: 0; }

/* ===== Promo split banner ===== */

.promo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-card);
  overflow: hidden;
}
@media (max-width: 700px) { .promo-split { grid-template-columns: 1fr; } }
.promo-split-copy {
  background: var(--navy-2);
  color: var(--cream);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo-split-copy h2 { font-size: 26px; margin: 0 0 12px; }
.promo-split-copy p { color: rgba(243,239,225,.68); font-size: 14px; margin: 0 0 24px; max-width: 340px; }
.promo-split-photo {
  position: relative;
  min-height: 220px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg opacity='.1'%3E%3Ccircle cx='32' cy='10' r='2.4' fill='%23f3efe1'/%3E%3Ccircle cx='32' cy='52' r='2.6' fill='%23f3efe1'/%3E%3Ccircle cx='14' cy='30' r='2.2' fill='%23f3efe1'/%3E%3Ccircle cx='46' cy='27' r='2.4' fill='%23f3efe1'/%3E%3Ccircle cx='24' cy='37' r='1.6' fill='%23f3efe1'/%3E%3Cpath d='M32 12.5v37M15.5 30.5 45 27.3' stroke='%23f3efe1' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(120% 100% at 30% 30%, #145257, #0c3639);
  background-repeat: no-repeat, no-repeat;
  background-size: 190px 190px, cover;
  background-position: 85% 85%, center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.promo-split-photo .bottle { width: 44%; max-width: 170px; filter: drop-shadow(0 16px 24px rgba(0,0,0,.3)); }
.promo-split-photo .bottle .vial-photo-wrap { width: 100%; }
.promo-split-label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  text-align: right;
  color: var(--cream);
}
.promo-split-label strong { display: block; font-size: 16px; }
.promo-split-label span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(243,239,225,.6); }

/* ===== Feature row (icon + heading + description, boxless) ===== */

.feature-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; } }
.feature-col { display: flex; flex-direction: column; gap: 28px; }
.feature-col .item { display: flex; gap: 14px; }
.feature-col .item .ic { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.feature-col .item .ic svg { width: 100%; height: 100%; }
.feature-col .item h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.feature-col .item p { margin: 0; color: var(--ink-dim); font-size: 13px; }
.feature-photo { width: 220px; }
.feature-photo .vial-photo-wrap { width: 100%; }
@media (max-width: 860px) { .feature-photo { width: 160px; margin: 0 auto; } }

/* ===== Trust row (boxed) ===== */

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .trust-row { grid-template-columns: 1fr; } }
.trust-row .box {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 26px 22px;
  text-align: center;
}
.trust-row .box .ic { width: 30px; height: 30px; color: var(--accent); margin: 0 auto 12px; }
.trust-row .box .ic svg { width: 100%; height: 100%; }
.trust-row .box h4 { margin: 0 0 5px; font-size: 14.5px; font-weight: 700; }
.trust-row .box p { margin: 0; color: var(--ink-dim); font-size: 12.5px; }


/* ===== How It Works steps ===== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
}
.step-card h4 { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; }
.step-card p { margin: 0; color: var(--ink-dim); font-size: 13.5px; line-height: 1.6; }

.how-note {
  background: var(--paper-dim);
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-top: 32px;
}
.how-note h4 { margin: 0 0 8px; font-size: 14.5px; font-weight: 700; }
.how-note p { margin: 0; color: var(--ink-dim); font-size: 13.5px; line-height: 1.6; }

/* ===== Product cards ===== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}

.product-rail-wrap { position: relative; }
.product-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.product-rail::-webkit-scrollbar { display: none; }
.product-rail .card { flex: 0 0 250px; scroll-snap-align: start; }

.rail-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}
.rail-progress {
  flex: 1;
  max-width: 220px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-right: 20px;
}
.rail-progress-fill { height: 100%; width: 25%; background: var(--accent-dark); transition: width .2s ease; }
.rail-arrows { display: flex; gap: 8px; }
.rail-arrows button {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.rail-arrows button svg { width: 15px; height: 15px; }
.rail-arrows button:hover { border-color: var(--accent-dark); color: var(--accent-dark); }
.rail-arrows button:disabled { opacity: .35; cursor: default; }

.card {
  background: var(--card);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(20,18,10,.35); }

.card-media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg opacity='.06'%3E%3Ccircle cx='32' cy='10' r='2.4' fill='%230b1c2c'/%3E%3Ccircle cx='32' cy='52' r='2.6' fill='%230b1c2c'/%3E%3Ccircle cx='14' cy='30' r='2.2' fill='%230b1c2c'/%3E%3Ccircle cx='46' cy='27' r='2.4' fill='%230b1c2c'/%3E%3Ccircle cx='24' cy='37' r='1.6' fill='%230b1c2c'/%3E%3Cpath d='M32 12.5v37M15.5 30.5 45 27.3' stroke='%230b1c2c' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #f4f7f8, #e9eef0);
  background-repeat: no-repeat, no-repeat;
  background-size: 130px 130px, cover;
  background-position: center, center;
  border-bottom: 1px solid var(--line);
}
.card-media .vial-photo-wrap { width: 46%; }

/* ===== Branded vial photo (real photo + HTML label overlay) ===== */

.vial-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 449 / 647;
}
.vial-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: drop-shadow(0 8px 12px rgba(11,28,44,.12));
}
/* ===== Plain product photo (no vial/label, e.g. needles) ===== */

.syringe-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 633 / 411;
  display: flex;
  align-items: center;
}
.syringe-photo-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(11,28,44,.12));
}
.card-media .syringe-photo-wrap { width: 68%; }
.cart-row .thumb .syringe-photo-wrap { width: 90%; }

/* ===== Bundle photo (two+ branded vials side by side) ===== */

.bundle-photo-wrap {
  display: flex;
  align-items: flex-end;
  gap: 6%;
  width: 100%;
}
.bundle-photo-wrap .bundle-vial { flex: 1; min-width: 0; }
.bundle-photo-wrap .vial-photo-wrap,
.card-media .bundle-photo-wrap .vial-photo-wrap,
.cart-row .thumb .bundle-photo-wrap .vial-photo-wrap { width: 100%; }
.card-media .bundle-photo-wrap { width: 78%; }
.cart-row .thumb .bundle-photo-wrap { width: 96%; }

.vial-label {
  position: absolute;
  left: 11%;
  top: 41%;
  width: 63%;
  height: 30%;
  container-type: inline-size;
  background:
    linear-gradient(90deg, rgba(10,20,28,.1), rgba(10,20,28,0) 10%, rgba(10,20,28,0) 90%, rgba(10,20,28,.1)),
    #fbfcfc;
  border-top: 1px solid rgba(11,28,44,.12);
  border-bottom: 1px solid rgba(11,28,44,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5% 6%;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11,28,44,.08);
}
.vial-label-brand {
  font-size: 6.4cqw;
  font-weight: 700;
  letter-spacing: 0.15cqw;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.2cqw;
}
.vial-label-brand span { color: var(--accent-dark); }
.vial-label-name { font-size: 9.2cqw; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 1.2cqw; }
.vial-label-name.wrapped { font-size: 7.3cqw; line-height: 1.05; }
.vial-label-disclaimer { font-size: 4.6cqw; color: var(--ink-faint); line-height: 1.15; letter-spacing: 0.02cqw; }

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.tag-sale { background: var(--sale); color: #fbe9e2; }
.tag-best { background: var(--navy); color: var(--cream); }
.tag-new { background: var(--accent); color: #fff; }

.card-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { font-size: 14.5px; margin: 2px 0 0; font-weight: 600; font-family: var(--font-body); color: var(--accent-dark); }

.price { font-weight: 700; font-size: 16px; margin-top: 4px; }
.price .was {
  color: var(--ink-faint);
  font-weight: 500;
  font-size: 12.5px;
  text-decoration: line-through;
  margin-right: 7px;
}

.add-btn {
  margin-top: 12px;
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease;
}
.add-btn:hover { background: var(--accent-dark); }
.add-btn.added { background: #4f8f52; }

.empty-note { color: var(--ink-dim); padding: 30px 0; }

/* ===== Info strip ===== */

.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.info-strip .item h4 { margin: 0 0 4px; font-size: 14.5px; font-weight: 600; }
.info-strip .item p { margin: 0; color: var(--ink-dim); font-size: 12.5px; }

/* ===== Footer ===== */

footer.site-footer {
  background: var(--navy);
  color: rgba(243,239,225,.75);
  padding: 52px 0 30px;
  margin-top: 40px;
}
footer.site-footer .cols {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 34px;
  margin-bottom: 30px;
}
footer.site-footer .brand-col .brand { color: var(--cream); margin-bottom: 10px; justify-content: flex-start; }
footer.site-footer .brand-col p { max-width: 260px; font-size: 13px; line-height: 1.6; color: rgba(243,239,225,.6); }
footer.site-footer h5 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(243,239,225,.5);
  margin: 0 0 14px;
  font-weight: 600;
}
footer.site-footer a { display: block; font-size: 13.5px; margin-bottom: 10px; color: rgba(243,239,225,.78); }
footer.site-footer a:hover { color: var(--accent); }
.disclaimer {
  font-size: 11.5px;
  color: rgba(243,239,225,.42);
  border-top: 1px solid rgba(243,239,225,.12);
  padding-top: 20px;
  line-height: 1.7;
}
.copyright { font-size: 12px; color: rgba(243,239,225,.4); margin-top: 14px; }

/* ===== CoA page ===== */

.coa-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 18px;
  max-width: 480px;
}
.coa-search svg { width: 16px; height: 16px; color: var(--ink-faint); flex-shrink: 0; }
.coa-search input {
  flex: 1;
  background: none;
  border: none;
  color: var(--ink);
  padding: 11px 4px;
  font-size: 14px;
  font-family: var(--font-body);
}
.coa-search input:focus { outline: none; }

.coa-table-wrap {
  border-top: 1px solid var(--line);
  overflow-x: auto;
}
table.coa-table { width: 100%; border-collapse: collapse; }
table.coa-table th, table.coa-table td {
  padding: 15px 18px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
table.coa-table th {
  color: var(--ink-faint);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 600;
  background: var(--paper-dim);
}
.pass-tag {
  display: inline-block;
  background: rgba(163, 70, 50, .08);
  color: #6b7a4f;
  font-weight: 700;
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 999px;
}
.coa-empty { padding: 46px; text-align: center; color: var(--ink-dim); }

/* ===== Cart / checkout page ===== */

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-items {
  border-top: 1px solid var(--line);
}

.cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.cart-row .thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, #f4f7f8, #e9eef0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-row .thumb .vial-photo-wrap { width: 62%; }

.cart-row .info { flex: 1; min-width: 0; }
.cart-row .info h4 { margin: 0 0 3px; font-size: 14.5px; font-weight: 600; }
.cart-row .info .unit { color: var(--ink-faint); font-size: 12.5px; }

.cart-row .line-total { font-weight: 700; width: 76px; text-align: right; font-size: 14px; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty-stepper button {
  background: none;
  border: none;
  color: var(--ink);
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 15px;
}
.qty-stepper button:hover { background: var(--paper-dim); }
.qty-stepper input {
  width: 32px;
  text-align: center;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 13.5px;
  font-family: var(--font-body);
}

.remove-btn {
  background: none;
  border: none;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 6px;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.remove-btn svg { width: 100%; height: 100%; }
.remove-btn:hover { color: var(--sale); }

.empty-cart {
  padding: 70px 20px;
  text-align: center;
  color: var(--ink-dim);
}
.empty-cart .ic { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--ink-faint); }
.empty-cart .ic svg { width: 100%; height: 100%; }

.summary-box {
  border-top: 2px solid var(--navy);
  padding-top: 22px;
  position: sticky;
  top: calc(var(--header-h) + var(--banner-h) + 16px);
}
.summary-box h3 { margin: 0 0 16px; font-size: 16px; font-family: var(--font-body); font-weight: 600; }
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 11px;
}
.summary-line.total {
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 7px;
}

.promo-banner {
  background: rgba(15, 139, 143, .1);
  border: 1px solid rgba(15, 139, 143, .35);
  color: var(--accent-dark);
  font-size: 12.5px;
  font-weight: 600;
  padding: 11px 13px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.progress-track {
  height: 5px;
  background: var(--paper-dim);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-fill { height: 100%; background: var(--accent-dark); transition: width .3s ease; }

/* checkout form */
.checkout-form {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.checkout-form h3 { margin: 0 0 20px; font-size: 16px; font-family: var(--font-body); font-weight: 600; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 12px;
  color: var(--ink-dim);
  margin-bottom: 7px;
  font-weight: 600;
  letter-spacing: .2px;
}
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-body);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236f6a59' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
select option { background: var(--paper); color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 1px solid var(--accent-dark); border-color: var(--accent-dark); }
textarea { resize: vertical; min-height: 74px; }

.field-error {
  color: var(--sale);
  font-size: 12px;
  margin-top: 5px;
  display: none;
}
.field-error.show { display: block; }

/* ===== Thank you page ===== */

.thankyou-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 76px 20px 64px;
  text-align: center;
}
.thankyou-wrap .check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.thankyou-wrap .check svg { width: 26px; height: 26px; }
.thankyou-wrap h1 { font-size: 30px; }
.order-ref {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--card-line);
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin: 14px 0 32px;
  font-size: 15px;
  font-family: var(--font-body);
}
.summary-card, .payment-card {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  text-align: left;
  margin-bottom: 32px;
}
.summary-card h3, .payment-card h3 { margin: 0 0 15px; font-size: 15px; font-family: var(--font-body); font-weight: 600; }
.order-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.order-line:last-child { border-bottom: none; }
.payment-card ol { margin: 0; padding-left: 20px; font-size: 13.5px; color: var(--ink-dim); }
.payment-card li { margin-bottom: 9px; }
.wallet-box {
  background: var(--paper-dim);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 12.5px;
  word-break: break-all;
  margin: 10px 0;
}

.badge-note {
  font-size: 12px;
  color: var(--ink-dim);
  background: var(--card);
  border: 1px solid var(--card-line);
  padding: 11px 15px;
  border-radius: 8px;
  margin-top: 20px;
}
