#vehicleDialog.vehicle-dialog{width:min(96vw,1560px)!important;max-width:1560px!important;max-height:94dvh;padding:clamp(16px,2.4vw,34px)!important;overflow:auto;border-radius:22px}
#vehicleDetail{min-width:0}
#vehicleDetail>h2{font-size:clamp(24px,2.6vw,38px);line-height:1.15;margin:0 48px 22px 0}
#vehicleDetail .detail-layout{display:grid!important;grid-template-columns:minmax(0,2.25fr) minmax(270px,.85fr)!important;gap:clamp(20px,3vw,40px);align-items:start}
#vehicleDetail .detail-layout>div{min-width:0}
.cp-gallery-stage{position:relative;display:grid;place-items:center;background:#080e16;border:1px solid #263744;border-radius:16px;overflow:hidden;touch-action:pan-y pinch-zoom}
#vehicleDetail .cp-gallery-stage .gallery-main{display:block!important;width:100%!important;height:clamp(400px,64vh,770px)!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important;margin:0!important;border:0!important;border-radius:0!important;cursor:zoom-in}
.cp-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:56px;padding:0;border:1px solid #ffffff55;border-radius:12px;background:#06121dd9;color:white;font:32px/1 system-ui;cursor:pointer;z-index:2;box-shadow:0 4px 18px #0006}
.cp-gallery-nav:hover{background:#00afd0;color:#031017}
.cp-gallery-nav:focus-visible,.cp-gallery-expand:focus-visible{outline:3px solid #39d9f5;outline-offset:3px}
.cp-gallery-prev{left:12px}.cp-gallery-next{right:12px}
.cp-gallery-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;color:#bdd2de;font:600 14px system-ui}
.cp-gallery-expand{background:#132b3b;color:#baf5ff;border:1px solid #23bdd26b;border-radius:10px;padding:10px 14px;cursor:pointer;min-height:44px}
#vehicleDetail .gallery-thumbs{display:flex!important;gap:10px;overflow-x:auto;max-width:100%;padding:4px 2px 10px;scrollbar-width:thin}
#vehicleDetail .gallery-thumbs[hidden]{display:none!important}
#vehicleDetail .gallery-thumbs>button{flex:0 0 106px;width:106px;height:76px;padding:3px;border:2px solid transparent;border-radius:10px;background:#111f2c;overflow:hidden}
#vehicleDetail .gallery-thumbs>button[aria-pressed=true]{border-color:#11d0ec;box-shadow:0 0 0 1px #11d0ec}
#vehicleDetail .gallery-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:6px}
#vehicleDetail .detail-price{font-size:clamp(28px,2.7vw,42px);line-height:1.15}
#vehicleDetail .detail-description{max-width:100%;line-height:1.7}
#cpPhotoViewer{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#05080df5;color:white;overflow:hidden}
#cpPhotoViewer::backdrop{background:#000}
#cpPhotoViewer .cp-viewer-top{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:16px;padding:max(16px,env(safe-area-inset-top)) 20px 16px;background:linear-gradient(#000d,transparent);z-index:3}
#cpPhotoViewer .cp-viewer-title{margin:0;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:600 18px system-ui}
#cpPhotoViewer .cp-viewer-close{border:1px solid #ffffff66;border-radius:10px;background:#111e2c;color:white;min-width:48px;min-height:48px;font:28px system-ui;cursor:pointer}
#cpPhotoViewer .cp-viewer-image{display:block;width:100%;height:100%;object-fit:contain;padding:76px 72px 48px;box-sizing:border-box;touch-action:pan-y pinch-zoom}
#cpPhotoViewer .cp-viewer-count{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:8px 16px;border-radius:20px;background:#000b;font:600 14px system-ui}
@media(max-width:850px){#vehicleDetail .detail-layout{grid-template-columns:minmax(0,1fr)!important}#vehicleDialog.vehicle-dialog{width:98vw!important;max-height:96dvh;border-radius:16px}#vehicleDetail .cp-gallery-stage .gallery-main{height:clamp(240px,72vw,570px)!important}.cp-gallery-nav{width:44px;height:48px}.cp-gallery-prev{left:8px}.cp-gallery-next{right:8px}#cpPhotoViewer .cp-viewer-image{padding:76px 12px 48px}#cpPhotoViewer .cp-gallery-nav{background:#06121da8}#vehicleDetail .gallery-thumbs>button{flex-basis:88px;width:88px;height:65px}}
