/* ════════════════════════════════════════════════════════════
   Blyss store — "bedtime window": soft lavender mist, plum ink, moonbeam highlights,
   and one signature shape: the arch (a bedroom window at night) on the hero and the
   collection tiles. Colours / fonts / frame shape come from the store settings (CSS vars).
   ════════════════════════════════════════════════════════════ */
:root {
  --ink: #2B1E3F; --bg: #F6F3FA; --card: #FFFFFF; --moon: #F5D77A; --rose: #E8B4C0; --soft: #C9B6E4;
  --ink-2: color-mix(in srgb, var(--ink) 72%, var(--bg)); --ink-3: color-mix(in srgb, var(--ink) 52%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 12%, var(--bg)); --mist: color-mix(in srgb, var(--soft) 28%, var(--bg));
  --head: 'Young Serif', Georgia, serif; --body: 'Figtree', system-ui, sans-serif;
  --arch: 999px 999px 22px 22px; --r: 14px; --wrap: 1240px; --hdr: 68px;
}
:root[data-shape="soft"] { --arch: 26px; }
:root[data-shape="square"] { --arch: 4px; --r: 4px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.005em; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.block { width: 100%; }
.icon-b { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; border-radius: 50%; cursor: pointer; position: relative; text-decoration: none; }
.icon-b:hover { background: var(--mist); }

/* announcement */
.announce { background: var(--ink); color: var(--bg); text-align: center; font-size: 13.5px; padding: 8px 16px; min-height: 37px; }
.announce b { color: var(--moon); font-weight: 600; }
.announce span { display: inline-block; animation: annIn .5s ease; }
@keyframes annIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: var(--wrap); margin: 0 auto; padding: 0 12px; height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { justify-self: center; font: 400 30px/1 var(--head); text-decoration: none; letter-spacing: .01em; display: flex; align-items: center; }
.brand img { max-height: 44px; width: auto; }
.nav { display: flex; gap: 2px; }
.nav > div { position: relative; }
.nav a.top { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 99px; }
.nav a.top:hover, .nav a.top.on { background: var(--mist); }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--ink) 40%, transparent);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav > div:hover .sub, .nav > div:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; }
.nav .sub a:hover { background: var(--mist); }
.hdr-icons { justify-self: end; display: flex; gap: 2px; }
.menu-b { display: none; }
.bag-b i { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--moon); color: var(--ink); font: 700 11px/18px var(--body); font-style: normal; text-align: center; padding: 0 4px; }
.search-bar { border-top: 1px solid var(--line); padding: 10px 16px; }
.search-bar form { max-width: 640px; margin: 0 auto; display: flex; gap: 8px; }
.search-bar input { flex: 1; }

/* drawers */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 45%, transparent); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-in { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); background: var(--bg); padding: 16px 18px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto;
  transform: translateX(-102%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.drawer-in.right { left: auto; right: 0; width: min(94vw, 430px); transform: translateX(102%); }
.drawer.open .drawer-in { transform: none; }
.close-b { align-self: flex-end; }
#drawer-nav a { display: block; padding: 13px 4px; font: 400 22px/1.2 var(--head); text-decoration: none; border-bottom: 1px solid var(--line); }
#drawer-nav .subs a { font: 500 16px/1.3 var(--body); padding: 10px 4px 10px 18px; color: var(--ink-2); }
.bag-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.bag-h h2 { font-size: 26px; }

/* inputs */
input, select, textarea { font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
label.f small { font-weight: 400; color: var(--ink-3); }
.err { color: #b3261e; font-size: 14px; margin-top: 8px; }

/* hero (the arch is the signature) */
.hero { position: relative; overflow: hidden; }
.hero-slide { display: none; }
.hero-slide.on { display: grid; animation: heroIn .7s ease both; }
@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }
.hero-grid { max-width: var(--wrap); margin: 0 auto; padding: 36px 20px 48px; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; min-height: min(78vh, 720px); }
.hero-copy h1 { font-size: clamp(40px, 6.2vw, 82px); max-width: 11ch; }
.hero-copy p { font-size: 18px; color: var(--ink-2); max-width: 38ch; margin: 18px 0 28px; }
.hero-arch { position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--mist); max-height: 72vh; justify-self: end; width: 100%; max-width: 520px; }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-arch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 10px color-mix(in srgb, var(--bg) 55%, transparent); pointer-events: none; }
.hero-moon { position: absolute; width: 74px; height: 74px; border-radius: 50%; background: var(--moon); top: 7%; right: 8%; box-shadow: 0 0 60px 10px color-mix(in srgb, var(--moon) 55%, transparent); }
.hero-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 4px; border: 0; border-radius: 4px; background: var(--line); cursor: pointer; padding: 0; }
.hero-dots button.on { background: var(--ink); }

