/* Pepared storefront. Palette: navy #0a1f3d, blue #1f5fd6, highlight #4d8cff, body #f5f8fc */

:root {
  --navy: #0a1f3d;
  --navy-deep: #071628;
  --blue: #1f5fd6;
  --blue-dark: #184eae;
  --blue-light: #4d8cff;
  --body: #f5f8fc;
  --card: #ffffff;
  --ink: #122033;
  --muted: #5c6b80;
  --line: #e3ebf5;
  --soft: #eef3f9;
  --shadow: 0 10px 30px rgba(10, 31, 61, 0.08);
  --header-h: 84px;
  --wrap: 1180px;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
button { cursor: pointer; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

/* ===== Utility bar ===== */
.util {
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.util-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.util-group {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.util-group span,
.util-group a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
}
.util-group a:hover { color: #fff; }
.util svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(10, 31, 61, 0.06);
}
.header-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img { height: 52px; width: auto; }

.header-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px 10px;
  flex: 1;
  min-width: 0;
}
.nav-item { position: relative; }
.nav-link,
.nav-caret {
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 8px;
  border-radius: 8px;
}
.nav-link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-link[aria-current="page"] { color: var(--blue); }
.nav-caret {
  display: none;
  padding: 8px 4px;
  color: var(--muted);
}
.caret {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(10, 31, 61, 0.12);
  display: none;
  z-index: 5;
}
.nav-item:hover > .nav-menu,
.nav-item:focus-within > .nav-menu,
.nav-item.is-open > .nav-menu { display: block; }
.nav-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.nav-menu a span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.nav-menu a:hover { background: var(--soft); color: var(--blue); }

.search {
  margin-left: auto;
  position: relative;
  flex-shrink: 0;
}
.search input {
  width: 196px;
  height: 40px;
  border: 1px solid #d7e1ee;
  background: #f7faff;
  border-radius: 999px;
  padding: 0 40px 0 14px;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
}
.search input:focus {
  border-color: var(--blue-light);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 95, 214, 0.12);
}
.search-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.search-btn svg,
.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(340px, 80vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(10, 31, 61, 0.14);
  padding: 6px;
  z-index: 6;
}
.search-panel[hidden] { display: none; }
.search-panel a,
.search-empty {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
}
.search-panel a { font-weight: 700; }
.search-panel a small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}
.search-panel a:hover { background: var(--soft); }
.search-empty { color: var(--muted); font-weight: 600; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 8px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  background: none;
  border: 0;
}
.icon-btn:hover { background: var(--soft); color: var(--blue); }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  position: relative;
  border-radius: 2px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  /* Hero background; right edge fades to #000513 */
  background:
    linear-gradient(90deg, #000513 0%, #000513 30%, rgba(0, 5, 19, 0.55) 45%, rgba(0, 5, 19, 0) 58%),
    url("/images/v2/hero/hero-bg-wide-v2.webp") left calc(50% - 79px) center / auto 100% no-repeat,
    #000513;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Desktop: text column left, vials placed in art coordinates */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 600px);
  grid-template-areas:
    "eyebrow"
    "title"
    "copy"
    "actions"
    "status";
  align-content: center;
  min-height: clamp(620px, 46vw, 800px);
  padding: 40px 0 48px;
}
.hero-grid > :not(.hero-art) { position: relative; z-index: 2; }
.hero-grid .eyebrow { grid-area: eyebrow; }
.hero-grid h1 { grid-area: title; }
.hero-grid .hero-copy { grid-area: copy; }
.hero-grid .status-panel { grid-area: status; }
.hero-grid .hero-actions { grid-area: actions; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.hero h1 .line-accent { display: block; color: var(--blue-light); }
.hero-copy {
  margin: 16px 0 0;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Hero floor stage ===== */
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-scene {
  --scene-shift: calc(-50% - 79px);
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  aspect-ratio: 1977 / 795;
  transform: translateX(var(--scene-shift));
}
.hero-vials { position: absolute; inset: 0; }
/* --x: center (% of art width), --y: floor contact (% of art height), --h: vial height */
.hero-vial {
  --vs: 1.06;
  position: absolute;
  z-index: var(--z, 1);
  left: var(--x);
  top: calc(var(--y) - var(--h) * var(--vs));
  height: calc(var(--h) * var(--vs));
  transform: translateX(-50%);
}
.hero-vial img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  /* rim light + floor reflection */
  filter:
    drop-shadow(0 0 5px rgb(var(--glow) / 0.42))
    drop-shadow(0 0 16px rgb(var(--glow) / 0.22));
  -webkit-box-reflect: below 1px linear-gradient(transparent 72%, rgba(255, 255, 255, 0.24));
}
/* contact shadow */
.hero-vial::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -5%;
  width: 135%;
  height: 12%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
/* floor light */
.hero-vial::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -15%;
  width: 260%;
  height: 34%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--glow) / var(--pool, 0.34)), rgb(var(--glow) / 0));
  mix-blend-mode: screen;
}
.hero-vial.v-nad   { --x: 54.4%; --y: 86%;   --h: 22%;   --z: 2; --glow: 168 85 247; }
.hero-vial.v-tb500 { --x: 63.2%; --y: 89%;   --h: 23%;   --z: 3; --glow: 255 62 72; }
.hero-vial.v-ret   { --x: 71.4%; --y: 93.5%; --h: 25%;   --z: 4; --glow: 56 182 255; }
.hero-vial.v-bpc   { --x: 84.4%; --y: 89%;   --h: 23%;   --z: 3; --glow: 45 212 150; }
.hero-vial.v-pep1  { --x: 90.8%; --y: 84%;   --h: 21%;   --z: 2; --glow: 250 196 40; --pool: 0.5; }

/* ===== Hero status card (tilted glass, left column under the buttons) ===== */
.status-panel {
  --status-line: rgba(77, 140, 255, 0.2);
  justify-self: start;
  width: min(100%, 440px);
  margin-top: 30px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(77, 140, 255, 0.72);
  background: linear-gradient(165deg, rgba(31, 95, 214, 0.26), rgba(10, 31, 61, 0.72) 46%, rgba(7, 22, 40, 0.9));
  box-shadow:
    0 0 0 1px rgba(77, 140, 255, 0.12),
    0 0 22px rgba(77, 140, 255, 0.32),
    inset 0 0 26px rgba(77, 140, 255, 0.1),
    0 0 46px rgba(77, 140, 255, 0.16),
    18px 26px 50px rgba(3, 10, 22, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  /* tilt */
  transform-origin: left center;
  transform: perspective(1100px) rotateY(14deg) rotateX(3deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.status-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.08), transparent 40%);
}
.status-panel:hover { transform: perspective(1100px) rotateY(6deg) rotateX(1deg); }
.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.status-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
}
.status-row:nth-child(odd) { border-right: 1px solid var(--status-line); }
.status-row:nth-child(-n+2) { border-bottom: 1px solid var(--status-line); }
.status-label {
  padding-right: 20px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.status-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}
