/* Apple-style light store: white and pale grey, centred headlines, the beds are the only colour */
:root {
  --white: #ffffff;
  --mist: #f5f5f7;
  --mist-2: #e8e8ed;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --focus: #0071e3;
  --ok: #1d7a3a;
  --warn: #b25000;
  --heart: #e0245e;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1060px;
  --r: 18px;
  --r-ctl: 12px;
  --nav-h: 44px;
  --tab-h: 60px;
  --spring: cubic-bezier(.3, 1.6, .5, 1);
  --glide: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
/* No CSS smooth scrolling: it races ScrollTrigger refreshes and the router's jump to the top. JS asks for smooth scrolls where wanted. */
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.47 var(--sans); letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.07; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
.wrap--wide { max-width: 1280px; }
.muted { color: var(--ink-2); }
.small { font-size: 0.8rem; color: var(--ink-3); letter-spacing: -0.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── First-load intro and scroll progress ── */
.loader { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; animation: loaderAuto 0.5s 2.7s forwards; }
/* The warmth behind the name: a slow, soft rise of heat, never a shape you can point at */
.loader__warm { position: absolute; left: 50%; top: 50%; z-index: 0; width: min(150vw, 1100px); aspect-ratio: 1 / 0.62; translate: -50% -50%; pointer-events: none; opacity: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 152, 72, .2), rgba(190, 56, 18, .07) 44%, transparent 72%); }
.loader__inner { position: relative; display: grid; justify-items: center; gap: 0; padding-inline: 1.5rem; text-align: center; opacity: 0; } /* 2026-10-11: hidden until JS animation ready, prevents static-text flash */
/* The name reads as a lockup: wide caps, a hairline, then the second word and the line beneath */
.loader__word { position: relative; display: flex; font-size: clamp(1.45rem, 6.4vw, 2.6rem); font-weight: 500; text-transform: uppercase; letter-spacing: 0.34em; text-indent: 0.34em; line-height: 1.1; color: #f4f1ec; }
.loader__word--two { font-size: clamp(1.05rem, 4.6vw, 1.9rem); letter-spacing: 0.52em; text-indent: 0.52em; }
.loader__rule { display: block; width: clamp(130px, 46vw, 300px); height: 1px; margin: clamp(0.8rem, 2.6vw, 1.15rem) 0; background: linear-gradient(90deg, transparent, rgba(236, 230, 220, .85), transparent); transform: scaleX(0); }
.loader__sub { margin-top: clamp(1.1rem, 3.4vw, 1.6rem); font-size: clamp(0.56rem, 2.3vw, 0.7rem); letter-spacing: 0.42em; text-indent: 0.42em; text-transform: uppercase; color: #7d7369; }
.loader__word span { display: inline-block; overflow: hidden; white-space: pre; vertical-align: bottom; }
.loader__word span i { display: inline-block; font-style: normal; will-change: transform; }
/* Brushed metal, with a bright band each letter sweeps a beat after the one before */
.loader__word span i { color: transparent; -webkit-text-fill-color: transparent; background-image: linear-gradient(104deg, #9c968d 0%, #fffdf9 42%, #ffffff 50%, #fffdf9 58%, #9c968d 100%); background-size: 280% 100%; background-position: 110% 0; -webkit-background-clip: text; background-clip: text; }
.loader__bar { position: relative; width: 120px; height: 2px; border-radius: 2px; background: #2a2622; overflow: hidden; }
.loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; animation: barFill 1.1s 0.1s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes barFill { to { transform: scaleX(1); } }
@keyframes loaderAuto { to { opacity: 0; visibility: hidden; } }
.progress-top { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 90; background: var(--ink); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* ── Nav ── */
.announce { background: var(--mist); color: var(--ink-2); font-size: 0.78rem; text-align: center; padding: 0.55rem var(--gutter); }
.gnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(250, 250, 252, 0.8); -webkit-backdrop-filter: saturate(170%) blur(12px); backdrop-filter: saturate(170%) blur(12px); border-bottom: 1px solid rgba(0, 0, 0, 0.06); transition: transform 0.45s var(--glide); }
.gnav--hidden { transform: translateY(-110%); }
.gnav .wrap { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-block; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.gnav ul { display: flex; gap: clamp(1rem, 2.6vw, 2.2rem); list-style: none; margin: 0; padding: 0; font-size: 0.75rem; }
.gnav ul a { position: relative; display: inline-block; padding-block: 0.3rem; color: rgba(0, 0, 0, 0.8); }
.gnav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 0.35s var(--glide); }
.gnav ul a:hover { color: #000; }
.gnav ul a:hover::after, .gnav ul a[aria-current="page"]::after { transform: scaleX(1); }
.gnav ul a[aria-current="page"] { color: #000; font-weight: 500; }
.icons { display: flex; align-items: center; gap: 0.15rem; }
.bag-link { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.bag-link svg { width: 17px; height: 17px; }
.count { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 0.62rem; font-weight: 600; line-height: 16px; text-align: center; padding: 0 4px; }
@media (max-width: 820px) { .gnav ul { display: none; } }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; grid-template-columns: repeat(5, 1fr); padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px)); background: rgba(250, 250, 252, 0.9); -webkit-backdrop-filter: saturate(170%) blur(12px); backdrop-filter: saturate(170%) blur(12px); border-top: 1px solid rgba(0, 0, 0, 0.08); }
.tabbar a { position: relative; display: grid; justify-items: center; gap: 2px; font-size: 0.64rem; color: var(--ink-3); padding: 0.25rem 0; }
.tabbar a::before { content: ""; position: absolute; top: -0.32rem; left: 50%; width: 20px; height: 3px; margin-left: -10px; border-radius: 3px; background: var(--ink); transform: scaleX(0); transition: transform 0.45s var(--spring); }
.tabbar a[aria-current="page"]::before { transform: scaleX(1); }
.tabbar svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar .count { right: calc(50% - 20px); }
@media (max-width: 820px) { .tabbar { display: grid; } body { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); } }

.wa { position: fixed; right: 18px; bottom: 22px; z-index: 44; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
.wa svg { width: 24px; height: 24px; }
.wa { animation: waIn 0.9s 1.4s var(--spring) both; }
.wa:focus-visible { animation: waIn 0.9s 1.4s var(--spring) both, focusIn 0.35s var(--glide); }
@keyframes waIn { from { scale: 0; rotate: -60deg; } }
.wa::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: rgba(37, 211, 102, .5); opacity: 0; animation: breathe 4s ease-out 3; }
@keyframes breathe { 0%, 60% { transform: scale(1); opacity: 1; } 85% { transform: scale(1.54); opacity: 0; } 100% { transform: scale(1); opacity: 0; } }
@media (max-width: 820px) { .wa { bottom: calc(var(--tab-h) + 14px + env(safe-area-inset-bottom, 0px)); } }
body.has-buybar .wa { display: none; }
/* Scrolling down on a phone, the chat button slides away and fades; scrolling up brings it back.
   Opacity and translate only, so the entrance animation on .wa keeps its own scale and rotate. */
@media (max-width: 820px) {
  .wa { transition: opacity 0.35s var(--glide), translate 0.45s var(--glide); }
  body.wa-away .wa { opacity: 0; translate: 0 24px; pointer-events: none; }
}
.sheet { position: fixed; right: 18px; bottom: 88px; z-index: 46; width: min(320px, calc(100vw - 36px)); background: #fff; border-radius: var(--r); padding: 1.2rem; display: grid; gap: 0.6rem; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); transform-origin: bottom right; }
@media (max-width: 820px) { .sheet { bottom: calc(var(--tab-h) + 80px); } }
.sheet h2 { font-size: 1.05rem; }

/* ── Buttons ── */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.6rem 1.35rem; border-radius: 980px; border: 0; cursor: pointer; font-size: 1.0625rem; font-weight: 400; letter-spacing: -0.02em; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.4s var(--glide); }
.btn--fill { background: var(--ink); color: #fff; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--soft { background: var(--mist-2); color: var(--ink); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%); transform: translateX(-130%); transition: transform 0.75s var(--glide); }
.btn--line::after, .btn--soft::after { background: linear-gradient(115deg, transparent 30%, rgba(0, 0, 0, .08) 50%, transparent 70%); }
.btn .lbl { display: inline-flex; align-items: center; gap: 0.45rem; transition: opacity 0.2s ease, transform 0.25s ease; }
/* Hover only where a real pointer hovers, so a tap on a phone never leaves a button stuck in its hover state */
@media (hover: hover) {
  .btn--fill:hover { background: #3a3a3c; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55); }
  .btn--line:hover { background: var(--ink); color: #fff; }
  .btn--soft:hover { background: #dcdce1; }
  .btn:hover::after { transform: translateX(130%); }
  /* Label roll: a copy of the text waits below (as a text shadow) and rolls up into place */
  .btn .lbl:not(:has(svg)) { text-shadow: 0 2em currentColor; transition: opacity 0.2s ease, transform 0.55s var(--glide); }
  .btn:hover .lbl:not(:has(svg)) { transform: translateY(-2em); }
}
/* The main calls to action catch the light every few seconds */
.btn--glint::after { animation: glint 5s 2.2s var(--glide) 3; }
@keyframes glint { 0%, 74% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
:focus-visible { animation: focusIn 0.35s var(--glide); }
@keyframes focusIn { from { outline-offset: 9px; outline-color: transparent; } }
.btn .lbl svg { width: 18px; height: 18px; }
.btn .spin, .btn .tick { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(0.6); transition: opacity 0.2s ease, transform 0.35s var(--spring); }
.btn .spin i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn .tick svg { width: 20px; height: 20px; }
.btn .tick path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.btn.is-loading .lbl, .btn.is-done .lbl { opacity: 0; transform: translateY(-6px); }
.btn.is-loading .spin { opacity: 1; transform: scale(1); }
.btn.is-done .tick { opacity: 1; transform: scale(1); }
.btn.is-done .tick path { animation: draw 0.4s 0.05s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; transform: scale(0); background: currentColor; opacity: 0.22; animation: ripple 0.65s ease-out forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }
.linkbtn { border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* Tap feedback that appears wherever you press */
.tapfx { position: fixed; z-index: 85; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 1.5px solid rgba(29, 29, 31, .45); pointer-events: none; animation: tapfx 0.55s var(--glide) forwards; }
@keyframes tapfx { to { transform: scale(6.5); opacity: 0; } }
.burst { position: fixed; z-index: 85; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; pointer-events: none; background: var(--ink); animation: burst 0.75s cubic-bezier(.2, .7, .3, 1) forwards; }
.burst--sq { border-radius: 1px; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot, 0deg)) scale(0.2); opacity: 0; } }
.shake { animation: shake 0.45s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 15%, 85% { transform: translateX(-2px); } 30%, 70% { transform: translateX(5px); } 45% { transform: translateX(-8px); } 55% { transform: translateX(8px); } }
.bump { animation: bump 0.55s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
/* Photos still downloading: a light sweeps across the frame, then the photo fades in */
.shim::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, .6) 50%, transparent 75%); transform: translateX(-100%); animation: shim 1.3s ease-in-out infinite; }
@keyframes shim { to { transform: translateX(100%); } }
.img-wait { opacity: 0; }
.img-in { animation: imgIn 0.7s var(--glide); }
@keyframes imgIn { from { opacity: 0; } }
.fly, .morph { position: fixed; z-index: 75; object-fit: cover; pointer-events: none; }
.fly { width: 84px; height: 84px; left: 0; top: 0; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.morph { z-index: 41; border-radius: 18px; background: var(--mist); object-fit: contain; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); }

.toast { position: fixed; left: 50%; top: calc(var(--nav-h) + 12px); z-index: 60; overflow: hidden; width: max-content; max-width: calc(100vw - 32px); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 0.65rem 1.15rem; border-radius: 980px; font-size: 0.9rem; white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); animation: toastIn 0.55s var(--spring) both; }
.toast::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .5); transform-origin: left; animation: toastBar 2.3s linear forwards; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -18px) scale(.9); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes toastBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ── Home ── */
.hero-intro { text-align: center; display: grid; justify-items: center; gap: 0.8rem; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem); }
.hero-intro h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -0.03em; max-width: 13ch; line-height: 1.02; }
.hero-intro .sub { font-size: clamp(1.1rem, 2.4vw, 1.7rem); color: var(--ink-2); }
.w { display: inline-block; }

