/* Interactive hardware replaces only the existing hardware hero. */
.se .se-hardware-hero.se-hardware-interactive{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);align-items:center;min-height:660px;background:radial-gradient(ellipse at 81% 43%,#52657a 0%,#26364a 39%,#152235 77%);overflow:hidden;color:#fff}
.se-hardware-hero.se-hardware-interactive::after{display:none}
.se-hardware-interactive>.se-hardware-copy{position:relative;z-index:1;max-width:none;padding:clamp(28px,4vw,70px);padding-right:12px}
.se-hardware-interactive .se-hardware-copy h1{font-size:clamp(62px,6.9vw,118px);line-height:1.04;margin:28px 0 20px}
.se-hardware-interactive .se-hardware-copy .se-links{display:flex;flex-wrap:wrap;gap:18px 24px}
.se-hardware-interactive>.hardware-viewer{position:relative;align-self:stretch;min-width:0;max-width:none;padding:0;min-height:660px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hardware-canvas{position:relative;width:100%;height:570px;min-height:0;isolation:isolate}
.hardware-canvas canvas{display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab;outline-offset:-8px}
.hardware-canvas canvas:active{cursor:grabbing}
.hardware-canvas canvas:focus-visible{outline:2px solid #cfdeec;border-radius:26px}
.hardware-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
[data-viewer-state=ready] .hardware-fallback{display:none}
.hardware-controls{display:flex;align-items:center;justify-content:center;gap:7px;position:relative;z-index:2;margin:0;padding:0 0 24px}
.hardware-controls button{font-family:var(--sugar-ui-font),sans-serif;font-size:13px;line-height:1;font-weight:650;letter-spacing:.02em;color:#e9edf1;background:transparent;border:1px solid #ffffff36;border-radius:999px;padding:12px 18px;min-height:40px;cursor:pointer;transition:background .2s,border-color .2s}
.hardware-controls button:hover,.hardware-controls button:focus-visible{background:#ffffff18;border-color:#d1dce7}
.hardware-controls button[aria-pressed=true]{background:#f0eee9;color:#1a283a;border-color:#f0eee9}
.se-hardware-interactive>.hardware-viewer>p.hardware-hint{font-family:var(--sugar-ui-font),sans-serif;font-size:12px;letter-spacing:.06em;color:#e0e5ea;margin:0 0 14px;line-height:1.5;text-align:center}
[data-viewer-state=fallback] .hardware-controls{display:none}
[data-viewer-state=fallback] canvas{visibility:hidden}
@media(min-width:1550px){.se .se-hardware-hero.se-hardware-interactive{min-height:780px}.se-hardware-interactive>.hardware-viewer{min-height:780px}.hardware-canvas{height:670px}}
@media(max-width:900px){.se .se-hardware-hero.se-hardware-interactive{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:570px}.se-hardware-interactive>.hardware-viewer{min-height:570px}.hardware-canvas{height:450px}.se-hardware-interactive .se-hardware-copy h1{font-size:64px}.se-hardware-interactive .se-hardware-copy .se-links{font-size:14px}}
@media(max-width:650px){.se .se-hardware-hero.se-hardware-interactive{display:flex;flex-direction:column;min-height:0;background:radial-gradient(ellipse at 65% 70%,#4d627a,#1b2c43 65%,#162337)}.se-hardware-interactive>.se-hardware-copy{display:block;width:100%;padding:30px 24px 0}.se-hardware-interactive .se-hardware-copy h1{font-size:clamp(56px,12vw,78px);margin:14px 0 12px}.se-hardware-interactive .se-hardware-copy>p:not(.se-label){font-size:21px}.se-hardware-interactive .se-hardware-copy .se-links{margin-top:20px;gap:14px 20px;font-size:13px}.se-hardware-interactive>.hardware-viewer{width:100%;min-height:0;margin-top:5px}.hardware-canvas{height:clamp(300px,91vw,460px)}.hardware-controls{padding-bottom:24px}.hardware-controls button{padding:12px 17px}.hardware-viewer .hardware-hint{font-size:11px;margin-top:-6px;margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.hardware-controls button{transition:none}}

/* The product detail uses the same live hardware, with finish swatches only. */
body .bc-core-product .bc-main-photo.bc-hardware-photo{aspect-ratio:1/1.05;background:radial-gradient(ellipse at 53% 45%,#e4e5e6 0%,#d3d6dc 57%,#c4cbd3 100%);border-radius:24px;isolation:isolate}
.bc-hardware-photo .hardware-product-viewer{position:absolute;inset:0;width:100%;height:100%}
.bc-hardware-photo .hardware-canvas{position:absolute;inset:0;width:100%;height:100%}
.bc-hardware-photo .bc-favourite{z-index:3}
body .bc-core-product .bc-main-photo .hardware-fallback{width:100%;height:100%;object-fit:contain}
@media(max-width:650px){body .bc-core-product .bc-main-photo.bc-hardware-photo{aspect-ratio:1/1.05;border-radius:18px}}
