/* ==========================================================================
   pages.css: page-specific sections: home, collection, product, cart,
   checkout, order status, content pages, contact
   ========================================================================== */

/* ================= HOME ================= */

/* ---- Hero (dark, animated) ---- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, #134487 0%, var(--navy-2) 38%, var(--navy) 78%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(30px); }
.hero-glow-1 { width: 640px; height: 640px; right: -8%; top: 2%; background: radial-gradient(circle, rgba(65, 184, 255, 0.5), transparent 65%); animation: glow 9s ease-in-out infinite; }
.hero-glow-2 { width: 460px; height: 460px; left: -10%; bottom: -25%; background: radial-gradient(circle, rgba(255, 212, 0, 0.18), transparent 65%); animation: glow 12s ease-in-out infinite reverse; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); mask: radial-gradient(ellipse at 70% 40%, #000, transparent 70%);
}
.bubbles i {
  position: absolute; bottom: -40px; left: var(--l); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15) 40%, rgba(65, 184, 255, 0.12) 70%);
  border: 1px solid rgba(255, 255, 255, 0.3); animation: rise var(--t) linear infinite; animation-delay: var(--dl);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  min-height: min(calc(100svh - var(--header-h) - 40px), 820px);
  padding-block: clamp(40px, 6vw, 72px) clamp(96px, 10vw, 130px);
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; margin-bottom: 26px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); font-size: var(--fs-sm); font-weight: 600; transition: background 0.2s, gap 0.3s;
}
.hero-chip:hover { background: rgba(255, 255, 255, 0.15); gap: 14px; }
.hero-chip-star { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--ink); animation: pulse-ring 2.4s infinite; }
.hero-title { font-size: clamp(2.9rem, 1.5rem + 5vw, 5.6rem); line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 20px; color: #fff; }
.hero-title em { display: block; color: var(--accent); font-weight: 500; }
.hero-title .split-word { padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero-rotate { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 700; margin: 0 0 14px; color: rgba(255, 255, 255, 0.92); }
.hero-rotate .rotator { line-height: 1.25; color: var(--sky); padding-bottom: 2px; background: linear-gradient(var(--sky), var(--sky)) 0 100% / 100% 2px no-repeat; }
.hero .lead { color: rgba(255, 255, 255, 0.72); max-width: 540px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.play-dot { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -10px; border-radius: 50%; background: #fff; color: var(--ink); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 255, 255, 0.78); }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { color: var(--accent); stroke-width: 2.8; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 540px; perspective: 1000px; }
.hero-visual > [data-depth] { transition: transform 0.6s var(--ease-out); }
.hero-halo {
  position: absolute; width: min(470px, 86%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #63caff, var(--brand-bright) 45%, #0b3f86 78%);
  box-shadow: 0 0 0 20px rgba(65, 184, 255, 0.07), 0 0 0 44px rgba(65, 184, 255, 0.04), 0 40px 120px -20px rgba(27, 127, 224, 0.8);
}
.hero-halo::after { content: ''; position: absolute; inset: -66px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, 0.2); animation: spin-slow 50s linear infinite; }
.hero-product-wrap { position: relative; z-index: 2; width: min(400px, 76%); }
.hero-product { width: 100%; filter: drop-shadow(0 44px 40px rgba(0, 0, 0, 0.45)); animation: float-y 6s ease-in-out infinite; }
.hero-seal { position: absolute; z-index: 3; top: 3%; right: 3%; width: 128px; height: 128px; }
.hero-seal svg { width: 100%; height: 100%; animation: spin-slow 18s linear infinite; fill: #fff; font: 800 10.5px var(--font-sans); letter-spacing: 0.5px; overflow: visible; }
.hero-seal-core { position: absolute; inset: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: var(--shadow-lg); }
.hero-seal-core .icon { width: 26px; height: 26px; }
.hero-float { position: absolute; z-index: 4; }
.hero-float-card {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: var(--shadow-xl); font-size: var(--fs-sm); font-weight: 700; white-space: nowrap;
  animation: float-y-sm 5s ease-in-out infinite;
}
.hero-float-card small { display: block; font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.hero-float-card .trust-icon { width: 40px; height: 40px; }
.hero-float-1 { top: 20%; left: -4%; }
.hero-float-2 { bottom: 15%; right: -3%; }
.hero-float-2 .hero-float-card { animation-delay: -2.5s; }
.hero-price {
  position: absolute; z-index: 4; bottom: 4%; left: 10%; width: 116px; height: 116px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--sale); color: #fff; box-shadow: 0 22px 40px -12px rgba(214, 31, 40, 0.65), inset 0 0 0 4px rgba(255, 255, 255, 0.18);
}
.hero-price span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; }
.hero-price strong { font-family: var(--font-serif); font-size: 1.7rem; line-height: 1; }
.hero-price em { font-style: normal; font-size: 11px; font-weight: 700; margin-top: 4px; text-decoration: underline; text-underline-offset: 2px; }
.hero-scroll { position: absolute; left: 50%; bottom: 88px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-dot 1.8s ease-in-out infinite; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; }
  .hero-visual { min-height: 420px; }
  .hero-scroll { display: none; }
  .hero-float-1 { left: 0; top: 10%; }
  .hero-float-2 { right: 0; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 360px; }
  .hero-seal { width: 96px; height: 96px; }
  .hero-seal-core { inset: 24px; }
  .hero-price { width: 92px; height: 92px; left: 2%; }
  .hero-price strong { font-size: 1.3rem; }
  .hero-float-card { padding: 9px 12px 9px 9px; font-size: var(--fs-xs); }
  .hero-float-card .trust-icon { width: 32px; height: 32px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---- Crossing ribbons ---- */
