/* Shop (/shop/): product grid, product popup, cart and order form. Follows the site theme tokens (light and dark). */
.shop { --sp-r: 22px; }
.shop h1, .shop h2, .shop h3 { letter-spacing: -.025em; }

/* hero */
.sp-hero { position: relative; overflow: hidden; padding: 72px 0 64px; color: #fff; background: radial-gradient(900px 420px at 85% -10%, rgb(143 126 255 / .22), transparent 60%), linear-gradient(135deg, #1e066f, #3a10ad 62%, #6b4aff); }
.sp-hero::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 380px; height: 380px; border-radius: 50%; background: rgb(255 255 255 / .06); }
.sp-hero .wrap { position: relative; z-index: 1; }
.sp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.sp-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.sp-hero h1 { margin: 0; max-width: 16ch; font-size: clamp(38px, 6.4vw, 68px); line-height: 1.04; color: #fff; }
.sp-hero p { margin: 20px 0 0; max-width: 58ch; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: rgb(255 255 255 / .82); }
.sp-trust { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.sp-trust li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); font-size: 14px; font-weight: 500; }
.sp-trust svg { width: 16px; height: 16px; color: var(--lime); flex: none; }

/* products */
.sp-shop { padding: 44px 0 72px; }
.sp-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.sp-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1; cursor: pointer; }
.sp-tabs button svg { width: 18px; height: 18px; }
.sp-tabs button small { font: 500 12px/1 var(--mono); color: var(--muted); }
.sp-tabs button:hover { border-color: var(--mark); }
.sp-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.sp-tabs button[aria-selected="true"] small { color: inherit; opacity: .7; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 22px; }
.sp-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--sp-r); background: var(--surface); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.sp-card[hidden] { display: none; }
.sp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mark); }
.sp-open { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font-family: inherit; }
.sp-art { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--chip); }
.sp-art svg, .sp-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sp-card:hover .sp-art svg, .sp-card:hover .sp-art img { transform: scale(1.04); }
.sp-badge { position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: 99px; background: var(--lime); color: var(--on-lime); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.sp-body { display: grid; gap: 4px; padding: 16px 18px 6px; }
.sp-body small { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sp-body b { font-size: 18px; line-height: 1.25; letter-spacing: -.015em; }
.sp-body em { font-style: normal; font-size: 14px; color: var(--muted); }
.sp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 12px 18px 18px; }
.sp-price { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.sp-add, .sp-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: 99px; background: var(--lime); color: var(--on-lime); font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer; transition: transform .15s, filter .15s; }
.sp-add:hover, .sp-primary:hover { transform: translateY(-1px); filter: brightness(.96); }
.sp-add.added { background: var(--ink); color: var(--canvas); }
.sp-primary:disabled { opacity: .6; cursor: default; transform: none; }
.sp-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1; cursor: pointer; }
.sp-ghost:hover { border-color: var(--mark); }
.sp-empty { color: var(--muted); text-align: center; padding: 30px 0; }
.sp-empty[hidden] { display: none; }

/* how it works + FAQ */
.sp-how, .sp-faq { padding: 64px 0; }
.sp-how { background: var(--chip); }
.sp-how h2, .sp-faq h2 { margin: 0 0 26px; font-size: clamp(28px, 3.6vw, 40px); }
.sp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.sp-steps li { padding: 24px; border-radius: var(--sp-r); background: var(--surface); border: 1px solid var(--border); }
.sp-steps span { display: inline-block; margin-bottom: 14px; font: 600 13px/1 var(--mono); color: var(--mark); }
.sp-steps h3 { margin: 0 0 8px; font-size: 20px; }
.sp-steps p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
.sp-note { margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.sp-faqwrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 44px; align-items: start; }
.sp-faqwrap p { color: var(--muted); line-height: 1.6; }
.sp-faqwrap a { color: var(--mark); text-decoration: underline; text-underline-offset: 3px; }
.sp-faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.sp-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--mark); }
.sp-faq details[open] summary::after { content: "\2212"; }
.sp-faq details p { margin: 12px 0 0; }

