/* =============================================================================
   Home page. Uses tokens from site.css.
   Showroom hero · category shelf · deals band · category blocks (feature / rail / duo) · rooms · brand wall ·
   trust. Entrance motion is transform/opacity only; the spotlight's LCP image never fades (scale only).
   ============================================================================= */

/* ---------- Dateline: H1 + live shop facts, like a newspaper strap ---------- */
.dmh-dateline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-block: 18px 14px; }
.dmh-dateline__title { margin: 0; font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem); font-weight: 700; letter-spacing: -0.01em; }
.dmh-dateline__title span { margin-left: 6px; color: var(--dmh-text-muted); font-size: 0.85rem; font-weight: 400; letter-spacing: 0; }

/* ---------- Showroom hero: light studio wall + floor, real products at real-world heights ----------
   Product photos have white backgrounds, so they blend (multiply) straight onto the light stage. Nothing that wraps
   an image may get transform/opacity/filter (that would isolate the blend and show the white box): entrance and
   hover motion are applied to the <img> itself, and the room must not become a stacking context (no z-index,
   no container-type) or the blend loses the stage behind it. Sizes: --h (cm) × --u, where --u fits 200 cm into the
   stage height and the ~465 cm lineup into the room width (computed from the viewport). */
.dmh-showwrap { padding-top: clamp(14px, 1.6vw, 22px); }
.dmh-show {
  --floor: 17%;
  --show-h: clamp(420px, 30vw, 540px);
  --room-w: calc((100vw - 2 * var(--dmh-gutter)) * 0.66);
  position: relative; display: grid; grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.5fr); grid-template-rows: minmax(0, 1fr); overflow: hidden; isolation: isolate;
  height: var(--show-h); border-radius: var(--dmh-radius-leaf);
  background:
    radial-gradient(75% 95% at 68% -12%, rgb(255 255 255 / 0.75), rgb(255 255 255 / 0.25) 45%, transparent 85%),
    linear-gradient(180deg, var(--dmh-stage-solid) 0%, var(--dmh-ivory) 55%, var(--dmh-stage-edge) 100%);
}
.dmh-show::before { /* the floor */
  content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: var(--floor);
  background: linear-gradient(180deg, color-mix(in srgb, var(--dmh-stage-edge) 70%, var(--dmh-white)), var(--dmh-stage-solid));
  box-shadow: 0 -1px 0 rgb(19 38 90 / 0.07), inset 0 1px 0 rgb(255 255 255 / 0.9);
}
.dmh-show::after { /* one light sweep across the room on load */
  content: ""; position: absolute; z-index: 3; top: -20%; bottom: -20%; left: -30%; width: 18%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.5), transparent);
  transform: translateX(-120%) skewX(-14deg); animation: dmh-streak 2s var(--dmh-ease) 0.6s 1 both;
}
@keyframes dmh-streak { to { transform: translateX(900%) skewX(-14deg); } }

/* Title: exactly two lines ("Cả showroom," / "giá tại kho."), sized from the text column so it never breaks word by word. */
.dmh-show__text { position: relative; z-index: 2; align-self: center; container-type: inline-size; padding: clamp(28px, 3.4vw, 60px); padding-bottom: calc(clamp(28px, 3.4vw, 60px) + 4%); }
.dmh-show__title { margin: 0; color: var(--dmh-navy-950); font-size: clamp(2rem, 10.5cqi, 4.2rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.04em; }
.dmh-show__line { display: block; white-space: nowrap; }
.dmh-show__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; white-space: nowrap; color: var(--dmh-accent-text); font-size: 0.7rem; letter-spacing: var(--dmh-tracking-label); text-transform: uppercase; }
.dmh-show__kicker::before { content: ""; width: 28px; height: 1px; background: var(--dmh-gold-500); }
.dmh-show__title em { padding-bottom: 0.06em; background: linear-gradient(100deg, var(--dmh-gold-800), var(--dmh-gold-700) 60%, var(--dmh-gold-800)); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.dmh-show__lead { max-width: 40ch; margin: 20px 0 28px; line-height: 1.65; color: var(--dmh-text-muted); font-size: clamp(0.92rem, 0.85rem + 0.25vw, 1.05rem); }
.dmh-show__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0; }
.dmh-show__link { position: relative; padding: 6px 0; color: var(--dmh-brand); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.dmh-show__link::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: currentColor; transform-origin: left center; transition: transform var(--dmh-dur) var(--dmh-ease); }
.dmh-show__link:hover::after { transform: scaleX(0.4); }

