/*
 * 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, 36px);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@1,500;1,600;1,700&display=swap');

/* =====================================================================
   Danube Home — Flooring landing (replica of FLOORING LANDING PAGE-2026)
   Scoped under .dh-lp for safe injection into ally (embedded mode).
   Mobile-first; desktop in min-width media queries.
   ===================================================================== */
.dh-lp, .dh-lp * { box-sizing: border-box; }
.dh-lp {
  font-family: var(--dh-font);
  color: var(--dh-text);
  line-height: 1.55;
  background: var(--dh-cream);
  -webkit-font-smoothing: antialiased;
}
.dh-lp img { max-width: 100%; display: block; }
/* .dh-lp p { margin: 0; } */
.dh-wrap { width: var(--dh-width, 90%); max-width: var(--dh-maxw, 1920px); margin-inline: auto; }
@media (max-width: 768px) { .dh-lp { --dh-maxw: 90%; --dh-gutter: 0px; } }
.dh-sec { padding-block: var(--dh-section-y); background: var(--dh-white); }
.dh-sec--cream { background: var(--dh-cream); }
.dh-sec--tight { padding-block: clamp(32px, 4vw, 56px); }
.dh-center { display: flex; justify-content: center; margin-top: 34px; }
.dh-center-text { text-align: center; }

/* ---------- Typography ---------- */
.dh-display {
  font-family: var(--dh-font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--dh-display);
  font-size: clamp(28px, 3.6vw, 44px);
  text-align: center;
  margin: 0;
  line-height: 1.1;
}
.dh-eyebrow {
  font-family: var(--dh-font-display);
  font-style: italic;
  color: var(--dh-display);
  text-align: center;
  font-size: clamp(var(--fs-20), 1.6vw, var(--fs-32));
  line-height: clamp(calc(var(--fs-20) * 1.2), 1.6vw, calc(var(--fs-32) * 1.2));
  margin: 0 0 4px;
}
.dh-eyebrow::before, .dh-eyebrow::after {
  content: ''; display: inline-block; width: 30px; height: 1px;
  background: currentColor; vertical-align: middle; margin: 0 12px; opacity: .7;
}
.dh-kicker { text-align: center; font-weight: var(--fw-semiBold); font-size: var(--fs-lg); margin: 0 0 4px; }
.dh-h2 { font-size: clamp(28px, 4vw, 46px);  line-height: calc(clamp(28px, 4vw, 46px) * 1.35); font-weight: var(--fw-semiBold); margin: 0; letter-spacing: -.5px; }
.dh-sub { text-align: center; color: var(--dh-text-muted); margin: 16px auto 0; font-weight: var(--fw-regular); font-size: clamp(var(--fs-16), 1.5vw, var(--fs-18)); }
.dh-sub--tight { margin-top: 6px; }
/* breathing room between a display heading and the subtitle right below it */
.dh-display + .dh-sub--tight { margin-top: 16px; }

.dh-stars { display: inline-flex; gap: 3px; color: var(--dh-star); }
.dh-stars svg { width: 32px; height: 32px; }