/* floating cart button */
.sp-cartbtn { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 16px; border: 0; border-radius: 99px; background: var(--ink); color: var(--canvas); font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1; box-shadow: var(--shadow); cursor: pointer; }
.sp-cartbtn svg { width: 22px; height: 22px; }
.sp-cartbtn b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--lime); color: var(--on-lime); font-size: 13px; }
.sp-cartbtn.bump { animation: sp-bump .35s ease; }
@keyframes sp-bump { 40% { transform: scale(1.12); } }
.to-top { bottom: 84px; }

/* dialogs */
.sp-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 28px; border: 1px solid var(--border); border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); overflow: auto; }
.sp-dlg::backdrop { background: rgb(8 4 28 / .6); backdrop-filter: blur(4px); }
.sp-dlg h2 { margin: 0 0 6px; padding-right: 44px; font-size: 26px; }
.sp-x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer; }
.sp-x:hover { background: var(--chip); }
.sp-x svg { width: 18px; height: 18px; }
.sp-prod { width: min(860px, calc(100vw - 24px)); padding: 0; }
.sp-prod[open] { display: grid; grid-template-columns: 1.05fr 1fr; }
.sp-prod-art { background: var(--chip); min-height: 260px; }
.sp-prod-art svg, .sp-prod-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-prod-info { padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.sp-prod-info small { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mark); }
.sp-prod-info h2 { font-size: 28px; line-height: 1.15; }
.sp-prod-info p { margin: 0; color: var(--muted); line-height: 1.6; }
.sp-prod-info ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sp-prod-info li { position: relative; padding-left: 24px; font-size: 15px; }
.sp-prod-info li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--mark); border-bottom: 2.5px solid var(--mark); rotate: -45deg; }
.sp-opt { display: grid; gap: 6px; margin-top: 8px; }
.sp-opt[hidden] { display: none; }
.sp-opt span, .sp-form label > span { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sp-prod-buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 14px; }
.sp-prod-buy b { font-size: 28px; letter-spacing: -.02em; }
.sp-dlg input, .sp-dlg select, .sp-dlg textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--canvas); color: var(--ink); font-family: inherit; font-weight: 400; font-size: 16px; line-height: 1.3; }
.sp-dlg textarea { resize: vertical; min-height: 70px; }
.sp-dlg input:focus, .sp-dlg select:focus, .sp-dlg textarea:focus { outline: none; border-color: var(--mark); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mark) 22%, transparent); }
.sp-dlg input:user-invalid { border-color: #e5484d; }

/* cart */
.sp-lines { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.sp-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 16px; }
.sp-line .th { width: 64px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--chip); }
.sp-line .th svg, .sp-line .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-line b { display: block; font-size: 15px; line-height: 1.3; }
.sp-line small { color: var(--muted); font-size: 13px; }
.sp-line .r { display: grid; justify-items: end; gap: 6px; }
.sp-line .r span { font-weight: 700; }
.sp-qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 99px; }
.sp-qty button { width: 30px; height: 30px; border: 0; background: none; color: var(--ink); font-size: 16px; cursor: pointer; border-radius: 50%; }
.sp-qty button:hover { background: var(--chip); }
.sp-qty i { min-width: 22px; text-align: center; font-style: normal; font-weight: 600; font-size: 14px; }
.sp-rm { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
.sp-total { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 18px; }
.sp-total b { font-size: 26px; letter-spacing: -.02em; }
.sp-total[hidden], #spCheckout[hidden] { display: none; }
#spCheckout { width: 100%; }
.sp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.sp-form[hidden], .sp-done[hidden], #spCartView[hidden] { display: none; }
.sp-form > h2, .sp-form > .sp-sub, .sp-form .full, .sp-summary, .sp-err, .sp-actions { grid-column: 1 / -1; }
.sp-form label { display: grid; gap: 7px; }
.sp-form label[hidden] { display: none; }
.sp-form em { font-style: normal; text-transform: none; letter-spacing: 0; }
.sp-sub { margin: -2px 0 4px; color: var(--muted); font-size: 15px; }
.sp-summary { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--chip); font-size: 14.5px; line-height: 1.55; }
.sp-err { margin: 0; min-height: 1.3em; color: #e5484d; font-weight: 500; font-size: 14px; }
.sp-actions { display: flex; gap: 12px; justify-content: flex-end; }
.sp-actions .sp-primary { flex: 1; }
.sp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sp-done { text-align: center; padding: 16px 0 6px; }
.sp-tick { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: var(--lime); color: var(--on-lime); }
.sp-tick svg { width: 30px; height: 30px; }
.sp-done p { color: var(--muted); line-height: 1.6; margin: 8px 0 22px; }

@media (max-width: 860px) {
  .sp-faqwrap { grid-template-columns: 1fr; gap: 20px; }
  .sp-prod[open] { grid-template-columns: 1fr; }
  .sp-prod-art { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .sp-hero { padding: 52px 0 46px; }
  .sp-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .sp-body { padding: 12px 12px 4px; }
  .sp-body b { font-size: 15px; }
  .sp-body em { display: none; }
  .sp-foot { padding: 10px 12px 14px; flex-wrap: wrap; }
  .sp-price { font-size: 18px; }
  .sp-add { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .sp-dlg { padding: 22px 18px; }
  .sp-form { grid-template-columns: 1fr; }
  .sp-cartbtn span { display: none; }
  .sp-cartbtn { padding: 0 14px; }
}

/* ===== Product pages (/shop/<product>/) ===== */
.sp-line b a { color: inherit; text-decoration: none; }
.sp-line b a:hover { text-decoration: underline; }
.sp-open { text-decoration: none; }
.pd { padding: 22px 0 72px; }
.pd-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.pd-crumb a { color: var(--muted); text-decoration: none; }
.pd-crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pd-crumb i { font-style: normal; opacity: .5; }
.pd-crumb span { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }

.pd-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pd-media { position: relative; }
.pd-main { aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; background: var(--chip); border: 1px solid var(--border); }
.pd-main svg, .pd-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-badge { position: absolute; top: 16px; left: 16px; padding: 7px 13px; border-radius: 99px; background: var(--lime); color: var(--on-lime); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumb { flex: none; width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--chip); cursor: pointer; }
.pd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-thumb[aria-current="true"] { border-color: var(--mark); }

.pd-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pd-cat { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mark); }
.pd-info h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; overflow-wrap: anywhere; }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 0; }
.pd-price b { font-size: clamp(28px, 3.4vw, 36px); letter-spacing: -.02em; }
.pd-price span { font-size: 14px; color: var(--muted); }
.pd-sum { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.pd-opt { margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
.pd-opt legend { padding: 0; margin-bottom: 10px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd-opt > div { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-pill { position: relative; }
.pd-pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pd-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--border); border-radius: 99px; background: var(--surface); font-weight: 500; font-size: 15px; }
.pd-pill input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--canvas); }
.pd-pill input:focus-visible + span { outline: 3px solid var(--mark); outline-offset: 2px; }
.pd-buy { display: flex; gap: 12px; align-items: stretch; margin-top: 6px; }
.pd-qty { align-self: stretch; padding: 0 4px; }
.pd-qty button { width: 40px; height: auto; font-size: 18px; }
.pd-qty i { min-width: 28px; font-size: 16px; display: grid; place-items: center; }
.pd-add { flex: 1; min-height: 52px; font-size: 16px; }
.pd-add.added, .pd-bar .added { background: var(--ink); color: var(--canvas); }
.pd-now { width: 100%; min-height: 52px; font-size: 16px; }
.pd-perks { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.pd-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }
.pd-perks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--mark); }