.strip-wrap { justify-self: stretch; margin-inline: calc(-1 * var(--gutter)); margin-top: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 0.4rem; }
.strip-label { font-size: 0.85rem; color: var(--ink-2); }
.strip { display: flex; gap: clamp(0.75rem, 2vw, 1.4rem); overflow-x: auto; scroll-snap-type: x proximity; padding: 0.6rem var(--gutter) 0.9rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip__item { flex: 0 0 auto; width: clamp(86px, 9vw, 112px); display: grid; justify-items: center; align-content: start; gap: 0.3rem; text-align: center; scroll-snap-align: start; }
.strip__thumb { width: 100%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--mist); display: grid; place-items: center; }
.strip__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--glide); }
@media (hover: hover) { .strip__item:hover .strip__thumb img { transform: scale(1.08); } }
.strip__name { font-size: 0.82rem; font-weight: 600; line-height: 1.2; }
.strip__price { font-size: 0.72rem; color: var(--ink-2); line-height: 1.2; }
.strip__all .strip__thumb { background: var(--ink); color: #fff; }
.strip__all svg { width: 30px; height: 30px; }

.zoom { position: relative; height: 100svh; height: 100dvh; min-height: 520px; overflow: hidden; }
/* Carousel track — horizontal swipe between featured beds */
.zoom-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.zoom-track::-webkit-scrollbar { display: none; }
.zoom-slide { flex: 0 0 100%; position: relative; height: 100%; overflow: hidden; scroll-snap-align: start; }
.zoom-slide .zoom__frame { position: absolute; inset: 0; margin: 0; overflow: hidden; clip-path: none; transition: scale 1.4s var(--glide); }
.zoom-slide .zoom__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 45%; } /* 2026-10-11 per Usman: fill hero, no black bar */
/* The bed on screen pushes in slowly; when you swipe away it eases back out */