.ribbons { position: relative; z-index: 3; height: 150px; margin-top: -75px; margin-bottom: -18px; overflow: hidden; pointer-events: none; }
.ribbon { position: absolute; left: -4%; right: -4%; top: 50%; padding-block: 13px; }
.ribbon-front { background: var(--accent); color: var(--ink); transform: translateY(-50%) rotate(-2.6deg); box-shadow: 0 14px 30px -12px rgba(6, 16, 31, 0.45); }
.ribbon-back { background: var(--brand-bright); color: #fff; transform: translateY(-50%) rotate(2.4deg); }
.ribbon .marquee-track span { font-family: var(--font-serif); font-size: clamp(1.05rem, 0.85rem + 0.8vw, 1.55rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; padding-inline: 20px; white-space: nowrap; }
.ribbon .marquee-track .icon { flex: none; width: 22px; height: 22px; }

/* ---- Press ---- */
.press { padding-block: 26px 30px; background: #fff; }
.press-inner { display: flex; align-items: center; gap: 32px; }
.press-label { flex: none; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.press-marquee { flex: 1; min-width: 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.press-marquee .marquee-track span { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; opacity: 0.7; padding-inline: 26px; transition: opacity 0.2s; }
.press-marquee .marquee-track span:hover { opacity: 1; }
@media (max-width: 700px) { .press-inner { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; } .press-marquee { width: 100%; } }

/* ---- Category tiles ---- */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.cat-tile {
  position: relative; display: flex; align-items: flex-end; min-height: clamp(340px, 34vw, 470px); padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: #fff; background: var(--ink);
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.cat-tile.is-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 16, 31, 0) 25%, rgba(6, 16, 31, 0.88)); }
.cat-tile.is-brand { background: radial-gradient(circle at 75% 30%, #63caff, var(--brand-bright) 45%, #0b3f86 100%); }
.cat-tile.is-brand img { left: auto; right: 3%; top: 8%; width: 46%; height: 84%; object-fit: contain; object-position: right center; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.35)); }
.cat-tile-rings { position: absolute; z-index: -3; right: -12%; top: 50%; width: 72%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, 0.28); animation: spin-slow 50s linear infinite; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile.is-brand:hover img { transform: scale(1.07) rotate(-3deg); }
.cat-tile-body { position: relative; display: flex; flex-direction: column; gap: 6px; }
.cat-tile.is-brand .cat-tile-body { max-width: 50%; }
.cat-tile-count { align-self: flex-start; padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: var(--fs-xs); font-weight: 700; }
.cat-tile-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.7rem); line-height: 1.04; font-weight: 600; letter-spacing: -0.02em; }
.cat-tile-desc { opacity: 0.85; font-size: var(--fs-sm); }
.cat-tile-cta {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 12px; padding: 11px 20px;
  border-radius: var(--radius-pill); background: #fff; color: var(--ink); font-weight: 700; font-size: var(--fs-sm); transition: gap 0.35s var(--ease-out), background 0.2s;
}
.cat-tile:hover .cat-tile-cta { gap: 14px; background: var(--accent); }

/* ---- Scroll story ---- */
.story { position: relative; overflow: clip; isolation: isolate; background: var(--navy); color: #fff; padding-block: var(--section); }
.story::before { content: ''; position: absolute; z-index: -1; width: 700px; height: 700px; right: -260px; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(27, 127, 224, 0.35), transparent 65%); }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.story-visual-wrap { position: relative; }
.story-visual {
  position: sticky; top: calc(var(--header-h) + 32px); height: min(640px, calc(100vh - var(--header-h) - 64px));
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl);
  background: radial-gradient(circle at 50% 38%, #2272c9, #0a2550 72%);
}
.story-frame { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); }
.story-frame.is-active { opacity: 1; transform: none; }
.story-frame img { width: 100%; height: 100%; object-fit: cover; }
.story-frame .story-bottle { object-fit: contain; padding: 12% 24%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.45)); animation: float-y 6s ease-in-out infinite; }
.story-mist { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.story-mist i { position: absolute; top: 18%; left: 36%; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, 0.65); filter: blur(3px); animation: mist 2.6s ease-out infinite; animation-delay: calc(var(--i) * 0.26s); }
@keyframes mist { 0% { transform: translate(0, 0) scale(0.3); opacity: 0; } 15% { opacity: 0.9; } 100% { transform: translate(calc(-90px - var(--i) * 9px), calc((var(--i) - 4.5) * 16px)) scale(2.4); opacity: 0; } }
.story-tag { position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(6, 16, 31, 0.78); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.story-tag.is-after { background: var(--success); }
.story-progress { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.story-progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.story-steps { display: flex; flex-direction: column; }
.story-intro { padding-bottom: 6vh; }
.story-intro h2 { color: #fff; font-size: var(--fs-2xl); margin: 10px 0 12px; }
.story-intro h2 em { color: var(--accent); }
.story-intro p { color: rgba(255, 255, 255, 0.7); margin: 0; max-width: 460px; }
.story-step {
  position: relative; min-height: 64vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-left: clamp(20px, 3vw, 40px); border-left: 2px solid rgba(255, 255, 255, 0.12); opacity: 0.3; transition: opacity 0.6s var(--ease-out);
}
.story-step::before { content: ''; position: absolute; left: -2px; top: 28%; bottom: 28%; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform 0.7s var(--ease-out); }
.story-step.is-active { opacity: 1; }
.story-step.is-active::before { transform: scaleY(1); }
.story-num { font-family: var(--font-serif); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45); transition: -webkit-text-stroke-color 0.4s; }
.story-step.is-active .story-num { -webkit-text-stroke-color: var(--accent); }
.story-step h3 { font-family: var(--font-serif); font-size: var(--fs-2xl); color: #fff; margin: 6px 0 12px; }
.story-step p { color: rgba(255, 255, 255, 0.75); font-size: var(--fs-md); max-width: 460px; }
.story-tip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.08); font-size: var(--fs-sm); font-weight: 600; color: var(--accent); }
.story-step-media { display: none; }
@media (max-width: 900px) {
  .story-inner { grid-template-columns: 1fr; }
  .story-visual-wrap { display: none; }
  .story-step { min-height: 0; opacity: 1; padding-block: 22px; }
  .story-step::before { transform: scaleY(1); }
  .story-step-media { display: block; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 40%, #2272c9, #0a2550 72%); }
  .story-step-media img { width: 100%; height: 100%; object-fit: cover; }
  .story-step:first-of-type .story-step-media img { object-fit: contain; padding: 16px; }
  .story-intro { padding-bottom: 12px; }
}

/* ---- Results ---- */
.results { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.results .tabs { margin: 24px 0; }
.benefit-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; }
.benefit-list .icon { color: var(--success); margin-top: 3px; }
.results .ba { box-shadow: var(--shadow-xl); }
@media (max-width: 900px) { .results { grid-template-columns: 1fr; } }

/* ---- Stats band ---- */
.stats-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(48px, 7vw, 84px); background: linear-gradient(120deg, var(--brand) 0%, var(--brand-bright) 55%, #0b4fa0 100%); }
.stats-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { position: relative; text-align: center; padding-inline: 12px; }
.stat + .stat::before { content: ''; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: rgba(255, 255, 255, 0.22); }
.stat strong { display: block; margin-bottom: 10px; font-family: var(--font-serif); font-size: clamp(2.6rem, 1.8rem + 3vw, 4.3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat strong small { margin-left: 6px; font-family: var(--font-sans); font-size: 0.36em; font-weight: 700; }
.stat > span { display: inline-block; max-width: 220px; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.82); }
@media (max-width: 800px) { .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; } .stat:nth-child(3)::before { display: none; } }

/* ---- Surfaces ---- */
.surface-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.surface {
  position: relative; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius-lg); background: var(--cream); overflow: hidden; isolation: isolate;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), color 0.3s;
}
.surface::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--brand), var(--brand-bright)); transform: translateY(101%); transition: transform 0.55s var(--ease-out); }
.surface:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.surface:hover::before { transform: none; }
.surface-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 16px; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); transition: transform 0.45s var(--ease-out); }
.surface-icon .icon { width: 28px; height: 28px; }
.surface:hover .surface-icon { transform: rotate(-8deg) scale(1.08); }
.surface h3 { font-family: var(--font-sans); font-size: var(--fs-md); margin-bottom: 6px; letter-spacing: -0.01em; }
.surface p { margin: 0; font-size: var(--fs-sm); color: var(--muted); transition: color 0.3s; }
.surface:hover p { color: rgba(255, 255, 255, 0.86); }
@media (max-width: 900px) { .surface-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .surface-grid { gap: 12px; } .surface { padding: 18px; } .surface-icon { width: 46px; height: 46px; } }

