/*
 * Danube Home — Flooring landing tokens.
 * Colors sampled directly from FLOORING LANDING PAGE-2026 PDF.
 * Namespaced under .dh-lp so they never fight ally's globals (embedded mode).
 */
.dh-lp {
  /* Surfaces */
  --dh-cream: #f2eeeb; /* header + alternating sections */
  --dh-cream-2: #efe9df;
  --dh-white: #ffffff;
  --dh-est-grey: #f4f3f1; /* estimator card */
  --dh-est-grey-2: #e4e3e0; /* estimator result panel */

  /* Brand accents (sampled) */
  --dh-taupe: #806941; /* hero split panel */
  --dh-olive: #b09657; /* highlighted stat card */
  --dh-orange: #cf691c; /* promo band */
  --dh-rust: #c1632b; /* product-card titles */
  --dh-display: #8a6a3f; /* Playfair section headings */
  --dh-copper: #c0854f; /* final-CTA button */
  --dh-tan: #c19a6b; /* final-CTA heading */
  --dh-star: #eea41f;

  --dh-ink: #1b1a18; /* dark buttons */
  --dh-black: #121212; /* final CTA bg */
  --dh-text: #24231f;
  --dh-text-muted: #6f6b64;
  --dh-line: rgba(35, 33, 30, 0.14);

  /* Type */
  --dh-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --dh-font-display: 'Playfair Display', Georgia, serif;
  --dh-fw-light: 300;
  --dh-fw-regular: 400;
  --dh-fw-medium: 500;
  --dh-fw-semibold: 600;
  --dh-fw-bold: 700;

  /* Rhythm */
  --dh-radius: 16px;
  --dh-radius-lg: 24px;
  --dh-shadow-sm: 0 6px 20px rgba(35, 33, 30, 0.07);
  --dh-width: 90%; /* .dh-wrap width — override per breakpoint (e.g. 90%) */
  --dh-maxw: 1920px; /* .dh-wrap max-width — override per breakpoint */
  --dh-gutter: clamp(18px, 4vw, 48px);
  --dh-section-y: clamp(24px, 3vw, 56px);
}

/* =====================================================================
   Danube Home — Wall Art Edit landing.
   Port of the approved HTML demo (danube-wall-art.vercel.app): a storefront
   landing — a runway video hero, then merchandised rows on one ivory wall;
   black for type and frames, red only where the eye should land.

   Self-contained: loaded with theme.css only (see config/pages.mjs). Every
   class is namespaced .dhw-* and the tokens live on .dhw, so nothing here
   reaches ally's DOM in embedded mode. Scroll/entrance motion is driven by
   wall-art-anim.js (GSAP) — no hidden-until-revealed state lives in this
   file, so content stays visible if GSAP fails to load.

   Hover lifts use the individual `translate` property (not `transform`) so
   they never fight GSAP, which owns `transform` on the same elements.
   ===================================================================== */

.dhw {
  --ivory: #F3EEE6; --ivory-2: #EBE4D8; --ivory-3: #E2D9CA; --wall: #F7F3EC;
  --ink: #121212; --ink-2: #4A463F; --ink-3: #8A847A; --line: rgba(18,18,18,.14);
  --red: #D7261E; --sale: #B23634; --green: #2E7D4F; --white: #FFFFFF;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1); --ease-out: cubic-bezier(.16,1,.3,1);
  --max: 1440px; --r: 4px;
  /* Top offset for the sticky filter bar. */
  --sticky: 48px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Button/link/media resets are wrapped in :where() so they carry element-level
   specificity only — otherwise `.dhw button` (0,1,1) would beat every
   single-class component rule below (.dhw-btn, .dhw-tab, .dhw-chip…). */
.dhw, .dhw * { box-sizing: border-box; }
:where(.dhw) :where(img, video) { display: block; max-width: 100%; }
:where(.dhw) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.dhw) a { color: inherit; text-decoration: none; }
/* Headings and paragraphs, by contrast, need real specificity: ally's
   global.scss styles bare h1–h6 (color: var(--primary), its own line-height
   and weight) and p (font-size/line-height), which a :where() reset can't
   beat. The weight/spacing/line-height set here are only overridden by
   page rules that name the element (`.dhw-set__cap h3`, `.dhw-offer h3`…)
   or carry two classes (`.dhw .dhw-hero__title`). */
.dhw :is(h1, h2, h3, h4) { margin: 0; color: inherit; font-weight: 300; letter-spacing: -.025em; text-wrap: balance; line-height: 1.05; }
.dhw p { margin: 0; line-height: inherit; }
/* Lock the viewport only: ally sets html, body { height: 100% }, so clipping
   body would cut the page to one screen and jump it to the top. */
html.dhw-lock { overflow: hidden; }
html.dhw-lock .dhw-scrim, .dhw-sheet { overscroll-behavior: contain; touch-action: none; }
.dhw-sheet__opts { touch-action: pan-y; }

/* RTL: mirror directional arrow icons. */
.dhw-flip { display: inline-flex; }
.dhw[dir="rtl"] .dhw-flip > svg { transform: scaleX(-1); }
.dhw[dir="rtl"] .dhw-arrows svg, .dhw[dir="rtl"] .dhw-scene__back svg { transform: scaleX(-1); }
.dhw[dir="rtl"] h1, .dhw[dir="rtl"] h2, .dhw[dir="rtl"] h3 { letter-spacing: 0; }

