/* Visor panorámico y mapa del vehículo (tienda y administrador). */
.pv { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 300px; max-height: 72vh; background: #0a0a0b; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.pv-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; outline-offset: -3px; }
.pv-canvas:active { cursor: grabbing; }
.pv-hs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pv-pin { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; will-change: transform; }
.pv-pin .dot { width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--red, #e11d2a); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(225, 29, 42, 0.7); animation: pvPulse 2s infinite; flex: none; }
.pv-pin .lab { margin-left: -2px; padding: 4px 9px; background: rgba(10, 10, 11, 0.86); color: #fff; font: 600 13px/1.2 var(--body, system-ui, sans-serif); white-space: nowrap; border-radius: 3px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
.pv-pin.sel .dot { background: #ffc400; }
.pv-pin:hover .lab, .pv-pin:focus-visible .lab { background: var(--red, #e11d2a); }
@keyframes pvPulse { 70% { box-shadow: 0 0 0 12px rgba(225, 29, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 29, 42, 0); } }
.pv-msg { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 600; background: rgba(10, 10, 11, 0.6); pointer-events: none; }
.pv-flat { position: absolute; inset: 0; overflow: auto; }
.pv-flat img { height: 100%; max-width: none; display: block; }

.vstage { position: relative; }
.vstage .ctrl { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.vstage .ctrl button { width: 40px; height: 40px; border: 0; border-radius: 4px; background: rgba(10, 10, 11, 0.8); color: #fff; font: 700 22px/1 var(--body, system-ui, sans-serif); cursor: pointer; }
.vstage .ctrl button:hover { background: var(--red, #e11d2a); }
.vstage .hint { position: absolute; left: 10px; bottom: 10px; z-index: 3; padding: 5px 10px; background: rgba(10, 10, 11, 0.8); color: #fff; font-size: 13px; border-radius: 3px; pointer-events: none; }
.vtabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.vtabs button { height: 40px; padding: 0 16px; border: 2px solid var(--black, #0a0a0b); background: #fff; color: var(--black, #0a0a0b); font: 700 15px var(--cond, system-ui, sans-serif); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.vtabs button.act { background: var(--black, #0a0a0b); color: #fff; }

.vmap { width: 100%; max-width: 230px; height: auto; display: block; margin: 0 auto; }
.vm-body { fill: #e7e7ea; stroke: #0a0a0b; stroke-width: 3; }
.vm-wheel { fill: #2a2a2e; }
.vm-glass { fill: #b9c3cc; stroke: #0a0a0b; stroke-width: 1.5; }
.vm-mirror { fill: #e7e7ea; stroke: #0a0a0b; stroke-width: 2; }
.vm-line { fill: none; stroke: #0a0a0b; stroke-width: 2; opacity: 0.5; }
.vm-zone circle:first-child { fill: rgba(225, 29, 42, 0.18); stroke: var(--red, #e11d2a); stroke-width: 2; transition: fill 0.15s; }
.vm-zone .in { fill: var(--red, #e11d2a); }
.vm-zone.interior circle:first-child { fill: rgba(10, 10, 11, 0.12); stroke: #0a0a0b; }
.vm-zone.interior .in { fill: #0a0a0b; }
.vm-zone.on { cursor: pointer; }
.vm-zone.on:hover circle:first-child, .vm-zone.act circle:first-child { fill: var(--red, #e11d2a); }
.vm-zone.interior.on:hover circle:first-child, .vm-zone.interior.act circle:first-child { fill: #0a0a0b; }
.vm-zone.act .in, .vm-zone.on:hover .in { fill: #fff; }
.vm-zone.off { opacity: 0.25; }
.vm-zone:focus-visible circle:first-child { stroke-width: 4; }
.vm-zone { outline: none; }

.zlist { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.zlist button { padding: 7px 12px; border: 1px solid var(--line, #d6d6da); background: #fff; font: 600 14px var(--body, system-ui, sans-serif); cursor: pointer; }
.zlist button.act { background: var(--black, #0a0a0b); color: #fff; border-color: var(--black, #0a0a0b); }
.zlist button:disabled { opacity: 0.4; cursor: default; }

.vlayout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; align-items: start; }
.vside { padding: 16px; background: #fff; border: 1px solid var(--line, #d6d6da); border-top: 5px solid var(--red, #e11d2a); }
.vside h2 { margin: 0 0 8px; font: 400 20px var(--display, Anton, sans-serif); text-transform: uppercase; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.vcard { display: block; background: #fff; border: 1px solid var(--line, #d6d6da); color: inherit; text-decoration: none; }
.vcard:hover { border-color: var(--red, #e11d2a); }
.vcard .im { aspect-ratio: 16 / 10; background: #0a0a0b; overflow: hidden; }
.vcard .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard .tx { padding: 12px 14px; }
.vcard b { display: block; font: 400 20px var(--display, Anton, sans-serif); text-transform: uppercase; }
.vcard span { font-size: 14px; color: var(--muted, #666); }
.vcard .tag { display: inline-block; margin-top: 6px; padding: 2px 8px; background: var(--red, #e11d2a); color: #fff; font: 700 12px var(--cond, system-ui, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; }
.vban { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 16px; background: #0a0a0b; color: #fff; border-left: 6px solid var(--red, #e11d2a); }
.vban a { color: #fff; font-weight: 700; }
@media (max-width: 860px) { .vlayout { grid-template-columns: minmax(0, 1fr); } .vmap { max-width: 190px; } .pv { aspect-ratio: 4 / 3; } }