/* sections */
.sec { padding: 56px 0; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.sec-h h2 { font-size: clamp(28px, 3.6vw, 42px); }
.sec-h a { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; white-space: nowrap; }
.arches { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.arch-t { text-decoration: none; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.arch-t .frame { width: 100%; aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; background: var(--mist); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.arch-t:hover .frame { transform: translateY(-6px); }
.arch-t img { width: 100%; height: 100%; object-fit: cover; }
.arch-t span { font: 400 24px/1.1 var(--head); }
.usp { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usp > div { padding: 26px 22px; border-right: 1px solid var(--line); }
.usp > div:last-child { border-right: 0; }
.usp b { font: 400 21px/1.2 var(--head); display: block; margin-bottom: 4px; }
.usp span { color: var(--ink-2); font-size: 15px; }
.banner { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--ink); color: var(--bg); border-radius: 28px; overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.banner-copy { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.banner-copy h2 { font-size: clamp(30px, 3.6vw, 46px); }
.banner-copy p { color: color-mix(in srgb, var(--bg) 78%, transparent); margin: 0; }
.banner .btn { align-self: flex-start; }
.textblock { max-width: 680px; margin: 0 auto; text-align: center; }
.textblock h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.textblock p { color: var(--ink-2); font-size: 18px; }

/* product grid + cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 10px; position: relative; }
.card .img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.card .img img.alt { opacity: 0; }
.card:hover .img img.alt { opacity: 1; }
.card .badge, .pdp .badge { position: absolute; top: 12px; left: 12px; background: var(--moon); color: var(--ink); font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; z-index: 1; }
.card .badge.sold { background: var(--card); color: var(--ink-3); }
.card h3 { font: 600 15.5px/1.35 var(--body); }
.card .sub { color: var(--ink-3); font-size: 13.5px; margin-top: -6px; }
.price { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price b { font-weight: 700; font-size: 16px; }
.price s { color: var(--ink-3); font-size: 14px; }
.price em { font-style: normal; color: #6b8f3a; font-weight: 700; font-size: 13.5px; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; background: var(--mist) center / cover; border: 1.5px solid var(--card); box-shadow: 0 0 0 1px var(--line); }
.swatches small { font-size: 12px; color: var(--ink-3); align-self: center; }

/* collection page */
.coll-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 38px 0 22px; }
.coll-head h1 { font-size: clamp(36px, 5vw, 60px); }
.coll-head p { color: var(--ink-2); margin: 8px 0 0; max-width: 60ch; }
.coll-head .arch-mini { width: 120px; aspect-ratio: 3/4; border-radius: var(--arch); overflow: hidden; background: var(--mist); }
.coll-head .arch-mini img { width: 100%; height: 100%; object-fit: cover; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0 22px; border-top: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 99px; padding: 7px 14px; font-weight: 600; font-size: 14px; cursor: pointer; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.toolbar select { width: auto; min-height: 42px; padding: 8px 12px; }
.count { color: var(--ink-3); font-size: 14px; }
.empty { text-align: center; padding: 70px 20px; color: var(--ink-2); }
.empty h2 { font-size: 30px; margin-bottom: 8px; color: var(--ink); }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 30px 0 60px; }
.gal { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-self: start; position: sticky; top: calc(var(--hdr) + 16px); }
.gal-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gal-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; background: var(--mist); cursor: pointer; }
.gal-thumbs button.on { border-color: var(--ink); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 13.5px; color: var(--ink-3); margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.pdp h1 { font-size: clamp(30px, 3.6vw, 44px); }
.pdp .lead { color: var(--ink-2); margin: 8px 0 14px; }
.pdp .price b { font-size: 24px; }
.pdp .tax { color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.opt { margin-top: 24px; }
.opt-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-weight: 600; }
.opt-h span { font-weight: 500; color: var(--ink-2); }
.opt-h button { border: 0; background: none; text-decoration: underline; cursor: pointer; font-weight: 600; padding: 0; }
.prints { display: flex; gap: 10px; flex-wrap: wrap; }
.prints button { width: 62px; padding: 0; border: 2px solid transparent; background: none; border-radius: 14px; cursor: pointer; }
.prints button .sw { width: 58px; aspect-ratio: 4/5; border-radius: 12px; background: var(--mist) center / cover; display: block; }
.prints button.on { border-color: var(--ink); }
.prints button.out { opacity: .4; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes button { min-width: 56px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; font-weight: 700; cursor: pointer; position: relative; }
.sizes button.on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.sizes button:disabled { color: var(--ink-3); background: transparent; text-decoration: line-through; cursor: not-allowed; }
.low { color: #9a5b00; font-size: 14px; font-weight: 600; margin-top: 8px; min-height: 22px; }
.buy { display: flex; gap: 10px; margin-top: 18px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; background: var(--card); }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.buy .btn { flex: 1; }
.perks { margin-top: 22px; border-top: 1px solid var(--line); }
.perks div { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); align-items: center; }
.perks svg { flex-shrink: 0; color: var(--ink); }
.rich { color: var(--ink-2); }
.rich h3 { font: 600 17px/1.3 var(--body); color: var(--ink); margin: 18px 0 6px; }
.rich table { border-collapse: collapse; width: 100%; font-size: 14px; }
.rich td, .rich th { border: 1px solid var(--line); padding: 7px 9px; text-align: center; }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; padding: 15px 0; font-weight: 600; display: flex; justify-content: space-between; }
details.acc summary::after { content: '+'; font-size: 22px; line-height: 1; }
details.acc[open] summary::after { content: '–'; }
details.acc .rich { padding-bottom: 16px; }
.sticky-buy { display: none; }

/* bag */
.bag-items { flex: 1; overflow-y: auto; padding: 8px 0; }
.bag-it { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bag-it img, .bag-it .ph { width: 76px; aspect-ratio: 4/5; border-radius: 10px; object-fit: cover; background: var(--mist); }
.bag-it b { display: block; font-size: 15px; }
.bag-it span { color: var(--ink-3); font-size: 13.5px; }
.bag-it .qty { margin-top: 8px; } .bag-it .qty button { width: 34px; height: 34px; font-size: 17px; }
.bag-it .rm { border: 0; background: none; color: var(--ink-3); text-decoration: underline; cursor: pointer; font-size: 13px; }
.bag-it .warn { color: #b3261e; font-size: 12.5px; }
.bag-f { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; justify-content: space-between; gap: 10px; }
.row.total { font-size: 19px; font-weight: 700; }
.freebar { background: var(--mist); border-radius: 99px; height: 6px; overflow: hidden; margin-top: 4px; }
.freebar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.freenote { font-size: 13.5px; color: var(--ink-2); }

/* checkout + track */
.co { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; padding: 34px 0 70px; }
.co h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 18px; }
.co-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-form .full { grid-column: 1 / -1; }
.co-sum { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; align-self: start; position: sticky; top: calc(var(--hdr) + 16px); }
.co-sum h2 { font-size: 24px; margin-bottom: 8px; }
.pay-opt { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--ink); border-radius: 14px; padding: 14px; margin-top: 6px; background: var(--card); }
.pay-opt input { width: 20px; min-height: 0; height: 20px; }
.done { max-width: 620px; margin: 0 auto; text-align: center; padding: 60px 20px 80px; }
.done .moonmark { width: 84px; height: 84px; border-radius: 50%; background: var(--moon); margin: 0 auto 20px; box-shadow: 0 0 50px 8px color-mix(in srgb, var(--moon) 50%, transparent); }
.done h1 { font-size: clamp(32px, 4.5vw, 50px); }
.done .ref { font: 400 28px/1 var(--head); margin: 18px 0 8px; }
.track { max-width: 560px; margin: 0 auto; padding: 40px 0 80px; }
.track h1 { font-size: 40px; margin-bottom: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0; position: relative; }
.steps div { text-align: center; font-size: 14px; color: var(--ink-3); position: relative; padding-top: 30px; }
.steps div::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--line); }
.steps div.on { color: var(--ink); font-weight: 600; }
.steps div.on::before { background: var(--ink); box-shadow: 0 0 0 5px var(--mist); }
.page { max-width: 760px; margin: 0 auto; padding: 44px 0 80px; }
.page h1 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 20px; }
.page .rich { font-size: 17px; line-height: 1.75; }

/* footer */
.ftr { background: var(--ink); color: var(--bg); margin-top: 40px; border-radius: 34px 34px 0 0; }
.ftr-in { max-width: var(--wrap); margin: 0 auto; padding: 56px 20px 28px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.ftr .brandf { font: 400 34px/1 var(--head); margin-bottom: 12px; }
.ftr .brandf img { max-height: 46px; filter: brightness(0) invert(1); }
.ftr p { color: color-mix(in srgb, var(--bg) 72%, transparent); margin: 0 0 14px; max-width: 36ch; }
.ftr h3 { font: 600 14px/1.3 var(--body); color: var(--moon); margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ftr a { text-decoration: none; color: color-mix(in srgb, var(--bg) 85%, transparent); }
.ftr a:hover { color: var(--bg); text-decoration: underline; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--bg) 30%, transparent); display: inline-flex; align-items: center; justify-content: center; }
.ftr-b { max-width: var(--wrap); margin: 0 auto; padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); font-size: 13px; color: color-mix(in srgb, var(--bg) 60%, transparent); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; stroke: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 99px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 90; max-width: 92vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal { position: fixed; inset: 0; z-index: 80; background: color-mix(in srgb, var(--ink) 45%, transparent); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-in { background: var(--bg); border-radius: 24px; max-width: 640px; width: 100%; max-height: 86vh; overflow: auto; padding: 22px; }
.modal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.modal-h h2 { font-size: 26px; }
.boot { min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.moon { width: 46px; height: 46px; border-radius: 50%; background: var(--moon); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.82); opacity: .6; } }
.skel { background: var(--mist); border-radius: var(--r); }

/* tablets + phones */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .gal { position: static; }
  .co { grid-template-columns: 1fr; }
  .co-sum { position: static; }
}
@media (max-width: 760px) {
  :root { --hdr: 60px; }
  .nav { display: none; }
  .menu-b { display: inline-flex; }
  .hdr-in { grid-template-columns: auto 1fr auto; }
  .hdr-in .brand { font-size: 26px; }
  .hdr-icons a[href="/track"] { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding: 18px 16px 52px; gap: 20px; min-height: 0; }
  .hero-arch { order: -1; max-width: none; justify-self: stretch; max-height: 62vh; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy p { font-size: 16px; margin: 12px 0 20px; }
  .sec { padding: 40px 0; }
  .wrap { padding: 0 16px; }
  .arches { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
  .arch-t span { font-size: 19px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .banner { grid-template-columns: 1fr; border-radius: 22px; }
  .banner-copy { padding: 28px 22px; }
  .banner img { min-height: 220px; }
  .usp > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 4px; }
  .usp > div:last-child { border-bottom: 0; }
  .gal { grid-template-columns: 1fr; }
  .gal-thumbs { flex-direction: row; overflow-x: auto; order: 2; }
  .gal-thumbs button { width: 62px; flex-shrink: 0; }
  .pdp { padding-top: 12px; }
  .buy .btn.ghost { display: none; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); align-items: center; }
  .sticky-buy .btn { flex: 1; }
  .sticky-buy b { font-size: 18px; }
  body.has-sticky .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .co-form { grid-template-columns: 1fr; }
  .coll-head { grid-template-columns: 1fr; }
  .coll-head .arch-mini { display: none; }
  .ftr-in { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; }
  .ftr { border-radius: 26px 26px 0 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