.dmh-show__room { --room-h: var(--show-h); position: relative; min-width: 0; }
.dmh-show__floor {
  --u: min(calc(var(--room-h) * 0.0043), calc(var(--room-w) / 465));
  position: absolute; right: 0; bottom: 9%; left: 0; display: flex; align-items: flex-end; justify-content: center;
  gap: calc(14 * var(--u)); margin: 0; padding: 0 calc(20 * var(--u)); list-style: none;
}
.dmh-show__item { position: relative; flex: none; }
.dmh-show__item a { position: relative; display: block; color: inherit; text-decoration: none; }
.dmh-show__item a::after { /* contact shadow on the floor */
  content: ""; position: absolute; z-index: -1; right: 2%; bottom: -9px; left: 2%; height: 18px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(40 30 10 / 0.3), transparent); transition: opacity 500ms var(--dmh-ease), transform 500ms var(--dmh-ease);
}
.dmh-show__fig { position: relative; display: block; height: calc(var(--h) * var(--u)); aspect-ratio: var(--ar); }
.dmh-show__fig img {
  position: absolute; top: calc(var(--t) / var(--bh) * -100%); left: calc(var(--l) / var(--bw) * -100%); width: calc(100% / var(--bw));
  max-width: none; height: calc(100% / var(--bh)); mix-blend-mode: multiply;
  animation: dmh-show-rise 900ms var(--dmh-ease) backwards; animation-delay: calc(150ms + var(--i, 0) * 90ms);
  transition: transform 500ms var(--dmh-ease);
}
.dmh-show__item.is-tu-lanh img { animation-name: dmh-show-settle; } /* likely LCP: moves, never fades */
@keyframes dmh-show-rise { from { opacity: 0; transform: translateY(var(--dmh-rise, 24px)); } }
@keyframes dmh-show-settle { from { transform: translateY(var(--dmh-rise, 24px)); } }
.dmh-show__item.is-wall { position: absolute; top: 8%; left: 18%; }
.dmh-show__item.is-wall a::after { right: 10%; bottom: -16px; left: 10%; opacity: 0.45; }
.dmh-show__label {
  position: absolute; top: calc(100% + 14px); left: 50%; color: var(--dmh-text-muted); font-size: 0.62rem; font-weight: 700;
  letter-spacing: var(--dmh-tracking-label); text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); transition: color var(--dmh-dur);
}
.dmh-show__label::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 2px; background: var(--tile); transform: scaleX(0); transition: transform 320ms var(--dmh-ease); }
.dmh-show__item.is-wall .dmh-show__label { display: none; }
.dmh-show__item:last-child .dmh-show__label { right: 0; left: auto; transform: none; } /* never past the stage edge */
.dmh-show__tag {
  position: absolute; bottom: calc(100% + 16px); left: 50%; z-index: 4; display: grid; gap: 3px; width: max-content; max-width: 220px; padding: 10px 12px;
  border-radius: var(--dmh-radius-leaf-sm); background: var(--dmh-white); box-shadow: var(--dmh-shadow-2);
  opacity: 0; transform: translate(-50%, 6px); transition: opacity var(--dmh-dur) var(--dmh-ease), transform var(--dmh-dur) var(--dmh-ease); pointer-events: none;
}
.dmh-show__item.is-wall .dmh-show__tag { top: calc(100% + 18px); bottom: auto; }
.dmh-show__tag b { justify-self: start; padding: 1px 6px; border-radius: var(--dmh-radius-tag); background: var(--dmh-price); color: var(--dmh-white); font-size: 0.66rem; }
.dmh-show__name { display: -webkit-box; overflow: hidden; color: var(--dmh-text); font-size: 0.78rem; font-weight: 600; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dmh-show__tag .dmh-price__now { font-size: 0.95rem; }
.dmh-show__tag .dmh-price__off { display: none; }
.dmh-show__item a:hover img, .dmh-show__item a:focus-visible img { transform: translateY(-10px); }
.dmh-show__item a:hover::after, .dmh-show__item a:focus-visible::after { opacity: 0.55; transform: scaleX(0.9); }
.dmh-show__item a:hover .dmh-show__tag, .dmh-show__item a:focus-visible .dmh-show__tag { opacity: 1; transform: translate(-50%, 0); }
.dmh-show__item a:hover .dmh-show__label, .dmh-show__item a:focus-visible .dmh-show__label { color: var(--dmh-navy-950); }
.dmh-show__item a:hover .dmh-show__label::after, .dmh-show__item a:focus-visible .dmh-show__label::after { transform: none; }
.dmh-show__item a:focus-visible { outline: none; }
.dmh-show__item a:focus-visible .dmh-show__fig { outline: 2px solid var(--dmh-focus); outline-offset: 6px; border-radius: 4px; }

.dmh-show.is-banner { display: block; height: auto; aspect-ratio: 12 / 5; background: var(--dmh-navy-950); }
.dmh-show.is-banner::before, .dmh-show.is-banner::after { display: none; }
.dmh-show.is-banner img { width: 100%; height: 100%; object-fit: cover; }

.dmh-show__promises { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 14px 0 0; padding: 0 clamp(4px, 1vw, 14px); list-style: none; }
.dmh-show__promises li { display: inline-flex; align-items: center; gap: 8px; color: var(--dmh-text-muted); font-size: 0.8rem; font-weight: 600; }
.dmh-show__promises .dmh-icon { width: 18px; height: 18px; color: var(--dmh-accent-text); }
@media (prefers-reduced-motion: reduce) {
  .dmh-show::after { display: none; }
}

/* ---------- Category shelf: one row of round stages ---------- */
.dmh-shelf { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 2.4vw, 40px); padding-block: clamp(26px, 3vw, 40px) 4px; }
.dmh-shelf__title { margin: 0; padding-left: 14px; border-left: 2px solid var(--dmh-gold-500); font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.dmh-shelf__title span { display: block; color: var(--dmh-accent-text); font-size: 0.66rem; letter-spacing: var(--dmh-tracking-label); text-transform: uppercase; }
.dmh-shelf__list { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.dmh-shelf__list a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px 8px; color: var(--dmh-text); text-align: center; text-decoration: none; }
.dmh-shelf__media {
  position: relative; display: grid; place-items: center; width: clamp(64px, 6vw, 96px); aspect-ratio: 1; margin-bottom: 8px; isolation: isolate;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--dmh-white), var(--dmh-stage-solid) 75%);
}
.dmh-shelf__media::before { content: ""; position: absolute; inset: -5px; border: 1.5px solid var(--tile); border-radius: 50%; opacity: 0; transform: scale(0.86); transition: opacity var(--dmh-dur), transform 420ms var(--dmh-ease); }
.dmh-shelf__media::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: color-mix(in srgb, var(--tile) 20%, transparent); opacity: 0; transition: opacity 420ms var(--dmh-ease); }
.dmh-shelf__media img { width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--dmh-dur-slow) var(--dmh-ease); }
.dmh-shelf__name { font-size: 0.82rem; font-weight: 600; line-height: 1.25; }
.dmh-shelf__list small { color: var(--dmh-text-muted); font-size: 0.68rem; }
.dmh-shelf__list a:hover .dmh-shelf__media::before, .dmh-shelf__list a:focus-visible .dmh-shelf__media::before { opacity: 1; transform: none; }
.dmh-shelf__list a:hover .dmh-shelf__media::after { opacity: 1; }
.dmh-shelf__list a:hover .dmh-shelf__media img { transform: translateY(-7%) scale(1.08); }
.dmh-shelf__list a:hover .dmh-shelf__name { color: var(--dmh-brand); }