/* ---- Pack picker ---- */
.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pack-grid { gap: 12px; } .pack-card { padding: 12px; } .pack-title { font-size: var(--fs-sm); } }
.pack-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; border-radius: var(--radius-lg);
  background: #fff; border: 1.5px solid var(--line); transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.pack-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pack-card.is-best { border-color: var(--brand-bright); box-shadow: 0 0 0 4px var(--brand-soft); }
.pack-ribbon { position: absolute; top: 16px; right: -7px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px 0 0 6px; background: var(--accent); color: var(--ink); font-size: var(--fs-xs); font-weight: 800; box-shadow: var(--shadow); }
.pack-ribbon::after { content: ''; position: absolute; right: 0; bottom: -7px; border-left: 7px solid #b39500; border-bottom: 7px solid transparent; }
.pack-card-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.pack-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform 0.8s var(--ease-out); }
.pack-card:hover .pack-card-media img { transform: scale(1.08) rotate(-2deg); }
.pack-title { flex: 1; margin: 4px 0 0; font-family: var(--font-sans); font-size: var(--fs-base); font-weight: 700; line-height: 1.35; letter-spacing: -0.005em; }
.pack-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pack-price { font-size: 1.25rem; font-weight: 800; }
.pack-price s { font-size: 0.72em; color: var(--muted); font-weight: 500; }
.pack-per { padding: 4px 10px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand); font-size: var(--fs-xs); font-weight: 700; }