.dhw-wrap { width: 100%; margin-inline: auto; padding-inline: 16px; }
/* ally's content-wrapper width only on desktop; mobile/tablet run full width. */
@media (min-width: 1025px) { .dhw-wrap { width: var(--content-wrapper-width); max-width: var(--content-wrapper-max-width); } }
/* @media (min-width: 761px) { .dhw-wrap { padding-inline: 32px; } } */
.dhw-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.dhw[dir="rtl"] .dhw-eyebrow { letter-spacing: 0; font-size: 13px; }
.dhw-h { font-size: clamp(30px, 3.8vw, 52px); }
.dhw-lead { font-size: clamp(15px, 1.15vw, 17px); font-weight: 300; color: var(--ink-2); max-width: 40ch; }
.dhw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.dhw-btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--ivory); font-weight: 600; font-size: 14px; transition: translate .35s var(--ease-out), background .3s, color .3s; white-space: nowrap; }
.dhw-btn svg { width: 16px; height: 16px; transition: translate .35s var(--ease-out); }
/* Waiting on the app cart (wall-art.js appAdd): label fades, spinner shows. */
.dhw-btn.is-busy { position: relative; color: transparent; pointer-events: none; }
.dhw-btn.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ivory); border-top-color: transparent; animation: dhw-spin .7s linear infinite; }
.dhw-btn--ghost.is-busy::after, .dhw-btn--light.is-busy::after { border-color: var(--ink); border-top-color: transparent; }
@keyframes dhw-spin { to { transform: rotate(360deg); } }
/* Hover effects (lifts, zooms, room-image swaps) only with a real mouse;
   on touch a tap would leave them stuck on. */
@media (hover: hover) and (pointer: fine) { .dhw-btn:hover { background: var(--red); translate: 0 -1px; } }
@media (hover: hover) and (pointer: fine) { .dhw-btn:hover svg { translate: 4px 0; } }
@media (hover: hover) and (pointer: fine) { .dhw[dir="rtl"] .dhw-btn:hover svg { translate: -4px 0; } }
.dhw-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (hover: hover) and (pointer: fine) { .dhw-btn--ghost:hover { background: var(--ink); color: var(--ivory); } }
.dhw-btn--light { background: var(--ivory); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .dhw-btn--light:hover { background: var(--red); color: var(--white); } }
.dhw-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; white-space: nowrap; }
.dhw-link svg { width: 14px; height: 14px; transition: translate .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .dhw-link:hover svg { translate: 4px 0; } }
@media (hover: hover) and (pointer: fine) { .dhw[dir="rtl"] .dhw-link:hover svg { translate: -4px 0; } }

.dhw-sec { padding-block: clamp(56px, 6.5vw, 96px); }
.dhw-sec--alt { background: var(--ivory-2); }
.dhw-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.dhw-sec-head .dhw-eyebrow { margin-bottom: 12px; }


/* ---------- hero: the runway ---------- */
.dhw-hero { position: relative; height: clamp(650px, 83vh, 810px); background: var(--ink); overflow: hidden; color: var(--ivory); }
.dhw-hero__vid, .dhw-hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.dhw-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.72) 0%, rgba(10,9,8,.42) 34%, rgba(10,9,8,0) 62%), linear-gradient(180deg, rgba(10,9,8,.25), transparent 35%, transparent 75%, rgba(10,9,8,.3)); pointer-events: none; }
.dhw[dir="rtl"] .dhw-hero::after { background: linear-gradient(270deg, rgba(10,9,8,.72) 0%, rgba(10,9,8,.42) 34%, rgba(10,9,8,0) 62%), linear-gradient(180deg, rgba(10,9,8,.25), transparent 35%, transparent 75%, rgba(10,9,8,.3)); }
.dhw-hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding-block: clamp(40px, 6vh, 72px) 40px; }
/* Colours are set explicitly (not inherited) so ally's global h1/p/strong
   colours can't override them in embedded mode. */