/* ---------- Deals band: intro column + auto-advancing rail ---------- */
.dmh-deals {
  margin-top: clamp(26px, 3vw, 40px); padding-block: clamp(30px, 4vw, 56px); color: var(--dmh-on-dark);
  background:
    radial-gradient(50% 120% at 100% 0%, rgb(201 162 74 / 0.22), transparent 60%),
    radial-gradient(40% 100% at 0% 100%, rgb(215 38 61 / 0.22), transparent 60%),
    var(--dmh-navy-950);
}
.dmh-deals__inner { display: grid; grid-template-columns: clamp(240px, 21vw, 320px) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); }
.dmh-deals__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dmh-deals .dmh-head__title { margin: 0; color: var(--dmh-white); font-size: clamp(1.5rem, 1.05rem + 1.4vw, 2.3rem); line-height: 1.12; }
.dmh-deals .dmh-eyebrow .dmh-icon { color: var(--dmh-red-500); }
.dmh-deals .dmh-eyebrow::before { display: none; }
.dmh-deals__lead { margin: 0; color: var(--dmh-on-dark-soft); font-size: var(--dmh-text-sm); }
.dmh-deals__all { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--dmh-accent-on-dark); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.dmh-deals__all .dmh-icon { transition: transform var(--dmh-dur) var(--dmh-ease); }
.dmh-deals__all:hover .dmh-icon { transform: translateX(4px); }
.dmh-deals .dmh-card__inner { border-color: transparent; }
.dmh-deals__rail { grid-auto-columns: calc((100% - 3 * var(--dmh-gap)) / 4); }
.dmh-deals .dmh-railctl__btn { border-color: var(--dmh-line-on-dark); background: transparent; color: var(--dmh-white); }
.dmh-deals .dmh-railctl__btn:hover { border-color: var(--dmh-gold-500); background: var(--dmh-gold-500); color: var(--dmh-navy-950); }
.dmh-deals .dmh-railbar { background: var(--dmh-line-on-dark); }