/* ---- Boots edit (dark band) ---- */
.edit-band { position: relative; overflow: hidden; isolation: isolate; background: var(--espresso); color: #fff; padding-block: var(--section); }
.edit-glow { position: absolute; z-index: -1; width: 760px; height: 760px; left: -240px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 196, 106, 0.22), transparent 65%); }
.edit-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.edit-head h2 { color: #fff; font-size: var(--fs-2xl); margin: 8px 0; }
.edit-head h2 em { color: var(--gold); }
.edit-head p { color: rgba(255, 255, 255, 0.65); max-width: 520px; margin: 0; }

/* ---- Guarantee + as seen on ---- */
.guarantee-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.guarantee-copy { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.guarantee-copy h2 { font-size: var(--fs-2xl); margin: 8px 0 12px; }
.seal { position: relative; width: 150px; height: 150px; }
.seal svg { width: 100%; height: 100%; animation: spin-slow 24s linear infinite; fill: var(--ink); font: 800 10px var(--font-sans); letter-spacing: 0.5px; overflow: visible; }
.seal-core { position: absolute; inset: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--accent); box-shadow: var(--shadow-lg); }
.seal-core strong { font-family: var(--font-serif); font-size: 2.5rem; line-height: 1; }
.seal-core small { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.guarantee-list { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 12px; }
.guarantee-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.guarantee-list .icon { color: var(--brand); }
.seen-on { margin: 0; padding: 16px 16px 12px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xl); transform: rotate(1.6deg); transition: transform 0.6s var(--ease-out); }
.seen-on:hover { transform: rotate(0) scale(1.02); }
.seen-on img { border-radius: var(--radius); }
.seen-on figcaption { margin-top: 10px; text-align: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) { .guarantee-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .guarantee-copy { grid-template-columns: 1fr; } .seal { width: 120px; height: 120px; } .seal-core { inset: 24px; } .seal-core strong { font-size: 2rem; } }

/* ---- Reviews (home) ---- */
.review-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
@media (max-width: 1100px) { .review-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 760px) { .review-track { grid-auto-columns: 86%; } }
.review-card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow 0.3s, transform 0.3s; }
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review-quote { width: 34px; height: 34px; color: var(--brand-bright); opacity: 0.25; }
.review-card h3 { font-family: var(--font-sans); font-size: var(--fs-md); margin: 4px 0 0; }
.review-card p { flex: 1; margin: 0; color: var(--ink-2); }
.review-card footer { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.review-card-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; }
.review-card-product { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.review-card-product:hover { color: var(--brand); }
.review-card-product img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--cream); mix-blend-mode: multiply; }

/* ---- Instagram / in action ---- */
.ugc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ugc-tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.ugc-tile img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 0.9s var(--ease-out); }
.ugc-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px;
  background: linear-gradient(135deg, rgba(238, 42, 123, 0.75), rgba(98, 40, 215, 0.75)); color: #fff; text-align: center; font-size: var(--fs-xs); font-weight: 700;
  opacity: 0; transition: opacity 0.35s;
}
.ugc-overlay .icon { width: 30px; height: 30px; transform: scale(0.5) rotate(-20deg); transition: transform 0.5s var(--ease-out); }
.ugc-tile:hover .ugc-overlay, .ugc-tile:focus-visible .ugc-overlay { opacity: 1; }
.ugc-tile:hover .ugc-overlay .icon { transform: none; }
.ugc-tile:hover img { transform: scale(1.1); }
@media (max-width: 760px) { .ugc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }

/* ---- Guides ---- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.guide-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out); }
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.guide-card-media { aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.guide-card:hover .guide-card-media img { transform: scale(1.06); }
.guide-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-card-body h3 { font-size: var(--fs-md); margin: 0; }
.guide-card-body p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 64px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ================= COLLECTION ================= */
.collection-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(36px, 5vw, 64px); background: radial-gradient(120% 140% at 90% 0%, #134487, var(--navy) 65%); }
.collection-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask: linear-gradient(90deg, transparent 40%, #000); mask: linear-gradient(90deg, transparent 40%, #000); }
.collection-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.collection-hero h1 { color: #fff; font-size: var(--fs-2xl); margin: 4px 0 10px; }
.collection-hero p { color: rgba(255, 255, 255, 0.72); max-width: 620px; margin: 0; }
.collection-hero .breadcrumbs, .collection-hero .breadcrumbs a { color: rgba(255, 255, 255, 0.6); }
.collection-hero .breadcrumbs a:hover { color: #fff; }
.collection-hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.collection-hero-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.1); font-size: var(--fs-xs); font-weight: 700; }
.collection-hero-meta .icon { color: var(--accent); }
.collection-hero-art { position: relative; width: clamp(150px, 18vw, 220px); aspect-ratio: 1; }
.collection-hero-art::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #63caff, var(--brand-bright) 50%, #0b3f86); box-shadow: 0 30px 60px -20px rgba(27, 127, 224, 0.8); }
.collection-hero-art img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.4)); animation: float-y 6s ease-in-out infinite; }
.collection-hero-art.is-photo img { object-fit: cover; border-radius: 50%; padding: 6%; }
@media (max-width: 640px) { .collection-hero-art { display: none; } .collection-hero-inner { grid-template-columns: 1fr; } }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.toolbar .select { min-height: 42px; padding-block: 8px; font-size: var(--fs-sm); width: auto; border-radius: var(--radius-pill); }
.result-count { font-size: var(--fs-sm); color: var(--muted); }

