/* Ile des Palmes — rooms site
   Measurements come from docs/reference-notes.md. Three layouts:
   mobile < 768px · tablet 768–1199px · desktop >= 1200px                       */

:root {
  --font: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --white: #fff;
  --muted: #dedede;
  --shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
  --tshadow: 0 0 10px rgba(0, 0, 0, .3);
  --ease: cubic-bezier(.4, 0, .2, 1);           /* pill expand */
  --ease-drawer: cubic-bezier(.165, .84, .44, 1); /* drawers */
  --gutter: 24px;
  --bar-h: 72px;
  --dot: 24px;
  --arrow: 40px;
  --fade: 600ms;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: #1a120c;
  color: var(--white);
  font: 400 16px/24px var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  overscroll-behavior: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.skip {
  position: fixed; left: var(--gutter); top: -100px; z-index: 100;
  background: #fff; color: #000; padding: 4px 10px; font-weight: 700;
}
.skip:focus { top: 16px; }

.only-mobile { display: none !important; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: #fff; color: #d4d4d4; font-weight: 700;
  transition: opacity 700ms ease-in-out, visibility 0s linear 700ms;
}
.loader.is-done { opacity: 0; visibility: hidden; }

/* ---------- stage & rooms ---------- */
.stage {
  position: fixed; inset: 0;
  transition: filter 500ms var(--ease-drawer);
}
.stage::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: rgba(0, 0, 0, 0); transition: background-color 500ms var(--ease-drawer);
}
body.drawer-open .stage::after { background: rgba(0, 0, 0, .22); }
body.drawer-open .stage,
body.drawer-open .arrow--edge { filter: blur(25px); }

.room-layer {
  position: absolute; inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--fade) ease-in-out;
  scrollbar-width: none;
}
.room-layer::-webkit-scrollbar { display: none; }
.room-layer.is-active { opacity: 1; }

.room { position: relative; overflow: hidden; }
.room__placeholder,
.room__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; user-select: none; -webkit-user-drag: none;
}
.room__placeholder {
  filter: blur(24px); transform: scale(1.06); z-index: 1;
  transition: opacity 200ms ease-in-out;
}
.room.is-loaded .room__placeholder { opacity: 0; }
.room__img { object-fit: cover; }
.room__hotspots { position: absolute; inset: 0; z-index: 2; }

/* dark vignette so white UI stays legible on bright renders */
.room::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,0) 18%),
    linear-gradient(to top, rgba(0,0,0,.28), rgba(0,0,0,0) 18%);
}