.pd-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.pd-about, .pd-side { display: grid; gap: 20px; min-width: 0; }
.pd-box { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.pd-box h2 { margin: 0 0 14px; font-size: 22px; }
.pd-box p { margin: 0 0 14px; color: var(--muted); line-height: 1.7; }
.pd-box p:last-child { margin-bottom: 0; }
.pd-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pd-list li { position: relative; padding-left: 26px; line-height: 1.5; }
.pd-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--mark); border-bottom: 2.5px solid var(--mark); rotate: -45deg; }
.pd-specs { margin: 0; display: grid; }
.pd-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.pd-specs div:last-child { border-bottom: 0; padding-bottom: 0; }
.pd-specs dt { color: var(--muted); flex: none; }
.pd-specs dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.pd-help a { color: var(--mark); text-decoration: underline; text-underline-offset: 3px; }

.pd-faq { margin-top: clamp(40px, 6vw, 72px); max-width: 820px; }
.pd-faq h2, .pd-rel h2 { margin: 0 0 18px; font-size: clamp(24px, 3vw, 32px); }
.pd-faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.pd-faq summary { cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pd-faq summary::-webkit-details-marker { display: none; }
.pd-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--mark); }
.pd-faq details[open] summary::after { content: "\2212"; }
.pd-faq details p { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.pd-rel { margin-top: clamp(44px, 7vw, 84px); }
.pd-rel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pd-rel-head a { color: var(--mark); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

@media (max-width: 720px) { .pd-top { grid-template-columns: minmax(0, 1fr); } }
/* sticky buy bar on phones */
.pd-bar { display: none; }
@media (max-width: 860px) {
  .pd-cols { grid-template-columns: minmax(0, 1fr); }
  .pd-main { border-radius: 20px; }
}
@media (max-width: 720px) {
  .pd { padding-bottom: 110px; }
  .pd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgb(8 4 28 / .12); }
  .pd-bar div { min-width: 0; display: grid; }
  .pd-bar small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pd-bar b { font-size: 20px; letter-spacing: -.02em; }
  .pd-bar .sp-primary { flex: none; min-height: 46px; padding: 0 22px; }
  .pd-page .sp-cartbtn { display: none; }
  .pd-barcart { display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 46px; padding: 0 12px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); color: var(--ink); cursor: pointer; }
  .pd-barcart svg { width: 22px; height: 22px; }
  .pd-barcart b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--lime); color: var(--on-lime); font-size: 12px; letter-spacing: 0; }
  .pd-page .to-top { bottom: 90px; }
  .pd-thumb { width: 72px; }
}
@media (max-width: 560px) {
  .sp-shop { padding-bottom: 96px; }
}