/* ================= PRODUCT ================= */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: var(--section); }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--cream); overflow: hidden; grid-column: 2; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity 0.25s; }
.gallery-main .product-card-badges { top: 16px; left: 16px; }
.gallery-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.gallery-thumb { width: 76px; height: 76px; border-radius: var(--radius-sm); background: var(--cream); overflow: hidden; border: 2px solid transparent; transition: border-color 0.15s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gallery-thumb[aria-current='true'] { border-color: var(--ink); }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
@media (max-width: 900px) {
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery-main { grid-column: 1; }
  .gallery-thumbs { grid-row: 2; flex-direction: row; overflow-x: auto; }
  .gallery-thumb { width: 64px; height: 64px; flex: none; }
}
.product-info { display: flex; flex-direction: column; gap: 18px; }
.gallery-main { cursor: zoom-in; }
.gallery-main img { transition: opacity 0.25s, transform 0.35s var(--ease-out); }
.gallery-main.is-zooming img { transform: scale(1.9); }
.gallery-main.is-zooming .gallery-nav, .gallery-main.is-zooming .zoom-hint, .gallery-main.is-zooming .product-card-badges { opacity: 0; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.9); font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: opacity 0.2s; pointer-events: none; }
@media (hover: none), (pointer: coarse) { .zoom-hint { display: none; } .gallery-main { cursor: default; } }
.gallery-nav { transition: opacity 0.2s, transform 0.2s; }
.gallery-nav:hover { transform: translateY(-50%) scale(1.08); }
.save-pill { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--sale-soft); color: var(--sale); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.02em; }
.benefit-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.benefit-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-pill); background: var(--brand-soft); color: #0c3d73; font-size: var(--fs-xs); font-weight: 700; }
.benefit-chips .icon { color: var(--brand); }
.delivery-note { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); border: 1.5px dashed var(--line-2); font-size: var(--fs-sm); }
.delivery-note small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.delivery-note strong { color: var(--success); }
.delivery-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--success-soft); color: var(--success); }
.delivery-icon .icon { animation: truck 2.4s ease-in-out infinite; }
.product-info .payment-icons { justify-content: center; }
.product-info h1 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); margin: 0; }
.product-brand { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.product-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 1.6rem; }
.product-price .badge { font-size: 11px; }
.product-short { color: var(--ink-2); margin: 0; }
.option-group { border: 0; margin: 0; padding: 0; }
.option-group legend { font-size: var(--fs-sm); font-weight: 700; margin-bottom: 10px; padding: 0; }
.option-group legend span { font-weight: 500; color: var(--muted); }
.option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.option-value input { position: absolute; opacity: 0; pointer-events: none; }
.option-value span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 44px; padding: 8px 16px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); font-weight: 600; font-size: var(--fs-sm); cursor: pointer;
  background: #fff; transition: all 0.15s;
}
.option-value span:hover { border-color: var(--ink); }
.option-value input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.option-value input:focus-visible + span { outline: 3px solid var(--brand-bright); outline-offset: 2px; }
.option-value.is-unavailable span { color: var(--muted-2); background: repeating-linear-gradient(135deg, #fff, #fff 6px, var(--cream) 6px, var(--cream) 7px); text-decoration: line-through; }
.buy-row { display: flex; gap: 12px; align-items: stretch; }
.buy-row .btn { flex: 1; }
.stock-note { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.stock-note.is-low .stock-dot { background: var(--warning); box-shadow: 0 0 0 4px var(--warning-soft); }
.stock-note.is-out .stock-dot { background: var(--sale); box-shadow: 0 0 0 4px var(--sale-soft); }
.product-perks { display: grid; gap: 10px; padding: 18px 20px; background: var(--cream); border-radius: var(--radius); font-size: var(--fs-sm); }
.product-perks div { display: flex; align-items: center; gap: 10px; }
.product-perks .icon { color: var(--brand); }
.prose { line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: var(--fs-lg); margin-top: 1.6em; }
.prose h3 { font-size: var(--fs-md); margin-top: 1.4em; font-family: var(--font-sans); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin-block: 1em; }
.prose > :first-child { margin-top: 0; }

.sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -12px rgba(6, 16, 31, 0.25); padding: 10px var(--gutter); transform: translateY(110%); transition: transform 0.3s var(--ease);
}
.sticky-atc.is-visible { transform: none; }
.sticky-atc-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.sticky-atc img { width: 48px; height: 48px; object-fit: contain; background: var(--cream); border-radius: var(--radius-sm); }
.sticky-atc-title { flex: 1; min-width: 0; font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .sticky-atc img, .sticky-atc-title { display: none; } .sticky-atc .btn { flex: 1; } }
/* Room for the sticky buy bar so it never covers the footer */
body.page-product { padding-bottom: 72px; }
/* Phones: bring the title and price closer to the first screen */
@media (max-width: 560px) {
  .page-product .gallery-main { aspect-ratio: 5 / 4; }
  .page-product .gallery-thumb { width: 52px; height: 52px; }
  .product-info h1 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
}

.reviews-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 5vw, 64px); }
@media (max-width: 900px) { .reviews-layout { grid-template-columns: 1fr; } }
.review-summary-score { font-family: var(--font-serif); font-size: 3.5rem; line-height: 1; font-weight: 600; }
.review-bars { display: grid; gap: 6px; margin: 18px 0 24px; font-size: var(--fs-xs); }
.review-bar { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 8px; }
.review-bar-track { height: 8px; background: var(--cream-2); border-radius: 8px; overflow: hidden; }
.review-bar-track span { display: block; height: 100%; background: #f5a300; }
.review { padding-block: 22px; border-bottom: 1px solid var(--line); }
.review:first-child { padding-top: 0; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-author { font-weight: 700; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 8px; }
.review-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--success); font-size: var(--fs-xs); font-weight: 700; }
.review h4 { margin: 6px 0; font-size: var(--fs-base); }
.review p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { cursor: pointer; color: var(--line-2); transition: color 0.1s; }
.star-input label .icon { width: 30px; height: 30px; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f5a300; }
.star-input input:focus-visible + label { outline: 2px solid var(--brand-bright); border-radius: 4px; }

