/* A showroom workbench within Nachon's existing blue/yellow signage system. */
.dh-page { max-width: 1440px; margin: auto; padding: 2rem clamp(1rem, 4vw, 4rem) 5rem; }
.dh-heading { max-width: 850px; margin: 1.5rem 0 2.5rem; }
.dh-heading h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; margin: .6rem 0 1rem; letter-spacing: -.035em; }
.dh-heading > p { font-size: 1.12rem; color: #465166; }
.dh-mobile-continuation { display: none; }
.dh-controls { scroll-margin-top: 1rem; }
.dh-workspace { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.dh-stage { position: sticky; top: 1.5rem; background: #f3f5f8; border-top: 4px solid var(--nachon-blue); padding: 1.5rem; }
.dh-stage figure { margin: 0; }
.dh-stage > h2 { font-size: 1.2rem; margin: 0 0 1rem; }
.dh-placement { margin: 0 0 1.5rem; }
.dh-placement > summary { cursor: pointer; min-height: 44px; font-weight: 600; }
.dh-placement label { margin-top: .8rem; }
.dh-stage figure > img { height: min(55vh, 520px); width: 100%; object-fit: contain; }
.dh-stage figcaption { text-align: center; margin-top: 1rem; font-weight: 700; }
.dh-hardware-selected { border-top: 1px solid #cbd2dc; margin-top: 1.5rem; padding-top: 1.25rem; }
.dh-hardware-selected h2 { font-size: 1.15rem; margin: 0 0 .75rem; }
.dh-hardware-photo { background: white; padding: .75rem; }
.dh-hardware-photo img { height: 125px; width: 100%; object-fit: contain; }
.dh-note { font-size: .86rem; color: #465166; margin: .6rem 0; }
.dh-controls fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.dh-controls legend, .dh-controls h2 { font-size: 1.2rem; font-weight: 750; margin: 0 0 1rem; }
.dh-controls label { display: grid; gap: .4rem; font-weight: 600; }
.dh-controls input:not([type=radio]), .dh-controls select { width: 100%; min-width: 0; min-height: 48px; padding: .6rem .7rem; border: 1px solid #6b7585; background: white; color: #162033; border-radius: 2px; font: inherit; }
.dh-controls :focus-visible { outline: 3px solid var(--nachon-blue); outline-offset: 3px; }
.dh-dimensions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dh-dimensions > :last-child { grid-column: 1 / -1; }
.dh-options { display: flex; flex-wrap: wrap; gap: .65rem; }
.dh-controls .dh-option { display: flex; align-items: center; gap: .6rem; border: 1px solid #8b94a3; padding: .75rem; min-height: 54px; cursor: pointer; }
.dh-option:has(input:checked) { border: 2px solid var(--nachon-blue); padding: calc(.75rem - 1px); background: #edf2ff; }
.dh-option input { accent-color: var(--nachon-blue); width: 18px; height: 18px; flex: none; scroll-margin-block: 3rem; }
.dh-option img { width: 30px; height: 30px; object-fit: contain; }
.dh-rosettes .dh-option img { width: 64px; height: 64px; }
.dh-option small { display: block; font-weight: 400; color: #465166; }
.dh-select { margin-bottom: 1.5rem; }
.dh-catalog { margin-bottom: 2rem; border-bottom: 1px solid #cbd2dc; padding-bottom: 1.5rem; }
.dh-catalog > summary { cursor: pointer; font-size: 1.2rem; font-weight: 750; min-height: 44px; }
.dh-filter { display: flex; gap: .6rem; margin: 1rem 0; }
.dh-filter > label { flex: 1; }
.dh-filter button { border: 1px solid var(--nachon-blue); color: var(--nachon-blue); background: white; padding: .5rem 1rem; font: inherit; font-weight: 700; }
.dh-hardware-search { display: grid; gap: .4rem; margin: 0 0 1rem; }
.dh-hardware-search-controls { display: flex; flex-wrap: wrap; gap: .5rem; align-items: stretch; }
.dh-hardware-search input[type="search"] { flex: 1 1 12rem; min-width: 0; min-height: 48px; padding: .6rem .7rem; border: 1px solid #6b7585; background: white; color: #162033; border-radius: 2px; font: inherit; }
.dh-hardware-search [data-hardware-search-clear] { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: .5rem 1rem; border: 1px solid var(--nachon-blue); color: var(--nachon-blue); background: white; font: inherit; font-weight: 700; text-decoration: none; }
.dh-hardware-search [data-hardware-search-clear][hidden], .dh-search-empty[hidden], .dh-pagination[hidden] { display: none; }
.dh-search-empty { margin: 0 0 1rem; padding: .75rem; border: 1px solid #6b7585; background: #fff; font-weight: 600; }
.dh-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.dh-product { display: flex; flex-direction: column; gap: .65rem; min-width: 0; text-decoration: none; color: inherit; font-weight: 650; font-size: .94rem; padding-bottom: .65rem; border-bottom: 2px solid transparent; }
.dh-product:hover, .dh-product:focus-visible { border-bottom-color: var(--nachon-blue); }
.dh-product-media { height: 11.5rem; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f3f5f8; padding: .5rem; }
.dh-product-media img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain; flex: 0 1 auto; }
.dh-product-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; line-height: 1.35; overflow-wrap: anywhere; }
.dh-pagination { display: flex; justify-content: space-between; padding-top: 1rem; }
.dh-pagination a { min-height: 44px; padding: .5rem; }
.dh-review { border-top: 3px solid var(--nachon-blue); padding: 1.75rem 0 0; margin-top: 2rem; }
.dh-summary { display: grid; gap: .4rem; background: #f3f5f8; padding: 1.1rem; margin-bottom: 1.5rem; }
.dh-summary strong:not(:first-child) { margin-top: .65rem; }
.dh-review form { display: grid; gap: 1rem; }
.dh-review button:disabled { opacity: .65; cursor: default; }
.dh-feedback:not(:empty) { padding: 1rem; border: 1px solid var(--nachon-blue); background: #edf2ff; font-weight: 600; }
.dh-stepper ol { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0 0 1.5rem; padding: 0; border-bottom: 1px solid #cbd2dc; }
.dh-stepper li { margin: 0; }
.dh-stepper a { display: flex; align-items: center; min-height: 44px; padding: .5rem .75rem; text-decoration: none; font-weight: 700; border-bottom: 3px solid transparent; }
.dh-stepper a[aria-current="step"] { border-bottom-color: var(--nachon-blue); background: #edf2ff; }
.dh-stepper a:focus-visible, .dh-tabs a:focus-visible, .dh-step-nav a:focus-visible, .dh-step-nav button:focus-visible { outline: 3px solid var(--nachon-blue); outline-offset: 3px; }
.dh-swing .dh-options { display: grid; grid-template-columns: 1fr 1fr; }
.dh-swing .dh-option { align-items: flex-start; }
.dh-swing-svg { width: 4rem; height: 4rem; }
.dh-swing-plan { display: flex; align-items: center; gap: .75rem; margin: 1rem 0 0; }
.dh-swing-plan figcaption { font-weight: 700; }
.dh-preview-caption { font-size: .86rem; color: #465166; margin: .75rem 0 0; }
.dh-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.dh-tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: .4rem .75rem; border: 1px solid #8b94a3; border-radius: 3px; text-decoration: none; background: #fff; }
.dh-tabs a[aria-current="page"] { border-color: var(--nachon-blue); background: #edf2ff; }
.dh-step-error:not([hidden]) { margin: 0 0 1rem; padding: .75rem; border: 1px solid #6b7585; background: #fff; font-weight: 600; }
.dh-review-list { display: grid; gap: .75rem; margin: 0 0 1.5rem; }
.dh-review-list div { display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr; gap: .5rem; border-bottom: 1px solid #cbd2dc; padding-bottom: .75rem; }
.dh-review-list dt { font-weight: 700; }
.dh-review-list dd { margin: 0; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.dh-review-list a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.dh-step-nav { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.5rem; }
.dh-step-nav [hidden] { display: none; }
.dh-running-summary { margin: 0; font-weight: 700; }
.dh-running-summary-bar { display: none; flex: 1; }
.dh-segment { margin-bottom: 1.5rem; }
@media (min-width: 1024px) {
  .dh-running-summary-bar { display: block; }
  .dh-stepper-on .dh-step-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 12; margin: 0; padding: .75rem clamp(1rem, 4vw, 4rem); background: #fff; border-top: 1px solid #cbd2dc; }
  body:has(.dh-stepper-on) { padding-bottom: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dh-step-nav, .dh-stepper a, .dh-page [data-step] { transition: none; animation: none; }
}
@media (max-width: 760px) {
  .dh-mobile-continuation { display: grid; gap: .5rem; margin-top: 1rem; }
  .dh-mobile-continuation p { margin: 0; font-size: .95rem; }
  .dh-mobile-continuation a { display: flex; align-items: center; min-height: 44px; font-weight: 700; }
  .dh-mobile-continuation a:focus-visible { outline: 3px solid var(--nachon-blue); outline-offset: 3px; }
  .dh-workspace { grid-template-columns: 1fr; }
  .dh-stage { position: static; }
  .dh-stage figure > img { height: 360px; }
  .dh-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dh-review-list div { grid-template-columns: 1fr; }
  .dh-swing .dh-options { grid-template-columns: 1fr; }
}