/* ---------- Buttons ---------- */
.dh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--dh-font); font-weight: var(--fw-regular); font-size: clamp(var(--fs-16), 1.6vw, var(--fs-20)); line-height: 1;
  padding: 20px 40px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, opacity .2s; white-space: nowrap;
}
.dh-btn--sm { padding: 11px 20px; font-size: var(--fs-lg); border-radius: 10px; }
.dh-btn:active { transform: translateY(1px); }
.dh-btn--dark { background: var(--dh-ink); color: var(--white); }
.dh-btn--dark:hover { opacity: .9; }
.dh-btn--light { background: var(--white); color: var(--dh-ink); }
.dh-btn--light:hover { background: #f4f1ea; }
.dh-btn--copper { background: var(--dh-copper); color: #1c150d; }
.dh-btn--copper:hover { opacity: .92; }
.dh-btn--wa { display: inline-flex;align-items: center; justify-content: center;  font-family: var(--dh-font); font-weight: var(--fw-regular); font-size: clamp(var(--fs-13), 1.6vw, var(--fs-20)); line-height: 1; padding:  0; ; border: 1px solid transparent; cursor: pointer; text-decoration: none;  transition: transform .15s, background .2s, opacity .2s;  white-space: nowrap;  border: 1px solid var(--primary); border-radius: var(--rounded-2);}
.dh-wa { display: inline-flex; width: 44px; height: 44px; border-radius: var(--rounded-2); background: #25d366; align-items: center; justify-content: center; }
.dh-wa svg { width: 32px; height: 32px; color: var(--white); }
.dh-wa-title {padding: 0 24px; font-weight: var(--fw-medium);}

/* WhatsApp CTA animation: idle pulse ring on the green icon, hover lift + glow,
   and a playful icon wiggle on hover. Respects reduced-motion. */
.dh-btn--wa { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.dh-btn--wa:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,211,102,.30); border-color: #25d366; }
.dh-btn--wa:active { transform: translateY(0); }
.dh-wa { position: relative; }
.dh-wa::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: dh-wa-pulse 2s ease-out infinite;
}
@keyframes dh-wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.dh-wa svg { transition: transform .3s ease; }
.dh-btn--wa:hover .dh-wa svg { animation: dh-wa-wiggle .55s ease; }
@keyframes dh-wa-wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-13deg); }
  55% { transform: rotate(10deg); }
  80% { transform: rotate(-5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .dh-wa::after, .dh-btn--wa:hover .dh-wa svg { animation: none; }
}
@media (max-width: 860px) {
  .dh-btn  { padding: 14px 28px; }
  .dh-wa-title {padding: 0 10px;}
  .dh-wa {width: 32px; height: 32px;}
  .dh-wa svg { width: 22px; height: 22px; }
}
/* ---------- Standalone header / footer ---------- */
.dh-header { position: sticky; top: 0; z-index: 50; background: var(--dh-cream); border-bottom: 1px solid var(--dh-line); }
.dh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.dh-logo { font-weight: 700; font-style: italic; color: #d21e28; font-size: clamp(19px, 2.2vw, 25px); text-decoration: none; letter-spacing: .3px; white-space: nowrap; }
.dh-logo--light { color: var(--white); }
.dh-nav { display: none; gap: 30px; }
.dh-nav a { color: var(--dh-text); text-decoration: none; font-size: 15px; font-weight: 400; }
.dh-nav a:hover { color: var(--dh-rust); }
.dh-footer { background: var(--dh-black); color: rgba(255,255,255,.68); padding-block: 44px; text-align: center; }
.dh-footer__nav { margin: 16px 0 10px; }
.dh-footer__nav a { color: rgba(255,255,255,.85); text-decoration: none; margin: 0 12px; font-size: var(--fs-lg); }
.dh-footer__copy { font-size: 13px; opacity: .7; }
@media (min-width: 992px) { .dh-nav { display: flex; } }

/* ---------- Hero ---------- */
.dh-hero { background: var(--dh-cream); }
.dh-hero__box { position: relative;  overflow: hidden; display: grid; }
.dh-hero__media { grid-area: 1 / 1; }
.dh-hero__media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.dh-hero__panel {
  grid-area: 1 / 1; z-index: 1; position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: clamp(26px, 5vw, 54px); color: var(--white);
  background: linear-gradient(90deg, rgba(28,24,16,.82) 0%, rgba(28,24,16,.5) 62%, rgba(28,24,16,.05) 100%);
}
.dh-hero__title { font-size: clamp(30px, 5vw, 52px); font-weight: 600; line-height: 1.04; margin: 0; color: var(--white); }
.dh-hero__title span { display: block; font-weight: 300; margin-top: 20px; }
.dh-hero__text { max-width: 380px; font-size: clamp(15px, 1.25vw, 17px); color: var(--white); line-height: 1.65; }
.dh-hero .dh-stars { gap: 6px; }
.dh-hero .dh-stars svg { width: 26px; height: 26px; }
.dh-hero .dh-btn { align-self: flex-start; }
@media (max-width: 860px) {
  .dh-hero .dh-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (min-width: 860px) {
  .dh-hero { padding-top: 22px; padding-bottom: 6px; }
  .dh-hero__box { grid-template-columns: 34% 66%; }
  .dh-hero__media { grid-area: 1 / 2; }
  .dh-hero__panel { grid-area: 1 / 1; background: var(--dh-taupe); }
}

/* ---------- Flooring mobile hero — full-bleed image, title/stars at top,
   solid white "Book" button pinned to the bottom (scoped to flooring so the
   shared curtains hero is untouched). Matches the FLOORING mobile banner. ---- */
/* @media (max-width: 859px) {
  [data-dh-slug="flooring"] .dh-hero__box { min-height: clamp(460px, 50vh, 620px); }
  [data-dh-slug="flooring"] .dh-hero__media,
  [data-dh-slug="flooring"] .dh-hero__media img { height: 100%; min-height: clamp(460px, 50vh, 620px); }
  [data-dh-slug="flooring"] .dh-hero__panel {
    justify-content: flex-start; gap: 14px; padding: 16px;
    background: linear-gradient(180deg, rgba(20,17,11,.45) 0%, rgba(20,17,11,.1) 32%, rgba(20,17,11,0) 58%, rgba(20,17,11,.32) 100%);
  }
  [data-dh-slug="flooring"] .dh-hero__title { font-size: clamp(28px, 8.4vw, 44px); line-height: 1.05; white-space: nowrap; }
  [data-dh-slug="flooring"] .dh-hero__title span { white-space: normal; }
  [data-dh-slug="flooring"] .dh-hero__title span { margin-top: 4px; }
  [data-dh-slug="flooring"] .dh-hero__text { display: none; }
  [data-dh-slug="flooring"] .dh-hero .dh-stars svg { width: 30px; height: 30px; }
  [data-dh-slug="flooring"] .dh-hero .dh-btn {
    align-self: stretch; margin: auto auto 0 auto;
    background: var(--white); color: #1b1a18; font-weight: 600;
    padding: 14px 28px; border-radius: 14px;
  }
} */
@media (max-width: 859px) {
 .dh-hero__box { min-height: clamp(460px, 50vh, 620px); }
  .dh-hero__media,
  .dh-hero__media img { height: 100%; min-height: clamp(460px, 50vh, 620px); }
  .dh-hero__panel {
    justify-content: flex-start; gap: 14px; padding: 16px;
    background: linear-gradient(180deg, rgba(20,17,11,.45) 0%, rgba(20,17,11,.1) 32%, rgba(20,17,11,0) 58%, rgba(20,17,11,.32) 100%);
  }
  .dh-hero__title { font-size: clamp(28px, 8.4vw, 44px); line-height: 1.05;  }
  .dh-hero__title span { white-space: normal; }
  .dh-hero__title span { margin-top: 4px; }
  .dh-hero__text { display: none; }
  .dh-hero .dh-stars svg { width: 30px; height: 30px; }
  .dh-hero .dh-btn {
    align-self: stretch; margin: auto auto 0 auto;
    background: var(--white); color: #1b1a18; font-weight: 600;
    padding: 14px 28px; border-radius: 14px;
  }
}
/* ---------- Trust bar (seamless marquee, clipped to .dh-wrap) ---------- */
.dh-trust { background: var(--dh-cream);  }
.dh-trust .dh-wrap { overflow: hidden; } /* clip the scrolling track to the container */
.dh-trust__track {
  display: flex; width: max-content;
  animation: dh-trust-marquee 30s linear infinite;
}
.dh-trust:hover .dh-trust__track { animation-play-state: paused; }
.dh-trust__group { display: flex; align-items: center; flex: 0 0 auto; padding-block: 18px; }
.dh-trust__group span {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-weight: var(--fw-regular); font-size: clamp(16px, 1.25vw, 20px); ;
}
/* separator after every item — keeps spacing even across the loop seam */
.dh-trust__group span::after {
  content: '✦'; color: var(--dh-orange);
  margin-inline: clamp(20px, 4vw, 44px);
}
@keyframes dh-trust-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .dh-trust__track { animation: none; width: 100%; justify-content: center; }
  .dh-trust__group[aria-hidden] { display: none; }
}

/* ---------- Product cards ---------- */
.dh-pcards {
  margin-top: 34px; display: grid; gap: 20px;
  grid-auto-flow: column; grid-auto-columns: 76%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.dh-btn-half-bg {
  background: var(--white);
  background: linear-gradient(0deg,rgba(255, 255, 255, 0) 50%, var(--dh-cream) 50%);
  margin-bottom: 52px;
}
.dh-pcards::-webkit-scrollbar { display: none; }
.dh-pcard { scroll-snap-align: start; background: var(--white); border-radius: var(--dh-radius); overflow: hidden; box-shadow: var(--dh-shadow-sm); text-decoration: none; color: inherit; padding: 0px; }
.dh-pcard__img { overflow: hidden; }
.dh-pcard__img img { width: 100%; height: 180px; object-fit: cover; transition: transform .4s; }
.dh-pcard:hover .dh-pcard__img img { transform: scale(1.05); }
.dh-pcard__body { padding: 14px; }
.dh-pcard__title { color: var(--dh-rust); font-weight: var(--fw-semiBold); font-size: clamp(var(--fs-18), 1.9vw, var(--fs-20)); margin-bottom: 6px; }
.dh-pcard__price { color: var(--dh-text-muted); font-size: clamp(var(--fs-lg), 1.9vw, var(--fs-18)); }
.dh-pcard__price b { color: var(--dh-text); font-weight: var(--fw-semiBold); }
@media (min-width: 860px) {
  .dh-pcards { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: unset; overflow: visible; } .dh-pcard__img img {height: 250px;}
}

/* ---------- Embla carousel (Flooring Solutions, >5 slides) ---------- */
.dh-embla { position: relative; margin-top: 34px; }
.dh-embla__viewport { overflow: hidden; }
.dh-embla__container { display: flex; gap: 14px; align-items: stretch; }
.dh-embla__slide { flex: 0 0 62%; min-width: 0; }
.dh-embla__slide:last-child {margin-right: 14px;}
@media (min-width: 560px) { .dh-embla__slide { flex-basis: 46%; } }
@media (min-width: 900px) { .dh-embla__slide { flex-basis: 30.5%; gap: 20px; } .dh-embla__slide:last-child {margin-right: 20px;} }
@media (min-width: 1200px) { .dh-embla__slide { flex-basis: 22%; } }
/* arrows */
.dh-embla__btn {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--white); color: var(--dh-ink); box-shadow: 0 8px 22px rgba(35,33,30,.18);
  display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
}
.dh-embla__btn:hover { background: var(--dh-ink); color: var(--white); }
.dh-embla__btn svg { width: 22px; height: 22px; }
.dh-embla__btn--prev { left: -10px; }
.dh-embla__btn--next { right: -10px; }
/* 5 or fewer slides → static centered row, no arrows */
.dh-embla--fit .dh-embla__container { flex-wrap: wrap; justify-content: center; }
.dh-embla--fit .dh-embla__btn { display: none; }
@media (max-width: 860px) { .dh-embla__btn { display: none; } }

/* Mobile (<900px): native 2-row scroll-snap grid — cards become 2 rows, swiped
   horizontally. Scoped to [data-dh-rows] (the product cards) so other Embla
   sliders (reviews) stay single-row. Embla isn't initialised here (carousel.js),
   so native scroll drives it. */
@media (max-width: 899px) {
  [data-dh-rows] .dh-embla__viewport {
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  [data-dh-rows] .dh-embla__viewport::-webkit-scrollbar { display: none; }
  [data-dh-rows] .dh-embla__container {
    display: grid; grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: 60%;
    gap: 10px 10px; align-items: stretch;
  }
  [data-dh-rows] .dh-embla__slide { width: auto; min-width: 0; flex: none; scroll-snap-align: start; }
  [data-dh-rows] .dh-embla__slide:last-child { margin: 0; }
  .dh-embla__btn { display: none; }
}

/* Reviews slider: single-row Embla. Top padding keeps the avatar (which overlaps
   each card's top edge) from being clipped. align-items:stretch makes every card
   equal height (matches the tallest review). Desktop shows exactly 2 per view. */
.dh-embla--reviews { margin-top: 34px; }
/* Pad the (overflow:hidden) viewport so the avatar overlap and the cards' drop
   shadow aren't clipped — top for the avatar, bottom + sides for the shadow. */
.dh-embla--reviews .dh-embla__viewport { padding: 42px 22px 42px; }
.dh-embla--reviews .dh-embla__container { align-items: stretch; }
.dh-embla--reviews .dh-embla__slide { flex: 0 0 86%; scroll-snap-align: center; }
@media (min-width: 640px)  { .dh-embla--reviews .dh-embla__slide { flex-basis: 60%; } }
@media (min-width: 1024px) { .dh-embla--reviews .dh-embla__slide { flex-basis: calc(50% - 7px); } }
.dh-embla--reviews .dh-review { margin-top: 0; height: auto; }

/* ---------- Stat cards ---------- */
.dh-stats { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.dh-stat { border: 1px solid var(--dh-line); border-radius: var(--dh-radius); padding: 22px; background: var(--white); }
.dh-stat:hover { background: var(--dh-olive); border-color: transparent; color: var(--white); }
.dh-stat__num { font-size: clamp(var(--fs-32), 3vw, var(--fs-44)); font-weight: var(--fw-bold); line-height: 1; }
.dh-stat__num small { font-size: var(--fs-xxl); font-weight: var(--fw-semiBold); margin-left: 5px; }
.dh-stat__icon { width: 64px; height: 64px; color: var(--dh-text); transition: color .25s ease; }
.dh-stat__icon svg { width: 100%; height: 100%; }
.dh-stat:hover .dh-stat__icon,
.dh-stat--hl .dh-stat__icon { color: var(--white); }
.dh-stat__text { margin-top: 10px; font-size: clamp(var(--fs-13), 1.6vw, var(--fs-xxl));  line-height: 1.5; font-weight: var(--fw-regular); min-width: 180px;}
.dh-stat--hl .dh-stat__text { color: rgba(255,255,255,.85); }
@media (min-width: 860px) { .dh-stats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) {.dh-stats { overflow: auto; gap: 8px;}}

/* ---------- Inspiration gallery (masonry) ---------- */
.dh-gallery { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
.dh-gitem { margin: 0; overflow: hidden; border-radius: var(--dh-radius); }
.dh-gitem img { width: 100%; height: 100%; object-fit: cover; }
.dh-gitem--1, .dh-gitem--2, .dh-gitem--3, .dh-gitem--5 { grid-row: span 2; }
@media (min-width: 860px) {
  .dh-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 370px;  gap: 14px;}
  /* .dh-gitem--6 { grid-column: span 2; } */
}

/* ---------- Collection (image accordion — all breakpoints) ---------- */
.dh-slats { margin-top: 34px; display: flex; gap: 8px; height: 260px; }
.dh-slat {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--rounded-2); overflow: hidden;
  display: flex; align-items: flex-end; text-decoration: none; color: var(--white);
  background-size: cover; background-position: center; transition: flex .45s ease;
}
.dh-slat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 55%); }
.dh-slat__label { position: relative; z-index: 1; padding: 18px 14px; writing-mode: vertical-rl; transform: rotate(180deg); transition: color .3s ease; }
.dh-slat__title { display: block; font-weight: var(--fw-semiBold); font-size: clamp(var(--fs-14), 1.6vw, var(--fs-28)); white-space: nowrap; color: var(--white); }
.dh-slat__sub { display: none; font-size: var(--fs-base); opacity: .9; margin-top: 2px; color: var(--white); }
/* expanded state — desktop hover OR tap (.is-open) on touch */
.dh-slat:hover, .dh-slat.is-open { flex: 4 1 0; }
.dh-slat:hover .dh-slat__label, .dh-slat.is-open .dh-slat__label { writing-mode: horizontal-tb; transform: none; }
.dh-slat:hover .dh-slat__sub, .dh-slat.is-open .dh-slat__sub { display: block; }
@media (min-width: 900px) { .dh-slats { gap: 14px; height: 640px;} .dh-slat {border-radius: var(--rounded-4);} .dh-slat:hover, .dh-slat.is-open { flex: 2.6 1 0; } }

/* ---------- Need help ---------- */
.dh-help { background: var(--white); padding-block: var(--dh-section-y);}
.dh-help__grid { display: grid; gap: 26px; align-items: center;  background: var(--dh-cream); position: relative;}
.dh-help__visual { position: relative; }
.dh-help__photo { width: 100%;  }
.dh-help__copy { padding:  44px; position: absolute; right: 0px; margin-top: 80px; width: 40%;}
.dh-help__copy h2 { margin-bottom: 20px; }
.dh-help__copy p {  font-size: clamp(var(--fs-12), 1.6vw, var(--fs-20)); font-weight: var(--fw-regular); margin-bottom: 24px; line-height: 1.45; }
.dh-help__copy .dh-btn { align-self: flex-start; }
@media (max-width: 860px) {
  .dh-help__copy{ width: 55%; padding: 14px; margin-top: 65px;}
  .dh-help__copy h2{font-size: clamp(20px, 4vw, 46px); line-height: calc(clamp(20px, 4vw, 46px) * 1.35); line-height: calc(clamp(20px, 4vw, 46px) * 1.35); margin-bottom: 5px;}
  .dh-help__copy p {margin-bottom: 10px; line-height: 1.25;}
}
@media (min-width: 860px) { .dh-help__grid { grid-template-columns:  1fr; gap: 40px; } }

/* phone mockup */
.dh-phone {
  position: absolute; right: -6px; bottom: -18px; width: 190px;
  background: #f3ede4; border: 7px solid #16150f; border-radius: 26px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.dh-phone__bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--white); border-bottom: 1px solid #eee; font-size: 11px; }
.dh-phone__brand { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.dh-phone__brand i { width: 20px; height: 20px; border-radius: 50%; background: #d21e28; color: var(--white); font-style: normal; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.dh-phone__brand small { color: #7ab77a; font-weight: var(--fw-semiBold) }
.dh-phone__chat { background: #e7ddd2; padding: 10px; display: flex; flex-direction: column; gap: 7px; max-height: 250px; overflow: hidden; }
.dh-msg { font-size: 9px; line-height: 1.35; padding: 6px 8px; border-radius: 8px; max-width: 82%; }
.dh-msg b { display: block; font-size: 8px; margin-bottom: 2px; opacity: .8; }
.dh-msg--me { align-self: flex-end; background: #d9fdd3; }
.dh-msg--them { align-self: flex-start; background: var(--white); }
@media (min-width: 560px) { .dh-phone { width: 230px; right: 10px; } .dh-msg { font-size: 10px; } }

/* ---------- Promo band ---------- */
.dh-promo { background: var(--dh-orange); color: var(--white); }
.dh-promo__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 28px; }
.dh-promo__eyebrow { display: flex; align-items: center; gap: 10px; font-size: var(--fs-lg); opacity: .95; }
.dh-promo__eyebrow svg { width: 22px; height: 22px; }
.dh-promo__title { font-size: clamp(var(--fs-22), 3vw, var(--fs-30)); font-weight: 700; margin: 4px 0; }
.dh-promo__note { font-size: var(--fs-lg); opacity: .95; }

/* ---------- Estimator ---------- */
.dh-est { margin-top: 34px; background: var(--dh-est-grey); border-radius: var(--dh-radius-lg); max-width: 900px; margin-inline: auto; }
.dh-est__step { padding: clamp(20px, 3vw, 34px); padding-bottom: 0; }
.dh-est__step h4 { margin: 0 0 16px; font-size: clamp(17px, 2vw, 22px); font-weight: var(--fw-semiBold) }
.dh-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.dh-chip { border: 1px solid rgba(0,0,0,.4); background: var(--white); border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: var(--fw-semiBold); font-size: clamp(var(--fs-12), 1.6vw, var(--fs-lg)); cursor: pointer; transition: all .15s; }
.dh-chip[aria-pressed='true'] { background: var(--dh-ink); color: var(--white); border-color: var(--dh-ink); }
/* Step 2 — Dimensions / Area tabs. Uses the same chip radius/border language so
   it sits cohesively inside the estimator card. */
.dh-est__tabs { display: flex; gap: 5px; background:var(--white); border-radius: 12px; padding: 5px; max-width: 320px; border: 1px solid rgba(0, 0, 0, .4);}
.dh-est__tab {
  flex: 1; border: none; background: transparent; border-radius: 9px; padding: 11px 16px;
  font: inherit; font-weight: 600; font-size: clamp(14px, 1.6vw, 17px); color: #24231f;
  cursor: pointer; transition: background .18s, color .18s;
}
.dh-est__tab.is-active { background: var(--dh-ink); color: var(--white); }
.dh-est__panel[hidden] { display: none; }
.dh-est__panel { margin-top: 20px; }

/* input pill: number + unit box / toggle (matches the .dh-chip border + radius) */
.dh-est__field { display: inline-flex; flex-direction: column; gap: 7px; }
.dh-est__flabel { font-size: 13px; color: var(--dh-text-muted, #6b6862); }
.dh-est__inputwrap {
  display: inline-flex; align-items: stretch; background: var(--white);
  border: 1px solid rgba(0,0,0,.25); border-radius: 10px; overflow: hidden;
}
.dh-est__inputwrap input {
  border: none; background: transparent; outline: none; min-width: 0;
  width: clamp(58px, 11vw, 96px); padding: 12px 14px;
  font: inherit; font-weight: 700; font-size: clamp(15px, 1.7vw, 19px);
}
.dh-est__unit {
  display: flex; align-items: center; padding: 0 15px;
  background: var(--gray-200); color: var(--dh-text-muted, #6b6862); font-size: 14px; white-space: nowrap;
}

/* Dimensions row: L × W = N sqm */
.dh-est__dims { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; }
.dh-est__x { padding-bottom: 13px; font-size: 16px; color: var(--dh-text-muted, #6b6862); }
.dh-est__eq { padding-bottom: 13px; font-size: clamp(15px, 1.8vw, 19px); white-space: nowrap; }
.dh-est__eq b { color: #24231f; font-weight: 700; }

/* Area toggle inside the input pill */
.dh-est__area .dh-est__inputwrap { padding: 4px; padding-inline-start: 0; align-items: center; }
.dh-est__units { display: inline-flex; align-items: center; gap: 3px; }
.dh-est__unitbtn {
  border: none; background: var(--gray-200); border-radius: 8px; padding: 8px 16px;
  font: inherit; font-weight: 600; color: var(--dh-text-muted, #6b6862); cursor: pointer; transition: background .15s, color .15s;
}
.dh-est__unitbtn.is-active { background: var(--dh-ink); color: var(--white); }
.dh-est__hint { margin-top: 12px; font-size: 13px; color: var(--dh-text-muted); }
/* Step 4 result is hidden — the estimator collects inputs; the price is quoted on the free site visit. */
/* Bottom breathing room while the result is hidden; removed once it appears
   (the result block then provides the card's bottom). Toggled by estimator.js. */
.dh-est { padding-bottom: clamp(20px, 3vw, 34px); }
.dh-est--has-result { padding-bottom: 0; }
/* Result (Step 4) is hidden until both length & width are entered — estimator.js
   flips it to display:block. */
.dh-est__result { display: none; margin-top: 30px; background: var(--dh-est-grey-2); padding: clamp(26px, 4vw, 44px); text-align: center; border-radius: 0 0 var(--dh-radius-lg) var(--dh-radius-lg); }

/* result note pill + info tooltip (hover on desktop, tap on mobile) */
.dh-est__note { position: relative; display: inline-block; margin-top: 18px; }
.dh-est__notepill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--dh-est-grey); border-radius: 10px; padding: 9px 10px 9px 18px;
  font-size: clamp(12px, 1.4vw, 14px); color: #55524c; line-height: 1.4; border: 1px solid rgba(0, 0, 0, .4);
}
.dh-est__info {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border: none; border-radius: 50%; background: transparent;
  color: #55524c; cursor: pointer; padding: 0;
}
.dh-est__info svg { width: 17px; height: 17px; }
.dh-est__tip {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 6px);
  width: min(440px, 86vw); padding: 15px 20px; border-radius: 14px;
  background: var(--dh-est-grey); box-shadow: 0 16px 38px rgba(35,33,30,.18);
  font-size: clamp(13px, 1.5vw, 15px); line-height: 1.55; color: #3f3c37; text-align: start;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 6;
}
.dh-est__tip::before {
  content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-bottom-color: var(--dh-est-grey);
}
.dh-est__note.is-open .dh-est__tip { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
@media (hover: hover) {
  .dh-est__note:hover .dh-est__tip { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
}
.dh-est__result h4 { font-size: clamp(18px, 2.2vw, 24px); font-weight: var(--fw-semiBold); margin: 0 0 14px; }
.dh-est__price { font-size: clamp(40px, 7vw, 68px); font-weight: var(--fw-semiBold); letter-spacing: -1px; line-height: 1; }
.dh-est__result p { margin-top: 16px; font-size: var(--fs-lg); color: #55524c; }

/* ---------- Brands (seamless auto-scroll marquee, desktop + mobile) ---------- */
.dh-brands { margin-top: 34px; overflow: hidden; }
.dh-brands__track {
  display: flex; width: max-content; align-items: center;
  animation: dh-brands-marquee 26s linear infinite;
}
.dh-brands:hover .dh-brands__track { animation-play-state: paused; }
.dh-brands__group { display: flex; align-items: center; flex: 0 0 auto; }
.dh-brand {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  padding-inline: clamp(26px, 5vw, 64px);
}
.dh-brand img {
  width: auto; height: auto; max-height: clamp(60px, 6vw, 80px); max-width: 250px;
  object-fit: contain; opacity: .95;
}
@keyframes dh-brands-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Arabic reads right-to-left → scroll the other way (both halves identical, so seamless) */
[dir="rtl"] .dh-brands__track { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) {
  .dh-brands__track { animation: none; }
}

/* ---------- Reviews ---------- */
.dh-rating { display: flex; align-items: center; gap: 10px; justify-content: center; background: var(--white); width: max-content; margin: 18px auto 0; padding: 8px 18px; border-radius: var(--rounded-2); box-shadow: var(--dh-shadow-sm); }
.dh-rating b { font-size: 22px; font-weight: 600; }
.dh-rating__note { text-align: center; font-weight: var(--fw-semiBold); margin-top: 12px; }
/* mobile + tablet: horizontal snap-scroll (one card + a peek of the next) */
.dh-reviews {
  margin-top: 60px; display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 40px 4px 8px;
}
.dh-reviews::-webkit-scrollbar { display: none; }
.dh-review {
  position: relative; background: var(--white); border-radius: 18px;
  padding: 52px 34px 36px; box-shadow: 0 12px 34px rgba(35,33,30,.07); text-align: center;
  flex: 0 0 86%; scroll-snap-align: center;
}
/* avatar overlapping the top edge, centered */
.dh-review__avatar {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; background: #e4e0d8;
  display: flex; align-items: center; justify-content: center; color: #b4afa5;
}
.dh-review__avatar svg { width: 42px; height: 42px; }
/* name + short centered underline */
.dh-review__name {
  position: relative; display: block; font-weight: 700;
  font-size: clamp(20px, 2vw, 27px); padding-bottom: 16px; margin-bottom: 22px;
}
.dh-review__name::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 74px; height: 2px; background: var(--dh-ink);
}
.dh-review__text {
  font-size: clamp(16px, 1.35vw, 21px); line-height: 1.6; color: var(--dh-text);
  max-width: 36ch; margin: 0 auto;
}
.dh-review__loc { color: var(--dh-text-muted); font-size: clamp(14px, 1.1vw, 16px); margin-top: 28px; }
/* desktop: static 2-column grid (no scroll) */
@media (min-width: 1024px) {
  .dh-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; overflow: visible; padding: 0; }
  .dh-review { flex: none; }
}

/* ---------- Final CTA ---------- */
.dh-final { background: var(--dh-black); color: var(--white); text-align: center; padding-block: clamp(52px, 7vw, 96px); }
.dh-final__title { font-family: var(--dh-font-display); font-style: italic; font-weight: 600; color: var(--dh-tan); font-size: clamp(32px, 5vw, 56px);  line-height: calc(clamp(32px, 5vw, 56px) * 1.35); margin: 0; }
.dh-final__sub { letter-spacing: .3em; text-transform: uppercase; font-weight: 300; font-size: clamp(16px, 2.4vw, 26px); margin: 14px 0 30px; }

.dh-promo {
  display: none;
}

/* =====================================================================
   RTL (Arabic) — shared base overrides. Applies whenever an ancestor
   (the .dh-lp wrapper, or <html> in standalone) carries dir="rtl".
   ===================================================================== */
[dir="rtl"] .dh-stat__num small { margin-left: 0; margin-right: 5px; }

/* Trust marquee — Arabic reads right-to-left, so the band scrolls to the right.
   Same keyframes, played in reverse (both track halves are identical, so the
   loop stays seamless). Covers curtains & flooring (shared file). */
[dir="rtl"] .dh-trust__track { animation-direction: reverse; }

/* Embla carousel — mirror the end-gap and swap the prev/next arrows.
   The slider itself is initialised with direction:'rtl' in carousel.js. */
[dir="rtl"] .dh-embla__slide:last-child { margin-right: 0; margin-left: 14px; }
@media (min-width: 900px) {
  [dir="rtl"] .dh-embla__slide:last-child { margin-right: 0; margin-left: 20px; }
}
[dir="rtl"] .dh-embla__btn--prev { left: auto; right: -10px; }
[dir="rtl"] .dh-embla__btn--next { right: auto; left: -10px; }

/* Need-help overlay + phone mockup flip to the opposite edge */
[dir="rtl"] .dh-help__copy { right: auto; left: 0; }
[dir="rtl"] .dh-phone { right: auto; left: -6px; }
@media (min-width: 560px) { [dir="rtl"] .dh-phone { right: auto; left: 10px; } }
/* =====================================================================
   Flooring — "Why parquet" interactive showcase (.dh-pqt)
   Desktop (≥900px): six pointer cards float over a 16/9 photo stage with
   an auto-tour; hovering a pointer swaps the backdrop to its scene photo.
   Mobile (<900px): plain 4/3 photo + tap-to-swap 2-column benefit grid.
   Behaviour: parquet.js. Colours come from theme.css (--dh-*).
   ===================================================================== */
.dh-pqt__inner { max-width: 1320px; }

/* ---------- header ---------- */
.dh-pqt__head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.dh-pqt__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: var(--fw-semiBold, 600); letter-spacing: .18em; text-transform: uppercase;
  color: var(--dh-taupe); background: var(--dh-white); border: 1px solid var(--dh-line);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 14px;
}
.dh-pqt__eyebrow::before, .dh-pqt__eyebrow::after { content: '✦'; color: var(--dh-orange); font-size: 11px; letter-spacing: 0; }
.dh-pqt__title { font-size: clamp(26px, 3.2vw, 40px); font-weight: var(--fw-semiBold, 600); line-height: 1.22; margin: 0; letter-spacing: -.012em; color: var(--dh-text); }
.dh-pqt__title span { font-family: var(--dh-font-display); font-style: italic; font-weight: 500; color: var(--dh-display); letter-spacing: 0; }

/* ---------- photo stage ---------- */
.dh-pqt__stage {
  position: relative; margin-top: 30px; border-radius: 18px; overflow: hidden;
  aspect-ratio: 16/9; background: #ded5c8; box-shadow: 0 26px 60px rgba(43,36,25,.2);
}
.dh-pqt__imgs { position: absolute; inset: -1.6%; will-change: transform; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.dh-pqt__hero {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .7s ease; animation: dh-pqt-ken 34s ease-in-out infinite alternate; backface-visibility: hidden;
}
.dh-pqt__hero.is-off { opacity: 0; }
@keyframes dh-pqt-ken { from { transform: scale(1); } to { transform: scale(1.035); } }
.dh-pqt__edge { position: absolute; inset: 0; pointer-events: none; z-index: 2; background:
  linear-gradient(90deg, rgba(10,18,26,.42) 0%, rgba(10,18,26,.16) 13%, rgba(10,18,26,0) 26%, rgba(10,18,26,0) 74%, rgba(10,18,26,.16) 87%, rgba(10,18,26,.42) 100%),
  linear-gradient(0deg, rgba(10,18,26,.34) 0%, rgba(10,18,26,.06) 16%, rgba(10,18,26,0) 30%); }

/* ---------- floating pointers ---------- */
.dh-pqt__pt {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 14px;
  will-change: transform; cursor: pointer;
  opacity: 0; animation: dh-pqt-enter .8s cubic-bezier(.2,.7,.3,1) forwards;
}
.dh-pqt__pt--r { flex-direction: row-reverse; }
.dh-pqt__pt--l { left: 3%; } .dh-pqt__pt--r { right: 3%; }
.dh-pqt__pt--1 { top: 11%; animation-delay: .10s; } .dh-pqt__pt--2 { top: 41%; animation-delay: .22s; } .dh-pqt__pt--3 { top: 67%; animation-delay: .34s; }
.dh-pqt__pt--4 { top: 11%; animation-delay: .16s; } .dh-pqt__pt--5 { top: 41%; animation-delay: .28s; } .dh-pqt__pt--6 { top: 67%; animation-delay: .40s; }
@keyframes dh-pqt-enter { from { opacity: 0; transform: translateY(20px) scale(.94); } to { opacity: 1; transform: none; } }

.dh-pqt__float { animation: dh-pqt-bob 6s ease-in-out infinite; }
.dh-pqt__pt--2 .dh-pqt__float { animation-duration: 7.2s; animation-delay: -1.4s; }
.dh-pqt__pt--3 .dh-pqt__float { animation-duration: 6.6s; animation-delay: -2.8s; }
.dh-pqt__pt--4 .dh-pqt__float { animation-duration: 7.6s; animation-delay: -.8s; }
.dh-pqt__pt--5 .dh-pqt__float { animation-duration: 6.2s; animation-delay: -3.4s; }
.dh-pqt__pt--6 .dh-pqt__float { animation-duration: 7.9s; animation-delay: -2.1s; }
@keyframes dh-pqt-bob { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }

.dh-pqt__dot {
  position: relative; flex: 0 0 13px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--dh-orange); box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 4px 12px rgba(0,0,0,.3); transition: .3s;
}
.dh-pqt__dot::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); animation: dh-pqt-pulse 2.6s ease-out infinite; }
@keyframes dh-pqt-pulse { 0% { transform: scale(.55); opacity: 1; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }
.dh-pqt__pt.is-on .dh-pqt__dot { transform: scale(1.35); background: var(--dh-white); box-shadow: 0 0 0 5px var(--dh-orange), 0 6px 18px rgba(207,105,28,.55); }

.dh-pqt__line { position: absolute; top: 50%; height: 1px; width: 22px; background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.25)); }
.dh-pqt__pt--l .dh-pqt__line { left: 6px; }
.dh-pqt__pt--r .dh-pqt__line { right: 6px; background: linear-gradient(270deg, rgba(255,255,255,.9), rgba(255,255,255,.25)); }

.dh-pqt__card {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.9); border-radius: 13px; padding: 13px 16px; width: 272px;
  box-shadow: 0 10px 30px rgba(10,18,26,.3), 0 2px 6px rgba(10,18,26,.18);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .3s, background .3s;
}
.dh-pqt__pt:hover .dh-pqt__card, .dh-pqt__pt.is-on .dh-pqt__card { transform: scale(1.045); border-color: var(--dh-orange); background: var(--dh-white); box-shadow: 0 24px 52px rgba(10,18,26,.34); }
.dh-pqt__ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: var(--dh-cream-2); display: grid; place-items: center; transition: .3s; }
.dh-pqt__pt:hover .dh-pqt__ic, .dh-pqt__pt.is-on .dh-pqt__ic { background: var(--dh-orange); }
.dh-pqt__ic svg { width: 19px; height: 19px; color: var(--dh-taupe); transition: .3s; }
.dh-pqt__pt:hover .dh-pqt__ic svg, .dh-pqt__pt.is-on .dh-pqt__ic svg { color: var(--dh-white); }
.dh-pqt__card h3 { margin: 2px 0 0; font-size: 14.2px; font-weight: var(--fw-semiBold, 600); line-height: 1.25; color: var(--dh-text); }
.dh-pqt__pt:hover .dh-pqt__card h3, .dh-pqt__pt.is-on .dh-pqt__card h3 { color: var(--dh-taupe); }
.dh-pqt__card p {
  margin: 0; font-size: 12.2px; line-height: 1.5; color: var(--dh-text-muted); font-weight: var(--fw-light, 300);
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2,.7,.3,1), opacity .35s, margin .35s;
}
.dh-pqt__pt:hover .dh-pqt__card p, .dh-pqt__pt.is-on .dh-pqt__card p { max-height: 70px; opacity: 1; margin-top: 5px; }
.dh-pqt__pt:hover, .dh-pqt__pt.is-on { z-index: 20; }

/* ---------- warranty pill (desktop, floats over the stage) ---------- */
.dh-pqt__wrnt {
  position: absolute; left: 50%; bottom: 26px; z-index: 5; display: flex; align-items: center; gap: 11px; text-align: start;
  background: var(--dh-taupe); color: var(--dh-white); border-radius: 11px; padding: 13px 24px;
  box-shadow: 0 16px 38px rgba(125,107,62,.4);
  transform: translateX(-50%); animation: dh-pqt-bobc 8s ease-in-out infinite;
}
@keyframes dh-pqt-bobc { 0%, 100% { transform: translateX(-50%) translateY(-4px); } 50% { transform: translateX(-50%) translateY(4px); } }
.dh-pqt__wrnt b, .dh-pqt__wbar b { font-size: 15px; font-weight: var(--fw-semiBold, 600); line-height: 1; display: block; }
.dh-pqt__wrnt i, .dh-pqt__wbar i { font-style: normal; font-size: 11.5px; opacity: .92; display: block; margin-top: 4px; }
.dh-pqt__wrnt svg, .dh-pqt__wbar svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--dh-white); }

/* ---------- tour progress + A/B photo switcher chrome ---------- */
.dh-pqt__tour {
  position: absolute; inset-inline-start: 16px; top: 16px; z-index: 6; display: flex; align-items: center; gap: 8px;
  background: rgba(10,18,26,.42); backdrop-filter: blur(10px); padding: 8px 13px; border-radius: 999px;
}
.dh-pqt__tour i { font-style: normal; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.dh-pqt__bars { display: flex; gap: 4px; }
.dh-pqt__bars s { width: 16px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.32); text-decoration: none; transition: .3s; }
.dh-pqt__bars s.is-on { background: var(--dh-star); width: 24px; }
.dh-pqt__sw {
  position: absolute; inset-inline-end: 16px; top: 16px; z-index: 6; display: flex; gap: 5px;
  background: rgba(10,18,26,.42); backdrop-filter: blur(10px); padding: 5px; border-radius: 999px;
}
.dh-pqt__sw button {
  border: 0; cursor: pointer; background: transparent; color: rgba(255,255,255,.72);
  font-family: var(--dh-font); font-size: 11px; font-weight: var(--fw-semiBold, 600); letter-spacing: .08em;
  padding: 6px 13px; border-radius: 999px; transition: .25s;
}
.dh-pqt__sw button.is-on { background: var(--dh-white); color: var(--dh-ink); }

/* ---------- mobile tap-grid + full-width warranty bar ---------- */
.dh-pqt__mob { display: none; }
.dh-pqt__wbar { display: none; }

/* ---------- footer CTAs ---------- */
.dh-pqt__foot { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.dh-pqt__foot p { margin: 0; font-size: clamp(14px, 1.5vw, 16px); color: var(--dh-text-muted); font-weight: var(--fw-regular, 400); }
.dh-pqt__range { border: 1px solid var(--dh-ink); background: var(--dh-white); }

/* =====================================================================
   Mobile / tablet (<900px)
   ===================================================================== */
@media (max-width: 899px) {
  .dh-pqt__pt, .dh-pqt__sw, .dh-pqt__tour, .dh-pqt__wrnt { display: none; }
  .dh-pqt__head { margin-bottom: 18px; }
  .dh-pqt__stage { margin-top: 18px; aspect-ratio: 4/3; border-radius: 14px; box-shadow: 0 16px 40px rgba(43,36,25,.18); }
  .dh-pqt__edge { background: linear-gradient(0deg, rgba(10,18,26,.46) 0%, rgba(10,18,26,.1) 22%, rgba(10,18,26,0) 40%); }

  .dh-pqt__mob { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
  .dh-pqt__m {
    display: flex; gap: 10px; align-items: flex-start; text-align: start;
    border: 1px solid var(--dh-line); border-radius: 11px; padding: 12px 11px;
    background: var(--dh-white); cursor: pointer; transition: .28s; -webkit-tap-highlight-color: transparent;
    font-family: var(--dh-font); color: var(--dh-text);
  }
  .dh-pqt__m .dh-pqt__ic { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; }
  .dh-pqt__m .dh-pqt__ic svg { width: 17px; height: 17px; }
  .dh-pqt__m.is-on { border-color: var(--dh-orange); background: #faede2; box-shadow: 0 6px 18px rgba(207,105,28,.16); }
  .dh-pqt__m.is-on .dh-pqt__ic { background: var(--dh-orange); }
  .dh-pqt__m.is-on .dh-pqt__ic svg { color: var(--dh-white); }
  .dh-pqt__m h3 { margin: 1px 0 3px; font-size: 12.8px; font-weight: var(--fw-semiBold, 600); line-height: 1.25; }
  .dh-pqt__m.is-on h3 { color: var(--dh-taupe); }
  .dh-pqt__m p { margin: 0; font-size: 11.2px; line-height: 1.45; color: var(--dh-text-muted); font-weight: var(--fw-light, 300); }

  .dh-pqt__wbar {
    display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; text-align: start;
    background: var(--dh-taupe); color: var(--dh-white); border-radius: 11px; padding: 14px 18px;
    box-shadow: 0 10px 26px rgba(125,107,62,.28);
  }

  .dh-pqt__foot { margin-top: 20px; gap: 10px; }
  .dh-pqt__foot p { flex: 0 0 100%; text-align: center; margin-bottom: 2px; }
  .dh-pqt__foot .dh-btn { flex: 1; justify-content: center; padding: 14px 16px; font-size: 13.5px; white-space: normal; }
}
@media (max-width: 400px) {
  .dh-pqt__m p { display: none; }
  .dh-pqt__m h3 { font-size: 13px; margin-bottom: 0; }
}

/* RTL: mirror the pointer rows so cards keep hanging off their dots */
[dir="rtl"] .dh-pqt__pt--l { flex-direction: row; }
[dir="rtl"] .dh-pqt__pt--r { flex-direction: row-reverse; }

@media (prefers-reduced-motion: reduce) {
  .dh-pqt__hero, .dh-pqt__float, .dh-pqt__dot::after, .dh-pqt__wrnt { animation: none; }
  .dh-pqt__pt { animation: none; opacity: 1; }
}

/*
 * Modal popup — paired with src/scripts/modal.js and the modal() render helper.
 * Scoped under .dh-lp so it never leaks into ally. Concrete colours (the shared
 * --white/--fs-* tokens come only from ally's global theme).
 *
 * State model:
 *   [hidden]           → fully removed (no JS / closed)
 *   (visible, no class)→ mounted but transparent (fade start)
 *   .is-open           → visible
 */

/* Lock body scroll while a modal is open (class set on <html> by modal.js). */
.dh-modal-lock {
  overflow: hidden;
}

.dh-lp .dh-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.dh-lp .dh-modal[hidden] {
  display: none;
}
.dh-lp .dh-modal.is-open {
  opacity: 1;
}

.dh-lp .dh-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 15, 0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.dh-lp .dh-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: min(88vh, 720px);
  overflow-y: auto;
  background: #ffffff;
  color: #24231f;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(20, 18, 15, 0.35);
  padding-block: 0;
  padding-inline: clamp(24px, 4vw, 40px);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.dh-lp .dh-modal.is-open .dh-modal__dialog {
  transform: none;
}
/* Size modifiers */
.dh-lp .dh-modal__dialog--sm {
  max-width: 400px;
}
.dh-lp .dh-modal__dialog--lg {
  max-width: 760px;
}
/* Iframe modal: the iframe scrolls itself, so no dialog scrollbar. */
.dh-lp .dh-modal__dialog--iframe {
  overflow: hidden;
}

.dh-lp .dh-modal__close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f2efe9;
  color: #6b645a;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.dh-lp .dh-modal__close:hover {
  background: #1b1a18;
  color: #ffffff;
}
.dh-lp .dh-modal__close svg {
  width: 18px;
  height: 18px;
  display: block;
}

.dh-lp .dh-modal__title {
  margin: 0 40px 12px 0;
  font-family: var(--dh-font-display, 'Playfair Display', Georgia, serif);
  font-weight: 600;
  color: #1b1a18;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
}
[dir='rtl'] .dh-lp .dh-modal__title,
.dh-lp[dir='rtl'] .dh-modal__title {
  margin: 0 0 12px 40px;
}

.dh-lp .dh-modal__body {
  color: #4a453e;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.6;
}
.dh-lp .dh-modal__body > :first-child {
  margin-top: 0;
}
.dh-lp .dh-modal__body > :last-child {
  margin-bottom: 0;
}

/* Embedded form iframe. */
.dh-lp .dh-modal__iframe {
  display: block;
  width: 100%;
  height: 70vh;
  min-height: 460px;
  max-height: 680px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
}

/* Optional action row helper. */
.dh-lp .dh-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .dh-lp .dh-modal,
  .dh-lp .dh-modal__dialog {
    transition: none;
  }
  .dh-lp .dh-modal__dialog {
    transform: none;
  }
}

/* Phones: dock the dialog to the bottom as a sheet. */
@media (max-width: 560px) {
  .dh-lp .dh-modal {
    place-items: end center;
    padding: 0;
  }
  .dh-lp .dh-modal__dialog {
    max-width: none;
    max-height: 90vh;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
  }
  .dh-lp .dh-modal.is-open .dh-modal__dialog {
    transform: none;
  }
}