/* ================= CART PAGE ================= */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-table { width: 100%; }
.cart-table th { text-align: left; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-table .cart-line { grid-template-columns: 96px 1fr; }
.cart-table .cart-line-media { width: 96px; height: 96px; }
.cart-table .col-total { text-align: right; font-weight: 700; }
@media (max-width: 640px) { .cart-table thead { display: none; } .cart-table .col-qty-head, .cart-table .col-price { display: none; } }
.summary-card { position: sticky; top: calc(var(--header-h) + 16px); background: var(--cream); border-radius: var(--radius-lg); padding: 28px; }
.summary-card h2 { font-family: var(--font-sans); font-size: var(--fs-md); letter-spacing: 0; }
.discount-form { display: flex; gap: 8px; margin: 16px 0; }
.discount-form .input { min-height: 46px; background: #fff; }
.discount-form .btn { min-height: 46px; }
.applied-discount { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; margin: 16px 0; border-radius: var(--radius-sm); background: var(--success-soft); color: #14532d; font-size: var(--fs-sm); font-weight: 600; }

/* ================= CHECKOUT ================= */
.page-checkout { background: #fff; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); min-height: calc(100vh - var(--header-h)); }
.checkout-main { padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 56px) 64px; display: flex; justify-content: flex-end; }
.checkout-main-inner { width: 100%; max-width: 620px; }
.checkout-aside { background: var(--cream); border-left: 1px solid var(--line); padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 56px); }
.checkout-aside-inner { max-width: 440px; position: sticky; top: 24px; }
.checkout-section { margin-bottom: 32px; }
.checkout-section h2 { font-family: var(--font-sans); font-size: var(--fs-md); letter-spacing: 0; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.checkout-step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: var(--fs-sm); }
.checkout-summary-lines { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.checkout-summary-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; font-size: var(--fs-sm); }
.checkout-summary-thumb { position: relative; width: 64px; height: 64px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.checkout-summary-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.checkout-summary-qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--muted); color: #fff; font-size: 11px; font-weight: 800; }
.payment-note { display: flex; gap: 12px; padding: 16px 18px; background: var(--cream); border-radius: var(--radius); font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: 20px; }
.payment-note .icon { color: var(--success); margin-top: 2px; }
.demo-banner { padding: 12px 16px; background: var(--warning-soft); color: #78350f; border: 1px dashed #f59e0b; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 600; margin-bottom: 20px; }
.checkout-mobile-summary { display: none; }
@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-aside { order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .checkout-main { justify-content: center; }
  .checkout-aside-inner { max-width: 620px; margin: 0 auto; position: static; }
}

/* ================= ORDER STATUS ================= */
.order-hero { text-align: center; padding-block: clamp(40px, 6vw, 72px) 32px; }
.order-hero-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: flex; align-items: center; justify-content: center; }
.order-hero-icon .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.order-hero-icon.is-pending { background: var(--warning-soft); color: var(--warning); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 32px 0; counter-reset: tl; }
.timeline-step { position: relative; text-align: center; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.timeline-step::before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.timeline-step:first-child::before { display: none; }
.timeline-dot { position: relative; z-index: 1; width: 32px; height: 32px; margin: 0 auto 10px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: flex; align-items: center; justify-content: center; }
.timeline-step.is-done { color: var(--ink); }
.timeline-step.is-done::before { background: var(--success); }
.timeline-step.is-done .timeline-dot { background: var(--success); border-color: var(--success); color: #fff; }
.timeline-dot .icon { width: 16px; height: 16px; stroke-width: 3; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .order-grid { grid-template-columns: 1fr; } .timeline { font-size: var(--fs-xs); } }

/* ================= CONTENT / CONTACT ================= */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 40px); text-align: center; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 12px auto 0; }
.page-body { padding-bottom: var(--section); }
.guide-cover { aspect-ratio: 21 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); margin-bottom: 40px; }
.guide-cover img { width: 100%; height: 100%; object-fit: cover; }
.contact-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 5vw, 56px); align-items: start; padding-bottom: var(--section); }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--cream); }
.contact-card h3 { font-family: var(--font-sans); font-size: var(--fs-base); margin: 0 0 4px; letter-spacing: 0; }
.contact-card p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.narrow-form { max-width: 520px; margin: 0 auto; padding-bottom: var(--section); }
.error-page { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.error-code { font-family: var(--font-serif); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--brand-bright); font-weight: 600; }

/* ==========================================================================
   STAIN LIBRARY (guides hub, stain/surface hubs, combo guides, articles)
   and shop LANDING pages (/collections/<landing>)
   ========================================================================== */
