.hangar{--ink:#eef0ea;--brass:#c9a45c;position:relative;height:min(100vh,860px);min-height:560px;overflow:hidden;background:#1b231f;color:var(--ink);font:15px/1.4 system-ui,sans-serif;user-select:none;-webkit-user-select:none;outline:none}
.hangar *{box-sizing:border-box}
.hg-stage{position:absolute;inset:0;perspective:1500px;perspective-origin:50% 30%;cursor:grab;touch-action:pan-y}
.drag .hg-stage{cursor:grabbing}
.hg-room{position:absolute;inset:0;transform-style:preserve-3d}
.hg-wall{position:absolute;left:-80%;right:-80%;top:-40%;height:110%;transform:translateZ(-520px);background:radial-gradient(ellipse 40% 50% at 50% 70%,#46564e,transparent),linear-gradient(#1f2924,#34413b)}
.hg-floor{position:absolute;left:-80%;right:-80%;top:70%;height:1800px;transform-origin:50% 0;transform:translateZ(-520px) rotateX(90deg);background:repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 2px,transparent 2px 130px),linear-gradient(#131a17,#2a3630)}
.hg-rail{position:absolute;left:50%;top:19%;transform-style:preserve-3d;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.hg-bar{position:absolute;left:-4000px;width:8000px;top:0;height:6px;background:linear-gradient(#e0c079,#7d6532)}
.hg-item{position:absolute;top:0;left:-100px;width:200px;height:270px;transform-origin:50% 0;transform-style:preserve-3d;transition:transform .8s cubic-bezier(.2,.7,.2,1),opacity .5s;outline:none;cursor:pointer}
.hg-item:focus-visible .hg-hook{filter:drop-shadow(0 0 4px #fff)}
.hg-hook{position:absolute;left:0;top:0;width:200px;height:50px}
.hg-gar{position:absolute;left:0;top:12px;width:200px;height:244px;transform-style:preserve-3d}
.hg-sl{position:absolute;inset:0}
.hg-sl svg{width:100%;height:100%;overflow:visible;display:block}
.fr,.bk{backface-visibility:hidden;-webkit-backface-visibility:hidden}
.fr svg,.bk svg{filter:drop-shadow(0 10px 12px rgba(0,0,0,.35))}
.drag .hg-item,.drag .hg-rail{transition:none}
.hg-top{position:absolute;left:0;right:0;top:0;display:flex;justify-content:space-between;align-items:flex-start;padding:20px 28px;z-index:5;pointer-events:none}
.hg-top>*{pointer-events:auto}
.hg-title{font:600 22px Georgia,serif;margin:0}
.hg-title small{display:block;font:13px system-ui;opacity:.65;margin-top:2px}
.hg-btn,.hg-chip,.hg-add,.hg-views button,.hg-qty button{font:inherit;color:inherit;cursor:pointer}
.hg-btn{background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.25);border-radius:99px;padding:8px 16px}
.hg-back{display:none;margin-top:12px}
.is-focus .hg-back{display:inline-block}
.hg-nav{position:absolute;left:0;right:0;bottom:18px;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;padding:0 16px;z-index:5;transition:opacity .4s}
.hg-chip{border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.28);border-radius:99px;padding:6px 12px}
.hg-chip i{font-style:normal;opacity:.6;margin-right:6px}
.hg-chip[aria-current=true]{background:var(--brass);color:#1b1a17;border-color:var(--brass)}
.is-focus .hg-nav{opacity:0;pointer-events:none}
.hg-panel{position:absolute;right:28px;top:50%;width:min(340px,86vw);padding:24px;border-radius:14px;background:rgba(18,24,21,.84);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.12);transform:translate(40px,-50%);opacity:0;pointer-events:none;transition:.5s;z-index:6}
.is-focus .hg-panel{opacity:1;transform:translate(0,-50%);pointer-events:auto}
.hg-name{font:600 26px/1.15 Georgia,serif;margin:0 0 6px}
.hg-desc{margin:0 0 16px;opacity:.75}
.hg-views{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:16px;font-size:13px}
.hg-views button{background:none;border:1px solid rgba(255,255,255,.25);border-radius:6px;padding:4px 10px}
.hg-views button[aria-pressed=true]{background:#fff;color:#111}
.hg-views span{opacity:.6}
.hg-qty{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.25);border-radius:8px;margin-bottom:12px}
.hg-qty button{background:none;border:0;width:38px;height:38px;font-size:18px}
.hg-qty output{min-width:30px;text-align:center}
.hg-add{display:flex;justify-content:space-between;width:100%;background:var(--brass);color:#1b1a17;border:0;border-radius:8px;padding:13px 16px;font-weight:600}
.hg-panel a{display:inline-block;margin-top:14px;color:inherit;opacity:.8}
.hg-load{position:absolute;inset:0;background:#1b231f;display:grid;place-items:center;z-index:20;transition:opacity .6s;font:20px Georgia,serif}
.is-ready .hg-load{opacity:0;pointer-events:none}
.hg-drawer{position:absolute;top:0;right:0;bottom:0;width:min(380px,100%);background:#f3f1ec;color:#1b1a17;transform:translateX(100%);transition:transform .5s;z-index:30;padding:24px;overflow:auto}
.is-cart .hg-drawer{transform:none}
.hg-drawer h3{font:600 22px Georgia,serif;margin:0 0 16px;display:flex;justify-content:space-between}
.hg-drawer button{font:inherit;cursor:pointer;background:none;border:0}
.hg-line{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid #d9d5cb}
.hg-sub{display:flex;justify-content:space-between;font-weight:600;padding:16px 0}
.hg-fly{position:fixed;z-index:9999;pointer-events:none}
.hg-fly svg{width:100%;height:100%;overflow:visible}
.hg-bump{animation:hgb .4s}@keyframes hgb{50%{transform:scale(1.18)}}
@media(max-width:800px){.hg-panel{right:12px;left:12px;top:auto;bottom:12px;width:auto;transform:translateY(40px)}.is-focus .hg-panel{transform:none}.hg-top{padding:14px 16px}}
@media(prefers-reduced-motion:reduce){.hg-item,.hg-rail,.hg-panel,.hg-drawer{transition-duration:.01s}}

.hg-sl img.hg-photo{width:100%;height:100%;object-fit:contain;display:block}
.fr img.hg-photo{filter:drop-shadow(0 10px 12px rgba(0,0,0,.35))}
.hg-item[data-hanger] .hg-hook{display:none}
.hg-fly img{width:100%;height:100%;object-fit:contain;display:block}