.dhw .dhw-hero__title { color: var(--ivory); font-size: clamp(36px, 4.6vw, 64px); font-weight: 200; letter-spacing: -.03em; margin: 14px 0 30px; max-width: 12ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.dhw .dhw-hero__title strong, .dhw .dhw-hero__title em { color: var(--ivory); }
.dhw-hero__title strong { font-weight: 700; letter-spacing: -.035em; }
.dhw-hero__title em { font-family: "Sacramento", cursive; font-style: normal; font-weight: 400; font-size: 1.6em; line-height: .9; letter-spacing: 0; display: inline-block; margin-inline-start: .06em; transform: translateY(.06em); }
.dhw[dir="rtl"] .dhw-hero__title em { font-family: inherit; font-size: 1em; font-weight: 700; color: var(--red); transform: none; }
/* Overflow mask for the word-rise entrance (wall-art-anim.js). */
.dhw-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.dhw-w:has(em) { padding: .2em .2em .35em 0; margin: -.2em 0 -.35em; }
.dhw-w > span { display: inline-block; }
.dhw .dhw-hero__text { max-width: 38ch; color: var(--ivory); text-shadow: 0 1px 12px rgba(0,0,0,.45); font-weight: 400; font-size: clamp(14px, 1.05vw, 16px); margin: 0 0 22px; }
.dhw-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.dhw-hero__strip { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 14px 32px calc(14px + env(safe-area-inset-bottom, 0px)); }
.dhw-hero__mute { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory); padding: 8px 12px; border-radius: 999px; background: rgba(243,238,230,.12); backdrop-filter: blur(6px); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; transition: background .3s; }
@media (hover: hover) and (pointer: fine) { .dhw-hero__mute:hover { background: rgba(243,238,230,.25); } }
.dhw-hero__mute svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
@media (max-width: 760px) {
  .dhw-hero { height: 620px; }
  .dhw-hero::after, .dhw[dir="rtl"] .dhw-hero::after { background: linear-gradient(180deg, rgba(10,9,8,.05), rgba(10,9,8,.2) 30%, rgba(10,9,8,.7) 55%, rgba(10,9,8,.92) 100%); }
  .dhw-hero__inner { align-items: center; text-align: center; justify-content: flex-end; padding-bottom: 64px; }
  .dhw .dhw-hero__title { font-weight: 600; max-width: 12ch; margin-bottom: 22px; }
  .dhw .dhw-hero__text { margin-inline: auto; }
  .dhw-hero__cta { justify-content: center; }
  .dhw-hero__strip { display: none; }
}

/* ---------- categories ---------- */
.dhw-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.dhw-cat { position: relative; display: block; min-width: 0; }
.dhw-cat__ph { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--r); background: var(--ivory-3); box-shadow: 0 30px 50px -30px rgba(18,18,18,.55); transition: translate .6s var(--ease-out), box-shadow .6s; }
@media (hover: hover) and (pointer: fine) { .dhw-cat:hover .dhw-cat__ph { translate: 0 -6px; box-shadow: 0 40px 60px -28px rgba(18,18,18,.6); } }
.dhw-cat__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out), opacity .7s; }
.dhw-cat__b { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .dhw-cat:hover .dhw-cat__a { scale: 1.05; } }
@media (hover: hover) and (pointer: fine) { .dhw-cat:hover .dhw-cat__b { opacity: 1; } }
.dhw-cat__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,18,18,.74)); }
.dhw-cat__lbl { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 0 18px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; color: var(--ivory); }
.dhw-cat__lbl b { display: block; font-weight: 500; font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -.015em; line-height: 1.1; }
.dhw-cat__ar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(243,238,230,.18); backdrop-filter: blur(6px); transition: background .35s var(--ease-out); flex: none; }
@media (hover: hover) and (pointer: fine) { .dhw-cat:hover .dhw-cat__ar { background: var(--red); } }
.dhw-cat__ar svg { width: 16px; height: 16px; }
@media (max-width: 1000px) { .dhw-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .dhw-cats { grid-auto-flow: column; grid-template-columns: none; grid-template-rows: auto auto; grid-auto-columns: calc((100% - 12px) / 2.1); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; padding-bottom: 4px; }
  .dhw-cats::-webkit-scrollbar { display: none; }
  .dhw-cat { scroll-snap-align: start; }
  .dhw-cat__lbl { padding: 0 12px 14px; }
  .dhw-cat__lbl b { font-size: 17px; }
  .dhw-cat__ar { display: none; }
}