/* phones: smaller trust pills so they sit two to a row */
@media (max-width: 560px) {
  .sp-trust { margin-top: 22px; gap: 8px; }
  .sp-trust li { padding: 7px 11px; font-size: 13px; gap: 6px; }
}

/* ===== Storefront: hero, trust bar, categories, featured rail, promo, best sellers ===== */
.sp-sec { padding: clamp(28px, 4vw, 48px) 0; }
.sp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sp-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); }
.sp-viewall { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.sp-viewall:hover { border-color: var(--mark); color: var(--mark); }
.sp-pill { display: inline-block; padding: 7px 14px; border-radius: 99px; background: var(--chip); color: var(--mark); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.sp-pill.dim { background: rgb(255 255 255 / .12); color: #fff; }
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, filter .15s; }
.sp-btn svg { width: 18px; height: 18px; }
.sp-btn:hover { transform: translateY(-1px); }
.sp-btn.dark { background: var(--ink); color: var(--canvas); }
.sp-btn.light { background: var(--surface); color: var(--ink); border-color: var(--border); }
.sp-btn.ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .35); }

/* hero */
.sp-hero2 { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); background: radial-gradient(700px 420px at 78% 40%, color-mix(in srgb, var(--mark) 22%, transparent), transparent 70%), var(--canvas); }
.sp-h2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.sp-h2copy h1 { margin: 18px 0 0; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.03em; color: var(--ink); }
.sp-h2copy h1 em { display: block; font-style: normal; color: var(--mark); }
.sp-h2copy > p { margin: 18px 0 0; max-width: 46ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; }
.sp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sp-proof { margin: 22px 0 0; color: var(--muted); font-size: 14px; }
.sp-proof b { color: var(--ink); font-weight: 600; }
.sp-h2art { position: relative; aspect-ratio: 1.15 / 1; min-height: 280px; }
.sp-glow { position: absolute; inset: 8% 6%; border-radius: 40%; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--mark) 40%, transparent), transparent 70%); filter: blur(10px); }
.sp-fan { position: absolute; display: block; width: 58%; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; border: 4px solid var(--surface); box-shadow: 0 24px 50px rgb(20 10 70 / .28); transition: transform .4s ease; }
.sp-fan svg, .sp-fan img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-fan1 { left: 2%; top: 12%; transform: rotate(-7deg); z-index: 2; }
.sp-fan2 { right: 2%; top: 4%; transform: rotate(6deg); z-index: 1; }
.sp-fan3 { left: 22%; bottom: 4%; transform: rotate(-1deg); z-index: 3; width: 62%; }
.sp-float { position: absolute; z-index: 4; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 2px; }
.sp-float b { font-size: 13.5px; }
.sp-float small { font-size: 12px; color: var(--muted); }
.sp-float.f1 { right: 0; bottom: 18%; }
.sp-float.f2 { left: 0; top: 0; }