.zoom-slide .zoom__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.5rem, 5vw, 3.5rem) max(clamp(1.5rem, 5vw, 3.5rem), env(safe-area-inset-right, 0px)) clamp(1.5rem, 5vw, 3.5rem) max(clamp(1.5rem, 5vw, 3.5rem), env(safe-area-inset-left, 0px)); color: #fff; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); display: grid; gap: 0.3rem; opacity: var(--cap, 1); }
/* Leaves room so the dots' enlarged tap area never overlaps the caption button */
@media (max-width: 820px) { .zoom-slide .zoom__cap { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 3rem); } }
.zoom-slide .zoom__cap .btn--fill { background: #fff; color: var(--ink); }
/* Keyboard focus on a caption that is still fading in must show it */
.zoom:has(:focus-visible) { --cap: 1 !important; }
.zoom__go { justify-self: start; margin-top: 0.6rem; }
@media (hover: hover) { .zoom-slide .zoom__cap .btn--fill:hover { background: #e8e8ed; } }
/* Each slide's words rise in one after another as it arrives */
.zoom-slide .zoom__cap > * { transition: opacity 0.6s ease, translate 0.9s var(--glide); }
.zoom-slide .zoom__cap > :nth-child(2) { transition-delay: 0.08s; }
.zoom-slide .zoom__cap > :nth-child(3) { transition-delay: 0.16s; }
.zoom.is-ready .zoom-slide:not(.is-active) .zoom__cap > * { opacity: 0; translate: 0 24px; transition-duration: 0.25s; transition-delay: 0s; }
/* Dot indicators: the active one fills like a timer, and the carousel moves on when it is full */
.zoom-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; z-index: 5; opacity: var(--cap, 1); }
@media (max-width: 820px) { .zoom-dots { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 0.9rem); } }
.zoom-dot { position: relative; width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.45); border: 0; padding: 0; cursor: pointer; transition: width 0.45s var(--spring), background 0.3s ease; }
/* A bigger invisible target than the 8px dot */
.zoom-dot::before { content: ""; position: absolute; inset: -18px -8px; }
.zoom-pause { width: 26px; height: 26px; border: 0; border-radius: 50%; padding: 0; background: rgba(0,0,0,.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 8px; line-height: 1; letter-spacing: 1px; cursor: pointer; }
.zoom-pause::before { content: "\275A\275A"; }
.zoom-pause[aria-pressed="true"]::before { content: "\25B6"; letter-spacing: 0; margin-left: 2px; }
.zoom-dot[aria-current="true"] { width: 26px; background: #fff; }
.zoom-dot i { position: absolute; inset: 0; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: left; display: none; }
.zoom.is-auto .zoom-dot[aria-current="true"] { background: rgba(255,255,255,.45); }
.zoom.is-auto .zoom-dot[aria-current="true"] i { display: block; }
/* Arrow buttons (hidden on small phones, visible on tablets+) */
.zoom-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: var(--cap, 1); transition: background 0.2s ease; }
@media (hover: hover) { .zoom-arrow:hover { background: rgba(0,0,0,.44); } }
.zoom.cap-off :is(.zoom__cap, .zoom-dots, .zoom-arrow) { pointer-events: none; }
.zoom-arrow svg { width: 20px; height: 20px; }
.zoom-arrow--prev { left: max(var(--gutter), env(safe-area-inset-left, 0px)); }
.zoom-arrow--next { right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .zoom-arrow { display: none; } }
/* Legacy single-frame zoom (non-carousel) — keep for other pages */
.zoom__frame { position: absolute; inset: 0; margin: 0; overflow: hidden; clip-path: inset(0 var(--gutter) round 24px); }
.zoom__frame img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 45%; } /* 2026-10-11 per Usman: fill completely */
.zoom__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.5rem, 5vw, 3.5rem); color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent); display: grid; gap: 0.3rem; }
@media (max-width: 820px) { .zoom__cap { padding-bottom: calc(var(--tab-h) + clamp(1.5rem, 4vw, 2rem)); } }
.zoom__cap h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.zoom__cap p { font-size: clamp(1rem, 2vw, 1.3rem); opacity: .9; }
.zoom__cap .btn--fill { background: #fff; color: var(--ink); justify-self: start; margin-top: 0.6rem; }
.zoom__cap .btn--fill:hover { background: #e8e8ed; }

.tile { position: relative; overflow: hidden; text-align: center; display: grid; justify-items: center; align-content: start; gap: 0.5rem; padding-top: clamp(2.5rem, 6vw, 3.5rem); }
.tile--mist { background: var(--mist); }
.tile h2 { font-size: clamp(2.3rem, 6vw, 3.5rem); padding-inline: var(--gutter); }
.tile .sub { font-size: clamp(1.1rem, 2.4vw, 1.6rem); max-width: 30ch; padding-inline: var(--gutter); }
.tile .actions { margin-top: 0.75rem; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--mist { background: var(--mist); }
.head { display: grid; gap: 0.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.head h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
.head p { color: var(--ink-2); font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 46ch; }
.head--center { justify-items: center; text-align: center; }

.promises { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .promises { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.promise { background: var(--mist); border-radius: var(--r); padding: clamp(0.9rem, 3vw, 1.5rem); display: grid; gap: 0.2rem; align-content: start; }
.promise svg { width: 24px; height: 24px; margin-bottom: 0.3rem; }
.promise strong { font-size: clamp(0.85rem, 1.8vw, 1rem); line-height: 1.25; }
.promise span { color: var(--ink-2); font-size: clamp(0.78rem, 1.4vw, 0.9rem); }

.cats { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (min-width: 960px) { .cats { gap: 12px; } }
/* isolation keeps the rounded corners clipping photos while they move (Safari otherwise lets them poke out) */
.cat { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: var(--r); aspect-ratio: 3 / 4; background: var(--mist-2); }
.cat__img { position: absolute; inset: 0; overflow: hidden; }
.cat__img { transition: transform 0.9s var(--glide); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat.is-pressed .cat__img { transform: scale(1.06); transition-duration: 0.35s; }
/* A soft light where your finger (or cursor) is */
.cat::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .32), transparent 58%); opacity: 0; transition: opacity 0.45s ease; }
.cat.is-pressed::after { opacity: 1; transition-duration: 0.15s; }
.cat__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(0.9rem, 2.5vw, 1.4rem) clamp(1rem, 2.5vw, 1.5rem); color: #fff; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.2) 55%, transparent 100%); display: grid; gap: 0.15rem; }
.cat__body::before { content: ""; position: absolute; inset: -40% 0 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.35), transparent); opacity: 0; transition: opacity 0.5s ease; }
.cat.is-pressed .cat__body::before { opacity: 1; }
.cat__body h3 { font-size: clamp(0.95rem, 2.4vw, 1.35rem); line-height: 1.15; transition: translate 0.5s var(--glide); }
.cat__body p { font-size: clamp(0.75rem, 1.6vw, 0.88rem); opacity: 0.85; }
.cat .go { font-size: clamp(0.72rem, 1.4vw, 0.82rem); font-weight: 600; margin-top: 0.3rem; opacity: 0.9; }
.cat .go::after { content: "›"; display: inline-block; margin-left: 0.3em; transition: transform 0.5s var(--spring); }
.cat.is-pressed .go::after { transform: translateX(5px); }
.cat.is-pressed .cat__body h3 { translate: 0 -2px; }
@media (hover: hover) {
  .cat:hover .cat__img { transform: scale(1.07); }
  .cat:hover::after, .cat:hover .cat__body::before { opacity: 1; }
  .cat:hover .go::after { transform: translateX(5px); }
  .cat:hover .cat__body h3 { translate: 0 -2px; }
}

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(76vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem var(--gutter) 2rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging a { pointer-events: none; }

.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 980px; background: var(--mist-2); }
.seg button { position: relative; z-index: 1; overflow: hidden; border: 0; background: transparent; padding: 0.5rem 1.15rem; border-radius: 980px; cursor: pointer; color: var(--ink-2); font-size: 0.92rem; transition: color 0.3s ease; white-space: nowrap; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { color: var(--ink); }
.seg[aria-label="Most loved"] .seg__pill { transition: transform 0.45s var(--glide), width 0.45s var(--glide); }
.seg__pill { position: absolute; top: 3px; bottom: 3px; left: 0; border-radius: 980px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .14); transition: transform 0.5s var(--spring), width 0.5s var(--spring); }
.seg--sm button { padding: 0.38rem 0.85rem; font-size: 0.82rem; }

.steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); list-style: none; margin: 0; padding: 0; }
.step { position: relative; z-index: 1; background: var(--mist); border-radius: var(--r); padding: 1.8rem 1.6rem; display: grid; gap: 0.5rem; align-content: start; }
.step__n { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.1rem; font-weight: 600; }
.step h3 { font-size: 1.3rem; margin-top: 0.4rem; }
.step p { color: var(--ink-2); font-size: 1rem; }
.steps-wrap { position: relative; }
.steps-line { display: none; }
@media (min-width: 900px) { .steps-line { display: block; position: absolute; left: 3rem; right: 3rem; top: 3.1rem; height: 2px; background: var(--ink); transform-origin: left center; z-index: 2; pointer-events: none; } }

.story { background: var(--ink); color: #fff; }
.story__inner { padding: clamp(3.5rem, 8vw, 6rem) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(3.5rem, 8vw, 6rem) max(var(--gutter), env(safe-area-inset-left, 0px)); max-width: 1200px; margin-inline: auto; }

.homes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: stretch; }
.homes figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; background: var(--mist); }
.homes figure img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.homes figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255, 255, 255, 0.9); border-radius: 980px; padding: 0.35rem 0.8rem; font-size: 0.8rem; }
.quote { background: var(--mist); border-radius: var(--r); padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; gap: 1.1rem; align-content: center; }
.quote blockquote { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.35; letter-spacing: -0.015em; }
.quote footer { color: var(--ink-2); font-size: 0.92rem; }
.scores { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 12px; }
.score { background: var(--mist); border-radius: var(--r); padding: 1.5rem; display: grid; gap: 0.2rem; }
.score b { font-size: 2.8rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stars { color: var(--ink); letter-spacing: 1px; }
.meter { position: relative; display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: 3px; white-space: nowrap; vertical-align: middle; }
.meter__base { color: #dcdce1; }
.meter__s { display: inline-block; transform-origin: 50% 60%; }
.meter__fill { position: absolute; left: 0; top: 0; width: 0; overflow: hidden; white-space: nowrap; color: #1d1d1f; background-image: linear-gradient(168deg, #55555e 0%, #22222a 30%, #000 50%, #3a3a43 68%, #141419 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); }
.meter { overflow: hidden; }
.meter::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 16%; pointer-events: none; background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%); transform: skewX(-18deg); }
.meter::before { content: ""; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 11%; pointer-events: none; background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%); transform: skewX(-18deg); }
.meter.is-in::after { animation: meterShine 2.2s linear infinite; }
.meter.is-in::before { animation: meterShine 2.2s linear 1.1s infinite; }
@keyframes meterShine { 0% { left: -70%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .meter::after, .meter::before { display: none; } }
.meter--sm { font-size: 0.7rem; letter-spacing: 1.5px; }
.card__stars { display: inline-flex; align-items: center; gap: 0.3rem; }
.star { display: inline-block; }
.reviews { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.review { background: var(--mist); border-radius: var(--r); padding: 1.6rem; display: grid; gap: 0.9rem; align-content: start; margin: 0; }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.review footer { color: var(--ink-2); font-size: 0.88rem; }

.faq { display: grid; max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-size: 1.12rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--ink-2); transition: transform 0.4s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { overflow: hidden; padding-bottom: 1.2rem; color: var(--ink-2); max-width: 64ch; }

.empty { background: var(--mist); border-radius: var(--r); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 0.75rem; justify-items: center; text-align: center; }

/* ── Product cards ── */
.card { position: relative; display: grid; align-content: start; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); transition: box-shadow 0.3s ease; transform-style: preserve-3d; }
.card__img { position: relative; overflow: hidden; isolation: isolate; }
.card__img { background: var(--mist); }
.card__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; /* 2026-10-11 per Usman: fill completely */ transition: transform 0.8s var(--glide); }
.card.is-pressed { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.card.is-pressed .card__img img { transform: scale(1.05); transition-duration: 0.35s; }
@media (hover: hover) {
  .card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.11); }
  .card:hover .card__img img { transform: scale(1.06); }
}
.card__body { padding: 1.1rem 1.25rem 1.4rem; display: grid; gap: 0.25rem; }
.card__cat { font-size: 0.75rem; color: var(--ink-2); }
.card__name { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.card__name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__price { margin-top: 0.4rem; font-size: 0.95rem; }
.card .tag-oos { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2; background: rgba(255, 255, 255, .92); border-radius: 980px; padding: 0.22rem 0.6rem; font-size: 0.72rem; font-weight: 600; }
.card--more { background: var(--ink); color: #fff; align-content: end; padding: 1.6rem; min-height: 100%; }
.card--more h3 { font-size: 1.6rem; }
.card--more p { color: #a1a1a6; margin-top: 0.4rem; }
.rating { display: flex; flex-wrap: wrap; gap: 0.1rem 0.4rem; font-size: 0.82rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.heart { position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .10); }
.card-add { position: absolute; top: 3.7rem; right: 0.8rem; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .10); transition: background 0.25s ease, color 0.25s ease; }
.card-add svg { width: 18px; height: 18px; }
.card-add.done { background: var(--ink); color: #fff; }
.wa-inbar { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: #25D366; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.wa-inbar svg { width: 22px; height: 22px; }
.heart svg { width: 18px; height: 18px; overflow: visible; }
.heart[aria-pressed="true"] svg { fill: var(--heart); stroke: var(--heart); }
.heart.pop svg, .btn[data-wish].pop svg { animation: pop 0.5s var(--spring); }
.btn[data-wish][aria-pressed="true"] svg { fill: var(--heart); stroke: var(--heart); }
@keyframes pop { 0% { transform: scale(1); } 30% { transform: scale(0.7); } 70% { transform: scale(1.35); } 100% { transform: scale(1); } }
.spark { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--heart); pointer-events: none; animation: spark 0.6s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; } }

/* Compact grid: many beds visible at once */
.grid-compact { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 960px) { .grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1240px) { .grid-compact { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.card--compact { border-radius: 16px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); }
.card--compact .card__img img { aspect-ratio: 1 / 1; }
.card--compact .card__body { padding: 0.65rem 0.75rem 0.85rem; gap: 0.12rem; }
.card--compact .card__name { font-size: clamp(0.95rem, 2.4vw, 1.08rem); }
.card--compact .card__meta { font-size: 0.76rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card--compact .card__src { font-size: 0.68rem; color: var(--ink-3); line-height: 1.3; }
.card--compact .card__price { margin-top: 0.25rem; font-size: 0.88rem; font-weight: 500; }
.card--compact .heart { top: 0.5rem; right: 0.5rem; width: 32px; height: 32px; }
.card--compact .card-add { top: 3rem; right: 0.5rem; width: 32px; height: 32px; }
.card--compact .card-add svg { width: 16px; height: 16px; }
.card--compact .heart svg { width: 16px; height: 16px; }
.card--compact .tag-oos { top: 0.55rem; left: 0.55rem; font-size: 0.62rem; padding: 0.18rem 0.5rem; }
/* Dense grid: more beds per row so the whole range fits on a screen or two */
.grid-compact.is-dense { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .grid-compact.is-dense { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 960px) { .grid-compact.is-dense { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1240px) { .grid-compact.is-dense { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .is-dense .card--compact { border-radius: 12px; }
  .is-dense .card--compact .card__body { padding: 0.45rem 0.5rem 0.6rem; gap: 0.05rem; }
  .is-dense .card--compact .card__name { font-size: 0.8rem; line-height: 1.2; }
  .is-dense .card--compact .card__meta { font-size: 0.66rem; }
  .is-dense .card--compact .card__src { font-size: 0.58rem; }
  .is-dense .card--compact .card__price { margin-top: 0.15rem; font-size: 0.74rem; }
  .is-dense .card--compact .heart { top: 0.3rem; right: 0.3rem; width: 28px; height: 28px; }
  .is-dense .card--compact .heart::before { content: ""; position: absolute; inset: -10px; }
  .is-dense .card--compact .heart svg { width: 14px; height: 14px; }
  .is-dense .card--compact .tag-oos { top: 0.35rem; left: 0.35rem; font-size: 0.52rem; padding: 0.12rem 0.38rem; max-width: calc(100% - 34px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.card__name { overflow-wrap: break-word; }
.seg--icon button { display: grid; place-items: center; padding: 0.38rem 0.6rem; }
.seg--icon svg { width: 17px; height: 17px; }
.card.is-hidden { display: none; }

/* ── Shop ── */
.shop { padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(3rem, 6vw, 5rem); }
.shop-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; margin-bottom: 0.6rem; }
.shop-title { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -0.03em; }
.shop-line { color: var(--ink-2); font-size: 0.95rem; }
.filterbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h)); z-index: 30; margin-inline: calc(-1 * var(--gutter)); padding: 0.5rem var(--gutter); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); transition: top 0.45s var(--glide); }
body.nav-hidden .filterbar { top: env(safe-area-inset-top, 0px); }
.chips { position: relative; display: flex; gap: 0.45rem; overflow-x: auto; padding-block: 0.15rem; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chips a { position: relative; z-index: 1; flex-shrink: 0; overflow: hidden; white-space: nowrap; padding: 0.5rem 1rem; border-radius: 980px; background: var(--mist); color: var(--ink-2); font-size: 0.9rem; transition: background 0.25s ease, color 0.3s ease; }
.chips a:hover { color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); color: #fff; }
.chips--pill a[aria-current="page"] { background: transparent; }
.chips__n { margin-left: 0.3rem; font-size: 0.78em; opacity: 0.6; font-variant-numeric: tabular-nums; }
.chips__pill { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 980px; background: var(--ink); transition: transform 0.55s var(--spring), width 0.55s var(--spring); }
.sortrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin: 0.65rem 0 1rem; }
.sortrow .count-line { flex: 1 1 auto; margin: 0; font-size: 0.88rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sortrow #sortseg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.sortrow #sortseg::-webkit-scrollbar { display: none; }
.sortrow #sortseg button { flex-shrink: 0; white-space: nowrap; }

/* ── Product page ── */
.buy-head { padding-block: clamp(1.5rem, 4vw, 2.75rem) 0.5rem; display: grid; gap: 0.4rem; }
.buy-head .crumb { justify-self: start; font-size: 0.85rem; color: var(--ink-2); }
.buy-head h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); }
.buy-head .price { font-size: 1.1rem; }
.pdp { display: grid; gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: 3rem; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; } .gallery { position: sticky; top: calc(var(--nav-h) + 16px); } }
.gallery { display: grid; gap: 0.75rem; min-width: 0; }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); scrollbar-width: none; background: var(--mist); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track figure { margin: 0; scroll-snap-align: start; aspect-ratio: 1 / 0.92; overflow: hidden; }
.gallery__track img { width: 100%; height: 100%; object-fit: cover; } /* 2026-10-11 per Usman: fill completely */
.dots { display: flex; justify-content: center; gap: 0.5rem; }
.dots[hidden] { display: none; }
.dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #c7c7cc; cursor: pointer; transition: width 0.45s var(--spring), background 0.3s ease; }
.dots button::before { content: ""; position: absolute; inset: -18px -10px; }
.dots button[aria-current="true"] { width: 24px; background: var(--ink); }
.ph-note { font-size: 0.78rem; color: var(--ink-3); text-align: center; }

.configure { display: grid; gap: 2.6rem; min-width: 0; }
.group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 0.75rem; }
.group legend { padding: 0; margin-bottom: 0.9rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.group legend span { color: var(--ink-2); font-weight: 600; }
.opts { position: relative; display: grid; gap: 0.65rem; }
.opts--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.opt { position: relative; display: block; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt > span { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.15rem 0.75rem; height: 100%; padding: 1rem 1.1rem; border-radius: var(--r-ctl); box-shadow: inset 0 0 0 1px #86868b; background: #fff; transition: box-shadow 0.15s ease; }
.opt b { font-weight: 600; }
.opt i { font-style: normal; color: var(--ink-2); font-size: 0.85rem; grid-column: 1; }
.opt em { font-style: normal; font-size: 0.88rem; grid-row: 1; grid-column: 2; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.opt .art--photo { aspect-ratio: 170 / 110; object-fit: contain; background: transparent; mix-blend-mode: multiply; border-radius: 0; }
.opt .art { grid-column: 1 / -1; grid-row: 1; display: block; width: 100%; max-width: 150px; height: auto; margin-bottom: 0.4rem; border-radius: 12px; }
.opt > span > em { grid-row: auto; }
.opt input:hover + span { box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:checked + span { box-shadow: inset 0 0 0 2px var(--focus); }
.opts.ringed .opt input:checked + span { box-shadow: inset 0 0 0 1px var(--ink-3); }
.opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.sel-ring { position: absolute; left: 0; top: 0; border-radius: var(--r-ctl); box-shadow: inset 0 0 0 2px var(--focus); pointer-events: none; z-index: 2; transition: transform 0.5s var(--spring), width 0.5s var(--spring), height 0.5s var(--spring); }
.fabric-tabs { display: inline-flex; padding: 3px; border-radius: 980px; background: var(--mist-2); justify-self: start; }
.fabric-tabs label { position: relative; }
.fabric-tabs input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fabric-tabs span { display: block; padding: 0.45rem 1.05rem; border-radius: 980px; font-size: 0.9rem; color: var(--ink-2); transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.fabric-tabs input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.fabric-tabs input:focus-visible + span { outline: 2px solid var(--focus); }
.swatches { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sw { position: relative; display: grid; justify-items: center; gap: 0.3rem; width: 52px; font-size: 0.7rem; color: var(--ink-2); text-align: center; }
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw i { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); transition: box-shadow 0.35s var(--spring); }
.sw input:checked ~ i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--focus); }
.sw input:checked ~ span { color: var(--ink); }
.sw input:focus-visible ~ i { outline: 2px solid var(--focus); outline-offset: 5px; }
.chosen { font-size: 0.95rem; color: var(--ink-2); }
.chosen b { color: var(--ink); font-weight: 600; }
.note { font-size: 0.85rem; color: var(--ink-2); }
.note b { color: var(--warn); font-weight: 600; }

.panel { background: var(--mist); border-radius: var(--r); padding: 1.4rem; display: grid; gap: 0.9rem; }
.panel h2 { font-size: 1.3rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label { font-size: 0.85rem; color: var(--ink-2); }
.input { width: 100%; min-height: 46px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #86868b; border-radius: var(--r-ctl); padding: 0.75rem 0.9rem; transition: border-color 0.2s ease, box-shadow 0.25s ease; }
.input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.22); }
.input[aria-invalid="true"] { border-color: #c4281c; }
.row2 { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.units { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.units label { position: relative; }
.units input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.units span { display: block; padding: 0.4rem 0.9rem; border-radius: 980px; background: #fff; font-size: 0.85rem; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.25s ease, color 0.25s ease; }
.units input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.units input:focus-visible + span { outline: 2px solid var(--focus); }
.fit { border-radius: var(--r-ctl); background: #fff; padding: 0.85rem 1rem; font-size: 0.95rem; }
.fit--ok { color: var(--ok); }
.fit--tight { color: var(--warn); }
.summary dl { margin: 0; display: grid; }
.summary .line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.4rem; margin-inline: -0.4rem; border-radius: 8px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.summary .line dt { color: var(--ink-2); }
.summary .line dd { margin: 0; text-align: right; }
.summary .total { border-bottom: 0; font-weight: 600; font-size: 1.1rem; }
.summary .line.flash { animation: flash 1.1s ease; }
@keyframes flash { 0% { background: rgba(0, 113, 227, .14); } 100% { background: transparent; } }
.plan .tag { grid-column: 2; grid-row: 1; font-style: normal; font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 980px; background: var(--ink); color: #fff; }
.extras { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
.about ul { margin: 0.75rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; color: var(--ink-2); }
.about summary { display: inline-block; cursor: pointer; margin-top: 0.5rem; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.about summary::-webkit-details-marker { display: none; }

.buybar { --lift: 12px; position: fixed; left: 10px; right: 10px; bottom: var(--lift); z-index: 42; background: #fafafc; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 20px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14); padding-block: 0.65rem calc(0.65rem + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 820px) { .buybar { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + var(--lift)); padding-bottom: 0.65rem; } }
.buybar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.buybar__total { display: grid; min-width: 0; }
.buybar__total b { font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.buybar__total span { font-size: 0.8rem; color: var(--ink-2); line-height: 1.3; }
.buybar__go { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.qty { display: inline-flex; align-items: center; border-radius: 980px; background: var(--mist-2); }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.qty output { display: inline-block; min-width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }
body.has-buybar { padding-bottom: calc(var(--buybar-h, 76px) + 12px); }
@media (max-width: 820px) { body.has-buybar { padding-bottom: calc(var(--tab-h) + var(--buybar-h, 76px) + env(safe-area-inset-bottom, 0px) + 12px); } }
@media (max-width: 520px) { .buybar .qty { display: none; } .buybar .btn { padding-inline: 1.05rem; } }

/* ── Basket, checkout, finder ── */
.page-h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.bag { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 960px) { .bag { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } .bag aside { position: sticky; top: calc(var(--nav-h) + 16px); } }
.bag-item { display: grid; grid-template-columns: clamp(84px, 22vw, 120px) 1fr; gap: 1rem 1.25rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.bag-item img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.bag-item h3 { font-size: 1.25rem; }
.bag-item ul { list-style: none; padding: 0; margin: 0.35rem 0 0; color: var(--ink-2); font-size: 0.9rem; display: grid; gap: 0.15rem; }
.bag-item__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 560px) { .bag-item__foot { grid-column: 2; } }
.form { display: grid; gap: 1rem; }
.error { color: #c4281c; font-size: 0.86rem; }
.done { display: grid; gap: 0.8rem; justify-items: center; text-align: center; padding: clamp(2rem, 6vw, 4rem); }
.done svg { width: 58px; height: 58px; }
.done svg path, .done svg circle { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 0.8s 0.15s var(--glide) forwards; }
.finder { max-width: 720px; margin-inline: auto; display: grid; gap: 1.25rem; }
.progress { height: 4px; border-radius: 4px; background: var(--mist-2); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ink); transition: width 0.6s var(--glide); }
.finder-opt { position: relative; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.finder-opt > span { transition: background 0.3s ease, color 0.3s ease, box-shadow 0.2s ease; }
.finder-opt:hover > span { box-shadow: inset 0 0 0 1px var(--ink); }
.finder-opt:focus-visible { outline: none; }
.finder-opt:focus-visible > span { box-shadow: inset 0 0 0 2px var(--focus); }
.finder-opt.picked > span { background: var(--ink); color: #fff; box-shadow: none; }
.finder-opt.picked i { color: #c7c7cc; }
.finder-opt .chk { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; }
.finder-opt .chk path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 0.35s 0.05s ease forwards; }

/* ── Footer ── */
.footer { background: var(--mist); color: var(--ink-2); font-size: 0.75rem; padding-block: 2rem 2.5rem; }
.footer__grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.footer h2 { font-size: 0.75rem; color: var(--ink); font-weight: 600; letter-spacing: 0; margin-bottom: 0.55rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer a:hover { text-decoration: underline; }
.footer .tbs { color: var(--warn); }
.footer__base { padding-top: 1rem; display: grid; gap: 0.35rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .loader, .tapfx, .burst, .mutebtn { display: none !important; }
  .wa, .wa::before, .ripple, .heart.pop svg, .btn[data-wish].pop svg, .spark, .toast, .toast::after, .shake, .bump, .img-in, :focus-visible { animation: none !important; }
  .btn::after, .shim::before { display: none; }
  .img-wait { opacity: 1; }
  .zoom-slide .zoom__frame { scale: 1 !important; }
  .done svg path, .done svg circle, .finder-opt .chk path, .btn.is-done .tick path { stroke-dashoffset: 0; animation: none; }
}

/* ── Page opening, rails, story and category pages ── */

/* A blurred copy of the same photo fills the frame, so the whole bed shows without empty bars */
.shot { position: relative; isolation: isolate; overflow: hidden; background: var(--mist); }
/* Blurred backdrop removed 2026-10-11 per Usman: show full photo cleanly, no blur fill. */
.story .shot, .zoom-slide .shot { background: var(--mist); }
/* Blurred backdrop removed 2026-10-11 per Usman. */

/* Most loved: the card nearest the middle sits forward, the photo itself never moves */
.rail { padding-bottom: 1.4rem; }
.rail > * { --d: 0; --ad: 0; }
.rail .card { scale: calc(1 - var(--ad) * 0.05); translate: 0 calc(var(--ad) * 10px); opacity: calc(1 - var(--ad) * 0.22); transition: box-shadow .4s ease; }
.rail .card:not(.card--more) { box-shadow: 0 calc(6px + (1 - var(--ad)) * 16px) calc(16px + (1 - var(--ad)) * 26px) rgba(0, 0, 0, calc(0.05 + (1 - var(--ad)) * 0.08)); }
.rail-bar { position: relative; height: 3px; margin: 0 auto 1.6rem; width: min(180px, 42%); border-radius: 3px; background: rgba(0, 0, 0, .09); overflow: hidden; }
.rail-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 3px; background: var(--ink); }

/* Our story: one chapter at a time, photo and words together */
.story__inner { display: block; }
.story__chapter { display: grid; gap: clamp(1.1rem, 4vw, 2rem); align-items: center; padding-block: clamp(1.5rem, 5vw, 3rem); }
.story__pic { margin: 0; aspect-ratio: 4 / 3.2; border-radius: var(--r); }
.story__pic img { width: 100%; height: 100%; object-fit: cover; } /* 2026-10-11 per Usman: fill completely, no black bars */
.story__words h2 { font-size: clamp(1.9rem, 6.6vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; }
.story__words p { color: #a1a1a6; font-size: clamp(1rem, 3.6vw, 1.15rem); margin-top: 0.7rem; max-width: 34ch; }
.story__n { display: block; color: #86868b; font-size: 0.82rem; letter-spacing: 0.22em; margin-bottom: 0.6rem; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .story__chapter { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); min-height: 86svh; }
  .story__chapter:nth-child(even) .story__pic { order: 2; }
  .story__pic { aspect-ratio: 4 / 3.6; }
}

.shop-cover { margin: 0.5rem 0 0.2rem; aspect-ratio: 16 / 10; max-height: 38svh; border-radius: var(--r); }
.shop-cover[hidden] { display: none; }
.shop-cover img { position: relative; }

/* The page being left, held on screen while the next one arrives underneath */
.ghost { position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; overflow: hidden; pointer-events: none; background: var(--white); }
.ghost__in { position: absolute; left: 0; right: 0; transform-origin: 50% 18%; }

/* The photo the customer sent with their review */
.review--shot { padding-top: 0; overflow: hidden; }
.review__shot { display: block; margin: -1.6rem -1.6rem 1.1rem; background: var(--mist-2); }
.review__shot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } /* 2026-10-11 per Usman: fill completely */

/* In the reviews, the stars are polished rather than animated: a still sheen, no sweep. The
   product page keeps its moving reflection. */
.review .meter::after, .review .meter::before,
[data-view="reviews"] .meter::after, [data-view="reviews"] .meter::before { display: none; }
.review .meter__fill, [data-view="reviews"] .meter__fill {
  background-image: linear-gradient(165deg, #6b6b73 0%, #26262b 34%, #000 52%, #3a3a42 70%, #15151a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .28)); }

.hero-score { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.9rem; border-radius: 980px; background: var(--mist); color: var(--ink-2); font-size: 0.86rem; font-weight: 500; text-decoration: none; }
.hero-score:hover { background: var(--mist-2); }
.hero-score--sm { margin-top: 0.35rem; font-size: 0.8rem; padding: 0.3rem 0.7rem; }
.rating--lead { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; color: var(--ink-2); }
.rating--lead .meter { font-size: 1.3rem; }

/* Intro sound */
.mutebtn { position: fixed; z-index: 101; right: calc(env(safe-area-inset-right, 0px) + 14px); top: calc(env(safe-area-inset-top, 0px) + 14px); width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #efe9e0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; }
.mutebtn[hidden] { display: none; }
.mutebtn svg { width: 19px; height: 19px; }
.mutebtn.is-off path:nth-child(2), .mutebtn.is-off path:nth-child(3) { opacity: .25; }

@media (prefers-reduced-motion: reduce) { .rail .card { scale: 1; opacity: 1; translate: none; } }

/* ── Phones: every control gets a finger-sized hit area, without changing how it looks ───────── */
@media (max-width: 820px) {
  .footer { font-size: 0.82rem; }
  .footer ul { gap: 0; }
  .footer ul li { display: flex; align-items: center; min-height: 44px; }
  .footer ul a { display: flex; align-items: center; width: 100%; min-height: 44px; }
  .wordmark { padding-block: 0.55rem; }
  .bag-link::after { content: ""; position: absolute; inset: -4px; }
  .heart::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
  .zoom-pause { position: relative; }
  .zoom-pause::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
  .seg--sm button { min-height: 44px; }
  .crumb, .linkbtn { position: relative; }
  .crumb::after, .linkbtn::after { content: ""; position: absolute; inset: -12px -10px; }
  .opt > span { min-height: 44px; }
}

/* ── Phones: the small print gets a readable floor. Desktop sizes are untouched. ─────────────── */
@media (max-width: 820px) {
  .card__cat { font-size: 0.85rem; }
  .card--compact .card__meta { font-size: 0.85rem; }
  .card--compact .card__src { font-size: 0.78rem; }
  .card--compact .card__price { font-size: 0.95rem; }
  .card .tag-oos { font-size: 0.78rem; }
  .tabbar a { font-size: 0.72rem; }
  .footer { font-size: 0.9rem; }
  .footer h2 { font-size: 0.9rem; }
  .ph-note, .sw { font-size: 0.85rem; }
  .sw { width: 60px; }
  .plan .tag { font-size: 0.78rem; }
}
/* On the densest grid the text stays small on purpose, but no smaller than this */
@media (max-width: 639px) {
  .is-dense .card--compact .card__name { font-size: 0.86rem; }
  .is-dense .card--compact .card__meta { font-size: 0.74rem; }
  .is-dense .card--compact .card__src { font-size: 0.66rem; }
  .is-dense .card--compact .card__price { font-size: 0.8rem; }
}

/* 2026-10-13 performance pass for touch devices: sticky bars use a solid
   near-identical finish instead of live backdrop blur while scrolling, and
   rating stars do not run a layout animation forever. Desktop is unchanged. */
@media (pointer: coarse) {
  .gnav, .tabbar, .filterbar, .buybar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .gnav, .tabbar, .buybar { background: #fafafc; }
  .filterbar { background: rgba(255, 255, 255, 0.97); }
  .meter.is-in::before, .meter.is-in::after { animation: none; }
}

/* Buy bar on phones and narrow windows: two calm rows, nothing overlaps — price line, then WhatsApp, Save and Add.
   Widened 520px to 820px on 2026-10-14: at in-between widths (e.g. an iPad Slide Over window) the single
   desktop row did not fit and the buttons sat on top of the price text. */
@media (max-width: 820px) {
  .buybar .wrap { flex-wrap: wrap; row-gap: 0.55rem; }
  .buybar__total { flex: 1 0 100%; display: flex; align-items: baseline; gap: 0.6rem; min-width: 0; }
  .buybar__total span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__go { flex: 1 0 100%; flex-wrap: nowrap; }
  .buybar__go .btn { flex: 1 1 0; }
  .buybar__go .wa-inbar { flex: 0 0 auto; }
}

/* 2026-10-14 per Usman: the beds must show FULL. The hero photos are square and the
   full-height phone frame was slicing their sides away, so on phones the hero frame
   takes the photos' own square shape — the whole bed, full-bleed, nothing cut. */
@media (max-width: 820px) {
  .zoom { height: auto; aspect-ratio: 1 / 1; min-height: 0; }
}