.lib-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(28px, 4vw, 56px) clamp(36px, 5vw, 64px); background: radial-gradient(120% 140% at 90% 0%, #134487, var(--navy) 65%); }
.lib-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask: linear-gradient(90deg, transparent 40%, #000); mask: linear-gradient(90deg, transparent 40%, #000); }
.lib-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.lib-hero h1 { color: #fff; font-size: var(--fs-2xl); margin: 10px 0 14px; max-width: 760px; }
.lib-hero h1 em { color: var(--accent); }
.lib-hero p { color: rgba(255, 255, 255, 0.74); max-width: 640px; }
.lib-hero .breadcrumbs, .lib-hero .breadcrumbs a { color: rgba(255, 255, 255, 0.62); }
.lib-hero .breadcrumbs a:hover { color: #fff; }
.lib-hero .breadcrumbs { padding-top: 0; }
.lib-byline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font-size: var(--fs-xs); font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.lib-byline span { display: inline-flex; align-items: center; gap: 6px; }
.lib-byline .icon { color: var(--accent); }
.lib-ba { margin: 0; width: clamp(260px, 30vw, 400px); }
.lib-ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lib-ba-pair > div { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: rgba(255, 255, 255, 0.06); }
.lib-ba-pair img { width: 100%; height: 100%; object-fit: cover; }
.lib-ba-pair .ba-label { top: 10px; }
.lib-ba-pair .ba-label-before { left: 10px; }
.lib-ba-pair .ba-label-after { right: 10px; }
.lib-ba figcaption { margin-top: 10px; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.6); text-align: center; }
@media (max-width: 760px) {
  .lib-hero-inner { grid-template-columns: 1fr; }
  .lib-hero .collection-hero-art { display: none; }
  .lib-ba { width: 100%; max-width: 420px; }
}

.lib-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(32px, 5vw, 56px) var(--section); }
.lib-main { min-width: 0; max-width: 760px; }
.lib-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.lib-buy-inline { display: none; margin-top: 40px; }
@media (max-width: 980px) {
  .lib-layout { grid-template-columns: 1fr; }
  .lib-aside { display: none; }
  .lib-buy-inline { display: block; }
}

.lib-quick { position: relative; padding: 22px 24px 22px 26px; border-radius: var(--radius-lg); background: var(--brand-soft); border: 1px solid #cfe3fa; }
.lib-quick::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); }
.lib-quick-label { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.lib-quick p { margin: 8px 0 0; font-size: var(--fs-md); line-height: 1.65; color: var(--ink); }

.lib-section { margin-top: clamp(32px, 4vw, 48px); }
.lib-section h2 { font-size: var(--fs-xl); margin: 0 0 14px; }
.lib-section p { color: var(--ink-2); line-height: 1.75; }
.lib-section > .muted { margin-top: -6px; }

.lib-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lib-checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: var(--cream); color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; }
.lib-checklist .icon { flex: none; margin-top: 2px; color: var(--success); }
@media (max-width: 600px) { .lib-checklist { grid-template-columns: 1fr; } }

.lib-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.lib-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; scroll-margin-top: calc(var(--header-h) + 20px); transition: border-color 0.3s, box-shadow 0.3s; }
.lib-steps li:hover { border-color: #cfe3fa; box-shadow: var(--shadow); }
.lib-steps h3 { margin: 6px 0 4px; font-size: var(--fs-md); font-family: var(--font-sans); }
.lib-steps p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.lib-step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: var(--fs-md); }

.lib-callouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.lib-callout { padding: 22px 22px 20px; border-radius: var(--radius-lg); }
.lib-callout h2 { display: flex; align-items: center; gap: 8px; font-size: var(--fs-md); font-family: var(--font-sans); margin: 0 0 10px; }
.lib-callout ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.lib-callout li, .lib-callout p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; margin: 0; }
.lib-callout.is-tip { background: var(--success-soft); }
.lib-callout.is-tip h2 .icon { color: var(--success); }
.lib-callout.is-warn { background: var(--sale-soft); }
.lib-callout.is-warn h2 .icon { color: var(--sale); }
@media (max-width: 700px) { .lib-callouts { grid-template-columns: 1fr; } }

.lib-diy { padding: 22px 24px; border-radius: var(--radius-lg); background: var(--accent-soft); }
.lib-diy h2 { font-size: var(--fs-md); font-family: var(--font-sans); margin-bottom: 8px; }
.lib-diy p { margin: 0; }
.lib-faq summary { font-weight: 700; }

.lib-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lib-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s; }
.lib-link:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.lib-link-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.lib-link-text { display: grid; gap: 2px; min-width: 0; }
.lib-link-text strong { font-size: var(--fs-sm); }
.lib-link-text span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.lib-link-arrow { margin-left: auto; flex: none; color: var(--muted-2); transition: transform 0.25s, color 0.25s; }
.lib-link:hover .lib-link-arrow { color: var(--brand); transform: translateX(3px); }
@media (max-width: 600px) { .lib-links { grid-template-columns: 1fr; } }

.lib-buy { display: grid; gap: 10px; padding: 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lib-buy-label { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.lib-buy-media { display: block; aspect-ratio: 1; border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, #fff, var(--cream) 70%); overflow: hidden; }
.lib-buy-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform 0.6s var(--ease-out); }
.lib-buy-media.is-photo img { object-fit: cover; padding: 0; }
.lib-buy:hover .lib-buy-media img { transform: scale(1.05); }
.lib-buy-title { font-weight: 700; line-height: 1.35; }
.lib-buy-title:hover { color: var(--brand); }
.lib-buy-price { display: flex; align-items: baseline; gap: 8px; }
.lib-buy-price strong { font-size: var(--fs-lg); }
.lib-buy-price s { color: var(--muted); font-size: var(--fs-sm); }
.lib-buy-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--fs-xs); color: var(--ink-2); }
.lib-buy-perks li { display: flex; align-items: center; gap: 8px; }
.lib-buy-perks .icon { color: var(--success); }
.lib-buy-btn { width: 100%; }
.lib-buy-more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--brand); }

.lib-chip-cloud { flex-wrap: wrap; overflow: visible; }
.lib-chip-cloud .chip { gap: 6px; }

