/* PawGlow Toys demo store */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f5f1;
  --bg-tint: #fff5ec;
  --ink: #141414;
  --ink-2: #2b2b2b;
  --muted: #5d5f63;
  --line: #e7e3dc;
  --line-strong: #cfc9bf;
  --accent: #ff7a1a;
  --accent-hover: #f06a0a;
  --accent-ink: #b14a00;
  --sale: #c8261b;
  --sale-bg: #fdecea;
  --ok: #157a3d;
  --ok-bg: #e8f5ec;
  --tp: #00b67a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 8px 24px rgba(20, 20, 20, .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
.btn-lg { min-height: 58px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; position: relative; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn .ico { width: 22px; height: 22px; }
.link-btn { background: none; border: 0; padding: 6px 0; min-height: 32px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }

/* ---------- header ---------- */
#site-header { min-height: 108px; position: sticky; top: -36px; z-index: 40; }
.announce { height: 36px; background: var(--ink); color: #fff; overflow: hidden; display: flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.announce-track { display: flex; white-space: nowrap; animation: marquee 40s linear infinite; }
.announce-track span { padding: 0 28px; position: relative; }
.announce-track span::after { content: '•'; position: absolute; right: -4px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } }
.header-bar { height: 72px; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; flex: none; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: .01em; text-transform: uppercase; }
.logo-mark { width: 30px; height: 30px; flex: none; color: var(--accent); filter: drop-shadow(0 0 6px rgba(255, 122, 26, .45)); }
.logo-suffix { margin-left: .24em; font-weight: 500; color: var(--muted); }
.main-nav { display: flex; gap: 4px; margin: 0 auto; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: var(--radius-sm); }
.main-nav a:hover { background: var(--bg-soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.menu-btn { display: none; margin-left: -10px; }
@media (max-width: 899px) {
  .main-nav, .shop-now { display: none; }
  .menu-btn { display: inline-grid; }
  .header-inner { justify-content: space-between; gap: 8px; }
  .header-actions { margin-right: -10px; }
  .logo { font-size: 24px; }
}

/* ---------- drawers & modals ---------- */
.scrim { position: absolute; inset: 0; background: rgba(15, 15, 15, .5); opacity: 0; transition: opacity .25s; }
.drawer, .mobile-nav { position: fixed; inset: 0; z-index: 60; }
.open .scrim { opacity: 1; }
.drawer-panel, .mobile-nav-panel { position: absolute; top: 0; bottom: 0; background: #fff; display: flex; flex-direction: column; transition: transform .3s var(--ease); }
.drawer-panel { right: 0; width: min(440px, 100%); transform: translateX(100%); }
.mobile-nav-panel { left: 0; width: min(340px, 88%); transform: translateX(-100%); padding: 0 20px 24px; }
.open .drawer-panel, .open .mobile-nav-panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer-panel, .mobile-nav-panel, .scrim { transition: none; } }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; height: 72px; margin-bottom: 8px; }
.mobile-nav-panel > a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 17px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; }
.drawer-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 20px; }
.cart-ship { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--ok-bg); color: var(--ok); font-size: 13.5px; font-weight: 500; }
.cart-ship .ico { width: 17px; height: 17px; }
.cart-ship strong { font-weight: 700; }
.cart-lines { padding: 4px 20px; }
.cart-section { padding: 16px 20px 0; display: grid; gap: 8px; }
.cart-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tp-card { display: grid; gap: 6px; margin: 18px 20px 0; padding: 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.tp-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .tp-card:hover { transform: none; } }
.tp-card-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tp-card-top img { flex: none; }
.tp-card-top strong { font-size: 15px; }
.tp-card-meta { font-size: 13px; color: var(--muted); }
.tp-card-quote { display: grid; gap: 4px; margin-top: 4px; font-size: 14.5px; line-height: 1.45; }
.tp-card-quote q { font-style: italic; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-card-by { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.tp-card-by .ico { width: 14px; height: 14px; color: var(--ok); stroke-width: 2.5; }
.guarantee { display: flex; align-items: flex-start; gap: 14px; margin: 18px 20px 0; }
.guarantee .seal { width: 40px; height: 40px; flex: none; color: var(--accent-ink); }
.guarantee p { display: grid; gap: 2px; font-size: 13.5px; line-height: 1.4; }
.guarantee strong { font-size: 15px; }
.guarantee span { color: var(--muted); }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-thumb img { border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); }
.cart-line-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.cart-line-row { display: flex; align-items: center; gap: 14px; }
.cart-line-price { font-weight: 600; font-size: 15px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); height: 40px; }
.qty button { width: 40px; height: 38px; border: 0; background: none; display: grid; place-items: center; }
.qty button:hover { background: var(--bg-soft); }
.qty .ico { width: 16px; height: 16px; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; font-size: 14px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: #fff; box-shadow: 0 -6px 18px rgba(20, 20, 20, .04); }
.cart-savings { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ok); }
.cart-savings .ico { width: 16px; height: 16px; }
.cart-line-price { display: grid; justify-items: end; line-height: 1.3; }
.cart-line-price s { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.pay-icons-xs { gap: 4px; }
.pay-icons-xs li { width: 38px; height: 24px; border-radius: 4px; }
.pay-icons-xs img { width: 30px; height: 19px; }
.cart-secure { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-top: -2px; }
.cart-secure .ico { width: 13px; height: 13px; }
.addons { display: grid; gap: 8px; }
.addon { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s; }
.addon:hover { border-color: var(--line-strong); }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon-box { width: 22px; height: 22px; border: 1.5px solid var(--line-strong); border-radius: 6px; display: grid; place-items: center; color: transparent; transition: background-color .15s, border-color .15s; }
.addon-box .ico { width: 15px; height: 15px; stroke-width: 3; }
.addon input:checked + .addon-box { background: var(--ink); border-color: var(--ink); color: #fff; }
.addon input:focus-visible + .addon-box { outline: 2px solid var(--ink); outline-offset: 2px; }
.addon:has(input:checked) { border-color: var(--ink); background: var(--bg-soft); }
.addon-text { display: grid; line-height: 1.35; }
.addon-text strong { font-size: 14px; }
.addon-text small { font-size: 12.5px; color: var(--muted); }
.addon-price { font-weight: 600; font-size: 14px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 600; }
.cart-total s { color: var(--muted); font-weight: 400; margin-right: 8px; font-size: 14px; }
.cart-total strong { font-size: 18px; }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; color: var(--muted); }
.cart-empty > .ico { width: 44px; height: 44px; stroke-width: 1.5; }

/* ---------- product hero ---------- */
.product { padding: 32px 0 56px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.gallery { position: sticky; top: 96px; min-width: 0; }
.buy, .gallery-main { min-width: 0; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1 / 1; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; scroll-snap-align: center; }
.gallery-badge { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }
.gallery-badge i { width: 12px; height: 12px; border-radius: 50%; background: var(--swatch, var(--accent)); }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .2s var(--ease), background-color .2s; }
.gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gallery-nav.prev { left: 14px; } .gallery-nav.next { right: 14px; }
.gallery-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(20, 20, 20, .25); transition: width .25s var(--ease), background-color .25s; }
.gallery-dots span.on { width: 20px; background: var(--ink); }
.thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); aspect-ratio: 1; transition: border-color .2s; }
.thumbs button:hover { border-color: var(--line-strong); }
.thumbs button[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy { display: grid; gap: 18px; container-type: inline-size; }
.countdown-eyebrow, .atc { white-space: nowrap; }
@container (max-width: 460px) {
  .buy .countdown { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .buy .countdown-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .buy .countdown-sub { font-size: 13px; }
  .buy .countdown-units { justify-content: space-between; padding: 0 6px; }
  .buy .countdown-units div { min-width: 44px; }
  .buy .atc { font-size: 14px; letter-spacing: .03em; padding: 0 14px; gap: 8px; }
}
@container (max-width: 360px) { .buy .atc .ico { display: none; } }
/* Trustpilot row (circled feature) */
.tp-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; text-decoration: none; width: fit-content; }
.tp-logo { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.tp-logo svg { width: 20px; height: 20px; }
.tp-stars { display: inline-flex; gap: 2px; }
.tp-stars span { width: 22px; height: 22px; display: grid; place-items: center; background: var(--tp); }
.tp-stars span.half { background: linear-gradient(90deg, var(--tp) 70%, #dcdce6 70%); }
.tp-stars svg { width: 15px; height: 15px; fill: #fff; }
.tp-score { font-size: 15px; color: var(--muted); }
.tp-score strong { color: var(--ink); font-weight: 700; }
.tp-row:hover .tp-score strong { text-decoration: underline; text-underline-offset: 3px; }
.product-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.2vw, 48px); line-height: 1; text-transform: uppercase; letter-spacing: .005em; }
.tagline { color: var(--muted); font-size: 16px; margin-top: -8px; }
.price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; }
.price small { font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.compare { color: var(--muted); font-size: 18px; text-decoration: line-through; }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pill-sale { background: var(--sale); color: #fff; }
.pill-dark { background: var(--ink); color: #fff; }

.countdown { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.countdown-label { display: grid; gap: 3px; }
.countdown-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.countdown-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sale); }
.countdown-sub { font-size: 14px; color: var(--muted); }
.countdown-units { display: flex; align-items: flex-start; gap: 8px; }
.countdown-units div { min-width: 34px; text-align: center; }
.countdown-units b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.countdown-units small { display: block; margin-top: 5px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.countdown-units .sep { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.15; color: var(--line-strong); }

.field-label { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.field-label span { font-weight: 400; color: var(--muted); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; transition: border-color .2s, transform .2s var(--ease); }
.swatch i { width: 22px; height: 22px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.swatch:hover { border-color: var(--line-strong); }
.swatch[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }


.buy-row { display: flex; gap: 10px; }
.qty-lg { height: 58px; flex: none; }
.qty-lg button { width: 46px; height: 56px; }
.qty-lg button:disabled { opacity: .35; cursor: default; }
.qty-lg span { min-width: 30px; font-size: 16px; }
.atc { flex: 1; min-width: 0; }
.atc .ico { width: 20px; height: 20px; }
.atc.added { background: var(--ok); color: #fff; }

/* Reassurance under ATC (circled features) */
.assure-stack { display: grid; gap: 10px; margin-top: -2px; }
.assure-stack li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.4; }
.assure-stack .ico { width: 20px; height: 20px; color: var(--accent-ink); margin-top: 1px; }
.assure-stack li > span { display: grid; }
.assure-stack strong { font-weight: 700; }
.assure-stack li > span > span { color: var(--muted); text-wrap: pretty; }
@container (min-width: 500px) {
  .assure-stack li > span { display: block; }
  .assure-stack li > span > span::before { content: ' · '; }
}

/* featured quote under the rating */
.rating-block { display: grid; gap: 6px; }
.tp-quote { display: block; min-height: 44px; padding: 2px 0; text-decoration: none; font-size: 16px; line-height: 1.45; width: fit-content; max-width: 100%; }
.tp-quote .stars-sm { font-size: 14px; margin-right: 6px; vertical-align: 1px; }
.tp-quote q { font-style: italic; color: var(--ink-2); }
.tp-quote:hover q { text-decoration: underline; text-underline-offset: 3px; }
.tp-quote-by { font-size: 13.5px; color: var(--muted); white-space: nowrap; margin-left: 4px; }
.pay-icons { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pay-icons li { display: grid; place-items: center; width: 50px; height: 32px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.pay-icons img { width: 38px; height: 24px; }
.pay-icons-sm li { width: 44px; height: 28px; }
.pay-icons-sm img { width: 34px; height: 21px; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 8px; }
.tl-step { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; }
.tl-step:first-child { justify-items: start; text-align: left; }
.tl-step:last-child { justify-items: end; text-align: right; }
.tl-step::before { content: ''; position: absolute; top: 24px; height: 1px; background: var(--line-strong); left: 0; right: 0; z-index: 0; }
.tl-step:first-child::before { left: 48px; }
.tl-step:last-child::before { right: 48px; }
.tl-step:nth-child(2)::before { left: 0; right: 0; }
.tl-step:nth-child(2) .tl-icon { box-shadow: 0 0 0 10px #fff; }
.tl-icon { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; margin-bottom: 10px; }
.tl-icon .ico { width: 21px; height: 21px; }
.tl-label { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .03em; text-transform: uppercase; }
.tl-date { position: relative; font-size: 14px; color: var(--muted); border: 0; background: none; padding: 2px 0; border-bottom: 1px dotted var(--muted); cursor: help; }
.tl-date:hover, .tl-date:focus-visible { color: var(--ink); }
.tl-tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); width: 220px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.45; text-align: left; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); z-index: 5; }
.tl-step:first-child .tl-tip { left: 0; transform: translate(0, 4px); }
.tl-step:last-child .tl-tip { left: auto; right: 0; transform: translate(0, 4px); }
.tl-date:hover .tl-tip, .tl-date:focus-visible .tl-tip { opacity: 1; transform: translate(-50%, 0); }
.tl-step:first-child .tl-date:hover .tl-tip, .tl-step:first-child .tl-date:focus-visible .tl-tip,
.tl-step:last-child .tl-date:hover .tl-tip, .tl-step:last-child .tl-date:focus-visible .tl-tip { transform: none; }

.sooner { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.sooner strong { display: block; font-size: 15px; margin-bottom: 2px; }
.sooner p { font-size: 14px; color: var(--muted); }
.sooner b { color: var(--accent-ink); }

.benefits { display: grid; gap: 10px; padding: 18px 0 2px; border-top: 1px solid var(--line); }
.benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.benefits .ico { width: 20px; height: 20px; color: var(--ok); margin-top: 2px; stroke-width: 2.5; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; font-weight: 600; font-size: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico { transition: transform .25s var(--ease); }
.accordion details[open] summary .ico { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; display: grid; gap: 10px; }
.accordion .acc-body ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; font-size: 14px; font-weight: 500; padding: 8px 0; min-height: 44px; width: fit-content; }
.share-btn .ico { width: 18px; height: 18px; }
.share-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
main section[id] { scroll-margin-top: 72px; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; display: grid; gap: 10px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 46px); text-transform: uppercase; line-height: 1.02; }
.section-sub { color: var(--muted); font-size: 17px; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 24px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .ico { width: 28px; height: 28px; color: var(--accent-ink); stroke-width: 1.75; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { font-size: 13.5px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-img { aspect-ratio: 4 / 3; overflow: hidden; }
.step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.step:hover .step-img img { transform: scale(1.04); }
.step-body { padding: 20px 22px 24px; display: grid; gap: 6px; }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent-ink); letter-spacing: .08em; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; }

.compare-table { max-width: 760px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.compare-table thead th.us { background: var(--ink); color: #fff; }
.compare-table td.us { background: var(--bg-tint); }
.yes, .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.yes { background: var(--ok-bg); color: var(--ok); }
.no { background: #f1f1f1; color: #8a8a8a; }
.yes .ico, .no .ico { width: 16px; height: 16px; stroke-width: 3; }

/* reviews */
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.big-score { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; }
.reviews-summary .meta { display: grid; gap: 4px; text-align: left; }
.avatars { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.avatars ul { display: flex; }
.avatars li { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg-soft); margin-left: -8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; overflow: hidden; }
.avatars li:first-child { margin-left: 0; }
.avatars li img { width: 100%; height: 100%; object-fit: cover; }
.stars { display: inline-flex; gap: 1px; font-size: 18px; letter-spacing: 0; line-height: 1; }
.stars span { color: #d9d4cc; }
.stars span.on { color: #f5a623; }
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; margin: 0 -10px; padding: 6px 0 10px; }
.carousel-track { display: flex; transition: transform .5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }
.review { flex: 0 0 calc(100% / 3); padding: 0 10px; }
.review-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review-date { font-size: 13px; color: var(--muted); }
.review-card h3 { font-size: 17px; }
.review-card blockquote { margin: 0; color: var(--ink-2); font-size: 15px; flex: 1; }
.review-photo { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.reviewer { display: grid; line-height: 1.3; }
.reviewer strong { font-size: 14.5px; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ok); font-weight: 600; }
.verified .ico { width: 14px; height: 14px; stroke-width: 2.5; }
.review-product { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 12.5px; color: var(--muted); max-width: 52%; }
.review-product img { width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-soft); flex: none; }
.review-product:hover span { color: var(--ink); text-decoration: underline; }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }
.carousel-controls button.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; display: grid; place-items: center; transition: border-color .2s, transform .2s var(--ease); }
.carousel-controls button.arrow:hover:not(:disabled) { border-color: var(--ink); transform: scale(1.05); }
.carousel-controls button.arrow:disabled { opacity: .35; cursor: default; }
.carousel-pos { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; }

.faq { max-width: 760px; margin: 0 auto; }
.final-cta { text-align: center; background: var(--ink); color: #fff; }
.final-cta .section-title { color: #fff; }
.final-cta .section-sub { color: #c9c9c9; }
.final-cta .btn { margin-top: 10px; }

/* footer */
#site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 28px; min-height: 200px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 12px; max-width: 320px; }
#site-footer h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid a:not(.logo) { display: block; text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 5px 0; }
.footer-grid a:not(.logo):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* sticky mobile ATC */
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-atc.show { transform: none; }
.sticky-atc-inner { display: flex; align-items: center; gap: 12px; }
.sticky-atc img { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.sticky-atc-info { flex: 1; min-width: 0; line-height: 1.3; }
.sticky-atc-info strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc-info span { font-size: 13px; color: var(--muted); }
.sticky-atc .btn { min-height: 46px; padding: 0 18px; font-size: 14px; }
@media (max-width: 899px) { .sticky-atc { display: block; } }
@media (prefers-reduced-motion: reduce) { .sticky-atc { transition: none; } }

/* catalog */
.page-head { padding: 48px 0 28px; }
.page-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.5vw, 52px); text-transform: uppercase; }
.page-head p { color: var(--muted); margin-top: 6px; }
.product-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; padding-bottom: 80px; }
.card { text-decoration: none; display: grid; gap: 12px; }
.card-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--bg-soft); border: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.card-img img.alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-img img { transform: scale(1.04); }
.card:hover .card-img img.alt { opacity: 1; }
.card-img .pill { position: absolute; top: 12px; left: 12px; z-index: 1; }
.card h2 { font-size: 17px; font-weight: 600; }
.card-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.card-price { display: flex; gap: 8px; align-items: baseline; font-weight: 700; }
.card-price s { color: var(--muted); font-weight: 400; font-size: 14px; }
.card-dots { display: flex; gap: 6px; }
.card-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--swatch); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); }

/* policies */
.policy { max-width: 760px; padding-bottom: 80px; }
.policy section { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.policy h2 { font-size: 24px; margin-bottom: 12px; }
.policy p, .policy li { color: var(--ink-2); font-size: 15.5px; }
.policy p + p, .policy p + ul, .policy ul + p { margin-top: 10px; }
.policy ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.policy-nav a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.policy-nav a:hover { border-color: var(--ink); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { gap: 36px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 899px) {
  :root { --gutter: 20px; }
  .product { padding-top: 16px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gallery { position: static; }
  .thumbs { grid-template-columns: repeat(7, 64px); overflow-x: auto; scrollbar-width: none; }
  .review { flex-basis: 50%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps .step:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
  body.has-sticky { padding-bottom: 76px; }
}
@media (max-width: 599px) {
  :root { --gutter: 16px; }
  .gallery-main { margin: 0 calc(var(--gutter) * -1); border-radius: 0; border-left: 0; border-right: 0; }
  .gallery-nav { display: none; }
  .thumbs { grid-template-columns: repeat(7, 58px); gap: 8px; }
  .review { flex-basis: 100%; }
  .carousel-track { align-items: flex-start; }
  .review-photo { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(3) { border-left: 0 !important; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
  .trust-item { padding: 16px 4px; }
  .tp-row { flex-wrap: nowrap; gap: 8px; }
  .tp-logo { font-size: 15px; }
  .tp-logo svg { width: 17px; height: 17px; }
  .tp-stars span { width: 18px; height: 18px; }
  .tp-stars svg { width: 12px; height: 12px; }
  .tp-score { font-size: 13.5px; white-space: nowrap; }
  .tl-label { font-size: 15px; }
  .tl-date { font-size: 13px; }
  .tl-tip { width: 180px; }
  .pay-icons { gap: 5px; }
  .pay-icons li { width: 42px; height: 28px; }
  .pay-icons img { width: 34px; height: 21px; }
  .compare-table th, .compare-table td { padding: 12px 10px; font-size: 14px; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .review-product span { display: none; }
}
@media (hover: none) {
  .step:hover { transform: none; }
  .step:hover .step-img img, .card:hover .card-img img { transform: none; }
}

/* cart drawer, phones (after base drawer rules so these win) */
@media (max-width: 600px) {
  .drawer-panel { width: 100%; }
  .drawer-head { padding: 8px 16px 8px 20px; }
  .cart-ship { padding: 8px 20px; }
  .cart-line { padding: 10px 0; }
  .cart-section { padding-top: 12px; }
  .addon { padding: 8px 12px; }
  .tp-card { margin-top: 12px; padding: 13px 14px; gap: 4px; }
  .guarantee { margin-top: 14px; }
  .drawer-scroll { padding-bottom: 14px; }
  .drawer-foot { gap: 8px; padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* wordmark, very small phones: one step down so it never wraps */
@media (max-width: 380px) {
  .logo { font-size: 20px; gap: 6px; }
  .logo-mark { width: 22px; height: 22px; }
}