/* ---------- spaces ---------- */
.dhw-spaces .dhw-sec-head { flex-direction: column; align-items: flex-end; text-align: end; gap: 12px; }
.dhw-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 22px; justify-content: flex-end; }
.dhw-tab { padding: 11px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: background .35s var(--ease-out), color .35s; }
@media (hover: hover) and (pointer: fine) { .dhw-tab:hover { color: var(--ink); } }
.dhw-tab.is-on { background: var(--ink); color: var(--ivory); }
.dhw-space-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: stretch; }
.dhw-scene { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--ivory-3); }
.dhw-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.03; transition: opacity .9s ease, scale 1.5s var(--ease-out); }
.dhw-scene > img.is-on { opacity: 1; scale: 1; }
.dhw-scene__view { position: absolute; inset-inline-end: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 12px; padding-block: 12px; padding-inline: 18px 14px; border-radius: 999px; background: var(--ivory); color: var(--ink); font-weight: 600; font-size: 13px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.5); transition: translate .4s var(--ease-out); max-width: calc(100% - 32px); }
.dhw-scene__view span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dhw-scene__view i { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-items: center; flex: none; font-style: normal; transition: background .3s; }
.dhw-scene__view i svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .dhw-scene__view:hover { translate: 0 -2px; } }
@media (hover: hover) and (pointer: fine) { .dhw-scene__view:hover i { background: var(--red); } }
.dhw-scene__back { position: absolute; inset-inline-start: 16px; top: 16px; z-index: 3; padding: 9px 14px; border-radius: 999px; background: rgba(243,238,230,.9); font-size: 12px; font-weight: 600; display: none; gap: 8px; align-items: center; }
.dhw-scene__back.is-show { display: inline-flex; }
.dhw-scene__back svg, .dhw-arrows svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.dhw-space-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; justify-content: center; text-align: end; align-items: flex-end; }
.dhw-space-side h3 { font-size: clamp(26px, 2.8vw, 38px); }
.dhw-space-side p { color: var(--ink-2); max-width: 40ch; font-size: 15px; }
.dhw-also { margin-top: 22px; width: 100%; }
.dhw-also .dhw-eyebrow { margin-bottom: 12px; }
.dhw-viewall { margin-top: 16px; }
.dhw-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dhw-thumbs button { aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--ivory-3); position: relative; transition: box-shadow .3s; }
.dhw-thumbs button.is-on { box-shadow: 0 0 0 2px var(--ink); }
.dhw-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .dhw-thumbs button:hover img { scale: 1.06; } }
.dhw-thumbs__nm { position: absolute; inset-inline: 0; bottom: 0; padding: 8px; font-size: 11px; background: linear-gradient(transparent, rgba(18,18,18,.7)); color: var(--ivory); text-align: start; line-height: 1.3; }
@media (max-width: 900px) {
  .dhw-space-grid { grid-template-columns: 1fr; }
  .dhw-space-side { text-align: start; align-items: flex-start; }
  .dhw-spaces .dhw-sec-head { align-items: flex-start; text-align: start; }
  .dhw-tabs { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .dhw-spaces .dhw-lead, .dhw-space-side h3, .dhw-space-side p { display: none; }
  .dhw-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .dhw-tabs::-webkit-scrollbar { display: none; }
  .dhw-tab { flex: none; }
}

/* ---------- best-seller rail ---------- */
/* Forced LTR so scrollLeft maths is the same in both languages; cards
   flip back to the page direction. */
.dhw-rail { display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 6px; direction: ltr; }
.dhw-rail::-webkit-scrollbar { display: none; }
.dhw-rail > * { flex: 0 0 calc((100% - 72px) / 5); min-width: 0; }
.dhw[dir="rtl"] .dhw-rail > * { direction: rtl; }
/* The LTR lock is only for the looping auto-scroll; a rail with too few
   pieces to scroll (wall-art.js marks it static) lines up from the right. */
.dhw[dir="rtl"] .dhw-rail[data-dhw-static] { direction: rtl; }
@media (max-width: 1100px) { .dhw-rail > * { flex-basis: calc((100% - 36px) / 3); } }
@media (max-width: 760px) { .dhw-rail > * { flex-basis: calc((100% - 12px) / 2); } .dhw-rail { gap: 12px; } }
.dhw-arrows { display: flex; gap: 8px; }
.dhw-arrows button { width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: background .3s, color .3s, box-shadow .3s; }
@media (hover: hover) and (pointer: fine) { .dhw-arrows button:hover { background: var(--ink); color: var(--ivory); box-shadow: none; } }
.dhw-arrows svg { width: 16px; height: 16px; }

/* ---------- product card ---------- */
.dhw-card { position: relative; min-width: 0; background: var(--white); border-radius: 8px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .4s, translate .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .dhw-card:hover { box-shadow: 0 0 0 1px var(--line), 0 24px 44px -28px rgba(18,18,18,.45); translate: 0 -3px; } }
.dhw-card[hidden] { display: none; }
/* wall-art.js hides unlisted pieces' tiles/chips/offers/sections with [hidden]. */
.dhw [hidden] { display: none !important; }
/* Product sections only show once wall-art.js has the live catalogue
   (data-dhw-live="pending" → "ready"); until then the hero is followed by a
   shimmering skeleton of the collection. */
.dhw[data-dhw-live="pending"] .dhw-sec:not(.dhw-skel) { display: none; }
.dhw:not([data-dhw-live="pending"]) .dhw-skel { display: none; }

/* ---------- loading skeleton ---------- */
.dhw-skel__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(24px, 3vw, 40px); }
.dhw-skel__chips { display: flex; gap: 8px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); overflow: hidden; }
/* Same columns as .dhw-grid (own class so wall-art-anim.js's .dhw-grid reveal
   targets the real collection). */