/* trust bar */
.sp-trustbar { border-block: 1px solid var(--border); background: var(--surface); }
.sp-trustbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.sp-trustbar li { display: flex; align-items: center; gap: 12px; padding: 18px 14px; }
.sp-trustbar svg { width: 26px; height: 26px; flex: none; color: var(--mark); }
.sp-trustbar b { display: block; font-size: 14px; font-weight: 600; }
.sp-trustbar small { display: block; font-size: 12.5px; color: var(--muted); }

/* category tiles */
.sp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.sp-tile { display: grid; justify-items: center; gap: 6px; padding: 26px 16px 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); color: var(--ink); text-align: center; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.sp-tile:hover { transform: translateY(-3px); border-color: var(--mark); box-shadow: var(--shadow); }
.sp-tile .ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: var(--chip); color: var(--mark); }
.sp-tile .ic svg { width: 30px; height: 30px; }
.sp-tile b { font-size: 16px; font-weight: 600; }
.sp-tile small { font-size: 13px; color: var(--muted); }

/* featured rail: scrolls sideways, cards snap */
.sp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc(25% - 15px)); gap: 20px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sp-rail .sp-card { scroll-snap-align: start; }

/* promo banner */
.sp-promo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: 28px; color: #fff; background: radial-gradient(500px 260px at 90% 10%, rgb(143 126 255 / .22), transparent 70%), linear-gradient(135deg, #1e066f, #3a10ad 65%, #4d13ee); }
.sp-promo h2 { margin: 14px 0 0; font-size: clamp(26px, 3.6vw, 42px); color: #fff; max-width: 18ch; }
.sp-promo p { margin: 12px 0 0; max-width: 46ch; color: rgb(255 255 255 / .92); line-height: 1.6; }
.sp-promo .sp-btn.light { background: #fff; color: #1e066f; border-color: #fff; }
.sp-promo-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sp-promo-chips li { display: grid; gap: 4px; padding: 18px 14px; border-radius: 16px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); font-size: 13px; color: #fff; text-align: center; }
.sp-promo-chips b { font-size: 20px; color: #fff; font-weight: 600; }

/* best sellers: compact rows */
.sp-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.sp-row { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.sp-row .th { flex: none; width: 84px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--chip); }
.sp-row .th svg, .sp-row .th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-row > div { display: grid; gap: 3px; min-width: 0; flex: 1; }
.sp-row .t { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; }
.sp-row .t:hover { color: var(--mark); }
.sp-row small { font-size: 12.5px; color: var(--muted); }
.sp-row .pr { font-weight: 700; font-size: 16px; }
.sp-round { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--lime); color: var(--on-lime); cursor: pointer; }
.sp-round svg { width: 20px; height: 20px; }
.sp-round:hover { filter: brightness(.95); }

/* pay strip */
.sp-paystrip { padding: 22px 0; background: var(--chip); }
.sp-paystrip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; font-size: 14px; color: var(--muted); }
.sp-paystrip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sp-paystrip li { padding: 8px 18px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); color: var(--ink); font-weight: 600; font-size: 15px; }
.sp-paystrip .dim { text-align: center; }