/* ---------- Category blocks ---------- */
.dmh-catmark {
  display: grid; flex: none; place-items: center; width: 52px; height: 52px; border: 1px solid color-mix(in srgb, var(--tile) 32%, transparent);
  border-radius: 50%; background: color-mix(in srgb, var(--tile) 13%, var(--dmh-white)); color: color-mix(in srgb, var(--tile) 70%, var(--dmh-ink-900));
}
.dmh-catmark .dmh-icon { width: 26px; height: 26px; stroke-width: 1.5; }
.dmh-catrail__head, .dmh-duo__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.dmh-catrail__titles, .dmh-duo__titles { flex: 1 1 200px; min-width: 0; }
.dmh-catrail .dmh-head__title, .dmh-duo .dmh-head__title { margin-top: 2px; }

/* Feature: dark editorial panel + 4×2 grid (mirrored with .is-rev). */
.dmh-feature { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(0, 3.2fr); align-items: stretch; gap: var(--dmh-gap); }
.dmh-feature.is-rev { grid-template-columns: minmax(0, 3.2fr) minmax(250px, 1fr); }
.dmh-feature.is-rev .dmh-feature__panel { order: 2; }
.dmh-feature__panel {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; overflow: hidden; isolation: isolate;
  padding: clamp(22px, 2.4vw, 34px); border-radius: var(--dmh-radius-leaf); color: var(--dmh-on-dark);
  background: radial-gradient(90% 55% at 80% 100%, color-mix(in srgb, var(--tile) 45%, var(--dmh-navy-800)), var(--dmh-navy-950) 72%);
}
.dmh-feature__mark { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 6px; border: 1px solid var(--dmh-line-on-dark); border-radius: 50%; color: var(--dmh-accent-on-dark); }
.dmh-feature__mark .dmh-icon { width: 25px; height: 25px; stroke-width: 1.5; }
.dmh-feature__meta { color: var(--dmh-accent-on-dark); font-size: 0.66rem; font-weight: 700; letter-spacing: var(--dmh-tracking-label); text-transform: uppercase; }
.dmh-feature__title { margin: 0; font-size: clamp(1.7rem, 1.15rem + 1.6vw, 2.6rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.dmh-feature__title a { color: var(--dmh-white); text-decoration: none; }
.dmh-feature__tagline { margin: 0; color: var(--dmh-on-dark-soft); font-size: 0.85rem; }
.dmh-feature__subs { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 6px 0 10px; padding: 0; list-style: none; }
.dmh-feature__subs a { display: inline-block; padding: 4px 0; border-bottom: 1px solid transparent; color: var(--dmh-on-dark); font-size: 0.84rem; text-decoration: none; transition: color var(--dmh-dur), border-color var(--dmh-dur); }
.dmh-feature__subs a:hover { border-color: currentColor; color: var(--dmh-accent-on-dark); }
.dmh-feature__visual {
  position: absolute; right: -12%; bottom: -8%; z-index: -1; display: grid; place-items: center; width: 78%; aspect-ratio: 1; overflow: hidden;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--dmh-white), var(--dmh-stage-solid) 68%, var(--dmh-stage-edge)); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
  transition: transform 900ms var(--dmh-ease);
}
.dmh-feature__visual img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.dmh-feature__panel:hover .dmh-feature__visual { transform: translate(-10px, -10px) rotate(-4deg); }
.dmh-feature__panel .dmh-railctl { display: none; }
.dmh-feature__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Duo: two categories side by side. */
.dmh-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.dmh-duo__col {
  min-width: 0; padding: clamp(16px, 2vw, 24px); border: 1px solid color-mix(in srgb, var(--tile) 18%, var(--dmh-line)); border-radius: var(--dmh-radius-leaf);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tile) 10%, var(--dmh-white)), var(--dmh-white) 38%);
}
.dmh-duo .dmh-head__title { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); }
.dmh-duo__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dmh-duo__head .dmh-railctl, .dmh-catrail__head .dmh-railctl { order: 3; }
.dmh-catmore { display: none; }