.dhw-skel__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
@media (max-width: 1100px) { .dhw-skel__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .dhw-skel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
.dhw-skel__card { display: flex; flex-direction: column; gap: 8px; background: var(--white); border-radius: 8px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; padding-bottom: 12px; }
.dhw-skel__card > .dhw-skel__bar { margin-inline: 12px; }
.dhw-skel__ph, .dhw-skel__bar {
  display: block;
  background: linear-gradient(100deg, var(--ivory-2) 30%, var(--wall) 50%, var(--ivory-2) 70%) var(--ivory-2);
  background-size: 300% 100%;
  animation: dhw-shimmer 1.4s linear infinite;
}
.dhw-skel__ph { aspect-ratio: 1; margin-bottom: 4px; }
.dhw-skel__bar { height: 12px; border-radius: 6px; }
.dhw-skel__bar--eyebrow { width: 120px; height: 10px; }
.dhw-skel__bar--title { width: min(320px, 70%); height: clamp(32px, 4vw, 48px); border-radius: 8px; }
.dhw-skel__bar--chip { flex: 0 0 auto; width: 88px; height: 34px; border-radius: 999px; }
.dhw-skel__bar--cat { width: 35%; height: 10px; }
.dhw-skel__bar--name { width: 80%; }
.dhw-skel__bar--price { width: 45%; height: 16px; }
.dhw-skel__bar--pill { height: 34px; border-radius: 999px; margin-top: 6px; }
@keyframes dhw-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .dhw-skel__ph, .dhw-skel__bar { animation: none; } }
/* Re-render entrance after filter/sort/show-more (initial reveal is GSAP). */
.dhw-card.is-enter { animation: dhw-cardin .7s var(--ease-out) both; }
@keyframes dhw-cardin { from { opacity: 0; translate: 0 16px; } }
.dhw-card__ph { position: relative; aspect-ratio: 1; overflow: hidden; background: #F6F3EE; cursor: pointer; }
.dhw-card__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease, scale 1.2s var(--ease-out); }
.dhw-card__room { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .dhw-card:hover .dhw-card__room { opacity: 1; } }
@media (hover: hover) and (pointer: fine) { .dhw-card:hover .dhw-card__art { scale: 1.03; } }
.dhw-card__badge, .dhw-card__tag { position: absolute; inset-inline-start: 0; top: 12px; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-block: 5px; padding-inline: 12px 10px; color: #fff; border-start-end-radius: 3px; border-end-end-radius: 3px; }
.dhw-card__badge { background: #C27540; }
.dhw-card__badge--sale { background: var(--red); }
/* Marketplace seller (same label as ally's cards), stacked under the % badge. */
.dhw-card__badge--mp { background: var(--ink); }
.dhw-card__badge--sale + .dhw-card__badge--mp { top: 42px; }
.dhw-card__tag { background: var(--ink); }
.dhw-card__wish { position: absolute; inset-inline-end: 8px; top: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); z-index: 2; transition: scale .3s var(--ease-out); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
@media (hover: hover) and (pointer: fine) { .dhw-card__wish:hover { scale: 1.08; } }
.dhw-card__wish svg, .dhw-modal__wishb svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.6; transition: fill .3s, stroke .3s; }
.dhw-card__wish.is-on svg, .dhw-modal__wishb.is-on svg { fill: var(--red); stroke: var(--red); }
.dhw-card__qv { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 10px); height: 34px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: transform .4s var(--ease-out), opacity .4s; z-index: 2; box-shadow: 0 6px 16px rgba(0,0,0,.12); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .dhw-card:hover .dhw-card__qv { transform: translate(-50%, 0); opacity: 1; } }
@media (hover: none), (pointer: coarse) { .dhw-card__qv { opacity: 1; transform: translate(-50%, 0); } }
.dhw-card__info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.dhw-card__cat { font-size: 10px; color: #666; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.dhw-card__nm { font-size: 13px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dhw-card__pr { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; font-variant-numeric: tabular-nums; }
.dhw-card__now { font-size: 16px; font-weight: 700; color: var(--sale); }
.dhw-card__pr s { font-size: 12px; }
.dhw-card__save { font-size: 11px; color: var(--green); font-weight: 600; }
.dhw-card__shop { margin-top: auto; padding-top: 8px; display: flex; }
.dhw-card__pill { height: 34px; padding: 0 16px; width: 100%; justify-content: center; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background .3s; }
@media (hover: hover) and (pointer: fine) { .dhw-card__pill:hover { background: var(--red); color: #fff; } }
.dhw-card__pill { text-decoration: none; }
.dhw-card__ph[data-dhw-act] { cursor: pointer; }
.dhw-card__pill svg { width: 14px; height: 14px; }
.dhw[dir="rtl"] .dhw-card__pill svg { transform: scaleX(-1); }

/* ---------- texture compare ---------- */
.dhw-texture__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.dhw-texture__copy .dhw-h { margin: 16px 0 18px; }
/* Physical slider: always LTR, regardless of page direction. */
.dhw-cmp { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--ivory-3); user-select: none; touch-action: none; cursor: ew-resize; direction: ltr; --pos: 50%; }
.dhw-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.dhw-cmp__top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.dhw-cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--ivory); box-shadow: 0 0 0 1px rgba(0,0,0,.15); translate: -50% 0; }
.dhw-cmp__knob { position: absolute; top: 50%; left: var(--pos); translate: -50% -50%; width: 54px; height: 54px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); }
.dhw-cmp__knob svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.dhw-cmp__cap { position: absolute; bottom: 14px; padding: 6px 10px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; background: rgba(243,238,230,.9); }
.dhw-cmp__cap--l { left: 14px; } .dhw-cmp__cap--r { right: 14px; }
.dhw-swatches { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.dhw-swatches button { width: 60px; height: 60px; overflow: hidden; border-radius: var(--r); opacity: .55; transition: opacity .3s, translate .3s var(--ease-out); }
.dhw-swatches button.is-on { opacity: 1; box-shadow: 0 0 0 1px var(--ink); }
@media (hover: hover) and (pointer: fine) { .dhw-swatches button:hover { opacity: 1; translate: 0 -2px; } }
.dhw-swatches img { width: 100%; height: 100%; object-fit: cover; }
.dhw-texpiece { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px; background: var(--white); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.dhw-texpiece b { display: block; font-weight: 600; font-size: 15px; }
.dhw-texpiece small { color: var(--ink-3); font-size: 12px; }
.dhw-texpiece__pr { font-size: 16px; font-weight: 600; margin-top: 2px; }
.dhw-texpiece__acts { display: flex; gap: 8px; }
.dhw-texpiece .dhw-btn { padding: 11px 16px; font-size: 12px; }
@media (max-width: 900px) {
  .dhw-texture__grid { grid-template-columns: 1fr; }
  .dhw-texture__copy { display: contents; }
  .dhw-texture__copy > .dhw-eyebrow { order: 1; } .dhw-texture__copy > .dhw-h { order: 2; } .dhw-texture__copy > .dhw-lead { order: 3; }
  .dhw-cmp { order: 4; }
  .dhw-swatches { order: 5; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding-inline: 16px; }
  .dhw-swatches::-webkit-scrollbar { display: none; }
  .dhw-swatches button { flex: none; }
  .dhw-texpiece { order: 6; margin-top: 0; }
}

/* ---------- offers ---------- */
.dhw-offers { padding-top: 0; }
.dhw-offers__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* Only one banner live (wall-art.js): it spans the row. */
.dhw-offers__row.is-single { grid-template-columns: 1fr; }
.dhw-offer { position: relative; overflow: hidden; border-radius: var(--r); min-height: clamp(340px, 32vw, 440px); display: flex; align-items: flex-end; padding: clamp(24px, 3vw, 40px); color: var(--ivory); background: var(--ink); }
@media (hover: hover) and (pointer: fine) { .dhw-offer:hover {  color: #fff; } }
.dhw-offer > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; translate: 0 var(--dhw-py, 0%); transition: scale 1.4s var(--ease-out); }
.dhw-offer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,.05) 30%, rgba(10,9,8,.78)); }
@media (hover: hover) and (pointer: fine) { .dhw-offer:hover > img { scale: 1.06; } }
.dhw-offer__c { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%; }
.dhw-offer .dhw-eyebrow { color: rgba(243,238,230,.8); margin-bottom: 10px; }
.dhw-offer h3 { font-size: clamp(30px, 3.6vw, 54px); font-weight: 200; letter-spacing: -.03em; }
.dhw-offer h3 b { font-weight: 600; }
.dhw-offer .dhw-btn { flex: none; }
.dhw-offer .dhw-eyebrow i { display: inline-block; background: var(--red); color: #fff; font-style: normal; padding: 4px 8px; margin-inline-end: 8px; letter-spacing: .14em; }
@media (max-width: 760px) {
  .dhw-offers__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .dhw-offers__row::-webkit-scrollbar { display: none; }
  .dhw-offer { flex: 0 0 calc((100% - 12px) / 1.7); scroll-snap-align: start; min-height: 0; padding: 0; display: block; background: var(--white); color: var(--ink); }
  .dhw-offers__row.is-single .dhw-offer { flex-basis: 100%; }
  .dhw-offer > img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 4/3; }
  .dhw-offer::after { display: none; }
  .dhw-offer__c { display: block; padding: 14px 14px 16px; }
  .dhw-offer .dhw-eyebrow { color: var(--ink-3); margin-bottom: 6px; }
  .dhw-offer h3 { font-size: 22px; line-height: 1.1; }
  .dhw-offer .dhw-btn { margin-top: 12px; padding: 9px 14px; font-size: 12px; background: var(--ink); color: var(--ivory); }
}

