/* Estilos de las páginas de detalle de cada auto */
.auto-top{padding:98px 0 60px;background:var(--bg)}
.back{display:inline-block;margin-bottom:20px;font-weight:600;font-size:.9rem;color:var(--blue)}
.back:hover{color:var(--gold-dark)}
.auto-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:32px;align-items:start}
.gal-main{position:relative;aspect-ratio:4/3;background:var(--navy);border-radius:var(--radius);overflow:hidden;box-shadow:0 10px 30px rgba(11,26,132,.18)}
.gal-main img{width:100%;height:100%;object-fit:contain;cursor:zoom-in}
.arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:0;background:rgba(6,13,63,.72);color:#fff;font-size:1.7rem;line-height:1;cursor:pointer;transition:background .2s}
.arrow:hover{background:var(--gold);color:#1a1405}
.prev{left:12px}.next{right:12px}
.count{position:absolute;right:12px;bottom:12px;background:rgba(6,13,63,.78);color:#fff;font-size:.78rem;font-weight:600;padding:4px 11px;border-radius:999px}
.thumbs{display:flex;gap:8px;overflow-x:auto;padding:12px 2px 6px;scrollbar-width:thin}
.thumbs button{flex:0 0 auto;width:92px;height:68px;padding:0;border:3px solid transparent;border-radius:8px;overflow:hidden;background:var(--navy);cursor:pointer;opacity:.7}
.thumbs button.on{border-color:var(--gold);opacity:1}
.thumbs img{width:100%;height:100%;object-fit:cover}
.buy{background:#fff;border-radius:var(--radius);padding:28px;box-shadow:0 8px 26px rgba(11,26,132,.12);display:flex;flex-direction:column;gap:14px;position:sticky;top:90px}
.buy h1{font-size:clamp(2rem,3.4vw,2.7rem);font-style:italic;font-weight:800;color:var(--blue)}
.buy .price{margin:0}
.buy .price strong{font-size:3rem}
.buy .btn{width:100%}
.ficha{padding:70px 0}
.ficha-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px}
.ficha h2{font-size:clamp(1.8rem,3.4vw,2.4rem);font-style:italic;font-weight:800;color:var(--blue);margin-bottom:18px}
.ficha h2:not(:first-child){margin-top:34px}
.ficha p{color:var(--muted);max-width:60ch}
.spec{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px}
.spec div{border-left:4px solid var(--gold);padding-left:14px}
.spec dt{font-size:.8rem;color:var(--muted)}
.spec dd{font-weight:700;font-size:1.05rem}
.equip{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px 22px}
.equip li{padding-left:22px;position:relative;font-size:.93rem}
.equip li::before{content:"";position:absolute;left:0;top:.55em;width:9px;height:9px;border-radius:50%;background:var(--gold)}
.visit{background:var(--navy);color:#fff;padding:56px 0}
.visit .wrap{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.visit h2{font-size:2rem;font-style:italic;font-weight:800;color:var(--gold-light)}
.visit p{color:#d3d9ff;max-width:52ch;margin-top:6px}
.lb{position:fixed;inset:0;z-index:100;background:rgba(3,7,33,.95);display:flex;align-items:center;justify-content:center}
.lb[hidden]{display:none}
.lb img{max-width:94vw;max-height:88vh;object-fit:contain}
.lb .x{position:absolute;top:14px;right:16px;width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:1.6rem;cursor:pointer}
.auto-grid>*,.ficha-grid>*{min-width:0}
@media(max-width:900px){.auto-grid,.ficha-grid{grid-template-columns:minmax(0,1fr)}.buy{position:static}}
@media(max-width:520px){.equip{grid-template-columns:1fr}.thumbs button{width:78px;height:58px}}
