/*
 * 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; } }
/* =====================================================================
   Curtains-specific sections. Loads AFTER flooring-landing.css (shared base),
   so hero / trust / stats / help / promo / reviews / final are reused as-is.
   ===================================================================== */

/* light heading variants (used on the brown Curtain-Style section) */
.dh-eyebrow--light, .dh-display--light { color: #fff; }
.dh-media--tall img { min-height: 460px; }

/* hero eyebrow badge ("UAE's #1 Brand") */
.dh-hero__eyebrow {
  margin: 0 0 2px; text-transform: uppercase; letter-spacing: .14em;
  font-size: clamp(12px, 1.1vw, 14px); font-weight: 600; color: rgba(255,255,255,.85);
}

/* ---------- Product collage (2 images + 3 floating price cards) ---------- */
.dh-collage { margin-top: 42px; }
.dh-collage__stage { display: flex; flex-direction: column; position: relative; }   /* mobile: staggered overlapping collage */
.dh-collage__img { border-radius: 8px; overflow: hidden; }
.dh-collage__img img { width: 100%; height: 300px; object-fit: cover; display: block; border:10px solid var(--white); }
.dh-collage__card {
  display: block; text-decoration: none; color: inherit; background: #fff; border-radius: 20px;
  padding: 24px 26px; box-shadow: 0 24px 54px rgba(35,33,30,.16); position: relative; z-index: 2; transition: transform .25s ease;
  width: fit-content; max-width: 74%;
}
.dh-collage__card:hover { transform: translateY(-4px); }
.dh-collage__card::after {
  content: ''; position: absolute; left: 26px; bottom: 0px; width: 50%; height: 3px;
  background: #a0703a; border-radius: 2px;
}
.dh-collage__title { color: #a0703a; font-weight: 500; font-size: clamp(23px, 2.2vw, 33px); line-height: 1.08; white-space: nowrap; }
.dh-collage__sub { color: var(--dh-text-muted); font-size: clamp(14px, 1.15vw, 17px); margin-top: 12px; }
.dh-collage__price { font-weight: 700; font-size: clamp(26px, 2.3vw, 34px); margin-top: 16px; text-decoration-color: rgba(35,33,30,.6); }

/* mobile / tablet: cards float over the image corners, alternating sides */
@media (max-width: 859px) {
  .dh-collage__img--a { align-self: flex-end; width: 88%; z-index: 1; }
  .dh-collage__img--b { align-self: flex-end; width: 88%; z-index: 1; }
  .dh-collage__card--curtains  { align-self: flex-start; margin: 0 0 -56px 2%; z-index: 3; padding: 14px;}
  .dh-collage__card--blinds    { align-self: flex-end; margin: -48px -10px -48px 0; z-index: 3; padding: 14px; max-width: 150px;}
  .dh-collage__card--motorised { align-self: flex-start; margin: -132px 0 0px 2%; z-index: 3; padding: 14px;}
  .dh-collage__price { margin-top: 10px; line-height: 1;}
  .dh-collage__sub { margin-top: 5px; }
  .dh-collage__img img { border: 5px solid var(--white); }
}

@media (min-width: 860px) {
  .dh-collage__stage { display: block; position: relative; aspect-ratio: 2000 / 820; }
  .dh-collage__img, .dh-collage__card { position: absolute; margin: 0; }
  .dh-collage__img img { height: 100%; }
  .dh-collage__img--a { left: 14%; top: 6%; width: 36%; height: 74%; }
  .dh-collage__img--b { left: 54%; top: 22%; width: 36%; height: 74%; }
  .dh-collage__card { width: max-content; max-width: 28%; min-width: 300px; }
  .dh-collage__card--curtains  { left: 2%;  top: 52%; }
  .dh-collage__card--blinds    { left: 40%; top: 15%; }
  .dh-collage__card--motorised { right: 0;  top: 40%; }
}

/* ---------- Choose Your Curtain Style ---------- */
.dh-cstyle { background: var(--dh-taupe); color: var(--white); padding-block: clamp(44px, 5vw, 78px); position: relative; }
.dh-cstyle:after { content:''; display: block; background-color: var(--white); position: absolute; bottom:0; right: 0; left: 0; width: 100%; height: 20%; }
.dh-cstyle__grid { position: relative; z-index: 1; }
/* .dh-cstyle__head .dh-eyebrow, .dh-cstyle__head .dh-display { text-align: left; } */
.dh-cstyle__media { border-radius: 14px; overflow: hidden; background-color: var(--white); }
.dh-cstyle__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .28s ease; }
.dh-cstyle__no { font-size: 14px; opacity: .7; }
.dh-cstyle__name { font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; transition: opacity .2s; }

/* mobile: pills on top → image → CTA (natural DOM order: head, list, media, cta) */
.dh-cstyle__grid { display: flex; flex-direction: column; gap: 22px; align-items: start; }
.dh-cstyle__head { margin: auto; }
.dh-cstyle__list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 45px;}
.dh-cstyle__item {
  display: inline-flex; width: auto; padding: 14px 24px; border: none; border-radius: 999px;
  background: rgba(255,255,255,.22); color: #24231f; cursor: pointer; font-family: inherit;
}
.dh-cstyle__item.is-active { background: #fff; }
.dh-cstyle__item .dh-cstyle__no, .dh-cstyle__item .dh-cstyle__desc { display: none; }
.dh-cstyle__item .dh-cstyle__name { font-size: clamp(16px, 2.4vw, 21px); font-weight: 500; opacity: 1; color: inherit; white-space: nowrap; }
.dh-cstyle__cta { display: flex !important; justify-content: center;  width: 100%;}
/* mobile + tablet: solid dark button, centred. Concrete colours so it renders
   correctly even where the --white / --fs-* tokens aren't in scope. */
.dh-cstyle__cta .dh-btn.dh-btn--dark {
  display: block;
}
.dh-cstyle__cta .dh-btn.dh-btn--light {
  display: none;
}
.dh-cstyle__cta .dh-btn:hover { background: #1b1a18; opacity: .9; }

/* desktop: title top-left, image below, numbered list on the right, CTA under it */
@media (min-width: 900px) {
  .dh-cstyle__cta .dh-btn.dh-btn--dark {
  display: none;
}
.dh-cstyle__cta .dh-btn.dh-btn--light {
  display: block;
}
  .dh-cstyle__grid {
    display: grid; align-items: center; column-gap: 56px; row-gap: 30px;
    grid-template-columns: 36% 1fr;
    grid-template-areas:
      "head list"
      "media list"
      "media cta";
  }
  .dh-cstyle__head { grid-area: head; }
  .dh-cstyle__media { grid-area: media; }
  .dh-cstyle__cta { grid-area: cta; display: block; margin-top: 28px; }
  /* desktop: solid white button with dark text (concrete colours) */
  .dh-cstyle__cta .dh-btn { background: #fff; color: #1b1a18; }
  .dh-cstyle__cta .dh-btn:hover { background: #f4f1ea; opacity: 1; }
  .dh-cstyle__list { grid-area: list; display: block;  margin-top: 0; }
  .dh-cstyle__item {
    display: grid; width: 100%; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline;
    padding: 18px 0; border: none; border-bottom: 1px solid rgba(255,255,255,.3);
    border-radius: 0; background: none; color: #fff; text-align: left;
  }
  .dh-cstyle__item.is-active { background: none; }
  .dh-cstyle__item .dh-cstyle__no { display: block; }
  .dh-cstyle__item .dh-cstyle__name { font-size: clamp(20px, 2.4vw, 30px); white-space: normal; color: #fff; }
  .dh-cstyle__item:not(.is-active) .dh-cstyle__name { opacity: .8; }
  .dh-cstyle__item:hover .dh-cstyle__name { opacity: 1; }
  .dh-cstyle__item .dh-cstyle__desc {
    display: block; grid-column: 2; font-size: 14px; line-height: 1.55; opacity: 0;
    max-height: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease, margin-top .3s ease;
  }
  .dh-cstyle__item.is-active .dh-cstyle__desc { max-height: 140px; opacity: .9; margin-top: 8px; }
}

/* ---------- Collection tiles ---------- */
.dh-tiles { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dh-tile { position: relative; height: 320px; border-radius: 14px; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: #fff; background-size: cover; background-position: center; }
.dh-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0) 55%); }
.dh-tile__body { position: relative; z-index: 1; padding: 12px; color:var(--white) }
.dh-tile__title { display: block; font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); }
.dh-tile__sub { display: block; font-size: 14px; opacity: .9; margin-top: 2px; }
@media (min-width: 860px) { .dh-tiles { grid-template-columns: repeat(4, 1fr);gap: 16px; } .dh-tile { height: 640px; } .dh-tile__body { padding: 20px; } }

/* ---------- How it works (timeline) ---------- */
/* mobile: horizontal swipe scroll with a continuous timeline line + dots */
.dh-steps {
  margin-top: 46px; display: flex; gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dh-steps::-webkit-scrollbar { display: none; }
.dh-step {
  position: relative; flex: 0 0 64%; scroll-snap-align: start;
  padding-top: 56px; padding-right: 26px;
}
.dh-step::before {  /* the timeline line segment (connects across steps) */
  content: ''; position: absolute; top: 39px; left: 0; right: 0; height: 2px; background: var(--dh-line);
}
.dh-step__dot { position: absolute; top: 32px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--dh-taupe); }
.dh-step__no { color: var(--dh-text-muted); font-size: 14px; }
.dh-step__title { font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); margin: 4px 0 8px; }
.dh-step__desc { color: var(--dh-text-muted); font-size: 15px; line-height: 1.55; }

/* staggered entrance — pure CSS, fail-safe: no persistent opacity:0, so steps
   are always visible even if the animation is skipped. */
.dh-step { animation: dh-rise .6s cubic-bezier(.2,.7,.2,1) both; }
.dh-step:nth-child(1) { animation-delay: 0s; }
.dh-step:nth-child(2) { animation-delay: .12s; }
.dh-step:nth-child(3) { animation-delay: .24s; }
.dh-step:nth-child(4) { animation-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .dh-step { animation: none; } }

@media (min-width: 760px) {
  .dh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; overflow: visible; }
  .dh-step { flex: none; padding-top: 42px; padding-right: 0; }
  .dh-step::before { top: 8px; right: -15px; background: var(--dh-line); }
  .dh-step__dot { top: 1px; }
}

/* ---------- View more ---------- */
.dh-viewmore { color: var(--dh-ink); font-weight: 600; text-decoration: none; font-size: 16px; }
.dh-viewmore:hover { color: var(--dh-rust); }

/* ---------- Recent-work gallery (curtains masonry — overrides shared base) ----------
   Flooring keeps its own layout because it never loads this file. 7 images. */
.dh-gitem { border-radius: var(--rounded-0); }
/* mobile (portrait masonry): living-room + dark-bed cluster, grommet + dining cluster */
.dh-gallery {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  grid-template-rows: repeat(6, clamp(90px, 25vw, 160px));
  grid-template-areas:
    "l  l  d  d"
    "l  l  d  d"
    "l  l  wb bc"
    "gr gr dn dn"
    "gr gr dn dn"
    "dr dr dn dn";
}
.dh-gitem--1 { grid-area: l; }   /* living room (tall) */
.dh-gitem--2 { grid-area: d; }   /* dark bedroom */
.dh-gitem--3 { grid-area: gr; }  /* grommet curtains */
.dh-gitem--4 { grid-area: dn; }  /* dining (tall) */
.dh-gitem--5 { grid-area: wb; }  /* wood blinds */
.dh-gitem--6 { grid-area: dr; }  /* door room */
.dh-gitem--7 { grid-area: bc; }  /* brown-curtain room */
/* tablet + desktop: 2 tall side images + a 2-top / 3-bottom middle cluster */
@media (min-width: 760px) {
  .dh-gallery {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.6fr;
    grid-template-rows: repeat(3, clamp(150px, 15vw, 205px));
    grid-template-areas:
      "l t1 t1 t2 t2 r"
      "l t1 t1 t2 t2 r"
      "l b1 b2 b2 b3 r";
  }
  .dh-gitem--1 { grid-area: l; }
  .dh-gitem--2 { grid-area: t1; }
  .dh-gitem--3 { grid-area: t2; }
  .dh-gitem--4 { grid-area: r; }
  .dh-gitem--5 { grid-area: b1; }
  .dh-gitem--6 { grid-area: b2; }
  .dh-gitem--7 { grid-area: b3; }
}

/* ---------- Gallery lightbox (curtains) ---------- */
.dh-gallery[data-dh-gallery] .dh-gitem { cursor: pointer; }
.dh-gallery[data-dh-gallery] .dh-gitem img { transition: transform .4s ease; }
.dh-gallery[data-dh-gallery] .dh-gitem:hover img { transform: scale(1.04); }
.dh-lb { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.dh-lb[hidden] { display: none; }
.dh-lb__overlay { position: absolute; inset: 0; background: rgba(10,9,7,.92); }
.dh-lb__stage { position: relative; z-index: 1; margin: 0; display: flex; align-items: center; justify-content: center; }
.dh-lb__img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; box-shadow: 0 24px 70px rgba(0,0,0,.5); transition: opacity .2s ease; }
.dh-lb__count { position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 14px; letter-spacing: .04em; }
.dh-lb__close { position: absolute; top: 18px; right: 22px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(255,255,255,.16); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;display: flex; align-items: center; justify-content: center; }
.dh-lb__close:hover { background: rgba(255,255,255,.3); }
.dh-lb__nav {
  z-index: 4; width: 40px; height: 40px; transform: translateY(-50%);
  background: rgba(255,255,255,.16); border: none; outline: none;
  display: flex; justify-content: center; align-items: center;
  position: absolute; top: 50%; border-radius: var(--rounded-pill, 999px);
  cursor: pointer; transition: all .2s ease-in-out 0s;
}
.dh-lb__nav:hover { background: rgba(255,255,255,.3); }
.dh-lb__nav::before {
  content: ""; display: inline-block; width: 11px; height: 11px;
  transform: rotate(45deg); border-style: solid; border-color: var(--white, #fff);
}
.dh-lb__prev::before { border-width: 0 0 1px 1px; margin-left: 4px; }
.dh-lb__next::before { border-width: 1px 1px 0 0; margin-right: 4px; }
.dh-lb__prev { left: 22px; }
.dh-lb__next { right: 22px; }
.dh-lb__close.closeBtn .close:before, .dh-lb__close.closeBtn .close:after { background-color: var(--white);}
@media (max-width: 640px) { .dh-lb__prev { left: 8px; } .dh-lb__next { right: 8px; } .dh-lb__close { top: 10px; right: 12px; } }


.dh-promo {
  display: none;
}

/* =====================================================================
   RTL (Arabic) — mirror the direction-specific rules above. The landing
   wrapper carries dir="rtl" when language === "ar" (see curtains.mjs).
   ===================================================================== */
/* [dir="rtl"] .dh-cstyle__head { text-align: right; } */
[dir="rtl"] .dh-collage__card::after { left: auto; right: 26px; }

/* collage — mobile staggered cards flip to the opposite corners */
@media (max-width: 859px) {
  [dir="rtl"] .dh-collage__img--a,
  [dir="rtl"] .dh-collage__img--b { align-self: flex-start; }
  [dir="rtl"] .dh-collage__card--curtains  { align-self: flex-end;   margin: 0 2% -56px 0; }
  [dir="rtl"] .dh-collage__card--blinds    { align-self: flex-start; margin: -48px 0 -48px 2%; }
  [dir="rtl"] .dh-collage__card--motorised { align-self: flex-end;   margin: -150px 2% 24px 0; }
}

/* collage — desktop absolute positions mirror across the stage */
@media (min-width: 860px) {
  [dir="rtl"] .dh-collage__img--a { left: auto; right: 14%; }
  [dir="rtl"] .dh-collage__img--b { left: auto; right: 54%; }
  [dir="rtl"] .dh-collage__card--curtains  { left: auto; right: 2%; }
  [dir="rtl"] .dh-collage__card--blinds    { left: auto; right: 40%; }
  [dir="rtl"] .dh-collage__card--motorised { right: auto; left: 0; }
}

/* curtain-style list items align to the right in Arabic */
@media (min-width: 900px) {
  [dir="rtl"] .dh-cstyle__item { text-align: right; }
}

/* how-it-works timeline — dot and connecting line switch to the start side */
[dir="rtl"] .dh-step { padding-right: 0; padding-left: 26px; }
[dir="rtl"] .dh-step__dot { left: auto; right: 0; }
@media (min-width: 760px) {
  [dir="rtl"] .dh-step { padding-left: 0; }
  [dir="rtl"] .dh-step::before { right: 0px; }
}

/* lightbox nav — chevrons point the correct way in RTL (box is on <body>,
   so scope by the <html>/<body> dir rather than the .dh-lp wrapper) */
[dir="rtl"] .dh-lb__prev { left: auto; right: 22px; }
[dir="rtl"] .dh-lb__next { right: auto; left: 22px; }
[dir="rtl"] .dh-lb__prev::before { border-width: 1px 1px 0 0; margin-left: 0; margin-right: 4px; }
[dir="rtl"] .dh-lb__next::before { border-width: 0 0 1px 1px; margin-right: 0; margin-left: 4px; }
@media (max-width: 640px) {
  [dir="rtl"] .dh-lb__prev { right: 8px; }
  [dir="rtl"] .dh-lb__next { left: 8px; }
}
/*
 * 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;
  }
}
