.hi-door{--cream:#f6efe4;--paper:#fffdfa;--ink:#37322b;--soft:#7e7467;--line:#e5dacb;--brown:#79522f;background:var(--cream);color:var(--ink);font:16px/1.5 Arial,sans-serif;padding-bottom:30px}.hi-door *{box-sizing:border-box}.hi-door button,.hi-door input,.hi-door select{font:inherit;color:inherit}.hi-door button{cursor:pointer}.hi-door a{color:var(--brown)}.hd-crumb{display:flex;gap:14px;flex-wrap:wrap;padding:20px 3vw;font-size:13px;color:var(--soft)}.hd-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr) minmax(280px,.86fr);gap:26px;padding:14px 3vw 36px;align-items:start}.hd-layout>section{min-width:0}.hd-gallery,.hd-order{position:sticky;top:110px}.hd-photo{position:relative;display:block;width:100%;padding:0;border:0;border-radius:22px;background:#e9e4dc;overflow:hidden;aspect-ratio:.75}.hd-photo>img{display:block;width:100%;height:100%;object-fit:contain}.hd-zoom-icon{position:absolute;bottom:15px;right:15px;background:#fffdfaeb;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:25px}.hd-thumbs{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.hd-thumbs button{border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:8px 12px;font-size:13px}.hd-thumbs button[aria-pressed=true]{border-color:var(--brown);box-shadow:inset 0 0 0 1px var(--brown)}.hd-muted{font-size:13px;line-height:1.6;color:var(--soft);margin:12px 0 0}.hd-eyebrow{color:var(--brown);font-size:12px;letter-spacing:1px;margin:0 0 10px}.hi-door h1{font:600 clamp(26px,2.35vw,38px)/1.18 Arial,sans-serif;margin:0 0 12px;color:var(--ink)}.hd-intro{color:var(--soft);margin:0 0 16px}.hd-start{display:flex;align-items:baseline;gap:8px;margin-bottom:24px}.hd-start strong{font-size:30px}.hd-start span{color:var(--soft);font-size:14px}.hd-block{background:var(--paper);border:1px solid var(--line);border-radius:21px;padding:22px;margin-bottom:16px}.hi-door h2{font:600 18px/1.35 Arial,sans-serif;margin:0 0 18px;color:var(--ink)}.hd-block h2{display:flex;align-items:center;gap:10px}.hd-number{display:inline-grid;place-items:center;flex:none;width:29px;height:29px;background:var(--brown);color:white;border-radius:50%;font-size:14px}.hi-door select{width:100%;background:white;border:1px solid var(--line);border-radius:10px;padding:12px;margin-top:8px;min-height:46px}.hd-decor{display:flex;align-items:center;gap:12px;margin-top:16px;background:#f4eee4;padding:13px;border:2px solid var(--brown);border-radius:12px}.hd-decor>span:first-child{width:35px;height:28px;border-radius:6px;border:1px solid #c8c1b5;background:#f8f7f3}.hd-decor .hd-check{margin-left:auto;background:var(--brown);color:white;border-radius:50%;width:22px;height:22px;text-align:center}.hd-choices{display:flex;gap:10px;flex-wrap:wrap}.hd-choices button{flex:1;min-width:90px;min-height:49px;padding:11px 8px;background:white;border:1px solid var(--line);border-radius:12px;position:relative}.hd-choices button[aria-pressed=true]{border:2px solid var(--brown);background:#f4eee4;font-weight:600}.hi-door button:hover{filter:brightness(.98)}.hi-door button:focus-visible,.hi-door input:focus-visible,.hi-door select:focus-visible,.hi-door summary:focus-visible{outline:2px solid var(--brown);outline-offset:3px}.hi-door details{font-size:13px;color:var(--soft);margin-top:15px}.hi-door summary{color:var(--brown);cursor:pointer;text-decoration:underline}.hd-order{background:white;border:1px solid var(--line);border-radius:23px;padding:24px;box-shadow:0 10px 25px #47372008}.hd-order h2{font-size:22px;margin-bottom:20px}.hd-order dl{margin:0 0 15px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.hd-row{display:flex;justify-content:space-between;gap:14px;margin-bottom:12px;font-size:14px}.hd-row:last-child{margin-bottom:0}.hd-row dt{font-weight:400;color:var(--soft)}.hd-row dd{font-weight:600;text-align:right;min-width:0;margin:0;overflow-wrap:anywhere}.hd-stock{font-size:13px;color:#496344;margin:16px 0}.hd-qty{display:flex;align-items:center;max-width:180px;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-top:9px}.hd-qty button{width:43px;min-height:44px;flex:none;border:0;background:#f4eee4;font-size:22px}.hd-qty input{min-width:0;width:90px;height:44px;border:0;text-align:center;appearance:textfield}.hd-qty input::-webkit-inner-spin-button{appearance:none}.hd-total{border-top:1px solid var(--line);padding-top:20px;margin-top:22px;display:flex;flex-wrap:wrap;gap:10px;align-items:baseline;justify-content:space-between}.hd-total strong{font-size:32px;line-height:1.2;white-space:nowrap}.hd-buy{width:100%;border:0;border-radius:12px;background:var(--brown);color:#fff!important;padding:15px 10px;margin-top:20px;min-height:52px;font-weight:600!important}.hd-buy:disabled{opacity:.6;cursor:wait}#hd-message{font-size:14px;margin:12px 0 0}#hd-message:empty{display:none}.hd-details{margin:5px 3vw 0;border-top:1px solid var(--line);padding-top:28px;display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.hd-details h2{font-size:17px;margin-bottom:8px}.hd-details p{font-size:14px;color:var(--soft)}#hd-lightbox{border:0;padding:24px;background:#fffdfa;border-radius:15px;max-width:94vw;max-height:94vh;overflow:auto}#hd-lightbox::backdrop{background:#201a16cc}#hd-large{display:block;max-height:83vh;max-width:85vw;object-fit:contain}#hd-close{position:absolute;right:8px;top:8px;width:38px;height:38px;background:white;border:1px solid var(--line);border-radius:50%;font-size:26px}
@media(max-width:1100px){.hd-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.hd-order{grid-column:2;position:static}.hd-gallery{grid-row:span 2}.hd-block{padding:18px}.hi-door h1{font-size:29px}}
@media(max-height:850px){.hd-gallery,.hd-order{position:static}}
@media(max-width:700px){.hd-layout{grid-template-columns:1fr;padding:12px 18px 28px;gap:24px}.hd-crumb{padding:18px;font-size:12px;gap:8px}.hd-gallery{position:static;grid-row:auto}.hd-photo{aspect-ratio:.75;max-height:68vh}.hd-order{grid-column:auto;padding:22px}.hi-door h1{font-size:28px}.hd-details{grid-template-columns:1fr;gap:16px;margin:0 18px}.hd-block{padding:17px}.hd-choices{gap:8px}.hd-choices button{font-size:14px;min-width:80px}.hd-order h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.hi-door *{scroll-behavior:auto!important;transition:none!important}}

.hd-glass-note{padding:12px 15px;background:#eadfcd;border-left:3px solid var(--brown);border-radius:6px;font-weight:600;margin:0 0 22px}
.hd-thumbs[hidden]{display:none}

.hd-colorchoices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hd-colorchoices .hd-decor{margin:0;border:1px solid var(--line);background:white;text-decoration:none;color:var(--ink);font-size:14px;gap:8px}.hd-colorchoices .hd-decor.is-selected{border:2px solid var(--brown);background:#f4eee4}.hd-colorchoices .hd-decor>span:first-child{flex:none;width:25px;height:25px}.hd-colorchoices .hd-check{flex:none;width:19px;height:19px;font-size:13px}

/* Keep the entire door in view without resize padding. */
.hi-door .hd-photo{aspect-ratio:2/3;max-height:none}.hi-door .hd-photo>img{object-fit:contain}

.hi-door .hd-photo{aspect-ratio:auto}.hi-door .hd-photo>img{height:auto}

/* Selectable door hardware. */
.hd-photo{aspect-ratio:2/3!important;max-height:none!important;background:#eadfce}.hd-scene,.hd-large-scene{position:relative;display:block;aspect-ratio:2/3;width:100%}.hd-scene>#hd-image{display:block;width:100%;height:100%;object-fit:contain}.hi-door .hd-hardware-overlay{position:absolute;height:auto;max-height:none;max-width:none;object-fit:contain;transform:scaleX(-1);pointer-events:none}.hd-hardware-overlay[hidden]{display:none!important}.hd-large-scene{width:min(78vw,52vh)}.hd-large-scene>#hd-large{width:100%;height:auto;max-width:none;max-height:none;display:block}.hd-hardware-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hd-hardware-choices button{padding:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;position:relative;text-align:left}.hd-hardware-choices button>img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block}.hd-hardware-choices button>span{display:block;padding:12px}.hd-hardware-choices strong{display:block;font-size:16px}.hd-hardware-choices small{display:block;color:var(--soft);font-size:12px;margin-top:3px}.hd-hardware-choices i{display:none;position:absolute;top:8px;right:8px;width:24px;height:24px;background:var(--brown);color:#fff;border-radius:50%;font-style:normal;text-align:center}.hd-hardware-choices [aria-pressed=true]{border:2px solid var(--brown);box-shadow:0 0 0 3px #79522f12}.hd-hardware-choices [aria-pressed=true] i{display:block}
@media(max-width:700px){.hd-photo{max-width:420px;margin-inline:auto}.hd-hardware-choices small{font-size:11px}}

/* Door gallery and order follow the document, without an inner scrollbar. */
@media (min-width:1101px) {
  html:has(#hi-door), body:has(#hi-door) { overflow-x:clip!important; overflow-y:visible!important; }
  #hi-door .hd-gallery, #hi-door .hd-order {
    position:sticky!important;
    top:var(--hd-follow-top,24px)!important;
    align-self:start;
  }
}
@media (min-width:701px) and (max-width:1100px) {
  html:has(#hi-door), body:has(#hi-door) { overflow-x:clip!important; overflow-y:visible!important; }
  #hi-door .hd-gallery { position:sticky!important; top:var(--hd-follow-top,24px)!important; align-self:start; }
}

@media(min-width:701px){#hi-door .hd-gallery .hd-photo{max-width:var(--hd-fit-width,100%)!important;margin-inline:auto;}}