@media (max-width: 900px) {
  .sp-promo { grid-template-columns: minmax(0, 1fr); }
  .sp-rail { grid-auto-columns: minmax(220px, 42%); }
}
@media (max-width: 560px) {
  .sp-h2copy h1 { font-size: clamp(34px, 10vw, 44px); }
  .sp-btn { flex: 1 1 100%; }
  .sp-h2art { min-height: 0; }
  .sp-float { padding: 9px 12px; }
  .sp-float.f2 { display: none; }
  .sp-trustbar ul { grid-template-columns: 1fr 1fr; }
  .sp-trustbar li { padding: 14px 8px; }
  .sp-trustbar li:last-child { grid-column: 1 / -1; }
  .sp-tiles { grid-template-columns: 1fr; gap: 12px; }
  .sp-tile { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; gap: 0 14px; padding: 14px 16px; }
  .sp-tile .ic { grid-row: span 2; width: 52px; height: 52px; margin: 0; }
  .sp-rail { grid-auto-columns: 62%; gap: 14px; }
  .sp-best { display: none; }
  .sp-promo-chips { grid-template-columns: 1fr; }
  .sp-promo-chips li { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 12px; }
}

/* hero stays two columns on tablets; stacks on phones */
@media (max-width: 720px) {
  .sp-h2 { grid-template-columns: minmax(0, 1fr); }
  .sp-h2art { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (min-width: 721px) and (max-width: 900px) {
  .sp-h2copy h1 { font-size: clamp(34px, 5.4vw, 44px); }
  .sp-float { padding: 9px 12px; }
}

/* best sellers: 4 across on wide screens, 2 + 2 on mid, 1 on phones (never 3 + 1) */
.sp-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1180px) { .sp-rows { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sp-rows { grid-template-columns: minmax(0, 1fr); } }

/* the cart button sits above the scroll-to-top arrow instead of on top of it */
.sp-cartbtn { right: max(16px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 62px); }

/* Keep the button on one line in narrow cards (featured rail on tablet) */
.sp-add { white-space: nowrap; }
.sp-foot { gap: 8px; flex-wrap: wrap; }
@media (max-width: 1020px) { .sp-rail .sp-add { padding: 0 14px; font-size: 14px; } }

/* ===================== Pre-order: price, delivery, look inside, popup ===================== */
.sp-price s, .pd-price s, .sp-pop-price s { margin-left: 6px; color: var(--muted); font-size: .68em; font-weight: 500; text-decoration-thickness: 1.5px; }
.pd-price .pd-save { padding: 4px 10px; border-radius: 99px; background: var(--chip); color: var(--brand-800, #4110c7); font: 600 12px/1.2 var(--mono); font-style: normal; letter-spacing: .02em; }
.pd-read { margin-top: 10px; width: 100%; }
.pd-bar b s { margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }

.pd-deliv ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.pd-deliv li { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--tint); }
.pd-deliv li b { display: block; font-size: 15px; font-weight: 600; }
.pd-deliv li small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.pd-deliv li > span { flex: none; font-weight: 700; font-size: 16px; }
.pd-deliv > small { color: var(--muted); font-size: 13px; }

.pd-look { margin: 8px 0 36px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--border); border-radius: 26px; background: var(--tint); }
.pd-look-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.pd-look-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); }
.pd-look-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.pd-pages { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.pd-pg { position: relative; flex: none; width: 150px; padding: 0; border: 1px solid var(--border); border-radius: 10px; background: #fff; overflow: hidden; cursor: pointer; scroll-snap-align: start; transition: transform .2s, box-shadow .2s; }
.pd-pg:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pd-pg img { display: block; width: 100%; height: auto; aspect-ratio: 148 / 210; object-fit: cover; }
.pd-pg span { position: absolute; right: 8px; bottom: 8px; min-width: 24px; padding: 3px 7px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 11px/1.2 var(--mono); text-align: center; }

.sp-dlg.pd-reader { width: min(760px, calc(100vw - 16px)); padding: 18px 18px 14px; background: #1e066f; color: #fff; border-color: #1e066f; }
.pd-reader .sp-x { color: #1e066f; background: #fff; }
.pdr-top { display: flex; flex-wrap: wrap; gap: 2px 14px; align-items: baseline; padding-right: 48px; margin-bottom: 12px; }
.pdr-top b { font-size: 17px; font-weight: 600; }
.pdr-top span { color: #fff; opacity: .85; font-size: 13px; }
.pdr-stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.pdr-stage img { display: block; width: 100%; max-height: calc(100dvh - 230px); object-fit: contain; border-radius: 6px; background: #fff; justify-self: center; box-shadow: 0 10px 30px rgb(0 0 0 / .35); aspect-ratio: 148 / 210; }
.pdr-nav { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #1e066f; font-size: 28px; line-height: 1; cursor: pointer; }
.pdr-nav:disabled { opacity: .35; cursor: default; }
.pdr-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; min-height: 48px; margin-top: 12px; font: 500 13px/1.2 var(--mono); letter-spacing: .06em; }
.pdr-end { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font: 500 14px/1.3 var(--sans, inherit); letter-spacing: 0; }
.pdr-end .sp-primary { min-height: 44px; background: #fff; color: #1e066f; }
.pdr-end .sp-primary s { opacity: .7; }

/* popup poster */
.sp-dlg.sp-pop { width: min(760px, calc(100vw - 24px)); padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); overflow: hidden; }
.sp-pop[open] { animation: popin .35s ease both; }
@keyframes popin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.sp-pop .sp-x { z-index: 3; }
.sp-pop-art { position: relative; background: #3a10ad; min-height: 100%; }
.sp-pop-art svg, .sp-pop-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-pop-tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 99px; background: #fff; color: #3a10ad; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.sp-pop-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(24px, 4vw, 40px); }
.sp-pop-body small { color: var(--mark); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.sp-pop-body h2 { margin: 0; padding: 0; font-size: clamp(28px, 4vw, 38px); line-height: 1.05; font-weight: 500; letter-spacing: -.035em; }
.sp-pop-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.sp-pop-body .sp-pop-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; color: var(--ink); }
.sp-pop-price b { font-size: 38px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.sp-pop-price s { font-size: 20px; }
.sp-pop-price em { padding: 4px 10px; border-radius: 99px; background: var(--chip); color: var(--brand-800, #4110c7); font: 600 12px/1.2 var(--mono); font-style: normal; }
.sp-pop-cta { display: grid; gap: 10px; margin-top: 8px; }
.sp-pop-cta .sp-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; text-decoration: none; }
.sp-pop-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1.5px solid var(--border); border-radius: 99px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.sp-pop-link:hover { border-color: var(--mark); }
.sp-pop-later { align-self: center; min-height: 40px; padding: 0 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
@media (max-width: 640px) {
  .sp-dlg.sp-pop { grid-template-columns: minmax(0, 1fr); }
  .sp-pop-art { min-height: 0; height: 230px; }
  .sp-pop-art img { object-fit: contain; }
  .sp-pop-body { padding: 20px 20px 18px; gap: 8px; }
  .sp-pop-body h2 { font-size: 28px; }
  .sp-pop-price b { font-size: 32px; }
  .pdr-stage { grid-template-columns: minmax(0, 1fr); }
  .pdr-nav { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; }
  .pdr-nav[data-pgnav="-1"] { left: 8px; } .pdr-nav[data-pgnav="1"] { right: 8px; }
  .pdr-stage { position: relative; }
  .pd-pg { width: 120px; }
}

/* order form: delivery */
.sp-delhint, .sp-delnote { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.sp-delnote { grid-column: 1 / -1; margin: -4px 0 0; }

.pdr-end[hidden], .sp-delnote[hidden], .sp-delhint[hidden] { display: none !important; }
