/* JolliPlug storefront — brand: navy #14213d, blue #2563eb, orange #ff8a3d. */
:root {
  --navy: #14213d; --navy-2: #1c2d52; --blue: #2563eb; --blue-d: #1d4fd7; --blue-50: #eef4ff;
  --orange: #ff8a3d; --orange-50: #fff3ea; --green: #12a150; --wa: #1fae5b; --red: #d93a3a;
  --ink: #14213d; --ink-2: #4a5876; --ink-3: #7c879d; --line: #e6eaf1; --bg: #f5f7fb; --card: #fff;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(20,33,61,.06), 0 2px 8px rgba(20,33,61,.04);
  --sh-2: 0 10px 30px -12px rgba(20,33,61,.25);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Manrope", var(--font);
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background .15s, color .15s, box-shadow .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; font-size: 16px; padding: 0 26px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(37,99,235,.6); }
.btn-primary:hover { background: var(--blue-d); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--orange-50); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18984f; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.loading .i { animation: spin 1s linear infinite; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.center { justify-content: center; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink); transition: background .15s; }
.icon-btn:hover { background: var(--blue-50); color: var(--blue); }
.icon-btn .i { width: 22px; height: 22px; }
.badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 15px; }
.text-link .i { width: 16px; height: 16px; transition: transform .15s; }
.text-link:hover .i { transform: translateX(3px); }
.link-btn { color: var(--ink-3); padding: 6px; border-radius: 8px; }
.link-btn:hover { color: var(--red); background: #fff0f0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

/* ---------- header ---------- */
.announce { background: var(--navy); color: #dbe5ff; font-size: 13px; }
.announce-track { display: flex; gap: 28px; justify-content: center; padding-top: 8px; padding-bottom: 8px; overflow: hidden; white-space: nowrap; }
.announce-track span + span::before { content: "•"; margin-right: 28px; color: var(--orange); }
@media (max-width: 760px) { .announce-track span:not(:first-child) { display: none; } }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px -12px rgba(20,33,61,.25); }
.header-row { display: flex; align-items: center; gap: 12px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 800 24px/1 var(--display); letter-spacing: -.03em; color: var(--navy); }
.logo svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.logo .smile { stroke: var(--orange); }
.logo b { color: var(--blue); font-weight: 800; }
.search { flex: 1; display: flex; max-width: 620px; margin: 0 auto; background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .15s, background .15s; }
.search:focus-within { border-color: var(--blue); background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 18px; height: 44px; outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { width: 48px; display: grid; place-items: center; color: var(--ink-2); border-radius: 999px; }
.search button:hover { color: var(--blue); }
.header-actions { display: flex; gap: 2px; }
.menu-btn { display: none; }
.cat-nav { border-top: 1px solid var(--line); }
.cat-nav-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-nav-row::-webkit-scrollbar { display: none; }
.cat-nav a { padding: 12px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; }
.cat-nav a:hover { color: var(--blue); }
.cat-nav a[aria-current] { color: var(--navy); border-color: var(--blue); font-weight: 600; }
.cat-nav a.deal { color: #c2410c; margin-left: auto; }
@media (max-width: 900px) {
  .header-row { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .menu-btn { display: inline-grid; margin-left: -8px; }
  .logo { margin-right: auto; font-size: 22px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .cat-nav { display: none; }
}

/* ---------- drawers ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(20,33,61,0); transition: background .25s; }
.drawer.open { background: rgba(20,33,61,.45); }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .25s ease; outline: none; }
.drawer-panel.right { left: auto; right: 0; transform: translateX(100%); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; }
.menu-links { display: grid; padding: 12px; }
.menu-links a { padding: 14px 12px; border-radius: 10px; font-weight: 600; font-size: 17px; }
.menu-links a:hover { background: var(--bg); }
.menu-links.small { border-top: 1px solid var(--line); }
.menu-links.small a { font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 10px 12px; }
.cart-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.cart-empty { margin: auto; padding: 32px; text-align: center; }
.cart-empty > .i { width: 48px; height: 48px; color: var(--ink-3); margin: 0 auto 12px; stroke-width: 1.4; }
.free-ship { padding: 14px 20px; background: var(--blue-50); font-size: 14px; }
.free-ship p { margin: 0 0 8px; display: flex; gap: 6px; align-items: center; }
.free-ship .i { width: 16px; height: 16px; color: var(--green); }
.bar { height: 6px; border-radius: 3px; background: #d6e3ff; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); border-radius: 3px; transition: width .3s; }
.cart-lines { list-style: none; margin: 0; padding: 0 20px; flex: 1; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { background: var(--bg); border-radius: 12px; overflow: hidden; }
.cart-info { display: grid; gap: 4px; font-size: 14.5px; align-content: start; }
.cart-info a { font-weight: 600; line-height: 1.3; }
.cart-right { display: grid; justify-items: end; align-content: space-between; font-size: 15px; }
.cart-foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.cart-foot .row { display: flex; justify-content: space-between; font-size: 17px; }
.cart-foot p { margin: 0; }

/* qty stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 48px; display: grid; place-items: center; color: var(--ink-2); border-radius: 999px; }
.qty button:hover { color: var(--blue); }
.qty input { width: 44px; text-align: center; border: 0; font-weight: 600; outline: none; -moz-appearance: textfield; background: none; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { margin-top: 4px; width: max-content; }
.qty-sm button { width: 32px; height: 32px; }
.qty-sm .i { width: 16px; height: 16px; }
.qty-sm span { min-width: 22px; text-align: center; font-weight: 600; }

/* toast */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 140%); display: flex; gap: 16px; align-items: center; max-width: calc(100vw - 32px); padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 14.5px; box-shadow: var(--sh-2); transition: transform .25s ease; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: #ffcfae; font-weight: 700; white-space: nowrap; padding: 4px 6px; }
.is-pdp .toast { bottom: 96px; }

/* ---------- home ---------- */
.hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-top: 24px; }
.hero { position: relative; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; padding: 40px 56px 56px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide.midnight { background: radial-gradient(120% 120% at 80% 20%, #2c4a8f 0%, #14213d 55%, #0d1730 100%); }
.slide.bluehour { background: radial-gradient(120% 120% at 85% 15%, #4f86ff 0%, #2563eb 45%, #1a3fb0 100%); }
.slide.daylight { background: radial-gradient(120% 120% at 85% 20%, #ffd2b3 0%, #ffb27a 40%, #ff8a3d 100%); color: var(--navy); }
.slide .eyebrow { color: #ffcfae; }
.slide.daylight .eyebrow { color: var(--navy); }
.slide .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.slide.daylight .eyebrow i { background: #fff; }
.slide-title { font-size: clamp(32px, 3.8vw, 52px); font-weight: 800; margin: 14px 0 14px; letter-spacing: -.035em; }
.slide p { font-size: 17px; max-width: 30ch; opacity: .85; margin-bottom: 24px; }
.slide-copy > * { transform: translateY(12px); opacity: 0; transition: transform .6s ease, opacity .6s ease; }
.slide.is-active .slide-copy > * { transform: none; opacity: 1; }
.slide.is-active .slide-copy > :nth-child(2) { transition-delay: .06s; }
.slide.is-active .slide-copy > :nth-child(3) { transition-delay: .12s; }
.slide.is-active .slide-copy > :nth-child(4) { transition-delay: .18s; }
.slide-stage { position: relative; height: 100%; min-height: 300px; display: grid; place-items: center; }
.disc { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), rgba(255,255,255,.05) 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.orbit { position: absolute; width: 96%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255,255,255,.25); animation: spin 60s linear infinite; }
.stage-a { position: relative; width: 68%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; }
.stage-b { position: absolute; width: 34%; right: 2%; bottom: 6%; filter: drop-shadow(0 16px 24px rgba(0,0,0,.35)); animation: float 6s ease-in-out -3s infinite; }
.stage-price { position: absolute; left: 4%; top: 10%; background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; box-shadow: var(--sh-2); }
.hero-controls { position: absolute; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 14px; z-index: 2; }
.dots { display: flex; gap: 4px; }
.dots button { padding: 10px 2px; }
.dots span { display: block; width: 22px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); transition: width .3s, background .3s; }
.dots [aria-current="true"] span { width: 44px; background: var(--orange); }
.hero-nav { display: flex; gap: 6px; }
.hero-nav button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); color: inherit; backdrop-filter: blur(6px); }
.hero-nav button:hover { background: rgba(255,255,255,.3); }
.hero-nav .i { width: 18px; height: 18px; }
.hero:has(.daylight.is-active) .hero-controls { color: var(--navy); }
.hero:has(.daylight.is-active) .dots span { background: rgba(20,33,61,.25); }
.hero:has(.daylight.is-active) .dots [aria-current="true"] span { background: var(--navy); }
.hero.is-paused .orbit, .hero.is-paused .stage-a, .hero.is-paused .stage-b { animation-play-state: paused; }
.promo-stack { display: grid; gap: 20px; }
.promo { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; padding: 24px; border-radius: var(--r-lg); overflow: hidden; min-height: 210px; transition: transform .2s, box-shadow .2s; }
.promo:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.promo strong { font: 800 26px/1.1 var(--display); letter-spacing: -.03em; position: relative; z-index: 1; }
.promo .eyebrow { position: relative; z-index: 1; }
.promo-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; margin-top: auto; position: relative; z-index: 1; }
.promo-link .i { width: 16px; height: 16px; }
.promo img { position: absolute; right: -14px; bottom: -14px; width: 56%; transition: transform .3s; }
.promo:hover img { transform: scale(1.05) rotate(-3deg); }
.promo-cool { background: linear-gradient(140deg, #eaf1ff, #d5e3ff); }
.promo-warm { background: linear-gradient(140deg, #fff1e6, #ffdcc2); }
.promo-warm .eyebrow { color: #c2410c; }
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .promo-stack { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-grid { margin-top: 12px; gap: 12px; }
  .hero { min-height: 520px; border-radius: 20px; }
  .slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 28px 22px 72px; align-items: start; }
  .slide p { font-size: 15px; margin-bottom: 18px; }
  .slide-stage { min-height: 220px; }
  .stage-a { width: 58%; }
  .hero-controls { left: 22px; right: 14px; bottom: 14px; justify-content: space-between; }
  .promo-stack { gap: 12px; }
  .promo { min-height: 170px; padding: 18px; border-radius: 20px; }
  .promo strong { font-size: 20px; }
  .promo img { width: 60%; }
}
@media (max-width: 420px) { .promo-stack { grid-template-columns: 1fr; } }

.cat-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 40px 0 8px; }
.cat-tiles a { display: grid; justify-items: center; gap: 4px; padding: 18px 12px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); text-align: center; transition: transform .2s, box-shadow .2s; }
.cat-tiles a:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.cat-img { width: 96px; height: 96px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; overflow: hidden; margin-bottom: 6px; }
.cat-img img { width: 80%; }
.cat-name { font-weight: 700; font-size: 15px; }
.cat-tiles small { color: var(--ink-3); font-size: 13px; }
@media (max-width: 760px) {
  .cat-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 128px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 24px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 12px; scrollbar-width: none; gap: 12px; }
  .cat-tiles a { scroll-snap-align: start; }
  .cat-img { width: 76px; height: 76px; }
}

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin-top: 4px; }
.rail-section, .cat-section { margin-top: 48px; }
.rail-btns { display: flex; gap: 6px; }
.rail-btns .icon-btn { background: #fff; box-shadow: var(--sh-1); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; margin: -4px; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3.2); } }
@media (max-width: 640px) { .rail { grid-auto-columns: 62%; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter); scroll-padding: 0 var(--gutter); } .rail-btns { display: none; } }

.split-banner { margin-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--navy) 0%, #213a75 100%); color: #fff; }
.split-banner .eyebrow { color: #ffcfae; }
.split-banner h2 { font-size: clamp(28px, 3vw, 40px); margin: 10px 0 12px; }
.split-banner p { color: #c8d3ee; max-width: 52ch; }
.split-banner .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: rgba(255,255,255,.07); }
.steps b { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font: 800 18px var(--display); }
.steps strong { display: block; font-size: 16px; }
.steps span { color: #c8d3ee; font-size: 14.5px; }
@media (max-width: 900px) { .split-banner { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; } }

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.card-media { display: block; aspect-ratio: 1; background: linear-gradient(180deg, #f7f9fc, #eef2f8); padding: 8%; }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-wish { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink-2); box-shadow: var(--sh-1); transition: color .15s, transform .15s; }
.card-wish:hover { color: var(--red); transform: scale(1.08); }
.card-wish .i, .btn-wish .i { width: 19px; height: 19px; }
.is-saved .i, .btn-wish.is-saved .i { fill: var(--red); stroke: var(--red); }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 14px 16px 16px; }
.card-brand { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.card-title { font: 600 15.5px/1.35 var(--font); letter-spacing: 0; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card-hl { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font: 800 18px/1 var(--display); letter-spacing: -.02em; color: var(--navy); }
.card-add { position: relative; z-index: 1; }
.card-wish { z-index: 2; }
.card-add { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 14px; transition: background .15s, color .15s; }
.card-add:hover { background: var(--blue); color: #fff; }
.card-add .i { width: 18px; height: 18px; }
.card-add.added, [data-add].added { background: var(--green); color: #fff; }
.soldout { font-size: 13px; color: var(--ink-3); font-weight: 600; }
@media (max-width: 640px) {
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: 14px; }
  .card-hl { display: none; }
  .price { font-size: 16px; }
  .card-add { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .card-add span { display: none; }
  .card-wish { width: 34px; height: 34px; top: 6px; right: 6px; }
}

/* ---------- breadcrumbs + page head ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0 0; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #c3cad8; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink-2); }
.page-head { margin: 14px 0 24px; }
.page-head h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.page-head p { color: var(--ink-2); margin: 8px 0 0; max-width: 62ch; font-size: 17px; }

/* ---------- listing ---------- */
.listing { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 130px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); padding: 20px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.filters-head h2 { font-size: 18px; }
.filters-close { display: none; }
.filters fieldset { border: 0; padding: 14px 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.filters fieldset:first-of-type { border-top: 0; }
.filters legend { font-weight: 700; font-size: 14px; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; cursor: pointer; }
.filters label small { margin-left: auto; color: var(--ink-3); }
.filters input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.toolbar .count { margin: 0; color: var(--ink-2); font-size: 15px; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sort select { height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; }
.filters-open { display: none; min-height: 40px; }
.empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--r); }
.empty h2 { font-size: 22px; margin-bottom: 6px; }
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 70; max-height: 85vh; overflow-y: auto; border-radius: 20px 20px 0 0; box-shadow: 0 -20px 60px rgba(20,33,61,.3); transform: translateY(105%); transition: transform .25s; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .filters.open { transform: none; }
  .filters-close, .filters-open { display: inline-flex; }
  .toolbar .count { font-size: 14px; }
  .sort span, .sort { font-size: 0; }
  .sort select { font-size: 14px; }
}

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; margin-top: 18px; align-items: start; }
.pdp-media { position: sticky; top: 130px; }
.pdp-img { aspect-ratio: 1; background: linear-gradient(180deg, #fff, #eef2f8); border-radius: var(--r-lg); display: grid; place-items: center; padding: 8%; box-shadow: var(--sh-1); }
.pdp-img img { mix-blend-mode: multiply; max-height: 100%; object-fit: contain; }
.pdp-brand { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.pdp h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin: 8px 0 6px; }
.pdp-model { color: var(--ink-3); font-size: 15px; margin: 0; }
.pdp-price { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; }
.pdp-price .price { font-size: 34px; }
.stock { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.stock .i { width: 16px; height: 16px; }
.stock.in { background: #e7f7ee; color: #0d7a3e; }
.stock.out { background: #f3f4f7; color: var(--ink-3); }
.pdp-summary { font-size: 17px; color: var(--ink-2); }
.pdp-hl { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.pdp-hl li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.pdp-hl .i { color: var(--green); width: 18px; height: 18px; margin-top: 3px; }
.pdp-buy { display: flex; gap: 10px; margin-bottom: 10px; }
.pdp-buy .btn-primary { flex: 1; }
.btn-wish { width: 54px; height: 54px; box-shadow: inset 0 0 0 1.5px var(--line); }
.pdp-info > .btn-block { margin-bottom: 10px; }
.pdp-delivery { margin-top: 18px; padding: 18px 20px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); }
.pdp-delivery h2 { font-size: 16px; margin-bottom: 10px; }
.pdp-delivery ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pdp-delivery li { display: flex; gap: 12px; font-size: 15px; }
.pdp-delivery li .i { color: var(--blue); margin-top: 2px; }
.pdp-delivery small { display: block; color: var(--ink-3); font-size: 13.5px; }
.pdp-assure { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.pdp-assure a { color: var(--blue); font-weight: 600; }
.pdp-assure .i { width: 18px; height: 18px; }
.pdp-details { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 40px; align-items: start; }
.panel { background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); padding: 24px; }
.panel h2 { font-size: 20px; margin-bottom: 14px; }
.panel a:not(.btn) { color: var(--blue); font-weight: 600; }
.is-checkout .wa-float { display: none; }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs div:first-child { border-top: 0; }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; font-weight: 500; }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px rgba(20,33,61,.12); transform: translateY(100%); transition: transform .25s; }
.buy-bar div { display: grid; min-width: 0; }
.buy-bar strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar.show { transform: none; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .pdp-media { position: static; }
  .pdp-img { border-radius: 20px; max-width: 520px; margin: 0 auto; width: 100%; }
  .pdp-details { grid-template-columns: 1fr; }
  .buy-bar { display: flex; }
  .is-pdp .wa-float { bottom: 88px; }
}

/* ---------- checkout ---------- */
.checkout-title { font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin: 14px 0 22px; }
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start; }
.checkout-form { display: grid; gap: 16px; }
.checkout-form h2 { display: flex; align-items: center; gap: 10px; }
.checkout-form h2 b { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; flex: 1; min-width: 0; }
.field label { font-weight: 600; font-size: 14.5px; }
.field label small { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.field [aria-invalid] { border-color: var(--red); }
.err { color: var(--red); font-size: 13.5px; margin: 0; min-height: 0; }
.err:empty { display: none; }
.field-row { display: flex; gap: 14px; }
@media (max-width: 600px) { .field-row { flex-direction: column; gap: 0; } }
.options { display: grid; gap: 10px; margin-bottom: 16px; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option-body { display: grid; gap: 4px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s; }
.option input:checked + .option-body { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.option input:focus-visible + .option-body { outline: 3px solid var(--blue); outline-offset: 2px; }
.option-title { display: flex; align-items: center; gap: 10px; }
.option-title .i { color: var(--blue); }
.option-fee { margin-left: auto; font-weight: 700; }
.option-fee s { color: var(--ink-3); font-weight: 400; margin-right: 4px; }
.option small { color: var(--ink-2); font-size: 14px; padding-left: 30px; }
.pickup-note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; background: var(--orange-50); border-radius: 12px; font-size: 14.5px; }
.pickup-note .i { color: #c2410c; margin-top: 2px; }
.pay-actions { display: grid; gap: 10px; }
.pay-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13.5px; color: var(--ink-3); }
.pay-note .i { width: 16px; height: 16px; margin-top: 2px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 14px; margin: 6px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff0f0; color: #a61f1f; font-size: 14.5px; }
.summary { position: sticky; top: 130px; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 8px; }
.sum-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 14.5px; }
.sum-lines.plain li { grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
.sum-thumb { position: relative; width: 56px; height: 56px; border-radius: 12px; background: var(--bg); }
.sum-thumb b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink-2); color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 5px; }
.sum-name { font-weight: 600; line-height: 1.3; }
.sum-name small { display: block; font-weight: 400; color: var(--ink-3); }
.sum-totals { margin: 12px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }
.sum-totals div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.sum-totals dt { color: var(--ink-2); }
.sum-totals dd { margin: 0; font-weight: 600; }
.sum-totals .grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 19px; }
.sum-totals .grand dt { color: var(--ink); font-weight: 700; }
.sum-totals .grand dd { font: 800 22px var(--display); }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }
.empty-state { text-align: center; padding: 64px 20px; display: grid; justify-items: center; gap: 4px; }
.empty-state > .i { width: 56px; height: 56px; color: var(--ink-3); stroke-width: 1.3; margin-bottom: 10px; }
.empty-state h1, .empty-state h2 { font-size: 26px; margin-bottom: 6px; }
.empty-state p { color: var(--ink-2); }
.search-inline { max-width: 420px; width: 100%; margin: 8px auto 16px; background: #fff; }

/* confirmation */
.confirm { padding-top: 40px; }
.confirm-card { max-width: 620px; margin: 0 auto; text-align: center; padding: 40px 32px; }
.confirm-card h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.confirm-card .lede { color: var(--ink-2); font-size: 16.5px; }
.confirm-card .ref { display: inline-block; padding: 8px 14px; background: var(--bg); border-radius: 10px; font-size: 15px; }
.confirm-card .sum-lines, .confirm-card .sum-totals { text-align: left; }
.confirm-card .btn-row { margin-top: 24px; }
.confirm-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #e7f7ee; color: var(--green); }
.confirm-icon .i { width: 32px; height: 32px; stroke-width: 2.4; }
.tone-warn .confirm-icon { background: var(--orange-50); color: #c2410c; }
.tone-err .confirm-icon { background: #fff0f0; color: var(--red); }
.spinner { width: 40px; height: 40px; margin: 0 auto 16px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--blue); animation: spin .8s linear infinite; }

/* ---------- prose pages ---------- */
.prose { max-width: 780px; padding-bottom: 20px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose a:not(.btn) { color: var(--blue); font-weight: 600; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--green); margin-top: 3px; width: 18px; height: 18px; }
.prose details { background: #fff; border-radius: var(--r-sm); box-shadow: var(--sh-1); margin-bottom: 10px; }
.prose summary { padding: 16px 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.prose summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); }
.prose details[open] summary::after { content: "–"; }
.prose details p { padding: 0 18px 16px; margin: 0; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
tr:last-child td { border-bottom: 0; }
td small { color: var(--ink-3); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 8px 0 16px; }
.contact-card { display: grid; gap: 4px; padding: 20px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); font-weight: 400 !important; color: var(--ink) !important; }
.contact-card .i { width: 26px; height: 26px; color: var(--blue); margin-bottom: 6px; }
.contact-card span { color: var(--ink-2); font-size: 14.5px; word-break: break-word; }
.prose .muted { display: flex; gap: 8px; align-items: center; }

/* ---------- footer ---------- */
.assurance { margin-top: 64px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assurance-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.assurance-row > div { display: flex; gap: 14px; align-items: center; }
.assurance-row .i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.assurance-row strong { display: block; font-size: 15px; }
.assurance-row small { color: var(--ink-3); font-size: 13.5px; }
@media (max-width: 900px) { .assurance-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .assurance-row { grid-template-columns: 1fr; gap: 14px; } }
.site-footer { background: var(--navy); color: #c8d3ee; padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid:not(:has(.contact-list)) { grid-template-columns: 1.4fr repeat(3, 1fr); }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo b { color: #8fb3ff; }
.footer-brand p { font-size: 14.5px; max-width: 34ch; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; font-family: var(--font); letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.contact-list .i { width: 17px; height: 17px; margin-top: 3px; color: #8fb3ff; }
.social { display: flex; gap: 14px; font-size: 14.5px; font-weight: 600; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: #8e9cc0; }
@media (max-width: 900px) { .footer-grid, .footer-grid:not(:has(.contact-list)) { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 35; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(31,174,91,.6); transition: transform .2s, bottom .25s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 640px) { .cat-section .grid > .card:nth-child(n+5) { display: none; } }
.pdp > *, .pdp-details > *, .checkout > *, .listing > * { min-width: 0; }
.pdp-buy .btn-primary { min-width: 0; padding: 0 16px; }
@media (max-width: 420px) {
  .pdp-buy { gap: 8px; }
  .pdp-buy .qty button { width: 36px; }
  .pdp-buy .qty input { width: 32px; }
  .btn-wish { width: 50px; height: 50px; flex: none; }
  .specs div { grid-template-columns: 42% 1fr; gap: 12px; }
}
