#sleeve-dialog[data-section=shop] .gatefold{grid-template-columns:1fr}
#sleeve-dialog[data-section=shop] .inside-cover{display:none}
#sleeve-dialog[data-section=shop] .inside-page h1{font-size:42px;margin:14px 0 25px}
.shop-trunk{max-width:760px;margin:10px auto 65px;perspective:1200px;padding:0 18px;position:relative;isolation:isolate}
.shop-trunk:after{content:'';position:absolute;bottom:-32px;left:0;right:0;height:50px;background:#000;filter:blur(15px);border-radius:50%;z-index:-1}
.car-cabin{height:150px;position:relative;margin:0 6%;z-index:0}
.car-roof{position:absolute;inset:0 4% -15px;background:linear-gradient(110deg,#111,#666 3%,#1a1a1a 8%,#333 50%,#111 92%,#777 98%);clip-path:polygon(12% 0,88% 0,100% 100%,0 100%);border-radius:75px 75px 0 0;padding:11px 30px 5px}
.rear-glass{position:relative;height:100%;overflow:hidden;clip-path:polygon(10% 0,90% 0,100% 100%,0 100%);border-top:3px solid #777;background:repeating-linear-gradient(0deg,transparent 0 20px,#bbb2 20px 21px),linear-gradient(145deg,#45494a,#101213 40%,#252728 75%,#7773);box-shadow:inset 0 -15px 20px #000}
.rear-glass:after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent 35%,#ffffff0a 36%,transparent 65%)}
.rear-glass img{position:absolute;width:31%;height:52%;object-fit:contain;left:34.5%;top:12%;opacity:.75}
.headrest{position:absolute;width:19%;height:35px;bottom:7px;left:19%;border-radius:12px 12px 0 0;background:#0b0b0b;box-shadow:0 -2px 2px #5554}
.headrest+.headrest{left:auto;right:19%}
.car-mirror{position:absolute;bottom:12px;width:54px;height:26px;background:linear-gradient(#555,#111 45%,#090909);border:1px solid #666;border-radius:15px 8px 4px 6px}
.mirror-left{left:-4%}.mirror-right{right:-4%;transform:scaleX(-1)}
.trunk-lid{display:block;position:relative;width:100%;height:175px;border:1px solid #777;border-bottom:3px solid #080808;border-radius:26px 26px 6px 6px;color:#ddd;cursor:pointer;background:linear-gradient(178deg,#727272 0%,#343434 3%,#111 9%,#262626 45%,#171717 93%,#555 98%);box-shadow:inset 3px 0 3px #aaa3,inset -3px 0 3px #aaa3,0 5px 6px #0009;transform-origin:50% 0;transition:transform .75s cubic-bezier(.2,.7,.2,1),height .75s,margin-bottom .75s;z-index:2;transform-style:preserve-3d}
.trunk-lid:before,.trunk-lid:after{content:'';position:absolute;top:6px;bottom:7px;width:1px;background:#7775;left:7%;transform:rotate(6deg)}
.trunk-lid:after{left:auto;right:7%;transform:rotate(-6deg)}
.trunk-lid:focus-visible{outline:2px solid white;outline-offset:5px}
.lid-crease{position:absolute;top:24%;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,#7775,transparent)}
.car-badge{position:absolute;top:42%;left:50%;transform:translateX(-50%);font:italic bold 20px Georgia,serif;letter-spacing:1px;color:#bfbfbf;text-shadow:0 2px #000,0 -1px #fff}
.trunk-keyhole{position:absolute;top:67%;left:calc(50% - 4px);width:8px;height:8px;border:2px solid #999;border-radius:50%;background:#090909}
.trunk-action{position:absolute;bottom:13px;left:0;right:0;font:8px monospace;letter-spacing:3px;color:#aaa}
.trunk-front{position:relative;height:133px;border-radius:0 0 28px 28px;background:linear-gradient(90deg,#191919,#333 5%,#141414 25%,#222 70%,#111 95%);border:1px solid #555;border-top:0;box-shadow:inset 0 -10px 15px #000}
.rear-lights{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:10px 4% 14px}
.tail-light{height:47px;width:28%;border-radius:5px;background:repeating-linear-gradient(0deg,transparent 0 5px,#080808 5px 7px),repeating-linear-gradient(90deg,#555 0 6px,#333 6px 8px);border:3px solid #070707;box-shadow:0 0 0 1px #8886,inset 0 0 10px #000}
.tail-light:after{content:'';display:block;margin-left:auto;width:26%;height:100%;background:repeating-linear-gradient(0deg,#bbb 0 3px,#666 3px 5px);border-left:4px solid #111}
.tail-light:last-child{transform:scaleX(-1)}
.license-plate{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:145px;height:60px;border:3px solid #8b8b84;border-radius:5px;background:#c6c6bc;color:#161616;font:bold 23px/1.2 monospace;letter-spacing:2px;box-shadow:0 0 0 6px #101010,inset 0 0 8px #0004}
.license-plate small{font:6px/2 monospace;letter-spacing:.6px}
.car-bumper{position:absolute;bottom:18px;left:-1%;right:-1%;height:28px;border-radius:8px;background:linear-gradient(#999,#ddd 12%,#555 23%,#292929 45%,#080808 55%,#151515 80%,#555);border:1px solid #777;box-shadow:0 5px 4px #000}
.car-bumper span{position:absolute;top:0;bottom:0;width:18px;left:22%;background:linear-gradient(90deg,#111,#333,#080808);border:1px solid #050505;border-radius:3px}
.car-bumper span+span{left:auto;right:22%}
.car-tire{position:absolute;bottom:-28px;width:55px;height:40px;background:repeating-linear-gradient(90deg,#090909 0 4px,#191919 4px 6px);border-radius:0 0 11px 11px;border:1px solid #333;z-index:-1}
.tire-left{left:4%}.tire-right{right:4%}
.exhaust{position:absolute;bottom:-12px;right:17%;width:35px;height:18px;background:#080808;border:4px solid #777;border-radius:50%;box-shadow:0 2px 3px #000}
.trunk-contents{position:relative;padding:26px 35px;background:repeating-linear-gradient(45deg,#191919 0 2px,#1b1b1b 2px 4px);border:12px solid #222;border-inline-width:22px;border-radius:15px 15px 0 0;box-shadow:inset 0 10px 25px #000,0 0 0 1px #555}
.trunk-contents[hidden]{display:none}
.shop-trunk.is-open .trunk-lid{height:150px;transform:rotateX(-57deg);margin-bottom:-50px;background:linear-gradient(#222,#101010);box-shadow:inset 0 0 0 10px #292929,inset 0 0 0 12px #555,0 10px 15px #000}
.shop-trunk.is-open .trunk-contents{animation:trunk-reveal .7s ease both}
@keyframes trunk-reveal{from{opacity:0;transform:translateY(-15px)}to{opacity:1;transform:translateY(0)}}
#shop-panel .trunk-contents #shop-products{gap:25px}
@media(max-width:700px){.shop-trunk{margin:20px auto 50px;padding:0 4px}.car-cabin{height:90px}.car-roof{padding:8px 15px 0}.headrest{height:23px}.car-mirror{width:30px;height:17px}.trunk-lid{height:125px;border-radius:17px 17px 4px 4px}.car-badge{font-size:16px}.trunk-action{font-size:7px;letter-spacing:1.5px;bottom:10px}.trunk-front{height:104px}.rear-lights{gap:10px;padding:10px 3%}.tail-light{height:30px;border-width:2px}.license-plate{width:99px;height:42px;font-size:17px;letter-spacing:1px}.license-plate small{font-size:4px}.car-bumper{height:22px;bottom:14px}.car-tire{width:37px;bottom:-23px}.exhaust{width:26px;height:15px}.trunk-contents{padding:16px 10px;border-width:10px}.shop-trunk.is-open .trunk-lid{height:115px;margin-bottom:-38px}#shop-panel .trunk-contents #shop-products{grid-template-columns:1fr;gap:25px}#sleeve-dialog[data-section=shop] .inside-page h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){.trunk-lid{transition:none}.shop-trunk.is-open .trunk-contents{animation:none}}

/* Refined trunk proportions: keep the car body intact while browsing cargo. */
.trunk-lid{height:115px;border-radius:20px 20px 5px 5px;background:linear-gradient(177deg,#626262 0%,#303030 4%,#171717 13%,#242424 55%,#171717 94%,#515151 99%)}
.car-badge{top:28%;font-size:18px}
.trunk-keyhole{top:58%;width:7px;height:7px}
.trunk-action{bottom:12px}
.shop-trunk.is-open .trunk-lid{height:115px;transform:translateY(-66px) rotateX(23deg);margin-bottom:-83px;background:radial-gradient(ellipse at 50% 20%,#292929,#111 75%);border-radius:20px 20px 6px 6px;box-shadow:inset 0 0 0 8px #303030,inset 0 0 0 10px #494949,0 7px 10px #0009}
.shop-trunk.is-open .car-badge,.shop-trunk.is-open .trunk-keyhole,.shop-trunk.is-open .lid-crease{visibility:hidden}
.shop-trunk.is-open .trunk-action{bottom:18px;color:#bbb}
.trunk-contents{max-height:330px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#666 #151515;padding:25px 27px 20px;border:10px solid #202020;border-inline-width:17px;border-radius:25px 25px 0 0;background:radial-gradient(ellipse at 50% 0%,#3c3c37 0%,transparent 60%),repeating-linear-gradient(35deg,#151515 0 2px,#191919 2px 4px);box-shadow:inset 0 12px 20px #000,0 0 0 1px #555}
.trunk-contents:before{content:'';display:block;position:absolute;top:6px;left:calc(50% - 18px);width:36px;height:5px;border-radius:3px;background:#d4d4c8;box-shadow:0 3px 18px 5px #ffffdf18;pointer-events:none}
#shop-panel .trunk-contents #shop-products{gap:18px}
#shop-panel .trunk-contents .product-image{max-height:230px}
.shop-trunk.is-open .trunk-front{border-top:3px solid #080808}
@media(max-width:700px){
.trunk-lid{height:88px;border-radius:15px 15px 4px 4px}
.car-badge{font-size:15px;top:23%}.trunk-keyhole{top:53%;width:6px;height:6px}.trunk-action{bottom:10px;font-size:7px}
.shop-trunk.is-open .trunk-lid{height:88px;transform:translateY(-45px) rotateX(23deg);margin-bottom:-60px}
.shop-trunk.is-open .trunk-action{bottom:12px}
.trunk-contents{max-height:275px;padding:18px 9px 16px;border-width:8px;border-inline-width:10px;border-radius:18px 18px 0 0}
#shop-panel .trunk-contents #shop-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#shop-panel .trunk-contents .product-image{max-height:170px}
#shop-panel .trunk-contents .product h2{font-size:9px;line-height:1.5}
#shop-panel .trunk-contents .product-stock{font-size:8px;padding:7px 4px}
}
#shop-panel .trunk-contents .product-image{max-height:190px}.trunk-contents{max-height:300px}@media(max-width:700px){#shop-panel .trunk-contents .product-image{max-height:140px}.trunk-contents{max-height:275px}}

/* Compact inset lid, sized within the rear quarter panels. */
.trunk-lid{width:86%;margin-inline:auto;height:76px;border-radius:13px 13px 4px 4px}
.car-badge{top:18%;font-size:15px}
.trunk-keyhole{top:49%;width:6px;height:6px}
.trunk-action{bottom:9px;font-size:7px;letter-spacing:2px}
.shop-trunk.is-open .trunk-lid{height:76px;transform:translateY(-43px) rotateX(23deg);margin-bottom:-54px;border-radius:13px 13px 4px 4px}
.shop-trunk.is-open .trunk-action{bottom:11px}
@media(max-width:700px){
.trunk-lid{width:86%;height:58px;border-radius:10px 10px 3px 3px}
.car-badge{top:13%;font-size:12px}
.trunk-keyhole{top:44%;width:5px;height:5px}
.trunk-action{bottom:7px;font-size:6px;letter-spacing:1px}
.shop-trunk.is-open .trunk-lid{height:58px;transform:translateY(-30px) rotateX(23deg);margin-bottom:-38px;border-radius:10px 10px 3px 3px}
.shop-trunk.is-open .trunk-action{bottom:8px}
}
.shop-trunk:before{content:"";position:absolute;top:150px;left:18px;right:18px;height:76px;border-radius:24px 24px 0 0;background:linear-gradient(175deg,#4b4b4b,#191919 12%,#242424 70%,#111);border:1px solid #555;z-index:-1}@media(max-width:700px){.shop-trunk:before{top:90px;left:4px;right:4px;height:58px;border-radius:16px 16px 0 0}}