/* ---------- Rooms ---------- */
.dmh-rooms__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--dmh-gap); margin: 0; padding: 0; list-style: none; }
.dmh-room {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 360px; padding: 22px 22px 0; overflow: hidden; isolation: isolate;
  border-radius: var(--dmh-radius-leaf); background: linear-gradient(165deg, color-mix(in srgb, var(--tile) 20%, var(--dmh-white)), color-mix(in srgb, var(--tile) 4%, var(--dmh-ivory)) 70%);
}
.dmh-room__no { color: transparent; font-size: 3.4rem; font-weight: 700; line-height: 0.9; letter-spacing: -0.06em; -webkit-text-stroke: 1px color-mix(in srgb, var(--tile) 55%, var(--dmh-ink-900)); }
.dmh-room__name { margin: 4px 0 0; font-size: 1.35rem; font-weight: 700; }
.dmh-room__name a { color: var(--dmh-text); text-decoration: none; }
.dmh-room__text { margin: 0; color: var(--dmh-text-muted); font-size: 0.84rem; }
.dmh-room__cats { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.dmh-room__cats a {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 4px 12px; border: 1px solid rgb(255 255 255 / 0.9); border-radius: var(--dmh-radius-pill);
  background: rgb(255 255 255 / 0.78); color: var(--dmh-brand); font-size: 0.76rem; font-weight: 700; text-decoration: none; transition: background var(--dmh-dur), color var(--dmh-dur);
}
.dmh-room__cats .dmh-icon { width: 14px; height: 14px; }
.dmh-room__cats a:hover { border-color: var(--dmh-navy-800); background: var(--dmh-navy-800); color: var(--dmh-accent-on-dark); }
.dmh-room__media { position: relative; flex: 1; min-height: 150px; margin-top: auto; }
.dmh-room__media img { position: absolute; bottom: -6%; left: -4%; width: 64%; height: auto; mix-blend-mode: multiply; transition: transform 700ms var(--dmh-ease); }
.dmh-room__media img:last-child:not(:first-child) { right: -6%; bottom: 6%; left: auto; width: 52%; }
.dmh-room:hover .dmh-room__media img:first-child { transform: translateY(-8px) rotate(-2deg); }
.dmh-room:hover .dmh-room__media img:last-child:not(:first-child) { transform: translateY(-12px) rotate(2deg); }

/* ---------- Brand wall: wordmarks, no boxes ---------- */
.dmh-brandwall { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px clamp(24px, 4vw, 64px); }
.dmh-brandwall__head .dmh-head__title { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); white-space: nowrap; }
.dmh-brandwall__list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.dmh-brandwall__list li:not(:last-child)::after { content: "/"; margin: 0 12px 0 8px; color: var(--dmh-gold-500); font-weight: 400; }
.dmh-brandwall__list a { display: inline-block; padding: 4px 0; color: var(--dmh-ink-600); font-size: clamp(1.05rem, 0.85rem + 0.6vw, 1.45rem); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; transition: color var(--dmh-dur); }
.dmh-brandwall__list a:hover { color: var(--dmh-navy-950); }
.dmh-brandwall__list sup { margin-left: 3px; color: var(--dmh-accent-text); font-size: 0.6rem; letter-spacing: 0; }