.lib-shop-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; transition: transform 0.3s var(--ease-out); }
.lib-shop-link:hover { transform: translateY(-3px); }
.lib-shop-link small { display: block; font-size: var(--fs-xs); color: var(--accent); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.lib-shop-link strong { font-size: var(--fs-md); }

.lib-toc { margin-top: 28px; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--cream); }
.lib-toc strong { font-size: var(--fs-sm); }
.lib-toc ol { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: var(--fs-sm); }
.lib-toc a { color: var(--brand); }
.lib-toc a:hover { text-decoration: underline; }
.lib-article .lib-section { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Hub */
.lib-hub-hero { text-align: center; padding-block: clamp(36px, 6vw, 80px); }
.lib-hub-inner { display: grid; justify-items: center; }
.lib-hub-inner .breadcrumbs ol { justify-content: center; }
.lib-hub-inner p { margin: 0 auto; }
.lib-finder { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; width: min(760px, 100%); margin-top: 28px; padding: 14px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); text-align: left; }
.lib-finder label { display: grid; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.lib-finder .select { background-color: #fff; color: var(--ink); min-height: 48px; }
.lib-finder .btn { min-height: 48px; }
@media (max-width: 680px) { .lib-finder { grid-template-columns: 1fr; } }

.lib-surface-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lib-surface { display: grid; gap: 6px; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s; }
.lib-surface:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.lib-surface-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); transition: background 0.3s, color 0.3s; }
.lib-surface:hover .lib-surface-icon { background: var(--brand); color: #fff; }
.lib-surface strong { font-size: var(--fs-md); }
.lib-surface small { color: var(--muted); }
.lib-surface .link-arrow { margin-top: 6px; font-size: var(--fs-sm); }
@media (max-width: 900px) { .lib-surface-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .lib-surface-grid { grid-template-columns: 1fr; } }

.lib-pop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lib-pop { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform 0.35s var(--ease-out), box-shadow 0.35s; }
.lib-pop:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lib-pop-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.lib-pop-tags span { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand); font-size: var(--fs-xs); font-weight: 700; }
.lib-pop-tags span + span { background: var(--cream-2); color: var(--ink-2); }
.lib-pop strong { font-size: var(--fs-md); line-height: 1.35; }
.lib-pop p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.lib-pop .link-arrow { margin-top: auto; font-size: var(--fs-sm); }
@media (max-width: 900px) { .lib-pop-grid { grid-template-columns: 1fr; } }

.lib-stain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lib-stain { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color 0.25s, background 0.25s; }
.lib-stain:hover { border-color: var(--brand); background: var(--brand-soft); }
.lib-stain small { color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .lib-stain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lib-cta { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 48px); border-radius: var(--radius-lg); color: #fff; background: radial-gradient(120% 160% at 0% 0%, #134487, var(--navy) 60%); overflow: hidden; }
.lib-cta img { width: clamp(90px, 12vw, 150px); height: auto; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.4)); animation: float-y 6s ease-in-out infinite; }
.lib-cta strong { display: block; font-family: var(--font-serif); font-size: var(--fs-xl); margin: 4px 0; }
.lib-cta small { color: rgba(255, 255, 255, 0.7); font-size: var(--fs-sm); }
@media (max-width: 700px) { .lib-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* Landing pages */
.landing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.landing-grid h2 { font-size: var(--fs-2xl); }
.landing-grid p { color: var(--ink-2); line-height: 1.75; }
.landing-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.landing-benefit { padding: 20px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.landing-benefit strong { display: block; margin-bottom: 6px; }
.landing-benefit p { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }
.landing-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.landing-steps li { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.landing-steps h3 { font-size: var(--fs-md); font-family: var(--font-sans); margin: 14px 0 6px; }
.landing-steps p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; }
.landing-ba { display: flex; justify-content: center; margin-top: 32px; }
.landing-ba .lib-ba { width: min(520px, 100%); }
.landing-ba .lib-ba figcaption { color: var(--muted); }
@media (max-width: 900px) { .landing-grid { grid-template-columns: 1fr; } .landing-steps { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .landing-benefits { grid-template-columns: 1fr; } }

.search-guides { margin-top: 40px; }
.search-guides h2 { font-size: var(--fs-lg); }
.search-guides ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 720px; }
.search-guides a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); font-weight: 600; }
.search-guides a:hover { border-color: var(--brand); color: var(--brand); }
.search-guides a .icon:last-child { margin-left: auto; }

/* Official store badge (Stingray product pages) */
.official-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--success-soft); color: var(--success); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.official-badge:hover { background: #d5f0de; }

/* Non-US visitor notice */
.geo-notice { background: var(--accent-soft); color: var(--ink); font-size: var(--fs-sm); text-align: center; padding: 8px 16px; }
.geo-notice strong { font-weight: 800; }

/* Stingray brand hub (/collections/stingray) */
.brand-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.brand-facts div { padding: 16px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.brand-facts dt { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.brand-facts dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.size-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.size-guide a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s; }
.size-guide a:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.size-guide img { width: 72px; height: 72px; object-fit: contain; background: var(--cream); border-radius: 12px; padding: 6px; }
.size-guide strong { display: block; font-size: var(--fs-sm); line-height: 1.35; }
.size-guide .price { color: var(--brand); font-weight: 800; font-size: var(--fs-sm); }
.size-guide small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.5; margin-top: 4px; }
@media (max-width: 900px) { .size-guide { grid-template-columns: 1fr; } }
.works-on { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.works-on li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: var(--fs-sm); }
