/* Embedded whole-façade preview. */
#home-facade-review {
  width: 100%;
  min-width: 0;
  font-family: var(--font, 'Neo Sans', sans-serif);
  color: var(--ink, #273127);
}

#home-facade-review * { box-sizing: border-box; }
#home-facade-review [hidden] { display: none !important; }
#home-facade-review :focus-visible { outline: 2px solid #738258; outline-offset: 3px; }

#home-facade-review svg {
  width: 21px;
  height: 21px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#home-facade-review .hfr-card {
  border: 1px solid #d5dacb;
  background: #f5f3ed;
  overflow: hidden;
}

#home-facade-review .hfr-scene {
  height: clamp(330px, 31vw, 620px);
  position: relative;
  background: #f5f3ed;
  overflow: hidden;
}

#home-facade-review canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

#home-facade-review canvas:active { cursor: grabbing; }
#home-facade-review canvas:focus-visible { outline-offset: -3px; }

#home-facade-review .hfr-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #f5f3ed;
  color: #586343;
  font-size: 16px;
  padding: 28px;
  text-align: center;
}

#home-facade-review .hfr-explode {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid #d5dacb;
  background: #eef0e5;
}

#home-facade-review .hfr-play {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #b8c59f;
  border-radius: 50%;
  background: #e6ecd7;
  color: #52633f;
  cursor: pointer;
}

#home-facade-review .hfr-play:disabled { opacity: .55; cursor: default; }
#home-facade-review .hfr-play:hover:not(:disabled) { background: #dbe4c9; }

#home-facade-review .hfr-range-wrap { width: 100%; max-width: 300px; }

#home-facade-review .hfr-range-label,
#home-facade-review .hfr-ticks {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  color: #46533a;
}

#home-facade-review .hfr-range-label { font-size: 14px; }
#home-facade-review .hfr-range-label output { font-variant-numeric: tabular-nums; }
#home-facade-review .hfr-ticks { font-size: 12px; }

#home-facade-review input[type=range] {
  --hfr-fill: 0%;
  appearance: none;
  width: 100%;
  min-height: 28px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#home-facade-review input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(to right, #738258 var(--hfr-fill), #cbd4bc var(--hfr-fill));
}

#home-facade-review input[type=range]::-moz-range-track {
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(to right, #738258 var(--hfr-fill), #cbd4bc var(--hfr-fill));
}

#home-facade-review input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid #f5f3ed;
  border-radius: 50%;
  background: #738258;
}

#home-facade-review input[type=range]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #f5f3ed;
  border-radius: 50%;
  background: #738258;
}

#home-facade-review .hfr-details {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #a4b08d;
  color: #35452b;
  background: #faf9f3;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

#home-facade-review .hfr-details:hover { background: #e3ead4; }

@media (max-width: 1000px) {
  #home-facade-review .hfr-scene { height: clamp(340px, 56vw, 450px); }
}

@media (max-width: 540px) {
  #home-facade-review .hfr-explode {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    padding-inline: 12px;
  }
  #home-facade-review .hfr-details { grid-column: 2; justify-self: end; }
}

@media (max-width: 450px) {
  #home-facade-review .hfr-scene { height: 350px; }
}