.status-value.is-ok { color: #4ade80; }
.status-ico {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  stroke: var(--blue-light);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.status-value.is-ok .status-ico { stroke: currentColor; }
.status-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.status-chev {
  position: absolute;
  top: 14px;
  right: 12px;
  width: 13px;
  height: 13px;
  stroke: var(--blue-light);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

/* ===== Categories ===== */
.cats-wrap { position: relative; z-index: 3; margin-top: -64px; }
.cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(10, 31, 61, 0.08);
  overflow: hidden;
}
.cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  min-height: 92px;
  border-right: 1px solid var(--line);
}
.cat:last-child { border-right: 0; }
.cat:hover { background: #f8fbff; }
.cat-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e8f0ff;
  color: #1f5fd6;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.cat-ico svg {
  width: 28px;
  height: 28px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-copy { min-width: 0; }
.cat-copy strong {
  display: block;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}
.cat-copy span {
  display: block;
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}

/* ===== Bestsellers ===== */
.bestsellers { padding: 54px 0 28px; }
.section-kicker {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.bestsellers h2 {
  margin: 8px 0 0;
  text-align: center;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.section-note {
  margin: 8px auto 0;
  max-width: 520px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.carousel {
  position: relative;
  margin-top: 28px;
}
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 2px 18px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.product-card {
  flex: 0 0 calc((100% - 48px) / 4);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e7eef6;
  border-radius: 16px;
  padding: 12px 12px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-card:hover { border-color: #c9daf3; }
.product-shot {
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #0a1f3d;
}
.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-card h3 {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.product-size {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.product-price {
  margin: 8px 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}
.btn-cart {
  margin-top: auto;
  width: 100%;
  min-height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-cart:hover:not(:disabled) { background: var(--blue); color: #fff; }
.btn-cart:disabled {
  border-color: #d5deea;
  color: #8b97a8;
  background: #f4f7fb;
  cursor: not-allowed;
}
.btn-cart svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel-btn {
  position: absolute;
  top: 28%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e4ebf4;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(10, 31, 61, 0.12);
  display: grid;
  place-items: center;
  z-index: 2;
}
.carousel-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel-btn:hover { color: var(--blue); }
.carousel-btn:disabled { opacity: 0.4; cursor: default; }
.carousel-btn.prev { left: -12px; }
.carousel-btn.next { right: -12px; }

/* ===== Trust bar + footer ===== */
.trust-band {
  margin-top: 28px;
  background: var(--navy);
  color: #fff;
}
.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 28px 0;
  text-align: center;
}
.trust-band h3 {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trust-band p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}
.band-ico {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  color: #fff;
}
.band-ico svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 36px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 28px;
}
.site-footer h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer a { display: block; padding: 4px 0; font-weight: 600; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 60px; width: auto; max-width: 100%; }
.footer-brand p { margin: 12px 0 0; max-width: 280px; }
.ruo-disclaimer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.footer-meta {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 80;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 14px;
}
.toast[hidden] { display: none; }
.toast a {
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .product-card { flex-basis: calc((100% - 32px) / 3); }
  .nav-link, .nav-caret { font-size: 13.5px; padding-inline: 6px; }
  .search input { width: 150px; }
  .icon-btn span.label { display: none; }
}

/* single column below 1220px */
@media (max-width: 1219px) {
  .hero { background: #000513; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "title"
      "copy"
      "actions"
      "art"
      "status";
    align-content: start;
    min-height: 0;
    padding: 32px 0 40px;
  }
  /* in-flow stage band */
  .hero-art {
    grid-area: art;
    position: relative;
    inset: auto;
    height: 430px;
    margin: 4px 0 22px;
  }
  .hero-scene { --scene-shift: -72.6%; }
  .hero-scene::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: url("/images/v2/hero/hero-bg-wide-v2.webp") 0 0 / 100% 100% no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 90%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 14%, #000 90%, transparent);
  }
  .hero-vial { --vs: 1.28; }
  .status-panel {
    justify-self: center;
    width: min(100%, 520px);
    margin-top: 0;
    transform-origin: center top;
    transform: perspective(1200px) rotateX(7deg);
  }
  .status-panel:hover { transform: perspective(1200px) rotateX(2deg); }
}
/* taller stage for wide single-column widths */
@media (min-width: 981px) and (max-width: 1219px) {
  .hero-art { height: 480px; }
  .hero-vial { --vs: 1.2; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-grid; place-items: center; order: 3; }
  .header-tools { order: 2; margin-left: auto; }
  .header-cluster {
    display: none;
    position: fixed;
    z-index: 45;
    top: var(--chrome-bottom, 112px);
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 16px 28px;
    overflow: auto;
  }
  .site-header.is-open .header-cluster { display: flex; }
  .primary-nav { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { justify-content: space-between; width: 100%; padding: 14px 4px; font-size: 16px; }
  .nav-caret { display: none; }
  .nav-menu {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 10px 8px;
  }
  .nav-item.is-open > .nav-menu { display: block; }
  .nav-item:hover > .nav-menu { display: none; }
  .nav-item.is-open:hover > .nav-menu,
  .nav-item.is-open > .nav-menu { display: block; }
  .search { margin-left: 0; order: -1; }
  .search input { width: 100%; }
  .search-panel { left: 0; right: 0; width: auto; }
  .header-bar { min-height: 68px; }
  .logo img { height: 36px; }
  .trust-band-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .util-inner { flex-wrap: wrap; justify-content: center; padding: 8px 0; row-gap: 6px; }
  .util-group { flex-wrap: wrap; justify-content: center; gap: 8px 14px; }
  .cats {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat {
    flex: 0 0 230px;
    scroll-snap-align: start;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .cat:last-child { border-right: 0; border-bottom: 0; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .util { font-size: 11.5px; }
  .util-inner { min-height: 0; }
  .product-card { flex-basis: calc(100% - 36px); }
  .hero h1 { font-size: 36px; }
  .hero-art { height: 300px; margin: 0 0 18px; }
  .hero-vial { --vs: 1.5; }
  .status-panel {
    width: min(100%, 420px);
    transform: perspective(1200px) rotateX(5deg);
  }
  .status-panel:hover { transform: perspective(1200px) rotateX(2deg); }
  .status-row { padding: 14px; gap: 5px; }
  .status-value { font-size: 16px; }
  .status-ico { width: 16px; height: 16px; flex-basis: 16px; }
  .status-chev { top: 13px; right: 12px; }
  .carousel-btn.prev { left: -4px; }
  .carousel-btn.next { right: -4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 380px) {
  .status-row { padding: 12px; }
  .status-value { font-size: 15px; gap: 4px 6px; }
  .status-ico { width: 15px; height: 15px; flex-basis: 15px; }
  .status-chev { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .status-panel { transition: none; }
  html { scroll-behavior: auto; }
  .carousel-track { scroll-behavior: auto; }
}

/* ===== Shop page ===== */
.shop-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #000513;
  color: #fff;
}
.shop-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a24bff 18%, #ff2d55 36%, #1fb6ff 55%, #22d38a 73%, #ffc21a 88%, transparent);
  opacity: 0.85;
}
.shop-hero-inner {
  position: relative;
  padding: 34px 0 38px;
}
/* hero art, right aligned */
.shop-hero-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10px;
  bottom: -10px;
  right: -120px;
  width: min(760px, 92vw);
  background: url("/images/v2/hero/hero-bg-wide-v2.webp") right center / auto 128% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48%);
  mask-image: linear-gradient(90deg, transparent, #000 48%);
  pointer-events: none;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}
.crumbs a { color: rgba(255, 255, 255, 0.78); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.shop-hero .eyebrow { margin-bottom: 10px; }
.shop-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.shop-hero h1 .line-accent { color: var(--blue-light); }
.shop-ruo {
  margin: 12px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
}

.shop-main { padding: 26px 0 56px; }
.shop-main [hidden] { display: none !important; }
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.chip:hover:not(.is-active) { border-color: var(--blue-light); color: var(--blue); background: #fff; }
.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(77, 140, 255, 0.16), 0 0 18px rgba(77, 140, 255, 0.32);
}
.chip:focus-visible, .shop-sort select:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
.chip-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(10, 31, 61, 0.08);
  font-size: 11px;
  font-weight: 800;
}
.chip.is-active .chip-count { background: rgba(255, 255, 255, 0.16); }
.shop-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.shop-count {
  margin: 0 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.shop-sort label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.shop-sort select {
  -webkit-appearance: none;
  appearance: none;
  min-height: 38px;
  padding: 0 34px 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 800 13px/1 var(--sans);
  cursor: pointer;
}
.shop-sort select:hover { border-color: var(--blue-light); }

/* product grid: 6 across on desktop */
.shop-grid {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.shop-grid > .shop-card { flex: 0 0 calc((100% - 100px) / 6); }
.shop-card {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.shop-card:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 140, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(77, 140, 255, 0.22),
    0 0 26px rgba(77, 140, 255, 0.22),
    0 18px 40px rgba(10, 31, 61, 0.14);
}
.shop-card .product-shot { position: relative; }
.shop-card .product-shot img { transition: transform 0.4s ease; }
.shop-card:hover .product-shot img { transform: scale(1.035); }
.coa-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(77, 140, 255, 0.65);
  background: rgba(7, 22, 40, 0.72);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(77, 140, 255, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.coa-badge svg {
  width: 13px;
  height: 13px;
  stroke: #4ade80;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-cat {
  margin: 12px 0 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.shop-card h3 { margin-top: 3px; }
.shop-empty {
  margin: 28px 0 0;
  padding: 26px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-weight: 600;
}
.shop-empty button {
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}
.shop-note {
  margin: 26px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

/* trust strip */
.shop-trust {
  position: relative;
  overflow: hidden;
  padding: 34px 0 38px;
  background:
    radial-gradient(60% 120% at 50% 100%, rgba(31, 95, 214, 0.22), transparent 70%),
    #000513;
}
.status-panel.is-strip {
  width: 100%;
  margin: 0 auto;
  transform-origin: center bottom;
  transform: perspective(1400px) rotateX(8deg);
}
.status-panel.is-strip:hover { transform: perspective(1400px) rotateX(3deg); }
.status-panel.is-strip .status-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.status-panel.is-strip .status-row { border-bottom: 0; border-right: 1px solid var(--status-line); }
.status-panel.is-strip .status-row:last-child { border-right: 0; }

@media (max-width: 1100px) {
  .shop-grid > .shop-card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 900px) {
  .status-panel.is-strip { width: min(100%, 520px); }
  .status-panel.is-strip .status-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-panel.is-strip .status-row { border-right: 0; }
  .status-panel.is-strip .status-row:nth-child(odd) { border-right: 1px solid var(--status-line); }
  .status-panel.is-strip .status-row:nth-child(-n+2) { border-bottom: 1px solid var(--status-line); }
}
@media (max-width: 720px) {
  .shop-hero-inner { padding: 24px 0 28px; }
  .shop-hero-inner::before { right: -190px; width: 420px; opacity: 0.4; }
  .shop-ruo { font-size: 14px; max-width: 300px; }
  .shop-main { padding: 18px 0 40px; }
  .shop-toolbar { padding: 12px; }
  .shop-sort { width: 100%; margin-left: 0; }
  .shop-count { margin-right: auto; }
  .shop-grid { gap: 12px; margin-top: 16px; }
  .shop-grid > .shop-card { flex-basis: calc((100% - 12px) / 2); }
  .shop-card { padding: 8px 8px 10px; }
  .shop-card .product-shot { border-radius: 12px; }
  .shop-card h3 { font-size: 15px; }
  .shop-card .product-price { margin: 6px 0 10px; font-size: 17px; }
  .shop-card .btn-cart { min-height: 38px; gap: 6px; font-size: 11px; letter-spacing: 0.04em; }
  .coa-badge { top: 7px; left: 7px; padding: 4px 7px; font-size: 9.5px; }
}
@media (max-width: 340px) {
  .shop-grid > .shop-card { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-card, .shop-card .product-shot img, .chip { transition: none; }
  .shop-card:hover, .shop-card:hover .product-shot img { transform: none; }
}

/* ===== About page ===== */
.about-lede { font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, 0.88); }
.about-soon .shop-hero-inner { display: flex; flex-direction: column; justify-content: center; min-height: max(360px, calc(100vh - 470px)); padding: 48px 0 56px; }
.about-soon .btn { align-self: flex-start; margin-top: 24px; }

.about-story { padding: 64px 0 60px; }
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}
.about-story .section-kicker,
.about-story h2 { text-align: left; }
.about-story h2,
.about-values h2,
.about-standard h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.1;
}
.about-values h2,
.about-standard h2 { text-align: center; }
.about-story-copy p {
  margin: 16px 0 0;
  max-width: 62ch;
  color: #33445a;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.65;
}
.about-story-copy h2 + p { margin-top: 20px; }

.about-facts {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(77, 140, 255, 0.62);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(31, 95, 214, 0.35), transparent 60%),
    linear-gradient(165deg, #0d2a52, #071628 60%, #000513);
  box-shadow:
    0 0 0 1px rgba(77, 140, 255, 0.12),
    0 0 26px rgba(77, 140, 255, 0.26),
    inset 0 0 30px rgba(77, 140, 255, 0.08),
    0 24px 50px rgba(10, 31, 61, 0.22);
  color: #fff;
  overflow: hidden;
}
.about-facts::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a24bff 18%, #ff2d55 36%, #1fb6ff 55%, #22d38a 73%, #ffc21a 88%, transparent);
  opacity: 0.85;
}
.about-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px;
}
.about-fact + .about-fact { border-top: 1px solid rgba(77, 140, 255, 0.2); }
.fact-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--blue-light);
}
.fact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* values band */
.about-values {
  position: relative;
  padding: 64px 0 70px;
  color: #fff;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(31, 95, 214, 0.22), transparent 70%),
    #000513;
}
.about-values .section-kicker { color: var(--blue-light); }
.glow-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.glow-card {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(77, 140, 255, 0.55);
  background: linear-gradient(165deg, rgba(31, 95, 214, 0.22), rgba(10, 31, 61, 0.7) 50%, rgba(7, 22, 40, 0.92));
  box-shadow:
    0 0 0 1px rgba(77, 140, 255, 0.1),
    0 0 20px rgba(77, 140, 255, 0.22),
    inset 0 0 24px rgba(77, 140, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.07), transparent 42%);
}
.glow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 140, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(77, 140, 255, 0.2),
    0 0 30px rgba(77, 140, 255, 0.4),
    inset 0 0 28px rgba(77, 140, 255, 0.12);
}
.glow-ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(77, 140, 255, 0.45);
  background: rgba(77, 140, 255, 0.12);
  color: var(--blue-light);
}
.glow-ico svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.glow-card h3 {
  margin: 18px 0 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.glow-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
}

/* standard steps */
.about-standard { padding: 64px 0 66px; }
.std-grid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: none;
}
.std-step {
  position: relative;
  padding: 24px 22px 22px;
  background: #fff;
  border: 1px solid #e7eef6;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.std-step::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.std-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.std-step h3 {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.std-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
}

/* CTA panel + RUO notice */
.about-cta-wrap { padding: 56px 0 60px; }
.about-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 44px;
  border-radius: 20px;
  background: #000513;
  color: #fff;
  box-shadow: 0 24px 50px rgba(10, 31, 61, 0.22);
}
.about-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: -80px;
  width: min(640px, 80%);
  background: url("/images/v2/hero/hero-bg-wide-v2.webp") right center / auto 150% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%);
  mask-image: linear-gradient(90deg, transparent, #000 55%);
  opacity: 0.85;
  pointer-events: none;
}
.about-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a24bff 18%, #ff2d55 36%, #1fb6ff 55%, #22d38a 73%, #ffc21a 88%, transparent);
  opacity: 0.85;
}
.about-cta .eyebrow { margin-bottom: 8px; }
.about-cta h2 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1.05;
}
.about-cta-copy p {
  margin: 10px 0 0;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15.5px;
  font-weight: 500;
}
.about-cta .btn { flex: 0 0 auto; }

.ruo-block {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid #d6e2f2;
  border-left: 4px solid var(--blue);
  background: #fff;
}
.ruo-ico { flex: 0 0 26px; color: var(--blue); }
.ruo-ico svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ruo-block h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ruo-block p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .glow-grid,
  .std-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-facts { max-width: 520px; }
  .about-cta { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .about-cta::before { opacity: 0.4; }
}
@media (max-width: 720px) {
  .about-story,
  .about-values,
  .about-standard { padding: 44px 0 46px; }
  .about-story-copy p { font-size: 15.5px; }
  .glow-grid,
  .std-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
  .about-fact { padding: 18px 22px; }
  .fact-num { font-size: 26px; }
  .about-cta-wrap { padding: 40px 0 44px; }
  .about-cta { padding: 28px 22px; }
  .ruo-block { padding: 18px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .glow-card { transition: none; }
  .glow-card:hover { transform: none; }
}

/* About: value cards */
.std-step {
  --tone: 31 182 255;
  --tone-ink: #0b84c6;
  overflow: hidden;
  padding: 26px 24px 26px;
  border-color: #e3ebf5;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.std-step[data-tone="gold"]   { --tone: 255 194 26;  --tone-ink: #b98200; }
.std-step[data-tone="green"]  { --tone: 34 211 138;  --tone-ink: #0f9a5e; }
.std-step[data-tone="purple"] { --tone: 162 75 255;  --tone-ink: #7a35e0; }
.std-step::before {
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0;
  background: linear-gradient(90deg, rgb(var(--tone)), rgb(var(--tone) / 0.35));
  box-shadow: 0 0 14px rgb(var(--tone) / 0.55);
}
.std-step::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 90px;
  background: radial-gradient(70% 100% at 85% 0%, rgb(var(--tone) / 0.12), transparent 70%);
  pointer-events: none;
}
.std-step:hover {
  transform: translateY(-4px);
  border-color: rgb(var(--tone) / 0.55);
  box-shadow:
    0 0 0 1px rgb(var(--tone) / 0.18),
    0 0 26px rgb(var(--tone) / 0.22),
    0 18px 40px rgba(10, 31, 61, 0.12);
}
.std-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.std-ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgb(var(--tone) / 0.13);
  border: 1px solid rgb(var(--tone) / 0.4);
  color: var(--tone-ink);
}
.std-ico svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.std-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tone-ink);
  opacity: 0.9;
}
.std-step h3 { position: relative; z-index: 1; margin-top: 18px; font-size: 18px; }
.std-step p { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .std-num { font-size: 38px; }
  .std-ico { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .std-step { transition: none; }
  .std-step:hover { transform: none; }
}

/* ===== Contact page ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.std-step p a,
.contact-inline-link {
  color: var(--tone-ink, var(--blue));
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-main { padding: 48px 0 56px; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.contact-card {
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px 30px 32px;
}
.contact-form[hidden],
.form-success[hidden],
.field-error[hidden] { display: none !important; }
.contact-form { display: grid; gap: 18px; }
.contact-form-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.contact-form-head p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.req { color: #d43c4a; font-weight: 800; }
.opt { color: var(--muted); font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.field > label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1.5px solid #d8e2ef;
  border-radius: 10px;
  background: #f9fbfe;
  color: var(--ink);
  font: 600 15px/1.4 var(--sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer; }
.field select:invalid { color: #8794a6; }
.field select option { color: var(--ink); }
.field input::placeholder,
.field textarea::placeholder { color: #9aa6b6; font-weight: 500; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #b9cbe3; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.14);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d43c4a; box-shadow: 0 0 0 3px rgba(212, 60, 74, 0.12); }
.field-error {
  margin: 0;
  color: #c0313e;
  font-size: 12.5px;
  font-weight: 700;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border: 1.5px solid #d8e2ef;
  border-radius: 12px;
  background: #f5f8fc;
  color: #33445a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.check input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.check:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.14); }
.field.has-error .check { border-color: #d43c4a; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-actions .btn { min-width: 190px; }
.btn:focus-visible { outline: 3px solid rgba(77, 140, 255, 0.55); outline-offset: 2px; }

.form-success {
  padding: 36px 8px 28px;
  text-align: center;
  outline: none;
}
.success-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(31, 95, 214, 0.1);
  color: var(--blue);
  box-shadow: 0 0 0 8px rgba(31, 95, 214, 0.05), 0 0 26px rgba(77, 140, 255, 0.35);
}
.success-ico svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.form-success h2 { margin: 20px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.form-note { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.btn-ghost-dark {
  margin-top: 22px;
  background: transparent;
  color: var(--ink);
  border-color: #c6d4e6;
}
.btn-ghost-dark:hover { border-color: var(--blue); color: var(--blue); }

.contact-info { display: grid; gap: 14px; }
.info-card {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 20px 20px;
  border-radius: 16px;
  border: 1px solid rgba(77, 140, 255, 0.55);
  background: linear-gradient(165deg, #0f2d57, #0a1f3d 50%, #000513);
  box-shadow:
    0 0 0 1px rgba(77, 140, 255, 0.1),
    0 0 20px rgba(77, 140, 255, 0.22),
    inset 0 0 24px rgba(77, 140, 255, 0.08),
    0 14px 30px rgba(10, 31, 61, 0.16);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.07), transparent 42%);
}
.info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 140, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(77, 140, 255, 0.2),
    0 0 30px rgba(77, 140, 255, 0.4),
    inset 0 0 28px rgba(77, 140, 255, 0.12),
    0 14px 30px rgba(10, 31, 61, 0.16);
}
.info-card .glow-ico { flex: 0 0 46px; }
.info-card h3 { margin: 2px 0 0; font-size: 16px; font-weight: 800; }
.info-card p { margin: 5px 0 0; color: rgba(255, 255, 255, 0.76); font-size: 14.5px; font-weight: 500; line-height: 1.5; }
.info-email { color: #fff; font-weight: 800; letter-spacing: 0.01em; user-select: all; word-break: break-all; }

.contact-faq { padding: 8px 0 60px; }
.contact-faq h2 {
  margin: 8px 0 0;
  text-align: center;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.faq-list { max-width: 820px; margin: 28px auto 0; display: grid; gap: 12px; }
.faq-item {
  --tone: 31 182 255;
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item summary {
  position: relative;
  list-style: none;
  padding: 18px 56px 18px 22px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:focus-visible { outline: 3px solid rgba(77, 140, 255, 0.55); outline-offset: -3px; border-radius: 14px; }
.faq-item[open] { border-color: #bfd3f0; box-shadow: 0 0 0 1px rgba(77, 140, 255, 0.12), 0 0 22px rgba(77, 140, 255, 0.14), 0 10px 30px rgba(10, 31, 61, 0.08); }
.faq-item:hover { border-color: #c9daf3; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.6; }
.contact-ruo { padding: 40px 0 56px; }
.contact-ruo .ruo-block { margin-top: 0; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .contact-main { padding: 26px 0 40px; }
  .contact-card { padding: 22px 18px 24px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .contact-info { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
  .contact-faq { padding: 0 0 44px; }
  .faq-item summary { padding: 16px 48px 16px 18px; font-size: 15px; }
  .faq-item p { padding: 0 18px 18px; }
  .contact-ruo { padding: 30px 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .info-card, .faq-item, .faq-item summary::after, .field input, .field select, .field textarea { transition: none; }
  .info-card:hover { transform: none; }
}

/* ===== Policy pages ===== */
.ship-facts { padding: 40px 0 44px; }
.ship-facts .glow-grid { margin-top: 0; }
.policy-main { padding: 52px 0 60px; }
.policy-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.toc-title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.policy-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.policy-toc a {
  position: relative;
  display: block;
  padding: 8px 10px 8px 14px;
  border-radius: 8px;
  color: #33445a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.policy-toc a::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 3px;
  background: transparent;
  transition: background-color 0.2s ease;
}
.policy-toc a:hover { background: var(--soft); color: var(--blue); }
.policy-toc a[aria-current="true"] { color: var(--blue); background: #eef4ff; }
.policy-toc a[aria-current="true"]::before { background: var(--blue); }
.policy-toc a:focus-visible { outline: 3px solid rgba(77, 140, 255, 0.55); outline-offset: 1px; }

.policy-doc {
  padding: 34px 40px 38px;
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.policy-updated {
  display: inline-block;
  margin: 0 0 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.policy-sec {
  padding: 26px 0 4px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.policy-sec + .policy-sec { border-top: 1px solid #e8eef6; }
.policy-sec h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sec-num {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.policy-sec p {
  margin: 0 0 14px;
  max-width: 68ch;
  color: #33445a;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.65;
}
.policy-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-cta { margin: 4px 0 18px; }
.table-wrap {
  margin: 4px 0 18px;
  overflow-x: auto;
  border: 1px solid #e3ebf5;
  border-radius: 14px;
}
.rate-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.rate-table th,
.rate-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e8eef6;
}
.rate-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 0;
}
.rate-table tbody th { font-weight: 800; color: var(--ink); }
.rate-table td { color: #33445a; font-weight: 600; }
.rate-table tbody tr:last-child th,
.rate-table tbody tr:last-child td { border-bottom: 0; }
.rate-table tbody tr:hover { background: #f7faff; }
.rate-free {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .policy-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .policy-toc { position: static; }
  .policy-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ship-facts { padding: 28px 0 32px; }
  .policy-main { padding: 28px 0 40px; }
  .policy-toc ol { grid-template-columns: minmax(0, 1fr); }
  .policy-doc { padding: 24px 18px 26px; }
  .policy-sec h2 { font-size: 19px; }
  .policy-sec p { font-size: 15px; }
}
@media (max-width: 560px) {
  /* rate table: one card per method on mobile */
  .table-wrap { overflow: visible; border: 0; }
  .rate-table { min-width: 0; }
  .rate-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rate-table tbody { display: grid; gap: 12px; }
  .rate-table tbody tr { display: block; border: 1px solid #e3ebf5; border-radius: 14px; overflow: hidden; }
  .rate-table tbody th { display: block; padding: 12px 14px; background: var(--navy); color: #fff; border-bottom: 0; }
  .rate-table td { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 11px 14px; }
  .rate-table td::before { content: attr(data-label); color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
  .rate-table tbody tr td:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .policy-toc a, .policy-toc a::before { transition: none; }
}

/* ===== Policy pages: refunds additions ===== */
.policy-note {
  margin: 4px 0 16px;
  padding: 14px 18px;
  max-width: 68ch;
  border: 1px solid #d7e4ff;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  background: #f4f8ff;
  color: var(--ink);
  font-weight: 800;
}
.policy-sec p.policy-note { color: var(--ink); font-weight: 800; }
.policy-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.policy-list li {
  position: relative;
  padding-left: 26px;
  color: #33445a;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
}
.policy-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 10px;
  height: 6px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
@media (max-width: 720px) {
  .policy-list li { font-size: 15px; }
}

/* ===== Policy pages: privacy additions ===== */
.policy-sub {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.policy-sec h2 + .policy-sub { margin-top: 4px; }

/* ===== Policy pages: legal additions ===== */
.policy-toc.is-compact {
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.policy-toc.is-compact ol { gap: 0; }
.policy-toc.is-compact a { padding: 6px 10px 6px 14px; font-size: 13px; }
.policy-toc.is-compact a::before { top: 7px; bottom: 7px; }
.policy-callout {
  margin: 4px 0 16px;
  padding: 18px 20px;
  max-width: 72ch;
  border: 1px solid #d7e4ff;
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  background: #f4f8ff;
}
/* keep "(c)" literal in Manrope */
.policy-doc { font-variant-ligatures: no-common-ligatures no-contextual; font-feature-settings: "liga" 0, "calt" 0; }
.policy-callout .callout-title {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.policy-sec .policy-callout p:last-child { margin-bottom: 0; color: var(--ink); font-weight: 600; }
.policy-callout.is-strong {
  border-color: var(--navy);
  border-left-color: #4d8cff;
  background: linear-gradient(160deg, #0d1b33, var(--navy));
  box-shadow: 0 10px 30px rgba(8, 20, 45, 0.18);
}
.policy-callout.is-strong .callout-title { color: #8fb6ff; }
.policy-sec .policy-callout.is-strong p:last-child { color: #e6eeff; }
.policy-sec p.policy-caps {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.policy-sec p strong { color: var(--ink); font-weight: 800; }
@media (max-width: 980px) {
  .policy-toc.is-compact { max-height: none; overflow: visible; }
}
@media (max-width: 720px) {
  .policy-callout { padding: 16px; }
  .policy-sec p.policy-caps { font-size: 12.5px; }
}

/* ===== Account workflows ===== */
.account-btn .label { min-width: 58px; max-width: 11ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-btn.is-signed-in { color: var(--blue); }
.nav-item.nav-account { display: none; }
@media (max-width: 980px) {
  .nav-item.nav-account { display: block; }
  .nav-account .nav-link { color: var(--blue); }
}

.btn-sm { min-height: 38px; padding: 0 14px; font-size: 12px; }
.btn-block { width: 100%; }
.form-actions .btn-block { min-width: 0; }
.auth-grid { align-items: start; }
.auth-narrow { max-width: 560px; margin: 0 auto; }
.auth-card { padding: 30px 30px 26px; }
.auth-form { gap: 16px; }
.form-alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #f3c2c7;
  background: #fff3f4;
  color: #a3212e;
  font-size: 14px;
  font-weight: 700;
}
.form-alert[hidden] { display: none; }
.form-alert[data-kind="success"] { border-color: #bfe8d2; background: #effaf4; color: #0f7a47; }
.form-alert[data-kind="info"] { border-color: #cfe0ff; background: #f2f7ff; color: var(--blue); }
.social-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1.5px solid #d8e2ef;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.btn-social:hover { border-color: var(--blue); color: var(--blue); }
.btn-social:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.14); }
.or-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: #e3ebf5; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.label-row label { font-size: 13px; font-weight: 800; color: var(--ink); }
.forgot-link, .auth-switch a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-switch { margin: 0; text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; }
.auth-switch a { font-size: 14px; }
.auth-form .form-note { margin: 0; text-align: center; }
.field input[type="password"],
.field input[type="tel"] {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1.5px solid #d8e2ef;
  border-radius: 10px;
  background: #f9fbfe;
  color: var(--ink);
  font: 600 15px/1.4 var(--sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field input[type="password"]:hover, .field input[type="tel"]:hover { border-color: #b9cbe3; }
.field input[type="password"]:focus,
.field input[type="tel"]:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.14);
}
.field.has-error input[type="password"], .field.has-error input[type="tel"] { border-color: #d43c4a; box-shadow: 0 0 0 3px rgba(212, 60, 74, 0.12); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 70px !important; }
.pw-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--blue);
  font: 800 12px/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.pw-toggle:hover { background: var(--soft); }
.pw-toggle:focus-visible { outline: 3px solid rgba(77, 140, 255, 0.55); outline-offset: 1px; }
.check-inline { padding: 10px 12px; }
.field-hint { margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; }

.pw-meter { display: grid; gap: 8px; margin-top: -4px; }
.pw-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pw-bar span { height: 6px; border-radius: 6px; background: #e3ebf5; transition: background-color 0.2s ease; }
.pw-meter[data-score="1"] .pw-bar span:nth-child(-n+1) { background: #d43c4a; }
.pw-meter[data-score="2"] .pw-bar span:nth-child(-n+2) { background: #e5a100; }
.pw-meter[data-score="3"] .pw-bar span:nth-child(-n+3) { background: #2f8fe0; }
.pw-meter[data-score="4"] .pw-bar span { background: #12a564; }
.pw-label { margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 800; }
.pw-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pw-rules li { position: relative; padding-left: 20px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.pw-rules li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid #b9c6d8;
}
.pw-rules li.is-met { color: #0f7a47; }
.pw-rules li.is-met::before { border-color: #12a564; background: #12a564; box-shadow: inset 0 0 0 2px #fff; }
.req-tag { margin-left: 4px; color: #a3212e; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.ack-set { margin: 4px 0 0; padding: 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.ack-set legend { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 10px; padding: 0; font-size: 13px; font-weight: 800; color: var(--ink); }
.ack-progress { color: var(--muted); font-size: 12px; font-weight: 700; }
.ack-progress.is-complete { color: #0f7a47; }
.ack-set .field { gap: 6px; }
.success-text { margin: 10px 0 0; color: #33445a; font-size: 15px; font-weight: 600; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.success-actions .btn-ghost-dark { margin-top: 0; }
.success-ico.is-warn { background: rgba(212, 60, 74, 0.1); color: #c0313e; box-shadow: 0 0 0 8px rgba(212, 60, 74, 0.05); }

/* Dashboard */
.acct-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.acct-grid[hidden], .auth-grid[hidden] { display: none; }
.acct-side {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 18px;
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.acct-user { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; border-bottom: 1px solid #e8eef6; margin-bottom: 10px; min-width: 0; }
.acct-avatar {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #0f2d57, var(--navy));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 0 0 3px #eef4ff, 0 0 18px rgba(77, 140, 255, 0.35);
}
.acct-user-text { display: grid; min-width: 0; }
.acct-user-text strong { font-size: 15px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-user-text span { color: var(--muted); font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-nav { display: grid; gap: 2px; }
.acct-nav a, .acct-signout {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #33445a;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.acct-nav svg, .acct-signout svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acct-nav a:hover { background: var(--soft); color: var(--blue); }
.acct-nav a[aria-current="page"] { background: #eef4ff; color: var(--blue); }
.acct-nav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--blue); }
.acct-nav a:focus-visible, .acct-signout:focus-visible { outline: 3px solid rgba(77, 140, 255, 0.55); outline-offset: 1px; }
.acct-signout { width: 100%; margin-top: 10px; border: 0; border-top: 1px solid #e8eef6; border-radius: 0 0 10px 10px; padding-top: 14px; background: transparent; cursor: pointer; font-family: inherit; }
.acct-signout:hover { color: #c0313e; }
.acct-panel { display: grid; gap: 18px; min-width: 0; }
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acct-head h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.acct-sub { margin: -8px 0 0; color: var(--muted); font-size: 14.5px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.acct-card {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  min-width: 0;
}
.acct-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.acct-card-head h3 { margin: 0; font-size: 17px; font-weight: 800; }
.acct-text { margin: 0; color: #33445a; font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; letter-spacing: 0.02em; }
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.acct-stat {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(77, 140, 255, 0.55);
  background: linear-gradient(165deg, #0f2d57, #0a1f3d 50%, #000513);
  box-shadow: 0 0 0 1px rgba(77, 140, 255, 0.1), 0 0 20px rgba(77, 140, 255, 0.2), 0 14px 30px rgba(10, 31, 61, 0.14);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.acct-stat:hover { transform: translateY(-2px); border-color: rgba(77, 140, 255, 0.9); box-shadow: 0 0 0 1px rgba(77, 140, 255, 0.2), 0 0 30px rgba(77, 140, 255, 0.4), 0 14px 30px rgba(10, 31, 61, 0.16); }
.stat-num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.stat-label { color: rgba(255, 255, 255, 0.72); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.quick-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.quick-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid #e3ebf5;
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.quick-links svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--blue); }
.quick-links a:hover, .quick-links a:focus-visible { outline: none; border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.1); }
.order-list { display: grid; gap: 12px; }
.order-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto 18px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.acct-card .order-row { box-shadow: none; }
.order-row:hover, .order-row:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.1); }
.order-thumbs { display: flex; }
.order-thumbs img { width: 30px; height: 45px; object-fit: contain; border-radius: 6px; background: #f2f6fb; border: 1px solid #e3ebf5; }
.order-thumbs img + img { margin-left: -8px; }
.order-meta { display: grid; gap: 2px; min-width: 0; }
.order-meta strong { font-size: 15px; font-weight: 800; }
.order-meta span { color: var(--muted); font-size: 13px; font-weight: 600; }
.order-total { font-size: 15px; font-weight: 800; }
.order-chev { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #eef4ff;
  color: var(--blue);
  white-space: nowrap;
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill[data-status="delivered"] { background: #effaf4; color: #0f7a47; }
.status-pill[data-status="packing"], .status-pill[data-status="paid"] { background: #fff7e6; color: #9a6400; }
.status-pill[data-status="cancelled"], .status-pill[data-status="refunded"] { background: #fff3f4; color: #a3212e; }
.acct-back { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 13px; font-weight: 800; justify-self: start; }
.acct-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.order-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: none; }
.order-steps li { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 800; text-align: center; }
.order-steps li::before { content: ""; position: absolute; top: 7px; left: -50%; right: 50%; height: 3px; background: #e3ebf5; z-index: 0; }
.order-steps li:first-child::before { display: none; }
.order-steps li.is-done::before { background: var(--blue); }
.step-dot { position: relative; z-index: 1; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 3px solid #d0dbe9; }
.order-steps li.is-done { color: var(--ink); }
.order-steps li.is-done .step-dot { border-color: var(--blue); background: var(--blue); }
.order-steps li.is-current .step-dot { box-shadow: 0 0 0 5px rgba(31, 95, 214, 0.15); }
.order-table { min-width: 560px; }
.item-cell { display: inline-flex; align-items: center; gap: 10px; }
.item-cell img { width: 26px; height: 39px; object-fit: contain; }
.item-size { color: var(--muted); font-weight: 700; }
.order-totals { margin: 0; display: grid; gap: 8px; justify-self: end; width: min(100%, 360px); }
.order-totals div { display: flex; justify-content: space-between; gap: 16px; color: #33445a; font-size: 14.5px; font-weight: 600; }
.order-totals dt, .order-totals dd { margin: 0; }
.order-totals .is-total { padding-top: 10px; border-top: 1px solid #e3ebf5; color: var(--ink); font-size: 17px; font-weight: 800; }
.free-ship { color: #0f7a47; font-weight: 800; }
.ship-note { margin: 0; justify-self: end; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.acct-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.acct-two .btn { justify-self: start; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost-dark.btn-sm { margin-top: 0; }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.addr-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.addr-card:hover { border-color: #b9cbe3; }
.addr-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.addr-top h3 { margin: 0; font-size: 15px; font-weight: 800; }
.default-tag { padding: 3px 8px; border-radius: 999px; background: #eef4ff; color: var(--blue); font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.addr-actions, .addr-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-top: 8px; border-top: 1px solid #edf2f8; }
.addr-actions[hidden], .addr-confirm[hidden] { display: none; }
.addr-confirm p { margin: 0; width: 100%; color: var(--ink); font-size: 13.5px; font-weight: 800; }
.text-btn { padding: 4px 0; border: 0; background: none; color: var(--blue); font: 800 13px/1.2 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.text-btn.is-danger { color: #c0313e; }
.btn.is-danger { background: #c0313e; border-color: #c0313e; }
.acct-empty { padding: 30px 24px; text-align: center; background: #fff; border: 1px dashed #c6d4e6; border-radius: 16px; display: grid; justify-items: center; gap: 8px; }
.acct-empty h3, .acct-empty h2 { margin: 0; font-size: 18px; }
.acct-empty p { margin: 0 0 8px; color: var(--muted); font-weight: 600; }
.addr-form .field-row-3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr); }
.acct-fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.acct-fieldset legend { margin-bottom: 10px; padding: 0; font-size: 13px; font-weight: 800; color: var(--ink); }
.coa-card { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 18px; }
.coa-card .glow-ico { background: linear-gradient(160deg, #0f2d57, var(--navy)); }
.coa-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.coa-card .btn { margin-top: 14px; }

@media (max-width: 980px) {
  .acct-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .acct-side { position: static; padding: 14px; }
  .acct-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav a { flex: 0 0 auto; padding: 9px 12px; border: 1.5px solid #e3ebf5; }
  .acct-nav a[aria-current="page"] { border-color: var(--blue); }
  .acct-nav a[aria-current="page"]::before { display: none; }
  .acct-signout { margin-top: 8px; }
}
@media (max-width: 720px) {
  .auth-card { padding: 22px 18px 20px; }
  .social-row { grid-template-columns: minmax(0, 1fr); }
  .acct-stats { grid-template-columns: minmax(0, 1fr); }
  .acct-two { grid-template-columns: minmax(0, 1fr); }
  .addr-form .field-row-3 { grid-template-columns: minmax(0, 1fr); }
  .order-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px; }
  .order-thumbs, .order-chev { display: none; }
  .order-row .status-pill { grid-column: 1; grid-row: 2; justify-self: start; }
  .order-row .order-total { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .order-steps li { font-size: 11px; }
  .acct-card { padding: 18px 16px; }
  .acct-head h2 { font-size: 22px; }
  .order-totals, .ship-note { justify-self: stretch; }
}
@media (max-width: 560px) {
  .order-table { min-width: 0; }
  .order-table tbody th { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .acct-stat, .order-row, .btn-social, .pw-bar span { transition: none; }
  .acct-stat:hover { transform: none; }
}

/* ===== Cart ===== */
.icon-btn[aria-current="page"] { color: var(--blue); }
.cart-main { padding-top: 40px; }
.cart-loading p, .cart-noscript { margin: 0; color: var(--muted); font-weight: 600; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 392px); gap: 28px; align-items: start; }
.cart-col { display: grid; gap: 28px; min-width: 0; }
.cart-lines { padding: 8px 26px; }
.cart-lines-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 0 14px; border-bottom: 1px solid #e3ebf5; }
.cart-lines-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.cart-lines-head .muted { font-weight: 700; }
.cart-lines-note { color: var(--muted); font-size: 12.5px; font-weight: 600; }

.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid #edf2f8; }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb {
  display: grid;
  place-items: center;
  width: 84px;
  height: 104px;
  border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 15%, #1b2f55 0%, #0a1630 60%, #050c1d 100%);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cart-thumb img { width: auto; height: 96px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4)); }
.cart-thumb:hover, .cart-thumb:focus-visible { outline: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 0 3px rgba(31, 95, 214, 0.25); }
.cart-line-cat { margin: 0 0 3px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.cart-line-name { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.cart-line-name a:hover, .cart-line-name a:focus-visible { color: var(--blue); }
.cart-line-meta { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: #33445a; font-size: 14px; font-weight: 700; }
.cart-line-meta .mono { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.dot { color: #b3c0d1; }
.cart-line-unit { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.cart-line-unit span { color: var(--ink); font-weight: 800; }
.cart-oos { margin: 8px 0 0; color: #c0313e; font-size: 13px; font-weight: 800; }
.cart-line-side { display: grid; justify-items: end; gap: 8px; }
.cart-line-total { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-remove { font-size: 12.5px; color: var(--muted); }
.cart-remove:hover, .cart-remove:focus-visible { color: #c0313e; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid #d8e2ef; border-radius: 10px; background: #f9fbfe; overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.qty:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.14); }
.qty-btn { display: grid; place-items: center; width: 38px; height: 40px; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.qty-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.qty-btn:hover:not(:disabled) { background: #eaf1fc; color: var(--blue); }
.qty-btn:focus-visible { outline: none; background: #eaf1fc; color: var(--blue); }
.qty-btn:disabled { color: #b8c3d2; cursor: not-allowed; }
.qty-input { width: 46px; height: 40px; border: 0; border-inline: 1px solid #e3ebf5; background: #fff; color: var(--ink); text-align: center; font: 800 15px/1 var(--sans); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; }

/* summary */
.cart-summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; padding: 26px 24px 22px; }
.sum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sum-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.sum-count { color: var(--muted); font-size: 13px; font-weight: 700; }
.ship-progress { padding: 14px 16px; border: 1px solid #dbe7f8; border-radius: 12px; background: #f4f8ff; }
.ship-progress-text { margin: 0; color: #33445a; font-size: 14px; font-weight: 600; }
.ship-progress-text strong { color: var(--ink); font-weight: 800; }
.ship-bar { margin-top: 10px; height: 8px; border-radius: 99px; background: #dde7f4; overflow: hidden; }
.ship-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #4d8cff); transition: width 0.35s ease; }
.ship-progress-note { margin: 8px 0 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.ship-progress.is-free { border-color: #bfe8d2; background: #effaf4; }
.ship-progress.is-free .ship-progress-text strong { color: #0f7a47; }
.ship-progress.is-free .ship-bar span { background: linear-gradient(90deg, #15a05c, #2fcf83); }

.sum-rows { margin: 0; display: grid; gap: 8px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 16px; color: #33445a; font-size: 14.5px; font-weight: 600; }
.sum-rows dt, .sum-rows dd { margin: 0; }
.sum-rows dd { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.sum-totals { padding-top: 14px; border-top: 1px solid #e3ebf5; }
.sum-totals .is-total { padding-top: 6px; color: var(--ink); font-size: 17px; font-weight: 800; }
.sum-totals .is-total dd { font-size: 20px; }
.sum-totals dd.free-ship { color: #0f7a47; }

.ship-methods { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.ship-methods legend { margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 800; color: var(--ink); }
.ship-methods .field-hint { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.ship-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid #d8e2ef; border-radius: 12px; background: #f9fbfe; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.ship-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.ship-opt-text { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.ship-opt-text strong { font-weight: 800; }
.ship-carrier { color: var(--muted); font-weight: 700; font-size: 13px; }
.ship-opt small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.ship-opt em { font-style: normal; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.ship-opt em.is-free { color: #0f7a47; }
.ship-opt:hover { border-color: #b9cbe3; }
.ship-opt:has(input:checked) { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(31, 95, 214, 0.1); }
.ship-opt:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.14); }

.promo { display: grid; gap: 7px; }
.promo label { font-size: 13px; font-weight: 800; color: var(--ink); }
.promo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.promo input { width: 100%; min-height: 42px; padding: 9px 12px; border: 1.5px solid #d8e2ef; border-radius: 10px; background: #f9fbfe; color: var(--ink); font: 700 14px/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.promo input::placeholder { text-transform: none; letter-spacing: 0; color: #9aa6b6; font-weight: 500; }
.promo input:hover { border-color: #b9cbe3; }
.promo input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.14); }
.promo .btn-sm { min-height: 42px; margin-top: 0; }
.promo.has-error input { border-color: #d43c4a; box-shadow: 0 0 0 3px rgba(212, 60, 74, 0.12); }
.promo-msg { margin: 0; color: #c0313e; font-size: 12.5px; font-weight: 700; }
.promo-msg[hidden] { display: none; }

.cart-acks .check { padding: 11px 13px; font-size: 13px; }
.cart-acks .check input { width: 17px; height: 17px; }
.checkout-hint { margin: -8px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.checkout-hint.is-ready { color: #0f7a47; }
.cart-summary .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.cart-summary .btn-primary:disabled:hover { background: var(--blue); border-color: var(--blue); }
.sum-account { margin: 0; padding: 10px 12px; border-radius: 10px; background: #f5f8fc; color: #33445a; font-size: 13px; font-weight: 600; text-align: center; }
.sum-account a, .sum-continue { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.sum-continue { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; }
.sum-continue svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sum-ruo { margin: 0; padding-top: 12px; border-top: 1px solid #edf2f8; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-align: center; }
.sum-note { display: block; margin-top: 3px; font-weight: 600; letter-spacing: 0; }

/* recommendations */
.cart-recs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cart-recs-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.cart-recs-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.rec-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid #e3ebf5; border-radius: 14px; background: #fff; box-shadow: var(--shadow); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.rec-card:hover { border-color: #c9daf3; }
.rec-thumb { display: grid; place-items: center; width: 64px; height: 80px; border-radius: 10px; background: radial-gradient(120% 90% at 50% 15%, #1b2f55 0%, #0a1630 60%, #050c1d 100%); overflow: hidden; }
.rec-thumb img { width: auto; height: 74px; object-fit: contain; }
.rec-body { min-width: 0; }
.rec-body .cart-line-cat { font-size: 10px; margin-bottom: 1px; }
.rec-body h3 { margin: 0; font-size: 15px; font-weight: 800; }
.rec-body h3 a:hover, .rec-body h3 a:focus-visible { color: var(--blue); }
.rec-meta { margin: 2px 0 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.rec-meta strong { color: var(--ink); font-weight: 800; }
.rec-add { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 11px; border: 1.5px solid #c6d4e6; border-radius: 8px; background: #fff; color: var(--ink); font: 800 11.5px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.rec-add svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.rec-add:hover, .rec-add:focus-visible { outline: none; border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 95, 214, 0.12); }

/* empty */
.cart-empty { display: grid; justify-items: center; gap: 12px; padding: 54px 30px; text-align: center; margin-bottom: 28px; }
.cart-empty-ico { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #eef4ff; color: var(--blue); box-shadow: 0 0 0 8px rgba(31, 95, 214, 0.06); }
.cart-empty-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-empty h2 { margin: 6px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.cart-empty p { margin: 0 0 6px; max-width: 440px; color: var(--muted); font-size: 15px; font-weight: 500; }

/* toast undo */
.toast-undo { padding: 6px 10px; border: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: 8px; background: transparent; color: #fff; font: 800 12px/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.toast-undo:hover, .toast-undo:focus-visible { outline: none; background: #fff; color: var(--navy); }
.toast-undo[hidden] { display: none; }

/* checkout review dialog */

@media (max-width: 1100px) {
  .cart-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 22px; }
}
@media (max-width: 900px) {
  .cart-grid { grid-template-columns: minmax(0, 1fr); }
  .cart-summary { position: static; }
}
@media (max-width: 600px) {
  .cart-main { padding-top: 22px; }
  .cart-lines { padding: 4px 16px; }
  .cart-lines-note { display: none; }
  .cart-line { grid-template-columns: 64px minmax(0, 1fr); gap: 12px 14px; align-items: start; padding: 16px 0; }
  .cart-thumb { width: 64px; height: 82px; border-radius: 12px; }
  .cart-thumb img { height: 76px; }
  .cart-line-name { font-size: 16px; }
  .cart-line-side { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; gap: 12px; }
  .cart-line-side .cart-line-total { justify-self: end; grid-column: 3; grid-row: 1; }
  .cart-line-side .cart-remove { grid-column: 2; grid-row: 1; }
  .cart-summary { padding: 22px 16px 18px; }
  .cart-recs-row { grid-template-columns: minmax(0, 1fr); }
  .cart-empty { padding: 40px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ship-bar span, .qty, .qty-btn, .ship-opt, .rec-card, .rec-add, .cart-thumb { transition: none; }
}
.rate-free.rate-note { color: var(--muted); }
.ship-opt small.ship-rule { margin-top: 3px; color: #33445a; font-weight: 700; }

/* ===== Product detail ===== */
#pdpApp { --tone: 31 182 255; }
#pdpApp[data-tone="gold"] { --tone: 255 194 26; }
#pdpApp[data-tone="cyan"] { --tone: 31 182 255; }
#pdpApp[data-tone="green"] { --tone: 34 255 136; }
#pdpApp[data-tone="red"] { --tone: 255 45 85; }
#pdpApp[data-tone="purple"] { --tone: 162 75 255; }
#pdpApp[data-tone="orange"] { --tone: 255 122 26; }
.pdp-loading { padding: 80px 0; }
.pdp-loading p { margin: 0; color: var(--muted); font-weight: 600; }
.pdp-main { padding: 26px 0 44px; }
.pdp-crumbs { margin-bottom: 22px; color: #9aa6b6; }
.pdp-crumbs a { color: var(--muted); }
.pdp-crumbs a:hover, .pdp-crumbs a:focus-visible { color: var(--blue); }
.pdp-crumbs [aria-current] { color: var(--ink); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* media */
.pdp-media { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 14px; }
.pdp-stage {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.02;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(52% 44% at 50% 58%, rgb(var(--tone) / 0.34), transparent 72%),
    radial-gradient(90% 60% at 50% 100%, rgb(var(--tone) / 0.16), transparent 70%),
    linear-gradient(180deg, #0b1a36 0%, #050c1d 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 50px rgba(5, 12, 29, 0.25);
}
.pdp-stage::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 7%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--tone) / 0.45), transparent);
  filter: blur(6px);
  pointer-events: none;
}
.pdp-stage img { position: absolute; z-index: 1; left: 50%; transform: translateX(-50%); transition: opacity 0.3s ease, transform 0.3s ease; }
.pdp-stage-photo {
  top: 7%;
  height: 86%;
  width: auto;
  max-width: 76%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgb(var(--tone) / 0.35), 0 0 46px rgb(var(--tone) / 0.32), 0 24px 40px rgba(0, 0, 0, 0.45);
}
.pdp-stage-vial { top: 12%; height: 74%; width: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 28px rgb(var(--tone) / 0.35)); }
.pdp-stage[data-view="real"] img:not(.pdp-stage-real),
.pdp-stage[data-view="photo"] img:not(.pdp-stage-photo),
.pdp-stage[data-view="vial"] img:not(.pdp-stage-vial) { opacity: 0; transform: translateX(-50%) scale(0.97); pointer-events: none; }
.pdp-stage-badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgb(var(--tone) / 0.6);
  background: rgba(5, 12, 29, 0.66);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pdp-stage-badge svg, .pdp-coa svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdp-stage-badge svg { color: rgb(var(--tone)); }
.pdp-thumbs { display: flex; gap: 12px; }
.pdp-thumb {
  display: grid;
  place-items: center;
  width: 76px;
  height: 92px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  background: linear-gradient(180deg, #0b1a36, #050c1d);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.is-vial img { width: auto; height: 80%; object-fit: contain; }
.pdp-thumb[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 95, 214, 0.16); }
.pdp-thumb:hover, .pdp-thumb:focus-visible { outline: none; border-color: rgb(var(--tone)); box-shadow: 0 0 16px rgb(var(--tone) / 0.4); }

/* buy box */
.pdp-buy { display: grid; gap: 0; padding-top: 4px; }
.pdp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pdp-chip, .pdp-coa, .pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pdp-chip { border: 1px solid #d8e2ef; background: #fff; color: var(--ink); }
.pdp-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--tone)); box-shadow: 0 0 8px rgb(var(--tone) / 0.8); }
.pdp-coa { border: 1px solid #bfe8d2; background: #effaf4; color: #0f7a47; }
.pdp-stock { color: var(--muted); letter-spacing: 0.06em; text-transform: none; font-size: 13px; padding: 0 4px; }
.pdp-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.pdp-stock.is-out::before { background: #d43c4a; }
.pdp-name { margin: 16px 0 0; font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.pdp-size { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: #33445a; font-size: 15px; font-weight: 600; }
.pdp-size strong { color: var(--ink); font-weight: 800; }
.pdp-size .mono { color: var(--muted); font-size: 13px; }
.pdp-price { margin: 18px 0 0; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.pdp-price span { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.pdp-desc { margin: 14px 0 0; max-width: 560px; color: #33445a; font-size: 15.5px; font-weight: 500; line-height: 1.6; }
.pdp-actions { margin-top: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.8fr); gap: 10px; align-items: stretch; }
.pdp-qty .qty-btn { height: 48px; width: 40px; }
.pdp-qty .qty-input { height: 48px; width: 50px; }
.pdp-actions .btn { min-height: 52px; margin-top: 0; }
.pdp-actions .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pdp-buynow { background: var(--navy); border-color: var(--navy); color: #fff; }
.pdp-buynow:hover { background: #0e2a52; border-color: #0e2a52; color: #fff; }
.pdp-actions .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pdp-notes { margin: 24px 0 0; padding: 18px 0 0; list-style: none; display: grid; gap: 12px; border-top: 1px solid #e3ebf5; }
.pdp-notes li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; color: #33445a; font-size: 14px; font-weight: 600; line-height: 1.5; }
.pdp-notes svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdp-notes a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.pdp-notes strong { color: var(--ink); font-weight: 800; }
.pdp-ruo-line { padding: 12px 14px; border-radius: 12px; background: #f5f8fc; border: 1px solid #e3ebf5; }

/* details */
.pdp-details { padding: 8px 0 30px; }
.pdp-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid #dbe5f1; }
.pdp-tabs::-webkit-scrollbar { display: none; }
.pdp-tabs [role="tab"] {
  position: relative;
  flex: 0 0 auto;
  padding: 14px 16px;
  border: 0;
  background: none;
  color: var(--muted);
  font: 800 14px/1 var(--sans);
  cursor: pointer;
  transition: color 0.2s ease;
}
.pdp-tabs [role="tab"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; transition: background-color 0.2s ease; }
.pdp-tabs [role="tab"]:hover { color: var(--ink); }
.pdp-tabs [role="tab"]:focus-visible { outline: none; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(77, 140, 255, 0.55); border-radius: 8px 8px 0 0; }
.pdp-tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.pdp-tabs [role="tab"][aria-selected="true"]::after { background: var(--blue); }
.pdp-panels { margin-top: 18px; padding: 28px 30px; }
.pdp-panel[hidden] { display: none; }
.pdp-panel:focus-visible { outline: 2px solid rgba(77, 140, 255, 0.5); outline-offset: 6px; border-radius: 6px; }
.pdp-panel h2 { margin: 0 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.pdp-panel p { margin: 0 0 12px; max-width: 760px; color: #33445a; font-size: 15px; font-weight: 500; line-height: 1.65; }
.pdp-panel p:last-child { margin-bottom: 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid #edf2f8; text-align: left; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 34%; color: var(--muted); font-weight: 700; }
.spec-table td { color: var(--ink); font-weight: 700; }
.spec-table td.mono { font-size: 13.5px; }
.spec-table tbody tr:nth-child(odd) { background: #f9fbfe; }
.pdp-fine { margin-top: 14px !important; color: var(--muted) !important; font-size: 13px !important; }
.pdp-dl { margin: 0; display: grid; gap: 0; }
.pdp-dl div { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: 16px; padding: 12px 14px; border-bottom: 1px solid #edf2f8; }
.pdp-dl div:nth-child(odd) { background: #f9fbfe; }
.pdp-dl div:last-child { border-bottom: 0; }
.pdp-dl dt { color: var(--muted); font-size: 14.5px; font-weight: 700; }
.pdp-dl dd { margin: 0; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.55; }
.pdp-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #33445a; font-size: 15px; font-weight: 500; line-height: 1.6; }
.pdp-list strong { color: var(--ink); }
.pdp-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px !important; }
.pdp-ruo { margin-top: 24px; }

/* related */
.pdp-related { padding: 26px 0 64px; }
.pdp-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pdp-related-head h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.pdp-related .shop-grid { justify-content: flex-start; }
.pdp-related .shop-grid > .shop-card { flex-basis: calc((100% - 80px) / 5); }

/* not found */
.pdp-notfound { display: grid; justify-items: center; gap: 12px; max-width: 640px; margin: 10px auto 30px; padding: 54px 30px; text-align: center; }
.pdp-notfound h1 { margin: 6px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.pdp-notfound p { margin: 0 0 6px; max-width: 440px; color: var(--muted); font-size: 15px; font-weight: 500; }

@media (max-width: 1100px) {
  .pdp-grid { gap: 32px; }
  .pdp-actions { grid-template-columns: auto minmax(0, 1fr); }
  .pdp-actions .pdp-buynow { grid-column: 1 / -1; }
  .pdp-related .shop-grid > .shop-card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: minmax(0, 1fr); }
  .pdp-media { position: static; max-width: 560px; width: 100%; margin: 0 auto; }
  .pdp-related .shop-grid > .shop-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 720px) {
  .pdp-related .shop-grid > .shop-card { flex-basis: calc((100% - 12px) / 2); }
}
@media (max-width: 600px) {
  .pdp-main { padding: 16px 0 30px; }
  .pdp-crumbs { margin-bottom: 14px; }
  .pdp-stage { border-radius: 18px; }
  .pdp-thumb { width: 62px; height: 76px; }
  .pdp-price { font-size: 30px; }
  .pdp-panels { padding: 20px 16px; }
  .pdp-tabs [role="tab"] { padding: 13px 12px; font-size: 13.5px; }
  .spec-table th, .spec-table td, .pdp-dl div { padding: 10px; }
  .pdp-dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .spec-table th { width: 42%; }
  .pdp-related-head h2 { font-size: 20px; }
  .pdp-notfound { padding: 40px 18px; }
}
@media (max-width: 340px) {
  .pdp-related .shop-grid > .shop-card { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pdp-stage img, .pdp-thumb, .pdp-tabs [role="tab"], .pdp-tabs [role="tab"]::after { transition: none; }
}
.item-link { color: inherit; }
.item-link:hover, .item-link:focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* PDP research context + disclaimer */
.pdp-context { margin-top: 22px; padding-top: 20px; border-top: 1px solid #e3ebf5; max-width: 820px; }
.pdp-context h3 { margin: 0 0 10px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.pdp-context > p { margin: 0 0 14px; }
.pdp-context-note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px 18px; border: 1px solid #f0d58a; border-left: 4px solid #e0a800; border-radius: 12px; background: #fffaeb; }
.pdp-context-ico svg { width: 22px; height: 22px; fill: none; stroke: #9a6b00; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdp-panel .pdp-context-note p { margin: 0; max-width: none; color: #4a3b12; font-size: 13.5px; font-weight: 600; line-height: 1.6; }
@media (max-width: 600px) { .pdp-context-note { padding: 14px; gap: 10px; } }

/* ===== Size variants ===== */
.price-from { margin-right: 1px; color: var(--muted); font-size: 0.68em; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.size-count { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #eef4fc; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.5; vertical-align: 1px; white-space: nowrap; }
a.btn-cart { text-decoration: none; }
.pdp-sizes { margin-top: 22px; }
.pdp-sizes-label { margin: 0 0 10px; display: flex; align-items: baseline; gap: 8px; color: var(--ink); font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.pdp-sizes-label span { color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.pdp-size-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1.5px solid #d3deec; border-radius: 999px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.pill-size { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.pill-price { color: var(--muted); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pdp-pill:hover:not(:disabled):not(.is-on) { border-color: var(--blue-light); }
.pdp-pill:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(77, 140, 255, 0.35); }
.pdp-pill.is-on { border-color: var(--blue); background: #eef4ff; box-shadow: inset 0 0 0 1px var(--blue); cursor: default; }
.pdp-pill.is-on .pill-price { color: var(--blue); }
.pdp-pill.is-on:focus-visible { box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 3px rgba(77, 140, 255, 0.35); }
.pdp-pill.is-oos { border-style: dashed; color: #8b97a8; background: #f6f8fb; }
.pdp-pill:disabled { cursor: not-allowed; }
.pdp-pill.is-oos .pill-size { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.pill-oos { color: #a2464f; font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.pdp-art-note { margin: 10px 2px 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.pdp-art-note[hidden] { display: none; }
.pdp-art-note svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) {
  .pdp-pill { min-height: 44px; padding: 0 14px; gap: 8px; }
  .size-count { margin-left: 4px; padding: 1px 6px; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .pdp-pill { transition: none; } }

/* ===== Guest order tracker ===== */
.track-col { display: grid; gap: 20px; align-content: start; min-width: 0; }
.track-form .field-hint { margin-top: 6px; }
.track-outcome { margin-top: 22px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 20px; border: 1px solid #dbe6f4; border-left: 4px solid var(--blue); border-radius: 14px; background: #f5f9ff; }
.track-outcome[hidden] { display: none; }
.track-outcome:focus { outline: none; }
.track-outcome:focus-visible { box-shadow: 0 0 0 3px rgba(77, 140, 255, 0.35); }
.track-outcome-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid #dbe6f4; color: var(--blue); }
.track-outcome-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.track-outcome-text { margin: 0 0 12px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.6; }
.track-outcome .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.track-result { display: grid; gap: 20px; }
.track-result[hidden] { display: none; }
.track-result:focus { outline: none; }
.track-form.is-busy .btn[disabled] { opacity: 0.7; cursor: progress; }
.track-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: start; border-top: 4px solid var(--blue); }
.track-head.is-closed { border-top-color: #b42318; }
.track-head .eyebrow .mono { font-size: inherit; }
.track-head h2 { margin: 4px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.track-sub { margin: 6px 0 0; max-width: 62ch; color: #33445a; font-size: 15px; font-weight: 600; line-height: 1.55; }
.track-carrier-btn { grid-row: 1; grid-column: 2; }
.track-carrier-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.track-facts { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.track-facts .is-wide { grid-column: span 2; }
.track-facts div { min-width: 0; padding: 12px 14px; border: 1px solid #e3ebf5; border-radius: 12px; background: #f9fbfe; }
.track-facts dt { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.track-facts dd { margin: 4px 0 0; color: var(--ink); font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.track-link { display: inline; color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.track-link:hover { color: var(--blue-dark); }
.track-link svg { width: 13px; height: 13px; margin-left: 4px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.track-timeline .track-h3 { margin-bottom: 20px; }
.track-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); }
.track-steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; min-width: 0; padding: 0 6px; color: var(--muted); text-align: center; }
.track-steps li::before { content: ""; position: absolute; top: 12px; left: -50%; right: 50%; height: 3px; background: #e3ebf5; }
.track-steps li:first-child::before { display: none; }
.track-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; border: 3px solid #d3deec; background: #fff; color: #fff; }
.track-dot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.track-step-name { font-size: 14px; font-weight: 800; }
.track-step-date { min-height: 1.4em; font-size: 12.5px; font-weight: 600; line-height: 1.45; }
.track-step-date time span { display: block; color: var(--muted); }
.track-step-detail { max-width: 100%; color: var(--ink); font-size: 12.5px; font-weight: 700; overflow-wrap: anywhere; }
.track-step-detail .mono { font-size: 12.5px; }
.track-steps li.is-done, .track-steps li.is-current { color: var(--ink); }
.track-steps li.is-done::before, .track-steps li.is-current::before { background: var(--blue); }
.track-steps li.is-done .track-dot, .track-steps li.is-current .track-dot { border-color: var(--blue); background: var(--blue); }
.track-steps li.is-current .track-dot { box-shadow: 0 0 0 6px rgba(31, 95, 214, 0.16); }
.track-steps li.is-current .track-step-name { color: var(--blue); }
.track-steps li.is-closed::before { background: #e8b7b1; }
.track-steps li.is-closed .track-dot { border-color: #b42318; background: #b42318; box-shadow: 0 0 0 6px rgba(180, 35, 24, 0.14); }
.track-steps li.is-closed .track-step-name { color: #b42318; }
.track-h3 { margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.track-items { list-style: none; margin: 0 0 16px; padding: 0; display: grid; }
.track-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid #edf2f8; }
.track-item-name { font-weight: 800; }
.track-item-name a { color: var(--ink); text-decoration: none; }
.track-item-name a:hover { color: var(--blue); }
.track-item-meta { grid-column: 1; color: var(--muted); font-size: 13px; font-weight: 600; }
.track-item-total { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.track-result .order-totals { margin-left: auto; }
.track-shipto { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.track-help { margin: 0; color: #33445a; font-size: 14.5px; font-weight: 600; }
@media (max-width: 760px) {
  .track-outcome { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .track-outcome-ico { width: 40px; height: 40px; }
  .track-head { grid-template-columns: minmax(0, 1fr); }
  .track-head h2 { font-size: 23px; }
  .track-carrier-btn { grid-row: auto; grid-column: 1; justify-self: start; }
  .track-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-steps { grid-template-columns: minmax(0, 1fr); }
  .track-steps li { grid-template-columns: 27px minmax(0, 1fr); justify-items: start; align-content: start; column-gap: 14px; row-gap: 2px; padding: 0 0 22px; text-align: left; }
  .track-steps li:last-child { padding-bottom: 0; }
  .track-steps li::before { display: none; }
  .track-steps li::after { content: ""; position: absolute; top: 27px; bottom: 0; left: 12px; width: 3px; background: #e3ebf5; }
  .track-steps li:last-child::after { display: none; }
  .track-steps li.is-done::after { background: var(--blue); }
  .track-dot { grid-row: 1 / span 3; }
  .track-step-name { padding-top: 3px; }
  .track-step-name, .track-step-date, .track-step-detail { grid-column: 2; }
  .track-step-date { min-height: 0; }
  .track-step-date time span { display: inline; }
  .track-step-date time span::before { content: " \00b7  "; }
}

/* ===== Free-shipping bar ===== */
.ship-opt[hidden], .ship-upsell[hidden] { display: none; }
.ship-progress { transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease; }
.ship-progress-text { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.ship-check { flex: none; width: 20px; height: 20px; margin-right: 4px; fill: #15a05c; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ship-check circle { stroke: none; }
.ship-bar { position: relative; height: 10px; }
.ship-bar span { position: relative; overflow: hidden; transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease; }
.ship-progress.is-free { box-shadow: 0 8px 22px -12px rgba(21, 160, 92, 0.55); }
.ship-progress.is-free .ship-bar span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%); transform: translateX(-100%); }
.ship-progress.just-qualified .ship-bar span::after { animation: ship-shine 1.1s ease 0.35s 1; }
.ship-progress.just-qualified .ship-check { animation: ship-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1; }
@keyframes ship-shine { to { transform: translateX(100%); } }
@keyframes ship-pop { 0% { transform: scale(0.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.ship-upsell { margin-top: -4px; }
.ship-upsell-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px dashed #b9cbe3; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.ship-upsell-card input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.ship-upsell-text { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.ship-upsell-text strong { font-weight: 800; }
.ship-upsell-text small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.ship-upsell-card em { font-style: normal; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ship-upsell-card:hover { border-color: var(--blue-light); }
.ship-upsell-card:has(input:checked) { border-style: solid; border-color: var(--blue); background: #f5f9ff; box-shadow: 0 0 0 3px rgba(31, 95, 214, 0.1); }
.ship-upsell-card:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 214, 0.14); }
.ship-opt em s { margin-right: 4px; color: var(--muted); font-weight: 700; text-decoration-thickness: 1.5px; }
@media (prefers-reduced-motion: reduce) {
  .ship-bar span, .ship-progress, .ship-upsell-card { transition: none; }
  .ship-progress.just-qualified .ship-bar span::after, .ship-progress.just-qualified .ship-check { animation: none; }
}

/* ===== COA Library ===== */
.coalib-main { padding-top: 26px; }
.coalib-toolbar { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(200px, 0.8fr) auto; align-items: end; gap: 12px 16px; padding: 16px 18px; }
.coalib-field { display: grid; gap: 6px; min-width: 0; }
.coalib-field label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.coalib-input { position: relative; }
.coalib-input svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.coalib-input input, .coalib-filter select { width: 100%; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 700 14px/1.2 var(--sans); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.coalib-input input { padding: 0 14px 0 40px; }
.coalib-input input::placeholder { color: #8796aa; font-weight: 600; }
.coalib-filter select { -webkit-appearance: none; appearance: none; padding: 0 36px 0 12px; cursor: pointer; }
.coalib-input input:hover, .coalib-filter select:hover { border-color: var(--blue-light); }
.coalib-input input:focus-visible, .coalib-filter select:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(77, 140, 255, 0.25); }
.coalib-count { margin: 0 0 12px; text-align: right; }
.coalib-jump { margin-top: 16px; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.coalib-jump-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.coalib-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; max-width: 100%; }
.coalib-jump { min-width: 0; max-width: 100%; }
.coalib-chip { padding: 0 14px; text-decoration: none; }
.coalib-chip[hidden] { display: none; }
.coalib-chip-size { color: var(--muted); font-weight: 700; }
.coalib-chip[aria-current="true"] { border-color: var(--blue); color: var(--blue); background: #fff; }
.coalib-list { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.coalib-sec { scroll-margin-top: calc(var(--header-h) + 20px); min-width: 0; display: grid; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.coalib-sec[hidden] { display: none; }
.coalib-sec.is-target { border-color: var(--blue-light); animation: coalibFlash 1.6s ease; }
@keyframes coalibFlash {
  0% { box-shadow: 0 0 0 0 rgba(77, 140, 255, 0.55), var(--shadow); }
  30% { box-shadow: 0 0 0 6px rgba(77, 140, 255, 0.25), var(--shadow); }
  100% { box-shadow: 0 0 0 0 rgba(77, 140, 255, 0), var(--shadow); }
}
.coalib-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.coalib-thumb { display: block; width: 64px; height: 84px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--navy); }
.coalib-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.coalib-title { min-width: 0; }
.coalib-title h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.coalib-title h2:focus { outline: none; }
.coalib-size { color: var(--blue); }
.coalib-meta { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 2px 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.coalib-meta .mono { color: var(--ink); font-size: 13px; }
.coalib-pdp { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.coalib-pdp:hover { text-decoration: underline; }
.coalib-pdp svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.coalib-pdp:hover svg { transform: translateX(3px); }
.coalib-badge { align-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.coalib-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.coalib-badge.has-coa { background: #eaf2ff; color: var(--blue); }
.coalib-empty { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border: 1.5px dashed #cfdcec; border-radius: 14px; background: #f8fbff; }
.coalib-empty-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--blue); }
.coalib-empty-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.coalib-empty-title { margin: 2px 0; color: var(--ink); font-size: 15px; font-weight: 800; }
.coalib-empty-sub { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.55; }
.coalib-empty-sub .mono { color: var(--ink); font-size: 12.5px; }
.coalib-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.coalib-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.coalib-table th { padding: 10px 14px; background: var(--soft); color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; }
.coalib-table th:last-child { text-align: right; }
.coalib-table td { padding: 12px 14px; border-top: 1px solid var(--line); font-weight: 700; vertical-align: middle; }
.coalib-table tr.is-match td { background: #fff8e1; }
.coalib-batch { font-weight: 800; overflow-wrap: anywhere; }
.coalib-latest { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #e7f8ee; color: #137a43; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; }
.coalib-doc { text-align: right; white-space: nowrap; }
.coalib-kind { margin-right: 6px; color: var(--muted); font-size: 12px; font-weight: 800; }
.coalib-act { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 10px; border-radius: 8px; border: 1.5px solid var(--line); color: var(--ink); font-size: 12.5px; font-weight: 800; text-decoration: none; transition: border-color 0.2s ease, color 0.2s ease; }
.coalib-act + .coalib-act { margin-left: 6px; }
.coalib-act svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.coalib-act:hover { border-color: var(--blue); color: var(--blue); }
.coalib-act:focus-visible { outline: 3px solid rgba(77, 140, 255, 0.5); outline-offset: 1px; }
.coalib-none { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 14px; background: #f5f9ff; }
.coalib-none[hidden] { display: none; }
.coalib-none p { margin: 0; font-weight: 700; }
.coalib-error { border-left-color: #d43c4a; }
.coalib-help { margin-top: 26px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.coalib-help-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(160deg, #0f2d57, var(--navy)); color: #fff; }
.coalib-help-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.coalib-help p { margin: 0; color: var(--muted); font-size: 14.5px; font-weight: 600; line-height: 1.55; }
.coalib-help strong { color: var(--ink); }
.coalib-help .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.coa-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.coa-card .coa-card-actions .btn { margin-top: 0; }
.pdp-coa-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 980px) {
  .coalib-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .coalib-toolbar { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .coalib-count { margin: 0; text-align: left; }
  .coalib-jump { flex-direction: column; align-items: stretch; gap: 8px; }
  .coalib-chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
  .coalib-chip { flex: 0 0 auto; }
  .coalib-sec { padding: 16px; }
  .coalib-head { grid-template-columns: 56px minmax(0, 1fr); }
  .coalib-thumb { width: 56px; height: 74px; }
  .coalib-badge { grid-column: 2; justify-self: start; }
  .coalib-table thead { display: none; }
  .coalib-table, .coalib-table tbody, .coalib-table tr, .coalib-table td { display: block; width: 100%; }
  .coalib-table tr + tr { border-top: 1px solid var(--line); }
  .coalib-table td { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 6px 14px; border-top: 0; text-align: left; white-space: normal; }
  .coalib-table td::before { content: attr(data-label); color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
  .coalib-table td:first-child { padding-top: 12px; }
  .coalib-table td:last-child { padding-bottom: 12px; }
  .coalib-doc::before { flex-basis: 100%; }
  .coalib-act + .coalib-act { margin-left: 0; }
  .coalib-help { grid-template-columns: 44px minmax(0, 1fr); }
  .coalib-help .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .coalib-sec.is-target { animation: none; }
  .coalib-pdp svg, .coalib-act, .coalib-input input, .coalib-filter select { transition: none; }
}

/* ----- Real product photos (light background) ----- */
.product-shot.is-real {
  background: linear-gradient(180deg, #d9dade 0%, #eceef0 100%);
  box-shadow: inset 0 0 0 1px rgba(10, 31, 61, 0.06);
}
/* slight zoom inside the 2:3 frame */
.product-shot.is-real img { object-position: 50% 52%; transform: scale(1.22); transform-origin: 50% 57%; }
.shop-card:hover .product-shot.is-real img { transform: scale(1.26); }
@media (prefers-reduced-motion: reduce) { .shop-card:hover .product-shot.is-real img { transform: scale(1.22); } }
.pdp-stage-real {
  top: 7%;
  height: 86%;
  width: auto;
  max-width: 76%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 18px;
  background: #e4e5e8;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.9),
    0 0 0 6px rgb(var(--tone) / 0.45),
    0 0 52px rgb(var(--tone) / 0.34),
    0 26px 44px rgba(0, 0, 0, 0.5);
}
.pdp-thumb.is-real { background: linear-gradient(180deg, #d9dade, #eceef0); }
.pdp-thumb.is-real img { object-position: 50% 54%; transform: scale(1.18); }
.cart-thumb.is-real,
.rec-thumb.is-real,
.cart-thumb.is-real img,
.rec-thumb.is-real img,
.cart-thumb.is-real:hover, .cart-thumb.is-real:focus-visible { box-shadow: inset 0 0 0 1px rgba(10, 31, 61, 0.08), 0 0 0 3px rgba(31, 95, 214, 0.25); }

/* ----- Guest checkout: no account needed ----- */
.co-details { padding: 24px 26px 26px; }
.co-details-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.co-details-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.co-details-sub { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.co-signin { margin: 2px 0 0; color: #33445a; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.co-signin a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.co-form { gap: 16px; }
.co-form .field-row-3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.9fr); }
.co-us { margin-top: -4px; }
.sum-guest { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 14px; border: 1px solid #d6e6fb; border-radius: 12px; background: #eef6ff; }
.sum-guest svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sum-guest p { margin: 0; color: #33445a; font-size: 12.5px; font-weight: 600; line-height: 1.45; }
.sum-guest strong { display: block; margin-bottom: 1px; color: var(--ink); font-size: 13.5px; font-weight: 800; }
/* order review dialog: what would be sent */
/* index strip */
.guest-strip { padding: 34px 0 0; }
.guest-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 22px; padding: 22px 26px; border: 1px solid #dbe6f5; border-radius: 20px; background: linear-gradient(120deg, #fff 0%, #f1f7ff 100%); box-shadow: var(--shadow); }
.guest-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #eef4ff; color: var(--blue); box-shadow: 0 0 0 7px rgba(31, 95, 214, 0.06); }
.guest-ico svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guest-copy h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.guest-copy p { max-width: 660px; margin: 4px 0 0; color: #33445a; font-size: 15px; font-weight: 500; }
.guest-cta { white-space: nowrap; }
@media (max-width: 900px) {
  /* phone/tablet order */
  .cart-col { display: contents; }
  .cart-lines { order: 1; }
  .co-details { order: 2; }
  .cart-summary { order: 3; }
  .cart-recs { order: 4; }
}
@media (max-width: 720px) {
  .guest-card { grid-template-columns: auto minmax(0, 1fr); padding: 20px; }
  .guest-cta { grid-column: 1 / -1; justify-content: center; }
  .guest-copy h2 { font-size: 19px; }
  .guest-copy p { font-size: 14px; }
}
@media (max-width: 600px) {
  .co-details { padding: 20px 16px 22px; }
  .co-form .field-row-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .co-form .field-row-3 > :first-child { grid-column: 1 / -1; }
  .guest-strip { padding-top: 24px; }
}

/* ===== Store-driven additions: discounts, account orders, tracker ===== */
.sum-discount dd { color: #0f7a47; font-weight: 800; }
.promo:not(.has-error) .promo-msg { color: #0f7a47; }
.promo-remove { margin-top: 6px; font-size: 13px; }
.acct-none { display: grid; justify-items: start; gap: 10px; padding: 4px 0; }
.acct-none p { margin: 0; color: var(--muted); font-weight: 600; }

/* ===== Coming soon (a size with no price yet) ===== */
.coa-badge.is-soon { border-color: rgba(255, 194, 26, 0.75); box-shadow: 0 0 12px rgba(255, 194, 26, 0.3); }
.coa-badge.is-soon svg { stroke: #ffc21a; }
.price-tba { color: var(--muted); font-size: 0.86em; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.pdp-stage-badge.is-soon { border-color: rgba(255, 194, 26, 0.7); }
.pdp-stage-badge.is-soon svg { color: #ffc21a; }
.pdp-stock.is-soon::before { background: #f5a524; }
.pdp-price.is-tba { color: var(--muted); font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; }
.pdp-actions.pdp-soon { grid-template-columns: minmax(0, 1fr); }
.pdp-pill.is-soon .pill-size { text-decoration: none; }
.pdp-pill.is-soon .pill-oos { color: #a86a00; }
.pdp-soon-note { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
#pdpApp[data-tone="pink"] { --tone: 255 61 170; }

/* COA pending: no published COA for this product yet */
.coa-badge.is-pending { border-color: rgba(203, 213, 225, 0.6); box-shadow: none; }
.coa-badge.is-pending svg { stroke: #cbd5e1; }
.pdp-stage-badge.is-pending { border-color: rgba(203, 213, 225, 0.6); }
.pdp-stage-badge.is-pending svg { color: #cbd5e1; }
.pdp-coa.is-pending { border-color: #d8e2ef; background: #f4f7fb; color: var(--muted); }
.pdp-coa-pending { font-weight: 700; }