/* ---------- pill (shared by Enter buttons, hotspots, cart CTA) ---------- */
.pill {
  position: relative;
  display: inline-flex; align-items: center;
  height: 24px; min-width: 24px;
  border: 1px solid var(--white); border-radius: 12.5px;
  box-shadow: var(--shadow); text-shadow: var(--tshadow);
  font-weight: 700; line-height: 1; white-space: nowrap;
  color: var(--white);
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.pill__icon { position: absolute; left: 5px; top: 50%; width: 13px; height: 11px; transform: translateY(-50%); }
.pill__icon svg, .arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.pill__label { padding: 3px 15px 3px 24px; }
.pill--open:hover, .pill--open:focus-visible { background: var(--white); color: #111; text-shadow: none; }

/* ---------- enter arrows (pill that widens to show its label) ---------- */
.hotspot {
  position: absolute; z-index: 2;
  width: var(--dot); height: var(--dot);
  margin: calc(var(--dot) / -2) 0 0 calc(var(--dot) / -2); /* centre the dot on x/y */
}
.hotspot::before { /* enlarged tap target on touch screens */
  content: ""; position: absolute; inset: -16px;
}
.hotspot__pill {
  position: absolute; top: 0; left: 0;
  width: var(--dot); height: var(--dot);
  border: 1px solid var(--white); border-radius: calc(var(--dot) / 2 + .5px);
  box-shadow: var(--shadow); text-shadow: var(--tshadow);
  overflow: hidden;
  transition: width 500ms var(--ease), background-color 500ms var(--ease);
}
.hotspot--left .hotspot__pill { left: auto; right: 0; }
.hotspot__label {
  position: absolute; top: 50%; left: 0;
  transform: translateY(-50%);
  padding: 3px 15px 3px calc(var(--dot) - 2px);
  font-weight: 700; line-height: 1; white-space: nowrap;
  opacity: 0; transition: opacity 500ms var(--ease);
}
.hotspot--left .hotspot__label { left: auto; right: 0; padding: 3px calc(var(--dot) - 2px) 3px 15px; }
/* "enter" arrow pill (no blink) — the reference's room-entry hotspot */
.hotspot__arrow {
  position: absolute; top: 50%; left: calc(var(--dot) / 2 - 1px);
  width: 13px; height: 11px; margin: -5.5px 0 0 -6.5px;
}
.hotspot__arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.hotspot--left .hotspot__arrow { left: auto; right: calc(var(--dot) / 2 - 1px); margin: -5.5px -6.5px 0 0; }
.hotspot--enter .hotspot__pill { background: rgba(0, 0, 0, .08); }
/* entrance arrows are a little smaller than the product dots */
.hotspot--enter { --dot: 20px; font-size: 14px; }
.hotspot--enter .hotspot__arrow { width: 11px; height: 9px; margin: -4.5px 0 0 -5.5px; }
.hotspot--enter.hotspot--left .hotspot__arrow { margin: -4.5px -5.5px 0 0; }
.hotspot--point-left .hotspot__arrow svg { transform: scaleX(-1); }
.hotspot--point-down .hotspot__arrow svg { transform: rotate(90deg); }
.hotspot--point-up .hotspot__arrow svg { transform: rotate(-90deg); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hotspot:hover .hotspot__pill,
.hotspot:focus-visible .hotspot__pill,
.hotspot.is-open .hotspot__pill { width: var(--w, 140px); }
.hotspot:hover .hotspot__label,
.hotspot:focus-visible .hotspot__label,
.hotspot.is-open .hotspot__label { opacity: 1; }
.hotspot:focus-visible { outline: none; }
.hotspot:focus-visible .hotspot__pill { outline: 2px solid var(--white); outline-offset: 3px; }

/* ---------- product dots (measured from drakerelated.com) ---------- */
.phot {
  position: absolute; z-index: 3; display: block;
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
}
.phot::before { content: ""; position: absolute; inset: -16px; } /* 43px tap target */
.phot:hover, .phot:focus-visible, .phot.is-open { z-index: 6; }
.phot__dot {
  position: absolute; inset: 0; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 5px rgba(0, 0, 0, .25);
  animation: phot-dot 3.4s cubic-bezier(.22, .61, .36, 1) infinite var(--delay, 0s);
}
.phot__ring {
  position: absolute; inset: -40px; border-radius: 50%; pointer-events: none;
  border: 1px solid #fff; background: rgba(255, 255, 255, .05);
  transform: scale(0); opacity: 0;
  animation: phot-ring 3.4s cubic-bezier(.22, .61, .36, 1) infinite var(--delay, 0s);
}
@keyframes phot-dot {
  0%   { transform: scale(.85); }
  4%   { transform: scale(1.35); }
  18%, 100% { transform: scale(1); }
}
@keyframes phot-ring {
  0%   { transform: scale(0); opacity: 1; }
  48%, 100% { transform: scale(1); opacity: 0; }
}
.phot__tip {
  position: absolute; top: 100%; left: 50%; transform: translate(calc(-50% + var(--tip-shift, 0px)), 12px);
  background: #fff; color: #000; text-shadow: none;
  font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; box-shadow: 0 0 10px rgba(0, 0, 0, .25);
  opacity: 0; pointer-events: none; transition: opacity 150ms ease-in-out;
}
.phot__tip::before {
  content: ""; position: absolute; top: -4px; left: calc(50% - var(--tip-shift, 0px)); width: 8px; height: 8px; margin-left: -4px;
  background: #fff; border-radius: 2px 0 0; transform: rotate(45deg);
}
.phot--tip-right .phot__tip { left: auto; right: -12px; transform: translate(var(--tip-shift, 0px), 12px); }
.phot--tip-right .phot__tip::before { left: auto; right: calc(13.5px + var(--tip-shift, 0px)); margin: 0; }
.phot--tip-left .phot__tip { left: -12px; transform: translate(var(--tip-shift, 0px), 12px); }
.phot--tip-left .phot__tip::before { left: calc(13.5px - var(--tip-shift, 0px)); margin: 0; }
.phot:hover .phot__tip, .phot:focus-visible .phot__tip, .phot.is-open .phot__tip { opacity: 1; }
.phot__name, .phot__status { display: block; text-align: center; }
.phot__status { margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #777; }
/* dots near the bottom of the render open their tooltip upwards */
.phot--tip-up .phot__tip { top: auto; bottom: 100%; transform: translate(calc(-50% + var(--tip-shift, 0px)), -12px); }
.phot--tip-up .phot__tip::before { top: auto; bottom: -4px; border-radius: 0 0 2px; }
.phot--tip-up.phot--tip-right .phot__tip, .phot--tip-up.phot--tip-left .phot__tip { transform: translate(var(--tip-shift, 0px), -12px); }
span.phot { cursor: default; }
.phot:focus-visible { outline: none; }
.phot:focus-visible .phot__dot { outline: 2px solid #fff; outline-offset: 4px; }

/* ---------- arrows ---------- */
.arrow {
  display: grid; place-items: center;
  width: var(--arrow); height: var(--arrow);
  border: 1px solid var(--white); border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--white);
  transition: background-color 300ms var(--ease), color 300ms var(--ease), opacity 300ms, filter 500ms var(--ease-drawer);
}
.arrow svg { width: 15px; height: 13px; filter: drop-shadow(var(--tshadow)); }
.arrow:hover, .arrow:focus-visible { background: var(--white); color: #111; }
.arrow--edge { position: fixed; top: 50%; z-index: 40; margin-top: calc(var(--arrow) / -2); }
.arrow--edge.arrow--prev { left: var(--gutter); }
.arrow--edge.arrow--next { right: var(--gutter); }

/* landing: only the two entrance arrows on the render, no room-cycling arrows */
body[data-edge="off"] .arrow--edge,
body[data-edge="off"] .bb-arrows,
body.is-page .arrow--edge,
body.is-page .bb-arrows { visibility: hidden; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--bar-h); padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
  text-shadow: var(--tshadow);
}
.topbar > * { pointer-events: auto; }
.topbar__nav { display: flex; gap: 28px; flex: 1; }
/* top bar type is a little smaller than the reference's 16px (client request) */
.topbar { font-size: 13px; line-height: 20px; }
.tb-link { font-weight: 600; padding: 0 8px; transition: opacity 300ms; }
.topbar__nav .tb-link:first-child { margin-left: -8px; }
.tb-cart { font-weight: 700; margin-left: auto; margin-right: -8px; }
.tb-link:hover, .bb-link:hover, .drawer a:hover { opacity: .6; }
.wordmark {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-weight: 700; white-space: nowrap; transition: opacity 300ms;
}

/* ---------- bottom bar ---------- */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 0 var(--gutter) 24px;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none; text-shadow: var(--tshadow);
}
.bottombar > * { pointer-events: auto; }
.bb-link { font-weight: 600; padding: 0 8px; margin: 0 -8px; transition: opacity 300ms; }

/* dim everything else while a drawer is open (reference: opacity .2) */
body.drawer-open .tb-link,
body.drawer-open .bb-link:not(.is-active),
body.drawer-open .wordmark { opacity: .2; }

/* ---------- drawers ---------- */
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 55;
  width: 100%; max-width: 353px;
  visibility: hidden;
  transition: transform 500ms var(--ease-drawer), visibility 0s linear 500ms;
}
.drawer[hidden] { display: block; }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; transform: translateX(100%); text-align: right; }
.drawer.is-open {
  transform: none; visibility: visible;
  transition: transform 900ms var(--ease-drawer), visibility 0s;
}
.drawer__inner {
  height: 100%; overflow-y: auto;
  padding: var(--bar-h) var(--gutter) 72px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  text-shadow: var(--tshadow);
}
.drawer__close {
  position: absolute; top: 24px; font-weight: 700;
  display: none;
}
.drawer--left .drawer__close { left: var(--gutter); }
.drawer--right .drawer__close { right: var(--gutter); }
.drawer__heading { font-size: 16px; line-height: 24px; font-weight: 600; opacity: .6; margin-bottom: 4px; }
.drawer__list a, .drawer__list button { display: inline-block; font-size: 24px; line-height: 30px; font-weight: 700; transition: opacity 300ms; }
.drawer__list a[aria-current="page"]::after { content: " •"; }
.drawer__list--sm a { font-size: 16px; line-height: 24px; }
.drawer__empty { font-size: 24px; line-height: 30px; font-weight: 700; margin-bottom: 16px; }
.drawer--right .pill { margin-left: auto; }
.site-footer { display: flex; flex-direction: column; gap: 24px; }
.copyright { font-size: 12px; opacity: .6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 600; }


/* ---------- dev mode ---------- */
body.edit-mode .room { cursor: crosshair; }
.edit-marker {
  position: absolute; z-index: 5; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: #ff3b30; border: 2px solid #fff; pointer-events: none;
}
.edit-toast {
  position: fixed; left: 50%; top: 84px; z-index: 95; transform: translateX(-50%);
  background: rgba(0,0,0,.8); color: #fff; padding: 6px 12px; border-radius: 6px;
  font: 600 13px/1.4 ui-monospace, Menlo, monospace;
}

/* =====================================================================
   PRODUCT PAGES + CHECKOUT (white pages, black type — like the reference)
   ===================================================================== */
.page {
  position: fixed; inset: 0; z-index: 45;
  background: #fff; color: #000;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  transition: filter 500ms var(--ease-drawer);
}
.page[hidden] { display: none; }
body.is-page .topbar, body.is-page .bottombar { color: #000; text-shadow: none; }
body.is-page .topbar { background: #fff; }
body.is-page .bottombar { background: #fff; padding-top: 12px; }
body.is-page.drawer-open .page { filter: blur(25px); }
body.is-page .drawer { color: #000; text-shadow: none; }
body.is-page .drawer .pill { border-color: #000; color: #000; box-shadow: none; text-shadow: none; }
body.is-page .drawer .pill:hover { background: #000; color: #fff; }

.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin: var(--bar-h) var(--gutter) 0; padding: 29px 0 48px;
  border-top: 1px solid #000;
}
.gallery { position: relative; aspect-ratio: 1; background: #e6e4e1; overflow: hidden; }
.gallery img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 300ms ease-in-out;
}
.gallery img.is-active { opacity: 1; }
.gallery__nav {
  position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px;
  display: grid; place-items: center; color: #fff;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, .35));
}
.gallery__nav svg { width: 26px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__count { position: absolute; left: 20px; bottom: 16px; font-weight: 600; color: #000; background: rgba(255,255,255,.7); padding: 0 6px; }

.info { display: flex; flex-direction: column; min-width: 0; }
.back-link { align-self: flex-start; font-weight: 600; margin-bottom: 12px; transition: opacity 300ms; }
.back-link:hover { opacity: .5; }
.info__title { font-size: 24px; line-height: 32px; font-weight: 700; text-transform: uppercase; }
.info__price { font-size: 24px; line-height: 32px; font-weight: 700; }
.info__desc { margin-top: auto; max-width: 340px; padding: 32px 0; font-size: 16px; line-height: 20px; font-weight: 700; }
.info__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 73px; padding: 0 14px;
  border-top: 1px solid #000; font-weight: 700; text-align: left;
}
.row-btn { font-weight: 600; letter-spacing: .02em; transition: background-color 200ms, color 200ms; }
.row-btn:hover { background: #000; color: #fff; }
.row-btn:hover .row-dot { background: #fff; }
.row-dot { width: 8px; height: 8px; border-radius: 50%; background: #000; flex: none; }
.sizes { display: flex; gap: 4px; }
.sizes button { min-width: 40px; height: 32px; padding: 0 8px; font-weight: 700; opacity: .35; transition: opacity 200ms; }
.sizes button:hover { opacity: .7; }
.sizes button[aria-checked="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.related { margin: 0 var(--gutter); padding: 24px 0 120px; border-top: 1px solid #000; }
.related h2 { text-align: center; font-size: 16px; line-height: 24px; font-weight: 700; margin-bottom: 24px; }
.related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { display: block; }
.card img { width: 100%; aspect-ratio: 330 / 416; object-fit: cover; background: #e6e4e1; transition: opacity 300ms; }
.card:hover img { opacity: .85; }
.card__name, .card__price { display: block; font-weight: 700; }
.card__name { margin-top: 8px; }

.notfound { margin: calc(var(--bar-h) + 48px) var(--gutter); display: grid; gap: 16px; justify-items: start; }

.checkout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px;
  margin: var(--bar-h) var(--gutter) 0; padding: 29px 0 120px; border-top: 1px solid #000;
}
.checkout__form { display: grid; gap: 24px; align-content: start; max-width: 640px; }
.checkout fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.checkout legend { font-weight: 700; margin-bottom: 8px; }
.checkout label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.checkout input {
  height: 48px; padding: 0 12px; border: 1px solid #000; border-radius: 0;
  font: 700 16px var(--font); color: #000; background: #fff;
}
.checkout input:focus { outline: 2px solid #000; outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout__form .info__row { border-bottom: 1px solid #000; }
.checkout__note { font-weight: 700; min-height: 24px; }
.checkout__summary { align-self: start; position: sticky; top: calc(var(--bar-h) + 24px); }

/* cart lines (drawer + checkout summary) */
.cart-items { display: grid; gap: 16px; text-align: left; }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.cart-item__img img { width: 64px; height: 64px; object-fit: cover; display: block; background: #e6e4e1; }
.cart-item__info { display: grid; gap: 2px; }
.cart-item__name { font-weight: 700; }
.cart-item__meta { font-size: 14px; opacity: .7; }
.qty { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.qty button { width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; line-height: 1; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; padding-top: 12px; border-top: 1px solid currentColor; text-align: left; }
.cart-total--muted { border-top: 0; padding-top: 0; font-weight: 400; opacity: .7; }
.drawer .row-btn { min-height: 56px; border: 1px solid currentColor; }
.row-btn--light:hover { background: #fff; color: #000; }
.row-btn--light:hover .row-dot { background: #000; }
body.is-page .row-btn--light:hover { background: #000; color: #fff; }
body.is-page .row-btn--light:hover .row-dot { background: #fff; }
.row-btn--light .row-dot { background: currentColor; }

/* "Product added to cart" bar (reference: black 72px bar from the top) */
.toast {
  position: fixed; top: 0; left: 0; right: 0; z-index: 85; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center;
  background: #000; color: #fff; font-size: 18px; line-height: 28px; font-weight: 600;
  transform: translateY(-100%); transition: transform 450ms var(--ease-drawer);
}
.toast.is-shown { transform: none; }

/* =====================================================================
   TABLET 768–1199px  (portrait + landscape)
   ===================================================================== */
@media (min-width: 768px) and (max-width: 1199px) {
  :root { --arrow: 44px; --dot: 26px; }
}
/* the wordmark would collide with the nav on narrow tablets (reference bug at 768px) */
@media (min-width: 768px) and (max-width: 899px) {
  .tb-link--wide { display: none; }
}

/* touch devices: the wider-than-screen render can be dragged/panned natively */
@media (hover: none) and (pointer: coarse) {
  .room-layer { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
}

/* =====================================================================
   MOBILE < 768px
   ===================================================================== */
@media (max-width: 767px) {
  :root { --dot: 24px; --arrow: 32px; }
  .only-mobile { display: initial !important; }
  .only-desktop { display: none !important; }
  .bb-arrows.only-mobile { display: flex !important; gap: 12px; }

  .room-layer { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; }

  .topbar { height: auto; padding-top: max(40px, env(safe-area-inset-top)); justify-content: center; }
  .topbar__nav, .tb-cart { display: none; }
  .wordmark { position: static; transform: none; }

  .bottombar { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .bb-link {
    height: 32px; padding: 0 8px; margin: 0; font-weight: 700;
    border: 1px solid var(--muted); color: var(--muted);
    background: rgba(0,0,0,.08); text-shadow: none;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .bb-link.is-active { color: #fff; border-color: #fff; }
  .arrow--edge { display: none; }
  .arrow { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

  .drawer { max-width: none; }
  .phot__tip { font-size: 14px; padding: 7px 12px; }
  .product { grid-template-columns: 1fr; margin-top: 76px; padding-top: 16px; gap: 16px; }
  .info__desc { margin-top: 0; padding: 20px 0; }
  .related__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .checkout { grid-template-columns: 1fr; margin-top: 76px; gap: 32px; }
  .checkout__summary { position: static; order: -1; }
  .field-row { grid-template-columns: 1fr; }
  body.is-page .bb-link { color: #000; border-color: #000; background: rgba(255,255,255,.85); }
  .toast { height: 64px; font-size: 16px; }
  .drawer__inner { padding-bottom: 96px; }
  .drawer__close { display: block; }
  body.drawer-open .topbar { opacity: 0; }

}

/* ---------- reduced motion: stop the blinking and all fades ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .phot__ring { display: none; }
}