/* ---------- shop by size ---------- */
.dhw-szgrid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.dhw-szcard { background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(18,18,18,.06); transition: translate .5s var(--ease-out), box-shadow .5s; }
@media (hover: hover) and (pointer: fine) { .dhw-szcard:hover { translate: 0 -4px; box-shadow: 0 30px 50px -30px rgba(18,18,18,.45); } }
.dhw-szcard__ph { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ivory-3); }
.dhw-szcard__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .dhw-szcard:hover .dhw-szcard__ph img { scale: 1.04; } }
.dhw-szcard__c { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dhw-szcard__ttl { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dhw-szcard__ttl b { font-size: clamp(20px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.dhw-szcard__rng { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.dhw-szcard__fits { font-size: 12px; color: var(--ink-3); line-height: 1.5; margin-top: 4px; }
.dhw-szcard__go { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dhw-szcard__go svg { width: 16px; height: 16px; transition: translate .3s; }
@media (hover: hover) and (pointer: fine) { .dhw-szcard:hover .dhw-szcard__go svg { translate: 4px 0; } }
@media (hover: hover) and (pointer: fine) { .dhw[dir="rtl"] .dhw-szcard:hover .dhw-szcard__go svg { translate: -4px 0; } }
/* Size with no pieces in the collection: shown, dimmed, not clickable. The
   contents are dimmed (not the card) so the GSAP rise's autoAlpha can't undo it. */
.dhw-szcard.is-off { cursor: not-allowed; translate: none; box-shadow: 0 1px 0 rgba(18,18,18,.06); }
.dhw-szcard.is-off > * { opacity: .5; }
.dhw-szcard.is-off .dhw-szcard__ph img { scale: none; filter: grayscale(.6); }
.dhw .dhw-szcard.is-off .dhw-szcard__go svg, .dhw[dir="rtl"] .dhw-szcard.is-off .dhw-szcard__go svg { translate: none; }
.dhw-szrule { margin-top: 28px; display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--ink-2); padding: 16px 20px; background: #fff; border-radius: var(--r); }
.dhw-szrule svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.5; flex: none; }
.dhw-szrule b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .dhw-szgrid { grid-auto-columns: calc((100% - 12px) / 1.6); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; padding-bottom: 4px; }
  .dhw-szcard { scroll-snap-align: start; }
  .dhw-szcard__c { padding: 12px 14px 14px; }
  .dhw-szcard__ttl b { font-size: 18px; }
  .dhw-szcard__go { font-size: 10px; letter-spacing: .08em; }
}

/* ---------- sets ---------- */
/* A scroll row: three cards a view with arrows on desktop, plain swipe on
   mobile. The block padding (offset by negative margin) leaves room for the
   hover lift and shadow, which overflow-x would otherwise clip. */
.dhw-sets__side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.dhw-sets__row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-block: 8px 48px; margin-block: -8px -48px; }
.dhw-sets__row::-webkit-scrollbar { display: none; }
.dhw-sets__row > * { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
.dhw-arrows button:disabled { opacity: .35; pointer-events: none; }
.dhw-set { position: relative; overflow: hidden; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 1px var(--line); cursor: pointer; display: flex; flex-direction: column; transition: translate .5s var(--ease-out), box-shadow .5s; }
@media (hover: hover) and (pointer: fine) { .dhw-set:hover { translate: 0 -4px; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(18,18,18,.5); } }
.dhw-set__ph { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ivory-2); }
.dhw-set__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .dhw-set:hover .dhw-set__ph img { scale: 1.05; } }
.dhw-set__cap { padding: 16px 18px 18px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.dhw-set__cap .dhw-eyebrow { grid-column: 1/-1; margin-bottom: 2px; }
.dhw-set__cap h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.dhw-set__pr { font-size: 17px; font-weight: 700; color: var(--sale); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: end; }
.dhw-set__pr small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; }
.dhw-set__pill { grid-column: 1/-1; margin-top: 10px; height: 38px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; transition: background .3s; }
@media (hover: hover) and (pointer: fine) { .dhw-set:hover .dhw-set__pill { background: var(--red); } }
@media (max-width: 1024px) { .dhw-sets__row > * { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 760px) {
  .dhw-sets__side { align-items: flex-start; }
  .dhw-sets__side .dhw-arrows { display: none; }
  .dhw-sets__row { gap: 12px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .dhw-sets__row > * { flex-basis: calc((100% - 12px) / 1.3); }
}

/* ---------- collection ---------- */
/* Same background as the sets row above it, whose bottom padding already
   spaces it — but wall-art.js hides that row when no set is listed. */
.dhw-sets:not([hidden]) + .dhw-collection { padding-top: 0; }
.dhw-filters { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: sticky; top: var(--sticky); z-index: 3; background: color-mix(in srgb, var(--ivory) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 12px 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
/* No ally header above the page in the app webview (?isApp=1). */
.dh-app .dhw-filters { top: 0; }
.dhw-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; flex: 1; min-width: 0; }
.dhw-chips::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) {
  .dhw-chips { cursor: grab; }
  .dhw-chips.is-dragging { cursor: grabbing; user-select: none; }
  .dhw-chips.is-dragging .dhw-chip { pointer-events: none; }
}
.dhw-chip { flex: none; padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s var(--ease-out), color .3s, box-shadow .3s; }
@media (hover: hover) and (pointer: fine) { .dhw-chip:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); } }
.dhw-chip.is-on { background: var(--ink); color: var(--ivory); box-shadow: none; }
.dhw-chip i { font-style: normal; opacity: .55; margin-inline-start: 6px; font-size: 11px; }
.dhw-sortrow { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.dhw-sortrow select { font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 4px 0; cursor: pointer; }
/* Mobile/tablet sort: sticky pill (pinned while the collection is on screen) + bottom sheet. */
.dhw-modal:focus, .dhw-sheet:focus { outline: none; }
.dhw-sortbar { display: none; }
.dhw-sheet { display: none; }
@media (max-width: 1024px) {
  .dhw-sortrow select, .dhw-sortrow .dhw-sr { display: none; }
  .dhw-sortbar { display: flex; justify-content: center; position: sticky; bottom: calc(16px + max(var(--dhw-nav, 0px), env(safe-area-inset-bottom, 0px))); z-index: 5; margin-top: 24px; pointer-events: none; }
  .dhw-sortfab { pointer-events: auto; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding-inline: 28px 32px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 16px; font-weight: 500; box-shadow: 0 10px 28px -12px rgba(18,18,18,.55); transition: scale .2s var(--ease-out); }
  .dhw-sortfab:active { scale: .97; }
  .dhw-sortfab svg { width: 20px; height: 20px; fill: currentColor; }
  .dhw-sheet { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 1020; max-height: 85vh; overflow: auto; background: var(--white); color: var(--ink); border-radius: 16px 16px 0 0; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s; }
  .dhw-sheet.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease-out); }
  .dhw-sheet__head { position: relative; display: flex; align-items: center; justify-content: center; min-height: 60px; padding-inline: 56px; border-bottom: 1px solid var(--line); }
  .dhw-sheet__head h3 { margin: 0; font-size: 18px; font-weight: 600; }
  .dhw-sheet__x { position: absolute; inset-inline-end: 10px; top: 50%; translate: 0 -50%; color: var(--ink-2); }
  .dhw-sheet__opts { display: flex; flex-direction: column; padding: 8px 0; }
  .dhw-sheet__opt { display: flex; align-items: center; gap: 14px; padding: 14px 24px; font-size: 16px; color: var(--ink-2); cursor: pointer; }
  .dhw-sheet__opt input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; cursor: pointer; }
  .dhw-sheet__opt input::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); scale: 0; transition: scale .2s var(--ease-out); }
  .dhw-sheet__opt input:checked::after { scale: 1; }
  .dhw-sheet__opt input:checked + span { color: var(--ink); font-weight: 600; }
}
.dhw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
@media (max-width: 1100px) { .dhw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .dhw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
.dhw-more-row { display: flex; justify-content: center; margin-top: 44px; }
.dhw-more-row [hidden] { display: none; }
.dhw-empty { padding: 60px 0; text-align: center; color: var(--ink-3); }

/* ---------- modal / toast ---------- */
/* z-index sits above ally's header (modal.css uses 1000 for the same reason). */
.dhw-scrim { position: fixed; inset: 0; background: rgba(18,18,18,.5); z-index: 1000; opacity: 0; pointer-events: none; transition: opacity .5s; }
.dhw-scrim.is-on { opacity: 1; pointer-events: auto; }
.dhw-x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
@media (hover: hover) and (pointer: fine) { .dhw-x:hover { background: var(--ivory-2); } }
.dhw-x svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.dhw-modal { position: fixed; inset: 0; z-index: 1020; display: grid; place-items: center; padding: 20px 16px; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.dhw-modal.is-on { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .4s; }
.dhw-modal__box { position: relative; width: min(980px, 100%); max-height: min(92vh, 860px); overflow: auto; background: var(--ivory); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); transform: translateY(20px) scale(.98); transition: transform .6s var(--ease-out); border-radius: var(--r); }
.dhw-modal.is-on .dhw-modal__box { transform: none; }
.dhw-modal__x { position: absolute; inset-inline-end: 12px; top: 12px; background: rgba(243,238,230,.9); z-index: 3; }
.dhw-modal__gal { position: relative; background: var(--ivory-2); }
.dhw-modal__main { aspect-ratio: 1; overflow: hidden; position: relative; }
.dhw-modal__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.dhw-modal__main img.is-on { opacity: 1; }
.dhw-modal__th { display: flex; gap: 8px; padding: 12px; }
.dhw-modal__th button { width: 60px; height: 60px; overflow: hidden; border-radius: var(--r); opacity: .5; transition: opacity .3s; }
.dhw-modal__th button.is-on { opacity: 1; box-shadow: 0 0 0 1px var(--ink); }
.dhw-modal__th img { width: 100%; height: 100%; object-fit: cover; }
.dhw-modal__det { padding: 40px 36px 32px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.dhw-modal__det h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; margin-top: 4px; }
.dhw-modal__pr { font-size: 20px; font-variant-numeric: tabular-nums; }
.dhw-modal__pr s { font-size: 14px; color: var(--ink-3); margin-inline-start: 8px; font-weight: 300; }
.dhw-modal__det p { color: var(--ink-2); font-size: 14px; }
.dhw-modal__opt .dhw-eyebrow { margin-bottom: 10px; }
.dhw-modal__sz { display: flex; gap: 8px; flex-wrap: wrap; }
.dhw-modal__sz button { padding: 9px 14px; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; transition: background .3s, color .3s; font-variant-numeric: tabular-nums; }
.dhw-modal__sz button.is-on { background: var(--ink); color: var(--ivory); box-shadow: none; }
.dhw-modal__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dhw-modal__row .dhw-btn { flex: 1; justify-content: center; min-width: 180px; }
.dhw-modal__wishb { width: 50px; height: 50px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink); display: grid; place-items: center; }
.dhw-modal__wishb svg { width: 18px; height: 18px; }
.dhw-modal__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: 13px; color: var(--ink-2); padding-top: 18px; border-top: 1px solid var(--line); }
.dhw-modal__specs b { display: block; color: var(--ink); font-weight: 500; }
@media (max-width: 760px) {
  .dhw-modal { padding: 0; }
  .dhw-modal__box { grid-template-columns: 1fr; max-height: 100vh; height: 100%; border-radius: 0; }
  .dhw-modal__det { padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
}
.dhw-toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: var(--ivory); padding: 14px 18px 14px 14px; display: flex; align-items: center; gap: 14px; z-index: 1030; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); font-size: 13px; border-radius: var(--r); max-width: calc(100% - 32px); }
.dhw-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.dhw-toast img { width: 40px; height: 40px; object-fit: cover; }
.dhw-toast b { font-weight: 600; }
.dhw-toast button { margin-inline-start: 6px; text-decoration: underline; font-size: 12px; opacity: .8; }

@media (prefers-reduced-motion: reduce) {
  .dhw *, .dhw *::before, .dhw *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