/* ---------- Trust: about + facts ---------- */
.dmh-trust { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 64px); }
.dmh-trust__about p { max-width: 70ch; color: var(--dmh-text-muted); }
.dmh-trust__about p:last-child { margin-bottom: 0; }
.dmh-trust__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--dmh-line); border-radius: var(--dmh-radius-leaf); background: var(--dmh-line); list-style: none; }
.dmh-trust__stats li { display: grid; gap: 4px; padding: clamp(18px, 2.4vw, 30px); background: var(--dmh-white); }
.dmh-trust__stats strong { color: var(--dmh-navy-900); font-size: clamp(2rem, 1.3rem + 1.8vw, 3.2rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.dmh-trust__stats span { color: var(--dmh-text-muted); font-size: 0.8rem; }

/* ---------- Responsive ---------- */
.dmh-feature__grid > :nth-child(n + 9) { display: none; }
@media (min-width: 1600px) {
  .dmh-feature__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .dmh-feature__grid > :nth-child(n + 9) { display: flex; }
}
@media (max-width: 1279px) {
  .dmh-shelf__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 96px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .dmh-shelf__list::-webkit-scrollbar { display: none; }
  .dmh-shelf__list li { scroll-snap-align: start; }
}
@media (max-width: 1199px) {
  .dmh-show { --show-h: clamp(440px, 46vw, 560px); --room-w: calc((100vw - 2 * var(--dmh-gutter)) * 0.65); grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.5fr); }
  .dmh-show__text { padding: 28px 24px 36px 36px; }
  .dmh-show__kicker { font-size: 0.6rem; letter-spacing: 0.1em; }
  .dmh-show__lead { margin: 14px 0 20px; font-size: 0.88rem; }
  .dmh-feature__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dmh-feature__grid > :nth-child(n + 7) { display: none; }
  .dmh-duo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dmh-duo__grid > :nth-child(n + 5) { display: none; }
  .dmh-deals__rail { grid-auto-columns: calc((100% - 2 * var(--dmh-gap)) / 3); }
}
@media (max-width: 1023px) {
  .dmh-show { --floor: 12%; --room-w: calc(100vw - 2 * var(--dmh-gutter)); grid-template-columns: 1fr; height: auto; }
  .dmh-show__text { padding-bottom: 8px; }
  .dmh-show__lead { max-width: 52ch; }
  .dmh-show__room { --room-h: clamp(280px, 50vw, 420px); height: var(--room-h); }
  .dmh-show__item.is-wall { left: 10%; }

  .dmh-deals__inner { grid-template-columns: 1fr; }
  .dmh-deals__intro { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
  .dmh-deals__intro .dmh-head__title { flex: 1 1 100%; }
  .dmh-deals__lead { flex: 1 1 100%; }
  .dmh-deals__intro .dmh-railctl { margin-left: auto; }
  .dmh-feature, .dmh-feature.is-rev { grid-template-columns: 1fr; }
  .dmh-feature.is-rev .dmh-feature__panel { order: 0; }
  .dmh-feature__panel { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 18px 20px; }
  .dmh-feature__mark { margin: 0; }
  .dmh-feature__title { flex: 1 1 auto; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 1.9rem); }
  .dmh-feature__meta, .dmh-feature__tagline { order: 5; flex: 1 1 100%; }
  .dmh-feature__subs { order: 6; flex: 1 1 100%; margin: 0; }
  .dmh-feature__visual { display: none; }
  .dmh-feature__cta { order: 7; }
  .dmh-feature__panel .dmh-railctl { display: flex; order: 8; margin-left: auto; }
  .dmh-duo { grid-template-columns: 1fr; }
  /* Product lists become rails that advance on their own. */
  .dmh-feature__grid, .dmh-duo__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--dmh-gap)) / 3);
    padding: 4px 2px 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .dmh-feature__grid::-webkit-scrollbar, .dmh-duo__grid::-webkit-scrollbar { display: none; }
  .dmh-feature__grid > *, .dmh-duo__grid > * { scroll-snap-align: start; }
  .dmh-feature__grid > :nth-child(n), .dmh-duo__grid > :nth-child(n) { display: flex; }
  .dmh-rooms__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dmh-brandwall, .dmh-trust { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .dmh-duo__head .dmh-railctl { display: none; }
}
@media (max-width: 767px) {
  .dmh-show__text { padding: 26px 20px 4px; }
  .dmh-show__kicker { margin-bottom: 12px; font-size: 0.62rem; }
  .dmh-show__lead { margin: 12px 0 18px; font-size: 0.88rem; }
  .dmh-show__room { --room-h: 230px; }
  .dmh-show__floor { --u: min(calc(var(--room-h) * 0.0036), calc(var(--room-w) / 345)); }
  .dmh-show__item.is-tu-dong, .dmh-show__item.is-thiet-bi-am-thanh { display: none; } /* phones: fewer, larger products */
  .dmh-show__floor { bottom: 8%; }
  .dmh-show__label { display: none; }
  .dmh-show__item.is-wall { top: 6%; left: 6%; }
  .dmh-show__promises { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .dmh-show__promises li { font-size: 0.74rem; }
  .dmh-dateline { padding-block: 14px 10px; }
  .dmh-dateline__title span { display: block; margin: 2px 0 0; font-size: 0.8rem; }
  .dmh-shelf { grid-template-columns: 1fr; gap: 10px; }
  .dmh-shelf__list { grid-auto-columns: 84px; }
  /* Phones: category lists are 2-column grids (6 products, 4 per duo column) with large photos and one
     "Xem tất cả" button underneath — no sideways rails, no rail controls. Only the deals band keeps a moving rail. */
  .dmh-feature__grid, .dmh-duo__grid, .dmh-catrail .dmh-rail {
    grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto;
    padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .dmh-feature__grid > :nth-child(n + 7), .dmh-catrail .dmh-rail > :nth-child(n + 7), .dmh-duo__grid > :nth-child(n + 5) { display: none; }
  .dmh-catrail .dmh-railbar, .dmh-catrail__head .dmh-railctl, .dmh-duo__head .dmh-railctl, .dmh-feature__panel .dmh-railctl { display: none; }
  .dmh-catmore {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin-top: 14px;
    border: 1px solid var(--dmh-line-strong); border-radius: var(--dmh-radius-pill); background: var(--dmh-white);
    color: var(--dmh-brand); font-size: 0.86rem; font-weight: 700; text-decoration: none;
  }
  .dmh-catmore .dmh-icon { width: 16px; height: 16px; }
  .dmh-catrail__head, .dmh-duo__head { flex-wrap: nowrap; align-items: baseline; gap: 12px; margin-bottom: 12px; }
  .dmh-catrail__titles .dmh-eyebrow, .dmh-duo__titles .dmh-eyebrow { display: none; }
  .dmh-catrail .dmh-head__title, .dmh-duo .dmh-head__title { font-size: 1.35rem; }
  .dmh-catrail__head .dmh-head__more, .dmh-duo__head .dmh-head__more { flex: none; font-size: 0.82rem; }
  .dmh-duo { gap: 40px; }
  .dmh-duo__col { padding: 0; border: 0; border-radius: 0; background: none; }
  .dmh-feature__panel { gap: 6px 12px; padding: 16px; }
  .dmh-feature__mark { width: 40px; height: 40px; }
  .dmh-feature__tagline, .dmh-feature__cta { display: none; }
  .dmh-feature__subs { position: relative; flex-wrap: nowrap; gap: 0 16px; overflow-x: auto; scrollbar-width: none; }
  .dmh-feature__subs::-webkit-scrollbar { display: none; }
  .dmh-feature__subs a { white-space: nowrap; }
  .dmh-rooms__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .dmh-rooms__list::-webkit-scrollbar { display: none; }
  .dmh-room { min-height: 320px; scroll-snap-align: start; }
  .dmh-trust__stats strong { font-size: 2rem; }
  .dmh-catmark { display: none; }
}
