.showroom-hero { padding: 28px var(--gutter) 0; }
.showroom-hero__frame { position: relative; width: min(100%, var(--content-max)); min-height: min(760px, calc(100vh - 150px)); margin-inline: auto; overflow: hidden; border-radius: clamp(24px, 4vw, 48px); background: #d9d0c2; box-shadow: var(--shadow-soft); }
.showroom-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showroom-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,30,24,.72) 0%, rgba(25,30,24,.26) 52%, rgba(25,30,24,.06) 100%); }
.showroom-hero__content { position: relative; z-index: 2; display: grid; align-content: end; width: min(620px, 90%); min-height: inherit; padding: clamp(34px, 6vw, 78px); color: white; }
.showroom-hero__content .eyebrow, .showroom-hero__content p { color: rgba(255,255,255,.78); }
.showroom-hero__content h1 { max-width: 760px; }
.showroom-hero__content p { margin-top: 22px; max-width: 560px; font-size: clamp(17px, 1.8vw, 22px); }
.showroom-hero__actions { margin-top: 30px; }
.showroom-hero__actions .button--secondary { border-color: rgba(255,255,255,.55); color: white; }
.showroom-hero__actions .button--secondary:hover { background: rgba(255,255,255,.12); }
.room-hotspot { position: absolute; z-index: 4; top: 45%; left: 56%; width: 32px; height: 32px; border: 8px solid rgba(255,255,255,.65); border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 1px white; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 1px white, 0 0 0 0 rgba(255,255,255,.45); } 50% { box-shadow: 0 0 0 1px white, 0 0 0 14px rgba(255,255,255,0); } }
.room-summary { position: absolute; z-index: 5; right: 30px; bottom: 30px; display: grid; grid-template-columns: repeat(2, auto); gap: 24px; padding: 18px 22px; border: 1px solid rgba(255,255,255,.32); border-radius: 18px; background: rgba(255,255,255,.84); backdrop-filter: blur(18px); color: var(--color-text); }
.room-summary span { display: block; font-size: 11px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .08em; }
.room-summary strong { font-size: 18px; }
.room-choice-card { text-align: center; }
.room-choice-card__image { width: 112px; height: 112px; margin: 0 auto 18px; padding: 5px; border: 1px solid var(--color-border); border-radius: 50%; }
.room-choice-card__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.room-choice-card h3 { font-size: 21px; }
.room-choice-card p { margin-top: 8px; font-size: 14px; }
.room-choice-card.is-active .room-choice-card__image { border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(17,17,17,.08); }
.solution-card { min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: white; background: linear-gradient(145deg, #8f9384, #3f4b3b); }
.solution-card:nth-child(2) { background: linear-gradient(145deg, #b3a79c, #716a66); }
.solution-card:nth-child(3) { background: linear-gradient(145deg, #81917f, #4d5e4e); }
.solution-card:nth-child(4) { background: linear-gradient(145deg, #b49e7b, #6e5840); }
.solution-card p { color: rgba(255,255,255,.72); }
.category-tile { position: relative; min-height: 240px; display: flex; align-items: flex-end; overflow: hidden; padding: 24px; border-radius: var(--radius-md); color: white; background: linear-gradient(145deg, #737d6d, #394437); }
.category-tile:nth-child(3n+2) { background: linear-gradient(145deg, #ab9f8f, #70665a); }
.category-tile:nth-child(3n+3) { background: linear-gradient(145deg, #9a866d, #66533f); }
.category-tile::after { content: ""; position: absolute; width: 180px; height: 180px; right: -45px; top: -45px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.category-tile h3 { position: relative; z-index: 1; font-size: 22px; }
.split-feature { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 580px; overflow: hidden; border-radius: var(--radius-xl); background: var(--color-surface); border: 1px solid var(--color-border); }
.split-feature__media { min-height: 480px; background: var(--color-stone); }
.split-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.split-feature__content { display: grid; align-content: center; padding: clamp(38px, 6vw, 82px); }
.split-feature__content p { margin-top: 18px; font-size: 18px; }
.split-feature__content .cluster { margin-top: 28px; }
.living-room-intro { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: end; }
.living-room-intro p { font-size: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; border-radius: var(--radius-md); background: white; border: 1px solid var(--color-border); }
.product-card__visual { position: relative; aspect-ratio: 1 / .82; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #ece8df, #d3cdc0); }
.product-card__visual::before { content: ""; width: 58%; height: 36%; border-radius: 28px; background: #7f8177; box-shadow: 0 16px 25px rgba(0,0,0,.13); }
.product-card:nth-child(3n+2) .product-card__visual::before { width: 42%; height: 42%; border-radius: 50%; background: #a08465; }
.product-card:nth-child(3n+3) .product-card__visual::before { width: 22%; height: 58%; border-radius: 30px 30px 12px 12px; background: #50584d; }
.product-card__badge { position: absolute; left: 14px; top: 14px; }
.product-card__body { padding: 18px; }
.product-card__body h3 { font-size: 19px; }
.product-card__body p { margin-top: 5px; font-size: 13px; }
.product-card__footer { display: flex; justify-content: space-between; margin-top: 16px; font-size: 14px; }
.room-total { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(30px, 5vw, 56px); border-radius: var(--radius-xl); background: var(--color-accent); color: white; }
.room-total p { color: rgba(255,255,255,.72); }
.room-total__price { text-align: right; }
.room-total__price small { display: block; color: rgba(255,255,255,.65); }
.room-total__price strong { font-size: clamp(34px, 4vw, 58px); font-weight: 520; }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { position: relative; padding-top: 68px; }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--color-accent); border-radius: 50%; color: var(--color-accent); font-weight: 700; }
.step h3 { font-size: 18px; line-height: 1.25; }

/* Patch 01H — Room products as a collapsible Showroom drawer */
.room-products-trigger {
  position: absolute;
  z-index: 8;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 36px);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  background: rgba(250,252,253,.76);
  color: var(--color-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 14px 38px rgba(0,0,0,.14);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), background var(--transition), box-shadow var(--transition);
}

.room-products-trigger:hover,
.room-products-trigger:focus-visible {
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 18px 46px rgba(0,0,0,.18);
  transform: translateY(-2px);
}

.room-products-trigger:focus-visible {
  outline: 2px solid rgba(17,17,17,.52);
  outline-offset: 3px;
}

.room-products-trigger__label {
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.room-products-trigger__count {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(17,17,17,.94);
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.room-products-trigger svg {
  width: 16px;
  height: 16px;
  margin-right: 2px;
}

.showroom-hero__frame.is-products-open .room-products-trigger {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.room-products-drawer {
  position: absolute;
  z-index: 10;
  right: clamp(14px, 2.2vw, 30px);
  bottom: clamp(14px, 2.2vw, 30px);
  left: clamp(14px, 2.2vw, 30px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  max-height: min(56svh, 590px);
  padding: clamp(20px, 2.4vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: clamp(24px, 2.8vw, 34px);
  background: linear-gradient(145deg, rgba(252,253,253,.9), rgba(238,245,247,.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 30px 90px rgba(24,39,31,.25);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(100% + 42px));
  transition: transform 360ms cubic-bezier(.22,.8,.24,1), opacity 220ms ease, visibility 0s linear 360ms;
}

.showroom-hero__frame.is-products-open .room-products-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.room-products-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.room-products-drawer__header h2 {
  max-width: 760px;
  margin-top: 5px;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.05;
}

.room-products-drawer__description {
  max-width: 760px;
  margin-top: 10px;
  font-size: 15px;
}

.room-products-drawer__controls {
  display: flex;
  gap: 7px;
  flex: 0 0 auto;
}

.room-products-drawer__arrow,
.room-products-drawer__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  color: var(--color-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 8px 20px rgba(0,0,0,.07);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.room-products-drawer__arrow:hover,
.room-products-drawer__close:hover,
.room-products-drawer__arrow:focus-visible,
.room-products-drawer__close:focus-visible {
  background: rgba(255,255,255,.86);
  box-shadow: inset 0 1px 0 white, 0 10px 25px rgba(0,0,0,.10);
  transform: translateY(-1px);
}

.room-products-drawer__arrow:focus-visible,
.room-products-drawer__close:focus-visible {
  outline: 2px solid rgba(17,17,17,.45);
  outline-offset: 2px;
}

.room-products-drawer__close svg {
  width: 17px;
  height: 17px;
}

.room-products-drawer__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 246px);
  gap: 12px;
  min-height: 0;
  margin-top: 20px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(17,17,17,.3) transparent;
}

.room-products-drawer__rail .product-card {
  min-width: 0;
  height: 100%;
  border-color: rgba(255,255,255,.86);
  border-radius: 20px;
  background: rgba(255,255,255,.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 10px 30px rgba(0,0,0,.07);
  scroll-snap-align: start;
}

.room-products-drawer__rail .product-card:hover {
  transform: translateY(-2px);
}

.room-products-drawer__rail .product-card__visual {
  aspect-ratio: 1.45 / 1;
  background: linear-gradient(145deg, rgba(236,240,237,.92), rgba(210,216,209,.9));
}

.room-products-drawer__rail .product-card__badge {
  display: none;
}

.room-products-drawer__rail .product-card__body {
  padding: 14px 15px 15px;
}

.room-products-drawer__rail .product-card__body h3 {
  overflow: hidden;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-products-drawer__rail .product-card__body p {
  display: none;
}

.room-products-drawer__rail .product-card__footer {
  margin-top: 10px;
  font-size: 13px;
}

.room-products-drawer__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(17,17,17,.12);
  color: var(--color-muted);
  font-size: 13px;
}

.room-products-drawer__footer .button {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .room-products-drawer {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-height: min(62svh, 620px);
  }

  .room-products-drawer__rail {
    grid-auto-columns: minmax(200px, 230px);
  }
}

@media (max-width: 640px) {
  .room-products-trigger {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding-left: 15px;
  }

  .room-products-trigger__label {
    font-size: 13px;
  }

  .room-products-trigger__count {
    width: 31px;
    height: 31px;
  }

  .room-products-drawer {
    right: 8px;
    bottom: 8px;
    left: 8px;
    max-height: min(72svh, 660px);
    padding: 18px;
    border-radius: 24px;
  }

  .room-products-drawer__header {
    gap: 12px;
  }

  .room-products-drawer__header h2 {
    font-size: 22px;
  }

  .room-products-drawer__description {
    display: none;
  }

  .room-products-drawer__controls {
    gap: 5px;
  }

  .room-products-drawer__arrow,
  .room-products-drawer__close {
    width: 38px;
    height: 38px;
  }

  .room-products-drawer__rail {
    grid-auto-columns: minmax(210px, 78vw);
    margin-top: 15px;
  }

  .room-products-drawer__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .room-products-drawer__footer .button {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-products-drawer,
  .room-products-trigger {
    transition: none;
  }
}


/* Patch 01.2 — complete 12-product hotspot layer + compact non-price bottom bar */
.room-hotspots {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

/* Patch 01.5 — every product badge is anchored to its own hotspot */
.room-hotspot-node {
  position: absolute;
  z-index: 4;
  top: var(--hotspot-y);
  left: var(--hotspot-x);
  width: 0;
  height: 0;
  pointer-events: none;
}

.room-hotspot-node.is-open {
  z-index: 8;
}

.room-hotspot {
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.98);
  border-radius: 50%;
  background: rgba(29,33,29,.88);
  box-shadow: 0 0 0 4px rgba(255,255,255,.72), 0 8px 22px rgba(15,18,15,.28);
  animation: none;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, opacity 180ms ease;
}

.room-hotspot > span {
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: rgba(255,255,255,.92);
  transition: inset 160ms ease, background 160ms ease;
}

.room-hotspot:hover,
.room-hotspot:focus-visible,
.room-hotspot.is-active {
  z-index: 2;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(255,255,255,.84), 0 10px 28px rgba(15,18,15,.34);
  transform: translate(-50%, -50%) scale(1.08);
}

.room-hotspot.is-active {
  animation: hotspot-active-pulse 2.4s ease-in-out infinite;
}

.room-hotspot:hover > span,
.room-hotspot:focus-visible > span,
.room-hotspot.is-active > span {
  inset: 8px;
  background: white;
}

.room-hotspot:focus-visible {
  outline: 2px solid white;
  outline-offset: 6px;
}

@keyframes hotspot-active-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(255,255,255,.84), 0 10px 28px rgba(15,18,15,.34); }
  50% { box-shadow: 0 0 0 9px rgba(255,255,255,.22), 0 12px 34px rgba(15,18,15,.38); }
}

.room-product-preview {
  position: absolute;
  z-index: 7;
  width: min(300px, calc(100vw - 64px));
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25,29,25,.96), rgba(35,40,34,.93));
  color: white;
  box-shadow: 0 24px 70px rgba(13,16,13,.30), inset 0 1px 0 rgba(255,255,255,.08);
  pointer-events: auto;
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.room-product-preview[hidden] {
  display: none;
}

.room-product-preview::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: rgba(31,36,31,.95);
  transform: rotate(45deg);
}

.room-hotspot-node--right .room-product-preview {
  left: 30px;
  top: 0;
  transform: translateY(-50%);
}

.room-hotspot-node--right .room-product-preview::after {
  left: -9px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.room-hotspot-node--left .room-product-preview {
  right: 30px;
  top: 0;
  transform: translateY(-50%);
}

.room-hotspot-node--left .room-product-preview::after {
  right: -9px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.room-hotspot-node--above .room-product-preview {
  left: 0;
  bottom: 30px;
  transform: translateX(-50%);
}

.room-hotspot-node--above .room-product-preview::after {
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%) rotate(45deg);
}

.room-hotspot-node--below .room-product-preview {
  left: 0;
  top: 30px;
  transform: translateX(-50%);
}

.room-hotspot-node--below .room-product-preview::after {
  left: 50%;
  top: -9px;
  transform: translateX(-50%) rotate(45deg);
}

.room-product-preview.is-updating {
  animation: product-preview-refresh 220ms ease both;
}

@keyframes product-preview-refresh {
  0% { opacity: .72; }
  100% { opacity: 1; }
}

.room-product-preview__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.room-product-preview h2 {
  font-size: clamp(19px, 1.5vw, 24px);
  line-height: 1.12;
}

.room-product-preview__price {
  margin-top: 12px;
  color: var(--color-brass);
  font-size: 18px;
  font-weight: 650;
}

.room-product-preview__cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin-top: 17px;
  padding: 10px 13px 10px 15px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 11px;
  background: rgba(95,108,86,.48);
  color: white;
  font-size: 14px;
  font-weight: 650;
  transition: background 160ms ease, transform 160ms ease;
}

.room-product-preview__cta:hover,
.room-product-preview__cta:focus-visible {
  background: rgba(112,126,101,.66);
  transform: translateY(-1px);
}

.room-product-preview__cta:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.room-product-preview__cta svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.room-products-trigger {
  min-width: min(390px, calc(100% - 36px));
  min-height: 76px;
  justify-content: flex-start;
  gap: 14px;
  padding: 9px 12px 9px 10px;
  border-color: rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(27,31,27,.94), rgba(18,21,18,.92));
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 52px rgba(14,17,14,.30);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.room-products-trigger:hover,
.room-products-trigger:focus-visible {
  background: linear-gradient(135deg, rgba(37,43,36,.97), rgba(23,27,23,.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 22px 58px rgba(14,17,14,.36);
}

.room-products-trigger:focus-visible {
  outline-color: rgba(255,255,255,.72);
}

.room-products-trigger__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(88,101,79,.46);
}

.room-products-trigger__icon svg {
  width: 25px;
  height: 25px;
  margin: 0;
}

.room-products-trigger__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.room-products-trigger__copy strong {
  font-size: 15px;
  line-height: 1.15;
}

.room-products-trigger__copy span {
  overflow: hidden;
  color: rgba(255,255,255,.66);
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-products-trigger__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  flex: 0 0 auto;
  border-radius: 50%;
  color: rgba(255,255,255,.92);
}

.room-products-trigger__arrow svg {
  width: 22px;
  height: 22px;
  margin: 0;
}

.showroom-hero__frame.is-products-open .room-hotspot,
.showroom-hero__frame.is-products-open .room-product-preview {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .room-product-preview {
    width: min(280px, calc(100vw - 56px));
    padding: 17px;
  }
}

@media (max-width: 640px) {
  .room-product-preview {
    width: min(250px, calc(100vw - 40px));
    padding: 15px;
  }

  .room-product-preview h2 {
    font-size: 18px;
  }

  .room-product-preview__price {
    margin-top: 9px;
    font-size: 16px;
  }

  .room-product-preview__cta {
    min-height: 40px;
    margin-top: 13px;
  }

  .room-products-trigger {
    min-width: 0;
    width: calc(100% - 28px);
    min-height: 66px;
    padding: 7px 10px 7px 8px;
  }

  .room-products-trigger__icon {
    width: 50px;
    height: 50px;
  }

  .room-products-trigger__copy span {
    max-width: 52vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-hotspot.is-active,
  .room-product-preview.is-updating {
    animation: none;
  }
}

/* Patch 01.3 — copy-free compact product rail with edge navigation */
.room-products-drawer {
  grid-template-rows: minmax(0, 1fr);
  max-height: min(46svh, 430px);
  padding: 18px;
}

.room-products-drawer__rail-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding-top: 25px;
}

.room-products-drawer__rail {
  min-width: 0;
  margin-top: 0;
  padding: 2px 2px 10px;
}

.room-products-drawer__arrow {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  background: rgba(255,255,255,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 12px 30px rgba(0,0,0,.10);
}

.room-products-drawer__arrow svg {
  width: 19px;
  height: 19px;
}

.room-products-drawer__close {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
}

@media (max-width: 640px) {
  .room-products-drawer {
    padding: 12px;
  }

  .room-products-drawer__rail-shell {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 7px;
    padding-top: 28px;
  }

  .room-products-drawer__rail {
    margin-top: 0;
  }

  .room-products-drawer__arrow {
    width: 38px;
    height: 38px;
  }

  .room-products-drawer__close {
    top: 9px;
    right: 9px;
    width: 34px;
    height: 34px;
  }
}

/* Patch 01.4 — show product rail arrows only when that direction has more products */
.room-products-drawer__arrow {
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), opacity 140ms ease, visibility 0s linear 0s;
}

.room-products-drawer__arrow.is-unavailable {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms ease, visibility 0s linear 120ms;
}

/* Patch 01.6 — Five-room interactive showroom rollout */
.showroom-hero__frame {
  min-height: 0;
  aspect-ratio: 1672 / 941;
}

.showroom-hero__image {
  object-fit: cover;
}

.room-hotspots {
  inset: 0;
}

.room-products-drawer__rail .product-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), opacity var(--transition);
}

.room-products-drawer__rail .product-card.is-active {
  border-color: rgba(17,17,17,.62);
  box-shadow: 0 0 0 3px rgba(17,17,17,.14), 0 16px 38px rgba(0,0,0,.14);
  transform: translateY(-2px);
}

.room-products-drawer__rail .product-card[aria-current="false"] {
  opacity: .92;
}

.hotspot-debug-readout {
  position: absolute;
  z-index: 20;
  left: 18px;
  bottom: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(18,21,18,.82);
  color: white;
  font: 600 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  pointer-events: none;
}

.showroom-hero__frame.is-hotspot-debug::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 10% 10%;
  pointer-events: none;
}

.showroom-hero__frame.is-hotspot-debug .room-hotspot-node::after {
  content: attr(data-product-id);
  position: absolute;
  left: 18px;
  top: -12px;
  width: max-content;
  max-width: 180px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(12,15,12,.84);
  color: white;
  font: 600 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .showroom-hero {
    padding-inline: 16px;
  }

  .showroom-hero__frame {
    border-radius: 24px;
  }
}

/* Patch 01.7 — persistent day / evening showroom view selector */
.showroom-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #d9d0c2;
}

.showroom-hero__image {
  opacity: 0;
  transform: scale(1.002);
  transition: opacity 460ms cubic-bezier(.22,.8,.24,1), transform 700ms cubic-bezier(.22,.8,.24,1);
}

.showroom-hero__image.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.showroom-view-selector {
  position: absolute;
  z-index: 9;
  top: calc(var(--showroom-header-overlay-height, var(--header-height)) + clamp(12px, 1.6vw, 20px));
  right: clamp(16px, 2.2vw, 30px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(24,28,24,.72);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 14px 36px rgba(12,15,12,.24);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.showroom-view-selector__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.68);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.showroom-view-selector__option svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.showroom-view-selector__option:hover,
.showroom-view-selector__option:focus-visible {
  color: white;
  background: rgba(255,255,255,.09);
}

.showroom-view-selector__option.is-active {
  background: rgba(255,255,255,.94);
  color: #20251f;
  box-shadow: 0 5px 16px rgba(8,10,8,.18), inset 0 1px 0 white;
}

.showroom-view-selector__option:focus-visible {
  outline: 2px solid rgba(255,255,255,.92);
  outline-offset: 2px;
}

.showroom-hero__frame.is-products-open .showroom-view-selector {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

@media (max-width: 640px) {
  .showroom-view-selector {
    top: calc(var(--showroom-header-overlay-height, var(--header-height)) + 10px);
    right: 12px;
    padding: 4px;
  }

  .showroom-view-selector__option {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
  }

  .showroom-view-selector__option svg {
    width: 15px;
    height: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showroom-hero__image,
  .showroom-view-selector {
    transition: none;
  }
}


/* Patch 01.9 — View selector now belongs to the image, below the separate header. */
html[data-route^="/showroom"] .showroom-view-selector {
  top: clamp(14px, 1.6vw, 22px);
}

@media (max-width: 640px) {
  html[data-route^="/showroom"] .showroom-view-selector {
    top: 10px;
  }
}
