:root{
    --primary:#d90416;
    --secondary:#141416;
    --bg:#0f1014;
    --panel:#15161b;
    --panel-2:#20232b;
    --muted:#a6a7ac;
    --text:#f8fafc;
    --line:rgba(148,163,184,.16);
    --success:#16a34a;
    --danger:#dc2626;
    --radius:18px;
    --shadow:0 20px 60px rgba(0,0,0,.25);
    --max:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    background:radial-gradient(circle at top, rgba(217,4,22,.14), transparent 28%), linear-gradient(180deg,#0b0b0e 0%,#121317 100%);
    color:var(--text);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
.container{width:min(var(--max),calc(100% - 1.5rem));margin-inline:auto}
.main-content{min-height:calc(100vh - 200px)}
.site-header{
    position:sticky;top:0;z-index:30;
    background:rgba(10,10,12,.82);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--line);
}
.nav-shell{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:72px}
.brand{display:flex;align-items:center;gap:.85rem;min-width:0}
.brand-logo-wrap{
    width:70px;min-width:70px;height:42px;
    display:flex;align-items:center;justify-content:center;
}
.brand-logo{
    width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(0,0,0,.35));
}
.brand-text{display:flex;flex-direction:column;min-width:0}
.brand-text strong{font-size:1rem;letter-spacing:.02em}
.brand-text small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.main-nav{
    display:none;position:absolute;top:72px;left:.75rem;right:.75rem;
    background:rgba(11,18,32,.98);border:1px solid var(--line);border-radius:18px;padding:.75rem;
    flex-direction:column;gap:.5rem;box-shadow:var(--shadow)
}
.main-nav.is-open{display:flex}
.main-nav a{padding:.8rem 1rem;border-radius:12px}
.main-nav a:hover{background:rgba(255,255,255,.04)}
.nav-cta,.btn-primary{background:linear-gradient(135deg,var(--primary),#ff4d57)!important;color:white!important}
.btn-whatsapp{background:linear-gradient(135deg,#16a34a,#22c55e)!important;color:white!important}
.nav-toggle{
    border:1px solid var(--line);background:transparent;color:var(--text);
    border-radius:12px;padding:.65rem .8rem
}
.hero{padding:2rem 0 1rem}
.hero-grid{display:grid;gap:1rem}
.hero-copy h1{font-size:clamp(2rem,7vw,4rem);line-height:1.02;margin:.7rem 0 1rem}
.hero-copy p{color:#dbe5f2;max-width:62ch}
.badge,.eyebrow{
    display:inline-flex;align-items:center;gap:.35rem;
    padding:.45rem .75rem;border:1px solid rgba(255,255,255,.08);
    border-radius:999px;background:rgba(255,255,255,.04);color:#ffd5a0;font-size:.85rem
}
.hero-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.metric-card,.panel-card,.vehicle-card,.auth-card,.setup-card,.stat-card{
    background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
    border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)
}
.metric-card{padding:1rem}
.metric-card strong{display:block;font-size:1.35rem}
.metric-card span{color:var(--muted);font-size:.9rem}
.search-card,.panel-card{padding:1rem}
.search-grid,.form-grid,.stats-grid,.footer-grid,.cards-grid,.spec-grid,.detail-grid,.checkbox-grid,.two-col,.edit-image-grid{
    display:grid;gap:1rem
}
.field{display:grid;gap:.45rem}
.field label{font-size:.92rem;color:#dce7f6}
.field small{color:var(--muted)}
.field input,.field select,.field textarea{
    width:100%;border:1px solid var(--line);background:#0c1527;color:var(--text);
    border-radius:14px;padding:.9rem 1rem;outline:none
}
.field input:focus,.field select:focus,.field textarea:focus{
    border-color:rgba(217,4,22,.55);box-shadow:0 0 0 3px rgba(217,4,22,.12)
}
.checkbox-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.checkbox-label{
    display:flex;align-items:center;gap:.65rem;padding:.8rem .9rem;
    border:1px solid var(--line);border-radius:14px;background:#0c1527
}
.checkbox-inline{align-content:end}
.full{grid-column:1/-1}
.search-actions,.form-actions,.detail-actions,.vehicle-actions,.table-actions,.form-actions-inline{
    display:flex;gap:.75rem;flex-wrap:wrap;align-items:center
}
.btn{
    border:none;border-radius:14px;padding:.9rem 1.1rem;
    display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
    cursor:pointer;font-weight:700
}
.btn:hover{transform:translateY(-1px)}
.btn-ghost{background:rgba(255,255,255,.04);color:var(--text);border:1px solid var(--line)}
.btn-dark{background:var(--secondary);color:white}
.btn-whatsapp{background:linear-gradient(135deg,#16a34a,#22c55e);color:white}
.btn-tiny{padding:.55rem .8rem;font-size:.85rem;background:rgba(255,255,255,.06);color:white;border:1px solid var(--line)}
.btn-tiny.danger{background:rgba(220,38,38,.15);border-color:rgba(220,38,38,.35)}
.section{padding:1rem 0 2rem}
.section-soft{background:rgba(255,255,255,.02)}
.section-head{display:flex;justify-content:space-between;gap:1rem;align-items:end;margin-bottom:1rem}
.section-head h1,.section-head h2{margin:.25rem 0 0}
.cards-grid{grid-template-columns:1fr}
.vehicle-card{overflow:hidden}
.vehicle-cover{display:block;aspect-ratio:16/10;background:#0f172a}
.vehicle-cover img{width:100%;height:100%;object-fit:cover}
.no-image{
    height:100%;display:grid;place-items:center;color:var(--muted);
    background:linear-gradient(135deg,#101826,#172235)
}
.no-image.large{min-height:320px}
.vehicle-body{padding:1rem}
.vehicle-meta{display:flex;justify-content:space-between;gap:.75rem;color:#cbd5e1;font-size:.9rem}
.vehicle-body h3{margin:.55rem 0 .4rem;font-size:1.15rem}
.vehicle-specs{margin:0;color:var(--muted)}
.vehicle-price{display:flex;flex-direction:column;margin:1rem 0}
.vehicle-price small{text-decoration:line-through;color:var(--muted)}
.vehicle-price strong{font-size:1.4rem;color:#fff}
.empty-state{padding:2rem;border:1px dashed var(--line);border-radius:var(--radius);text-align:center}
.pagination{
    margin-top:1rem;display:flex;justify-content:center;gap:1rem;align-items:center;flex-wrap:wrap
}
.pagination a{padding:.7rem 1rem;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.site-footer{border-top:1px solid var(--line);padding:2rem 0 3rem;margin-top:2rem}
.footer-grid{align-items:start}
.footer-list{list-style:none;padding:0;margin:0;display:grid;gap:.45rem;color:var(--muted)}
.flash-wrap{padding-top:1rem}
.flash{padding:1rem 1.1rem;border-radius:16px;border:1px solid var(--line)}
.flash.success{background:rgba(22,163,74,.14);color:#dcfce7}
.flash.error{background:rgba(220,38,38,.12);color:#fee2e2}
.auth-wrap,.setup-screen{display:grid;place-items:center;padding:4rem 1rem}
.auth-card,.setup-card{width:min(100%,520px);padding:1.25rem}
.auth-card h1,.setup-card h1{margin:.75rem 0}
.auth-note{
    margin-top:1rem;padding:1rem;border-radius:14px;background:rgba(255,255,255,.04);
    border:1px dashed var(--line);display:grid;gap:.35rem;color:var(--muted)
}
.admin-shell .panel-card{margin-bottom:1rem}
.table-wrap{overflow:auto}
.table{width:100%;border-collapse:collapse;min-width:720px}
.table th,.table td{padding:.95rem .8rem;border-bottom:1px solid var(--line);text-align:left}
.status-pill{
    display:inline-flex;padding:.35rem .7rem;border-radius:999px;font-size:.82rem;border:1px solid var(--line)
}
.status-pill.active{background:rgba(22,163,74,.15);color:#bbf7d0}
.status-pill.inactive{background:rgba(148,163,184,.15);color:#cbd5e1}
.stats-grid{grid-template-columns:repeat(2,1fr)}
.stat-card{padding:1rem}
.stat-card span{display:block;color:var(--muted);margin-bottom:.5rem}
.stat-card strong{font-size:1.8rem}
.simple-list{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.simple-list li{padding:.8rem 0;border-bottom:1px solid var(--line)}
.compact-form{margin-bottom:1rem}
.admin-search-grid{align-items:end}
.detail-grid{align-items:start}
.detail-cover img{width:100%;border-radius:20px;aspect-ratio:16/10;object-fit:cover}
.thumb-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin-top:.75rem}
.thumb-btn{padding:0;border:none;background:transparent;cursor:pointer}
.thumb-btn img{border-radius:14px;aspect-ratio:1/1;object-fit:cover;border:1px solid var(--line)}
.detail-info h1{margin:.7rem 0;font-size:clamp(1.8rem,5vw,3rem)}
.detail-location{color:var(--muted);margin:0}
.detail-price{display:flex;flex-direction:column;margin:1.2rem 0}
.detail-price small{color:var(--muted);text-decoration:line-through}
.detail-price strong{font-size:2rem}
.spec-grid{grid-template-columns:repeat(2,1fr)}
.spec{
    padding:1rem;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.03)
}
.spec span{display:block;color:var(--muted);font-size:.85rem;margin-bottom:.35rem}
.feature-block{margin-top:1.2rem;padding-top:1rem;border-top:1px solid var(--line)}
.feature-list{display:grid;grid-template-columns:repeat(2,1fr);gap:.55rem;list-style:none;padding:0}
.feature-list li{padding:.75rem;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.03)}
.edit-image-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.edit-image-card{display:grid;gap:.5rem}
.edit-image-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:16px;border:1px solid var(--line)}
@media (min-width:768px){
    .main-nav{position:static;display:flex!important;flex-direction:row;background:transparent;border:none;padding:0;box-shadow:none}
    .nav-toggle{display:none}
    .hero{padding:3rem 0 1rem}
    .hero-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);align-items:start}
    .search-grid{grid-template-columns:repeat(4,1fr)}
    .cards-grid{grid-template-columns:repeat(2,1fr)}
    .stats-grid{grid-template-columns:repeat(4,1fr)}
    .footer-grid,.two-col{grid-template-columns:1fr 1fr}
    .detail-grid{grid-template-columns:1.15fr .85fr}
}
@media (min-width:1024px){
    .cards-grid{grid-template-columns:repeat(3,1fr)}
    .search-grid{grid-template-columns:repeat(4,1fr)}
}

/* === Refactor busca, comparador e drawer === */
body.drawer-open{overflow:hidden}
.hero-home{padding-top:1.5rem}
.hero-stack{display:grid;gap:1.1rem}
.hero-copy-wide{
    padding:1.25rem;border:1px solid var(--line);border-radius:28px;background:radial-gradient(circle at top right, rgba(217,4,22,.18), transparent 32%), linear-gradient(180deg,rgba(18,19,23,.95),rgba(14,15,18,.9));
    box-shadow:var(--shadow)
}
.hero-actions-row,.section-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.hero-panel-mobile{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.compact-head{margin-bottom:.8rem}
.text-link{color:#ffb4ba;font-weight:600}
.hero-strip-wrap{
    border:1px solid var(--line);border-radius:28px;padding:1rem;background:rgba(255,255,255,.03)
}
.hero-cards-scroll{
    display:grid;grid-auto-flow:column;grid-auto-columns:minmax(285px,84vw);gap:1rem;overflow-x:auto;padding-bottom:.35rem;scroll-snap-type:x mandatory
}
.hero-card-item{scroll-snap-align:start}
.hero-card-item .vehicle-card{height:100%}
.vehicle-actions.multi-line{display:flex;flex-wrap:wrap;gap:.65rem}
.btn-compare.is-active{border-color:rgba(217,4,22,.6);background:rgba(217,4,22,.14);color:#fff}
.page-top{padding:1.35rem 0 .2rem}
.page-top-search{padding-bottom:.6rem}
.stack-mobile{display:flex;flex-direction:column;align-items:flex-start;gap:1rem}
.drawer-backdrop{
    position:fixed;inset:0;background:rgba(2,6,14,.62);opacity:0;pointer-events:none;transition:.2s ease;z-index:45
}
.drawer-backdrop.is-open{opacity:1;pointer-events:auto}
.drawer{
    position:fixed;top:0;left:0;height:100vh;width:min(92vw,420px);background:#101115;border-right:1px solid var(--line);
    transform:translateX(-105%);transition:transform .25s ease;z-index:50;padding:1rem 1rem 1.25rem;overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.45)
}
.drawer.is-open{transform:translateX(0)}
.drawer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}
.drawer-header h3{margin:.2rem 0 0}
.drawer-close{
    width:42px;height:42px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:#fff;font-size:1.5rem;cursor:pointer
}
.drawer .search-grid{grid-template-columns:1fr}
.drawer .filter-form{display:grid;gap:1rem}
.drawer-actions{position:sticky;bottom:0;padding-top:.35rem;background:linear-gradient(180deg,rgba(11,20,34,.3),rgba(11,20,34,.96))}
.compare-bar{
    position:fixed;left:0;right:0;bottom:0;z-index:42;padding:.75rem 0 calc(.75rem + env(safe-area-inset-bottom));
    background:rgba(10,10,12,.94);backdrop-filter:blur(18px);border-top:1px solid var(--line)
}
.compare-bar__content{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.compare-bar__left{display:flex;align-items:center;gap:.75rem;min-width:0}
.compare-bar__count{
    width:34px;height:34px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),#ff4d57);font-weight:800
}
.compare-bar__titles{display:flex;flex-wrap:wrap;gap:.4rem;min-width:0}
.compare-bar__titles span{
    padding:.4rem .65rem;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--line);white-space:nowrap;max-width:180px;overflow:hidden;text-overflow:ellipsis
}
.compare-bar__actions{display:flex;gap:.65rem;flex-shrink:0}
.compare-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.03)}
.compare-table{width:100%;border-collapse:separate;border-spacing:0;min-width:780px}
.compare-table th,.compare-table td{padding:1rem;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.compare-table thead th{background:rgba(15,16,20,.96);position:sticky;top:0;z-index:2}
.compare-table tbody th{position:sticky;left:0;background:rgba(15,16,20,.98);z-index:1;min-width:180px}
.compare-head-card{display:grid;gap:.65rem;min-width:210px}
.compare-head-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:18px;border:1px solid var(--line)}
.compare-head-card span{color:#ffb7bc;font-weight:700}
.compare-head-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.compare-tags{display:flex;flex-wrap:wrap;gap:.45rem}
.compare-tags span{padding:.4rem .6rem;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--line);font-size:.9rem}
.btn-full{width:100%;justify-content:center}
.no-image.small{min-height:140px;border-radius:18px}
@media (min-width:768px){
    .stack-mobile{flex-direction:row;justify-content:space-between;align-items:end}
    .drawer .search-grid{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:1024px){
    .hero-stack{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start}
    .hero-copy-wide{min-height:100%}
    .hero-panel-mobile{grid-template-columns:repeat(3,1fr)}
    .hero-strip-wrap{grid-column:2;grid-row:1 / span 2}
}


.hero-copy-wide::after{
    content:'';
    display:block;
    margin-top:1rem;
    width:88px;
    height:4px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--primary),#ff727a);
}
.site-header::before{
    content:'';
    position:absolute;
    inset:0 0 auto 0;
    height:2px;
    background:linear-gradient(90deg, transparent, rgba(217,4,22,.65), transparent);
}


/* ===== LD Automóveis refinamento mobile first v5 ===== */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.brand-only{display:flex;align-items:center;gap:0;padding:0;background:none;border:none}
.brand-logo-solo{display:block;width:min(230px,48vw);height:auto;object-fit:contain}
.nav-shell{gap:1rem;min-height:84px}
.main-nav{margin-left:auto}
.hero-stack-refined{display:grid;gap:1.25rem;padding-top:1rem}
.hero-copy{padding:1.25rem;border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));border:1px solid var(--line);box-shadow:0 18px 40px rgba(0,0,0,.18)}
.hero-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:1rem}
.metric-card{min-height:92px}
.hero-showcase{padding:1rem;border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid var(--line);overflow:hidden}
.showcase-head{margin-bottom:1rem}
.featured-slider{position:relative;display:grid;gap:1rem}
.featured-slider__track{display:flex;transition:transform .55s cubic-bezier(.22,.61,.36,1);will-change:transform}
.featured-slide{min-width:100%;display:grid;gap:1rem;padding:.25rem}
.featured-slide__media{border-radius:26px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);min-height:220px}
.featured-slide__media img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/10}
.featured-slide__content{display:grid;gap:.8rem;padding:.15rem .15rem .5rem}
.featured-slide__content h3{margin:0;font-size:clamp(1.25rem,4.4vw,2rem)}
.featured-slide__specs{margin:0;color:var(--muted)}
.featured-slider__controls{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.featured-slider__dots{display:flex;justify-content:center;gap:.5rem;flex:1}
.featured-slider__dot{width:10px;height:10px;border-radius:999px;border:none;background:rgba(255,255,255,.22);cursor:pointer;transition:all .2s ease}
.featured-slider__dot.is-active{width:34px;background:linear-gradient(90deg,var(--primary),#ff7a83)}
.featured-slider__arrow{width:42px;height:42px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:#fff;font-size:1.4rem;cursor:pointer}
.cards-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.vehicle-card-responsive{display:grid;grid-template-columns:minmax(112px,38%) 1fr;align-items:stretch;overflow:hidden;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.03));border:1px solid var(--line);box-shadow:0 18px 36px rgba(0,0,0,.16)}
.vehicle-card-responsive .vehicle-cover{height:100%;min-height:100%}
.vehicle-card-responsive .vehicle-cover img,.vehicle-card-responsive .vehicle-cover .no-image{width:100%;height:100%;min-height:172px;object-fit:cover}
.vehicle-card-responsive .vehicle-body{padding:1rem;display:grid;gap:.65rem}
.vehicle-card-responsive .vehicle-body h3{margin:0;font-size:1.05rem;line-height:1.3}
.vehicle-card-responsive .vehicle-specs{margin:0;color:var(--muted);font-size:.93rem}
.vehicle-card-responsive .vehicle-actions-compact{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin-top:.2rem}
.vehicle-card-responsive .vehicle-actions-compact .btn-compare{grid-column:1 / -1}
.vehicle-card-responsive .btn{min-height:46px;justify-content:center}
.site-footer{margin-top:2.5rem;padding:2.5rem 0 calc(1rem + env(safe-area-inset-bottom));background:linear-gradient(180deg,#0b1017,#090c12);border-top:1px solid var(--line)}
.footer-shell{display:grid;gap:1.5rem}
.footer-main{display:grid;gap:1.5rem}
.footer-brand-block{display:grid;gap:1rem}
.footer-logo{width:min(240px,62vw);height:auto;display:block}
.footer-copy{margin:0;color:var(--muted);max-width:52ch}
.footer-col h4{margin:0 0 .75rem}
.footer-list{margin:0;padding:0;list-style:none;display:grid;gap:.55rem}
.footer-bottom{display:flex;flex-direction:column;gap:1rem;padding-top:1rem;border-top:1px solid var(--line)}
.footer-bottom p{margin:0;color:var(--muted)}
.footer-agency{display:inline-flex;align-items:center;gap:.75rem;color:#d9dbe3;text-decoration:none;align-self:flex-start;padding:.7rem .95rem;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.footer-agency span{font-size:.9rem;color:var(--muted)}
.footer-agency img{height:34px;width:auto;display:block}
.admin-quick-grid{display:grid;gap:1rem;margin:1rem 0 1.25rem}
.admin-quick-card{display:grid;gap:.35rem;padding:1rem 1.1rem;border-radius:22px;text-decoration:none;color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid var(--line)}
.admin-quick-card span{color:var(--muted)}
.form-grid-enhanced{display:grid;gap:1rem}
.form-section{display:grid;gap:1rem;padding:1rem;border-radius:24px;background:rgba(255,255,255,.03);border:1px solid var(--line)}
.form-section__head{display:grid;gap:.2rem}
.form-section__head h2{margin:0;font-size:1.08rem}
.form-section__head p{margin:0;color:var(--muted)}
.form-section__grid{display:grid;grid-template-columns:1fr;gap:1rem}
.checkbox-label-highlight{display:flex;align-items:center;min-height:54px;padding:.9rem 1rem;border-radius:18px;background:rgba(217,4,22,.1);border:1px solid rgba(217,4,22,.28)}
.checkbox-label-highlight span{font-weight:700}
.feature-chip-grid{display:flex;flex-wrap:wrap;gap:.7rem}
.feature-chip{position:relative;display:inline-flex}
.feature-chip input{position:absolute;opacity:0;pointer-events:none}
.feature-chip span{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.75rem 1rem;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:#eef2f7;font-weight:700;cursor:pointer;transition:all .2s ease}
.feature-chip input:checked + span{background:linear-gradient(135deg,var(--primary),#ff6974);border-color:transparent;box-shadow:0 16px 30px rgba(217,4,22,.28)}
.feature-chip-large{display:flex;width:100%}
.feature-chip-large span{width:100%;min-height:58px;border-radius:18px;justify-content:flex-start;padding-inline:1.1rem}
.field-featured-toggle{margin-top:.15rem}
.sticky-form-actions{position:sticky;bottom:0;z-index:4;background:linear-gradient(180deg,rgba(10,13,19,0),rgba(10,13,19,.97) 36%);padding-top:1rem}
.edit-image-card{background:rgba(255,255,255,.04)}
.cards-grid-latest .vehicle-card-responsive{min-height:100%}
.drawer{padding-bottom:calc(1.2rem + env(safe-area-inset-bottom))}
.drawer .field input,.drawer .field select{min-height:48px}
.pagination{display:flex;justify-content:center;align-items:center;gap:.8rem;flex-wrap:wrap;margin-top:1.25rem}
.pagination a,.pagination span{padding:.8rem 1rem;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.04);text-decoration:none;color:#fff}
.compare-table-wrap::-webkit-scrollbar{height:10px}
.compare-table-wrap::-webkit-scrollbar-track{background:rgba(255,255,255,.06);border-radius:999px}
.compare-table-wrap::-webkit-scrollbar-thumb{background:linear-gradient(90deg,var(--primary),#ff7078);border-radius:999px}
@media (min-width:768px){
  .brand-logo-solo{width:min(270px,28vw)}
  .hero-stack-refined{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:stretch}
  .featured-slide{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:stretch}
  .featured-slide__content{padding:1rem .4rem .4rem}
  .cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-main{grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,.8fr);align-items:start}
  .footer-bottom{flex-direction:row;justify-content:space-between;align-items:center}
  .admin-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .form-section__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1100px){
  .cards-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .vehicle-card-responsive{grid-template-columns:1fr}
  .vehicle-card-responsive .vehicle-cover img,.vehicle-card-responsive .vehicle-cover .no-image{min-height:220px;aspect-ratio:16/10}
  .vehicle-card-responsive .vehicle-actions-compact{grid-template-columns:repeat(3,minmax(0,1fr))}
  .vehicle-card-responsive .vehicle-actions-compact .btn-compare{grid-column:auto}
}

@media (max-width:639px){.hero-mini-stats{grid-template-columns:1fr}.nav-shell{min-height:76px}.brand-logo-solo{width:min(210px,62vw)}}

/* ===== Dashboard, breadcrumbs, slider swipe, cards v6 ===== */
.breadcrumbs-wrap{padding-top:.9rem}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;color:var(--muted);font-size:.92rem}
.breadcrumbs a{padding:.35rem .55rem;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.03)}
.breadcrumbs-sep{opacity:.5}
.remember-box{margin-top:-.15rem}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.panel-head h1,.panel-head h2{margin:0}
.panel-subtitle{margin:.35rem 0 0;color:var(--muted)}
.dashboard-hero{display:grid;gap:1rem;padding:1.1rem 1.1rem 1.2rem;margin-bottom:1rem}
.dashboard-hero__copy h1{margin:.35rem 0 0;font-size:clamp(1.8rem,7vw,3rem)}
.dashboard-hero__copy p{margin:.75rem 0 0;color:#d4dceb;max-width:65ch}
.dashboard-hero__actions{display:grid;gap:.75rem}
.dashboard-kpis .stat-card{min-height:132px}
.dashboard-grid{display:grid;gap:1rem;margin:1rem 0}
.chart-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.75rem;align-items:end;min-height:260px;padding-top:1rem}
.chart-bars__item{display:grid;gap:.55rem;justify-items:center}
.chart-bars__value{font-weight:800;color:#fff;font-size:.92rem}
.chart-bars__bar{height:170px;width:100%;display:flex;align-items:flex-end;justify-content:center}
.chart-bars__bar span{display:block;width:min(100%,28px);border-radius:14px 14px 4px 4px;background:linear-gradient(180deg,#ff626d,var(--primary));box-shadow:0 18px 28px rgba(217,4,22,.24)}
.ranked-list li{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.ranked-list small{display:block;color:var(--muted);margin-top:.25rem}
.rank-pill{display:inline-flex;align-items:center;padding:.45rem .7rem;border-radius:999px;background:rgba(217,4,22,.12);border:1px solid rgba(217,4,22,.28);font-weight:700}
.manage-list{display:grid;gap:1rem}
.manage-item{display:grid;gap:.75rem;padding:1rem;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.03)}
.manage-item__form{display:grid;gap:.85rem}
.manage-item__form--model{grid-template-columns:1fr}
.manage-item__meta{display:flex;flex-wrap:wrap;gap:.55rem;color:var(--muted);font-size:.88rem}
.manage-item__meta span{padding:.35rem .55rem;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.featured-slider{overflow:hidden;touch-action:pan-y}
.featured-slider.is-dragging{cursor:grabbing}
.featured-slider__viewport{overflow:hidden;border-radius:24px}
.featured-slider__track{display:flex;will-change:transform}
.featured-slide{user-select:none}
.featured-slide__media{min-height:180px}
.featured-slide__content .vehicle-stats-line{margin-top:-.15rem}
.hero-showcase{padding:.85rem}
.hero-showcase .showcase-head h2{margin:.1rem 0 .25rem}
.hero-showcase .showcase-head p{margin:0;color:var(--muted)}
.vehicle-card-responsive{grid-template-columns:132px 1fr;min-height:184px}
.vehicle-card-responsive .vehicle-cover{min-height:100%;height:100%}
.vehicle-card-responsive .vehicle-cover img,.vehicle-card-responsive .vehicle-cover .no-image{height:100%;min-height:184px;object-fit:cover}
.vehicle-body{min-width:0}
.vehicle-stats-line{display:flex;flex-wrap:wrap;gap:.55rem;color:var(--muted);font-size:.86rem}
.vehicle-stats-line span{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem 0}
.vehicle-card-responsive .vehicle-price{margin:.4rem 0 .1rem}
.vehicle-card-responsive .vehicle-price strong{font-size:1.9rem;line-height:1}
.vehicle-card-responsive .vehicle-actions-compact{margin-top:.25rem}
.vehicle-card-responsive .btn{padding:.8rem .75rem}
.compare-bar__actions .btn{min-height:44px}
.table small{color:var(--muted)}
@media (min-width:768px){
  .dashboard-hero{grid-template-columns:minmax(0,1fr) auto;align-items:end}
  .dashboard-hero__actions{grid-template-columns:repeat(3,max-content)}
  .dashboard-grid{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)}
  .manage-item{grid-template-columns:1fr auto;align-items:end}
  .manage-item__form--model{grid-template-columns:1fr 1fr auto auto;align-items:end}
  .vehicle-card-responsive{grid-template-columns:145px 1fr}
  .featured-slide__media{min-height:230px}
}
@media (min-width:1100px){
  .vehicle-card-responsive{grid-template-columns:1fr;min-height:auto}
  .vehicle-card-responsive .vehicle-cover img,.vehicle-card-responsive .vehicle-cover .no-image{min-height:220px}
}


/* ===== v7 fixes: SQL fallback, search cards, detail spacing ===== */
.page-top-search{padding-bottom:.5rem}
.search-results-grid{grid-template-columns:1fr;gap:1rem}
.search-results-grid .vehicle-card--search{
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  align-items:stretch;
  min-height:198px;
  border-radius:26px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.search-results-grid .vehicle-card--search .vehicle-cover{
  height:100%;
  min-height:100%;
  background:#0d1017;
}
.search-results-grid .vehicle-card--search .vehicle-cover img,
.search-results-grid .vehicle-card--search .vehicle-cover .no-image{
  width:100%;
  height:100%;
  min-height:198px;
  object-fit:cover;
}
.search-results-grid .vehicle-card--search .vehicle-body{
  display:grid;
  gap:.65rem;
  padding:1rem;
  min-width:0;
  background:linear-gradient(180deg,rgba(13,17,24,.94),rgba(11,14,19,.98));
}
.search-results-grid .vehicle-card--search .vehicle-meta,
.search-results-grid .vehicle-card--search .vehicle-stats-line{
  font-size:.84rem;
}
.search-results-grid .vehicle-card--search .vehicle-body h3{
  margin:0;
  font-size:1.08rem;
  line-height:1.3;
}
.search-results-grid .vehicle-card--search .vehicle-specs{
  font-size:.92rem;
  line-height:1.45;
}
.search-results-grid .vehicle-card--search .vehicle-price{
  margin:.15rem 0;
}
.search-results-grid .vehicle-card--search .vehicle-price strong{
  font-size:1.7rem;
  line-height:1.05;
}
.search-results-grid .vehicle-card--search .vehicle-actions-compact{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.6rem;
  margin-top:.15rem;
}
.search-results-grid .vehicle-card--search .vehicle-actions-compact .btn-compare{
  grid-column:1 / -1;
}
.search-results-grid .vehicle-card--search .btn{
  min-height:46px;
  padding:.8rem .75rem;
}
.detail-actions{
  margin-top:1.25rem;
  padding-top:.35rem;
}
.detail-actions .btn{
  min-height:48px;
}
.detail-info .spec-grid{
  margin-bottom:.35rem;
}
@media (min-width:768px){
  .search-results-grid .vehicle-card--search{
    grid-template-columns:240px minmax(0,1fr);
    min-height:228px;
  }
  .search-results-grid .vehicle-card--search .vehicle-cover img,
  .search-results-grid .vehicle-card--search .vehicle-cover .no-image{
    min-height:228px;
  }
  .search-results-grid .vehicle-card--search .vehicle-body{
    padding:1.15rem 1.2rem;
  }
  .search-results-grid .vehicle-card--search .vehicle-body h3{
    font-size:1.32rem;
  }
  .search-results-grid .vehicle-card--search .vehicle-actions-compact{
    grid-template-columns:repeat(3,minmax(0,160px));
    justify-content:flex-start;
  }
  .search-results-grid .vehicle-card--search .vehicle-actions-compact .btn-compare{
    grid-column:auto;
  }
}


/* ===== v8 fixes: latest cards, session nav, dashboard spacing ===== */
.section-head{align-items:flex-start}
.section-actions{display:grid;grid-template-columns:1fr;gap:.75rem;align-self:center;width:min(220px,100%)}
.section-actions .btn{width:100%}
.cards-grid-latest{grid-template-columns:1fr;gap:1rem}
.cards-grid-latest .vehicle-card--latest{
  display:grid;
  grid-template-columns:124px minmax(0,1fr);
  min-height:186px;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
}
.cards-grid-latest .vehicle-card--latest .vehicle-cover{
  height:100%;
  min-height:100%;
  background:#0d1017;
}
.cards-grid-latest .vehicle-card--latest .vehicle-cover img,
.cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{
  width:100%;
  height:100%;
  min-height:186px;
  object-fit:cover;
}
.cards-grid-latest .vehicle-card--latest .vehicle-body{
  display:grid;
  gap:.6rem;
  padding:1rem;
  min-width:0;
  align-content:start;
}
.cards-grid-latest .vehicle-card--latest .vehicle-body h3{
  margin:0;
  font-size:1.02rem;
  line-height:1.28;
}
.cards-grid-latest .vehicle-card--latest .vehicle-meta,
.cards-grid-latest .vehicle-card--latest .vehicle-stats-line{
  font-size:.83rem;
}
.cards-grid-latest .vehicle-card--latest .vehicle-specs{
  font-size:.9rem;
  line-height:1.42;
}
.cards-grid-latest .vehicle-card--latest .vehicle-price{margin:.15rem 0}
.cards-grid-latest .vehicle-card--latest .vehicle-price strong{font-size:1.45rem;line-height:1.02}
.cards-grid-latest .vehicle-card--latest .vehicle-actions-compact{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem;
  margin-top:.15rem;
}
.cards-grid-latest .vehicle-card--latest .vehicle-actions-compact .btn-compare{grid-column:1 / -1}
.dashboard-kpis{gap:1rem}
.analytics-kpis{margin-top:1rem}
.featured-slider__controls{padding-inline:.2rem}
@media (min-width:768px){
  .section-actions{grid-template-columns:repeat(2,max-content);width:auto;justify-self:end}
  .section-actions .btn{width:auto}
  .cards-grid-latest{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cards-grid-latest .vehicle-card--latest{grid-template-columns:148px minmax(0,1fr);min-height:198px}
  .cards-grid-latest .vehicle-card--latest .vehicle-cover img,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{min-height:198px}
}
@media (min-width:1100px){
  .cards-grid-latest{grid-template-columns:repeat(4,minmax(0,1fr))}
  .cards-grid-latest .vehicle-card--latest{grid-template-columns:132px minmax(0,1fr);min-height:188px}
  .cards-grid-latest .vehicle-card--latest .vehicle-cover img,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{min-height:188px}
  .cards-grid-latest .vehicle-card--latest .vehicle-actions-compact{grid-template-columns:1fr 1fr}
  .cards-grid-latest .vehicle-card--latest .vehicle-actions-compact .btn-compare{grid-column:1 / -1}
}

/* ===== v8.2: session remember + marketplace cards + 16:9 photos ===== */
.vehicle-card-responsive,
.search-results-grid .vehicle-card--search,
.cards-grid-latest .vehicle-card--latest{
  position:relative;
}
.vehicle-card-responsive .vehicle-cover,
.search-results-grid .vehicle-card--search .vehicle-cover,
.cards-grid-latest .vehicle-card--latest .vehicle-cover{
  position:relative;
  overflow:hidden;
  background:#11161f;
}
.vehicle-card-responsive .vehicle-body,
.search-results-grid .vehicle-card--search .vehicle-body,
.cards-grid-latest .vehicle-card--latest .vehicle-body{
  position:relative;
  z-index:1;
  min-width:0;
}

.search-results-grid,
.cards-grid-latest{
  grid-template-columns:1fr;
  gap:1rem;
}

.search-results-grid .vehicle-card--search,
.cards-grid-latest .vehicle-card--latest{
  display:grid;
  grid-template-columns:124px minmax(0,1fr);
  min-height:186px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,#171b23,#11151d);
  box-shadow:0 18px 34px rgba(0,0,0,.18);
}

.search-results-grid .vehicle-card--search .vehicle-cover,
.cards-grid-latest .vehicle-card--latest .vehicle-cover{
  background:#f4f5f7;
}

.search-results-grid .vehicle-card--search .vehicle-cover img,
.search-results-grid .vehicle-card--search .vehicle-cover .no-image,
.cards-grid-latest .vehicle-card--latest .vehicle-cover img,
.cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{
  width:100%;
  height:100%;
  min-height:186px;
  object-fit:cover;
  object-position:center center;
  aspect-ratio:auto;
}

.search-results-grid .vehicle-card--search .vehicle-body,
.cards-grid-latest .vehicle-card--latest .vehicle-body{
  display:flex;
  flex-direction:column;
  gap:.5rem;
  padding:.9rem .95rem;
  background:linear-gradient(180deg,#151922 0%,#10141c 100%);
}

.search-results-grid .vehicle-card--search .vehicle-meta,
.search-results-grid .vehicle-card--search .vehicle-stats-line,
.cards-grid-latest .vehicle-card--latest .vehicle-meta,
.cards-grid-latest .vehicle-card--latest .vehicle-stats-line{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  align-items:center;
  color:#b4becc;
  font-size:.79rem;
}

.search-results-grid .vehicle-card--search .vehicle-body h3,
.cards-grid-latest .vehicle-card--latest .vehicle-body h3{
  margin:0;
  font-size:1rem;
  line-height:1.25;
  letter-spacing:-.01em;
}

.search-results-grid .vehicle-card--search .vehicle-body h3 a,
.cards-grid-latest .vehicle-card--latest .vehicle-body h3 a{
  color:#fff;
  text-decoration:none;
}

.search-results-grid .vehicle-card--search .vehicle-specs,
.cards-grid-latest .vehicle-card--latest .vehicle-specs{
  margin:0;
  color:#c0c9d6;
  font-size:.88rem;
  line-height:1.38;
}

.search-results-grid .vehicle-card--search .vehicle-price,
.cards-grid-latest .vehicle-card--latest .vehicle-price{
  margin:.1rem 0 .05rem;
}
.search-results-grid .vehicle-card--search .vehicle-price small,
.cards-grid-latest .vehicle-card--latest .vehicle-price small{
  display:block;
  font-size:.82rem;
  color:#8b95a5;
  text-decoration:line-through;
  margin-bottom:.18rem;
}
.search-results-grid .vehicle-card--search .vehicle-price strong,
.cards-grid-latest .vehicle-card--latest .vehicle-price strong{
  display:block;
  font-size:1.62rem;
  line-height:1;
  color:#fff;
}

.search-results-grid .vehicle-card--search .vehicle-actions-compact,
.cards-grid-latest .vehicle-card--latest .vehicle-actions-compact{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.5rem;
  margin-top:auto;
  padding-top:.15rem;
}
.search-results-grid .vehicle-card--search .vehicle-actions-compact .btn-compare,
.cards-grid-latest .vehicle-card--latest .vehicle-actions-compact .btn-compare{
  grid-column:1 / -1;
}
.search-results-grid .vehicle-card--search .btn,
.cards-grid-latest .vehicle-card--latest .btn{
  min-height:42px;
  padding:.72rem .75rem;
  border-radius:16px;
  font-size:.94rem;
}

.section-head{
  gap:1rem;
}
.section-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:.75rem;
  width:min(220px,100%);
  align-self:start;
}
.section-actions .btn{width:100%}

.dashboard-kpis,
.analytics-kpis{
  gap:1rem;
}
.analytics-kpis .stat-card,
.dashboard-kpis .stat-card{
  min-height:128px;
}

@media (min-width:768px){
  .search-results-grid .vehicle-card--search,
  .cards-grid-latest .vehicle-card--latest{
    grid-template-columns:184px minmax(0,1fr);
    min-height:196px;
  }
  .search-results-grid .vehicle-card--search .vehicle-cover img,
  .search-results-grid .vehicle-card--search .vehicle-cover .no-image,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover img,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{
    min-height:196px;
  }
  .search-results-grid .vehicle-card--search .vehicle-price strong,
  .cards-grid-latest .vehicle-card--latest .vehicle-price strong{
    font-size:1.78rem;
  }
  .section-head{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
  }
  .section-actions{
    grid-template-columns:repeat(2,max-content);
    width:auto;
    justify-self:end;
  }
  .section-actions .btn{width:auto}
  .cards-grid-latest{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (min-width:1100px){
  .cards-grid-latest{grid-template-columns:repeat(4,minmax(0,1fr))}
  .cards-grid-latest .vehicle-card--latest{
    grid-template-columns:100%;
    min-height:auto;
  }
  .cards-grid-latest .vehicle-card--latest .vehicle-cover img,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{
    min-height:170px;
    aspect-ratio:16/9;
  }
  .cards-grid-latest .vehicle-card--latest .vehicle-body{
    padding:1rem;
  }
  .cards-grid-latest .vehicle-card--latest .vehicle-actions-compact{
    grid-template-columns:1fr 1fr;
  }
  .cards-grid-latest .vehicle-card--latest .vehicle-actions-compact .btn-compare{
    grid-column:1 / -1;
  }
}


/* === Modern vehicle gallery === */

.detail-cover-trigger{position:relative;display:block;width:100%;padding:0;border:none;background:transparent;cursor:zoom-in}
.detail-cover-trigger img{display:block;width:100%;border-radius:20px;aspect-ratio:16/10;object-fit:cover}
.gallery-open-hint{position:absolute;right:1rem;bottom:1rem;display:inline-flex;align-items:center;gap:.35rem;padding:.55rem .85rem;border-radius:999px;background:rgba(3,7,18,.72);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px);font-size:.85rem;font-weight:700;color:#fff}
.thumb-btn{position:relative;padding:0;border:none;background:transparent;cursor:pointer;border-radius:14px;overflow:hidden}
.thumb-btn img{border-radius:14px;aspect-ratio:1/1;object-fit:cover;border:1px solid var(--line);transition:transform .2s ease,border-color .2s ease,opacity .2s ease}
.thumb-btn.is-active img,.thumb-btn:hover img{border-color:rgba(217,4,22,.8);transform:translateY(-1px);opacity:1}
.thumb-btn:not(.is-active) img{opacity:.82}
.gallery-modal[hidden]{display:none!important}
.gallery-open{overflow:hidden}
.gallery-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:1rem}
.gallery-modal__backdrop{position:absolute;inset:0;background:rgba(2,6,14,.82);backdrop-filter:blur(10px)}
.gallery-modal__dialog{position:relative;z-index:1;width:min(100%,1120px);max-height:calc(100vh - 2rem);display:grid;gap:1rem;padding:1rem;border-radius:28px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(14,15,18,.98),rgba(10,11,14,.96));box-shadow:0 40px 120px rgba(0,0,0,.55)}
.gallery-modal__close{position:absolute;top:.85rem;right:.85rem;width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;font-size:1.6rem;line-height:1;cursor:pointer}
.gallery-modal__stage{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem}
.gallery-modal__figure{margin:0;display:grid;gap:.85rem}
.gallery-modal__figure img{width:100%;max-height:72vh;border-radius:22px;object-fit:contain;background:#090b10}
.gallery-modal__caption{display:flex;justify-content:space-between;gap:1rem;align-items:center;color:#e5e7eb;font-size:.95rem}
.gallery-modal__caption span{color:#9ca3af}
.gallery-nav{width:52px;height:52px;display:grid;place-items:center;border:none;border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-size:2rem;cursor:pointer}
.gallery-modal__thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,88px));gap:.75rem}
.gallery-mini{padding:0;border:none;border-radius:16px;overflow:hidden;background:transparent;cursor:pointer;opacity:.72}
.gallery-mini img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:16px;border:1px solid rgba(255,255,255,.08)}
.gallery-mini.is-active{opacity:1}
.gallery-mini.is-active img{border-color:rgba(217,4,22,.88)}
@media (max-width:767px){
  .gallery-open-hint{right:.75rem;bottom:.75rem;padding:.45rem .7rem;font-size:.78rem}
  .gallery-modal{padding:.5rem}
  .gallery-modal__dialog{padding:.75rem;border-radius:22px;max-height:calc(100vh - 1rem)}
  .gallery-modal__stage{grid-template-columns:1fr;gap:.5rem}
  .gallery-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:42px;background:rgba(3,7,18,.62)}
  .gallery-nav--prev{left:.75rem}
  .gallery-nav--next{right:.75rem}
  .gallery-modal__figure img{max-height:58vh;border-radius:18px}
  .gallery-modal__caption{display:grid;gap:.2rem}
  .gallery-modal__thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}
}


/* v8.4 refinements */
.brand-logo-solo{max-height:78px;width:auto;object-fit:contain}
@media (max-width:768px){.brand-logo-solo{max-height:62px}}
.vehicle-year-tag{display:inline-flex;align-items:center;justify-content:center;padding:.2rem .55rem;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);border-radius:999px;color:#d0d3dc;font-size:.78rem;line-height:1;font-weight:700}
.spec-icon{display:inline-block;width:14px;height:14px;margin-right:.33rem;vertical-align:-2px;background:currentColor;opacity:.8;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}
.spec-icon--date{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h3a2 2 0 0 1 2 2v13a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6a2 2 0 0 1 2-2h3V2Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9ZM5 6a1 1 0 0 0-1 1v1h16V7a1 1 0 0 0-1-1H5Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h3a2 2 0 0 1 2 2v13a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6a2 2 0 0 1 2-2h3V2Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9ZM5 6a1 1 0 0 0-1 1v1h16V7a1 1 0 0 0-1-1H5Z'/%3E%3C/svg%3E")}
.spec-icon--view{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c5.23 0 9.76 3.11 11.82 7.5C21.76 16.89 17.23 20 12 20S2.24 16.89.18 12.5C2.24 8.11 6.77 5 12 5Zm0 2C8.03 7 4.53 9.11 2.35 12.5 4.53 15.89 8.03 18 12 18s7.47-2.11 9.65-5.5C19.47 9.11 15.97 7 12 7Zm0 2.5A3.5 3.5 0 1 1 12 16a3.5 3.5 0 0 1 0-7Zm0 2A1.5 1.5 0 1 0 12 14a1.5 1.5 0 0 0 0-3Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c5.23 0 9.76 3.11 11.82 7.5C21.76 16.89 17.23 20 12 20S2.24 16.89.18 12.5C2.24 8.11 6.77 5 12 5Zm0 2C8.03 7 4.53 9.11 2.35 12.5 4.53 15.89 8.03 18 12 18s7.47-2.11 9.65-5.5C19.47 9.11 15.97 7 12 7Zm0 2.5A3.5 3.5 0 1 1 12 16a3.5 3.5 0 0 1 0-7Zm0 2A1.5 1.5 0 1 0 12 14a1.5 1.5 0 0 0 0-3Z'/%3E%3C/svg%3E")}
.spec-icon--km{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a9 9 0 1 1-6.36 2.64A9 9 0 0 1 12 3Zm0 2a7 7 0 1 0 4.95 2.05A7 7 0 0 0 12 5Zm-.8 2.3h1.6v4.56l2.88 1.73-.8 1.31-3.68-2.24V7.3Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a9 9 0 1 1-6.36 2.64A9 9 0 0 1 12 3Zm0 2a7 7 0 1 0 4.95 2.05A7 7 0 0 0 12 5Zm-.8 2.3h1.6v4.56l2.88 1.73-.8 1.31-3.68-2.24V7.3Z'/%3E%3C/svg%3E")}
.vehicle-card .vehicle-cover img,.vehicle-card .vehicle-cover .no-image{object-fit:cover;object-position:center center}
.vehicle-card .vehicle-cover{background:#0f1117;display:flex;align-items:center;justify-content:center;overflow:hidden}
.search-results-grid .vehicle-card--search .vehicle-cover img,.cards-grid-latest .vehicle-card--latest .vehicle-cover img{object-position:center center}
.input-note{padding:1rem 1.1rem;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:var(--muted)}


/* ===== v8.5.1 recreated: latest cards home horizontal desktop fix ===== */
@media (min-width: 768px){
  .cards-grid-latest{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem;}
  .cards-grid-latest .vehicle-card--latest{
    grid-template-columns:minmax(0,40%) minmax(0,60%);
    min-height:220px;
    align-items:stretch;
  }
  .cards-grid-latest .vehicle-card--latest .vehicle-cover,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover img,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{
    height:100%;
    min-height:220px;
  }
  .cards-grid-latest .vehicle-card--latest .vehicle-body{
    padding:1rem 1rem 1rem .95rem;
    gap:.55rem;
    align-content:start;
  }
}
@media (min-width: 1200px){
  .cards-grid-latest{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.15rem;}
  .cards-grid-latest .vehicle-card--latest{
    grid-template-columns:minmax(0,40%) minmax(0,60%);
    min-height:228px;
  }
  .cards-grid-latest .vehicle-card--latest .vehicle-cover,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover img,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{
    min-height:228px;
    aspect-ratio:auto;
  }
  .cards-grid-latest .vehicle-card--latest .vehicle-body h3{font-size:1.05rem;}
  .cards-grid-latest .vehicle-card--latest .vehicle-price strong{font-size:1.52rem;}
}


/* ===== v8.5.2 premium marketplace card refresh ===== */
.search-results-grid,
.cards-grid-latest{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
}

.search-results-grid .vehicle-card--search,
.cards-grid-latest .vehicle-card--latest{
  display:grid;
  grid-template-columns:minmax(132px,40%) minmax(0,1fr);
  align-items:stretch;
  min-height:232px;
  border-radius:26px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(180deg,rgba(20,24,33,.98),rgba(13,17,24,.98));
  box-shadow:0 18px 36px rgba(0,0,0,.22);
}

.search-results-grid .vehicle-card--search .vehicle-cover,
.cards-grid-latest .vehicle-card--latest .vehicle-cover{
  position:relative;
  min-height:100%;
  background:linear-gradient(180deg,#11141b,#0c0f15);
  overflow:hidden;
  isolation:isolate;
}

.search-results-grid .vehicle-card--search .vehicle-cover::after,
.cards-grid-latest .vehicle-card--latest .vehicle-cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,0) 72%, rgba(9,11,18,.22) 100%);
  pointer-events:none;
}

.search-results-grid .vehicle-card--search .vehicle-cover img,
.search-results-grid .vehicle-card--search .vehicle-cover .no-image,
.cards-grid-latest .vehicle-card--latest .vehicle-cover img,
.cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{
  width:100%;
  height:100%;
  min-height:232px;
  display:block;
  object-fit:cover;
  object-position:center center !important;
  transform:scale(1.02);
}

.search-results-grid .vehicle-card--search .vehicle-body,
.cards-grid-latest .vehicle-card--latest .vehicle-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:.6rem;
  padding:1rem .95rem 1rem 1rem;
  background:
    radial-gradient(circle at top right, rgba(217,4,22,.08), transparent 35%),
    linear-gradient(180deg,rgba(18,22,31,.98),rgba(11,14,21,.98));
}

.search-results-grid .vehicle-card--search .vehicle-meta,
.cards-grid-latest .vehicle-card--latest .vehicle-meta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:.45rem;
  color:#b9c2d0;
  font-size:.82rem;
}

.search-results-grid .vehicle-card--search .vehicle-meta span:first-child,
.cards-grid-latest .vehicle-card--latest .vehicle-meta span:first-child{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.search-results-grid .vehicle-card--search .vehicle-body h3,
.cards-grid-latest .vehicle-card--latest .vehicle-body h3{
  margin:0;
  font-size:1.14rem;
  line-height:1.15;
  letter-spacing:-.02em;
}

.search-results-grid .vehicle-card--search .vehicle-specs,
.cards-grid-latest .vehicle-card--latest .vehicle-specs{
  margin:0;
  color:#d2d8e3;
  font-size:.96rem;
  line-height:1.45;
}

.search-results-grid .vehicle-card--search .vehicle-stats-line,
.cards-grid-latest .vehicle-card--latest .vehicle-stats-line{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  align-items:center;
  color:#b0bac9;
  font-size:.82rem;
}

.search-results-grid .vehicle-card--search .vehicle-price,
.cards-grid-latest .vehicle-card--latest .vehicle-price{
  margin:.1rem 0 .15rem;
}

.search-results-grid .vehicle-card--search .vehicle-price small,
.cards-grid-latest .vehicle-card--latest .vehicle-price small{
  display:block;
  margin-bottom:.25rem;
  font-size:.82rem;
  color:#95a1b1;
  text-decoration:line-through;
}

.search-results-grid .vehicle-card--search .vehicle-price strong,
.cards-grid-latest .vehicle-card--latest .vehicle-price strong{
  display:block;
  font-size:1.9rem;
  line-height:1;
  color:#fff;
  letter-spacing:-.02em;
}

.search-results-grid .vehicle-card--search .vehicle-actions-compact,
.cards-grid-latest .vehicle-card--latest .vehicle-actions-compact{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.6rem;
  margin-top:auto;
  padding-top:.2rem;
}

.search-results-grid .vehicle-card--search .vehicle-actions-compact .btn-compare,
.cards-grid-latest .vehicle-card--latest .vehicle-actions-compact .btn-compare{
  grid-column:1 / -1;
}

.search-results-grid .vehicle-card--search .btn,
.cards-grid-latest .vehicle-card--latest .btn{
  min-height:46px;
  padding:.82rem .8rem;
  border-radius:17px;
  font-size:.95rem;
  font-weight:800;
}

.search-results-grid .vehicle-card--search .btn-whatsapp,
.cards-grid-latest .vehicle-card--latest .btn-whatsapp{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}

.cards-grid-latest{
  grid-template-columns:1fr;
}

@media (min-width: 700px){
  .cards-grid-latest{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (min-width: 1100px){
  .cards-grid-latest{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (min-width: 1560px){
  .cards-grid-latest{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (min-width: 1400px){
  .search-results-grid .vehicle-card--search,
  .cards-grid-latest .vehicle-card--latest{
    grid-template-columns:minmax(146px,38%) minmax(0,1fr);
    min-height:238px;
  }
  .search-results-grid .vehicle-card--search .vehicle-cover img,
  .search-results-grid .vehicle-card--search .vehicle-cover .no-image,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover img,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{
    min-height:238px;
  }
}

@media (max-width: 767px){
  .search-results-grid .vehicle-card--search,
  .cards-grid-latest .vehicle-card--latest{
    grid-template-columns:138px minmax(0,1fr);
    min-height:214px;
    border-radius:24px;
  }
  .search-results-grid .vehicle-card--search .vehicle-cover img,
  .search-results-grid .vehicle-card--search .vehicle-cover .no-image,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover img,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover .no-image{
    min-height:214px;
  }
  .search-results-grid .vehicle-card--search .vehicle-cover::after,
  .cards-grid-latest .vehicle-card--latest .vehicle-cover::after{
    background:linear-gradient(90deg,rgba(0,0,0,0) 68%, rgba(9,11,18,.18) 100%);
  }
  .search-results-grid .vehicle-card--search .vehicle-body,
  .cards-grid-latest .vehicle-card--latest .vehicle-body{
    padding:.9rem .85rem .9rem .9rem;
    gap:.48rem;
  }
  .search-results-grid .vehicle-card--search .vehicle-body h3,
  .cards-grid-latest .vehicle-card--latest .vehicle-body h3{
    font-size:1rem;
  }
  .search-results-grid .vehicle-card--search .vehicle-specs,
  .cards-grid-latest .vehicle-card--latest .vehicle-specs{
    font-size:.9rem;
    line-height:1.35;
  }
  .search-results-grid .vehicle-card--search .vehicle-price strong,
  .cards-grid-latest .vehicle-card--latest .vehicle-price strong{
    font-size:1.45rem;
  }
  .search-results-grid .vehicle-card--search .btn,
  .cards-grid-latest .vehicle-card--latest .btn{
    min-height:42px;
    padding:.72rem .65rem;
    font-size:.88rem;
  }
}

/* ===== v9: redesign cards + favorites + admin brand/model fix ===== */
.hero-quick-points{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}
.hero-quick-points span{display:inline-flex;align-items:center;padding:.65rem .9rem;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.04);color:#d7dde7;font-size:.92rem}
.btn-stock-shortcut{width:auto}

.cards-grid-latest,
.search-results-grid{display:grid;grid-template-columns:1fr;gap:1rem}
@media (min-width:700px){
  .search-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:980px){
  .cards-grid-latest,
  .search-results-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1380px){
  .cards-grid-latest{grid-template-columns:repeat(4,minmax(0,1fr))}
}

.vehicle-card-market{display:grid;grid-template-rows:auto 1fr;overflow:hidden;border-radius:22px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 20px 44px rgba(2,6,23,.12)}
.theme-public .vehicle-card-market{background:linear-gradient(180deg,#fcfcfd 0%,#f5f7fb 100%)}
.vehicle-card-market .vehicle-card__media{position:relative;background:#eef2f7;overflow:hidden}
.vehicle-card-market .vehicle-card__media-link{display:block;aspect-ratio:4/3;background:#edf1f5}
.vehicle-card-market .vehicle-card__media img,
.vehicle-card-market .vehicle-card__media .no-image{width:100%;height:100%;display:block;object-fit:cover;object-position:center center}
.vehicle-card-market .vehicle-card__body{display:flex;flex-direction:column;gap:.6rem;padding:1rem 1rem 1.05rem;color:#111827}
.vehicle-card-market .vehicle-card__brand-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.vehicle-card-market .vehicle-card__brand{font-size:.82rem;font-weight:700;letter-spacing:.01em;color:#525c6d;text-transform:uppercase}
.vehicle-card-market h3{margin:0;font-size:1.28rem;line-height:1.18;letter-spacing:-.02em}
.vehicle-card-market h3 a{color:#101828;text-decoration:none}
.vehicle-card-market .vehicle-card__subtitle{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem;margin:0;color:#475467;font-size:.95rem;line-height:1.4}
.vehicle-card-market .vehicle-card__dot{opacity:.55}
.vehicle-card-market .vehicle-stats-line--market{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;color:#344054;font-size:.88rem}
.vehicle-card-market .vehicle-price--market{margin-top:.1rem}
.vehicle-card-market .vehicle-price--market small{display:block;color:#7b8794;text-decoration:line-through;font-size:.87rem;margin-bottom:.14rem}
.vehicle-card-market .vehicle-price--market strong{display:block;font-size:2rem;line-height:1.02;color:#111827;letter-spacing:-.03em}
.vehicle-card-market .vehicle-actions-market{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:auto;padding-top:.3rem}
.vehicle-card-market .vehicle-actions-market .btn-compare{grid-column:1/-1}
.vehicle-card-market .btn{min-height:48px;border-radius:15px;justify-content:center;font-size:.96rem;font-weight:800}
.vehicle-card-market .vehicle-card__badges{position:absolute;top:.9rem;right:.9rem;display:flex;gap:.45rem;z-index:2}
.vehicle-card-market .vehicle-year-tag{background:rgba(17,24,39,.82);border:1px solid rgba(255,255,255,.12);color:#fff;padding:.34rem .62rem;font-size:.82rem}
.favorite-toggle{position:absolute;top:.9rem;left:.9rem;z-index:2;width:40px;height:40px;border:none;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#101828;box-shadow:0 10px 24px rgba(15,23,42,.16);cursor:pointer;font-size:1.12rem;transition:transform .18s ease,background .18s ease,color .18s ease}
.favorite-toggle:hover{transform:translateY(-1px)}
.favorite-toggle.is-active{background:rgba(217,4,22,.96);color:#fff}
.favorite-toggle span{line-height:1}
.btn-favorite-detail.is-active{background:rgba(217,4,22,.1);border-color:rgba(217,4,22,.35);color:#fff}
.spec-icon{display:inline-block;width:14px;height:14px;background:currentColor;opacity:.72;mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;margin-right:.15rem;vertical-align:-2px}
.spec-icon--date{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3a1 1 0 0 1 1 1v15a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a1 1 0 0 1 1-1h3V2Zm12 8H5v10h14V10Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3a1 1 0 0 1 1 1v15a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a1 1 0 0 1 1-1h3V2Zm12 8H5v10h14V10Z'/%3E%3C/svg%3E")}
.spec-icon--view{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 5c5.5 0 9.8 3.8 11 6.7.1.2.1.4 0 .6C21.8 15.2 17.5 19 12 19S2.2 15.2 1 12.3a.8.8 0 0 1 0-.6C2.2 8.8 6.5 5 12 5Zm0 3.2A3.8 3.8 0 1 0 12 16a3.8 3.8 0 0 0 0-7.8Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 5c5.5 0 9.8 3.8 11 6.7.1.2.1.4 0 .6C21.8 15.2 17.5 19 12 19S2.2 15.2 1 12.3a.8.8 0 0 1 0-.6C2.2 8.8 6.5 5 12 5Zm0 3.2A3.8 3.8 0 1 0 12 16a3.8 3.8 0 0 0 0-7.8Z'/%3E%3C/svg%3E")}
.spec-icon--km{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3a9 9 0 0 1 9 9c0 5-4 9-9 9s-9-4-9-9 4-9 9-9Zm0 2a7 7 0 1 0 7 7 7 7 0 0 0-7-7Zm.8 3.3v3.3l2.8 1.7-1 1.7-3.8-2.3V8.3Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3a9 9 0 0 1 9 9c0 5-4 9-9 9s-9-4-9-9 4-9 9-9Zm0 2a7 7 0 1 0 7 7 7 7 0 0 0-7-7Zm.8 3.3v3.3l2.8 1.7-1 1.7-3.8-2.3V8.3Z'/%3E%3C/svg%3E")}

.search-results-grid .vehicle-card-market,
.cards-grid-latest .vehicle-card-market{min-width:0}

@media (max-width:767px){
  .vehicle-card-market .vehicle-card__media-link{aspect-ratio:4/3}
  .vehicle-card-market .vehicle-card__body{padding:.95rem}
  .vehicle-card-market h3{font-size:1.18rem}
  .vehicle-card-market .vehicle-price--market strong{font-size:1.78rem}
  .vehicle-card-market .vehicle-actions-market{grid-template-columns:1fr 1fr}
  .hero-quick-points{gap:.5rem}
  .hero-quick-points span{font-size:.86rem;padding:.58rem .8rem}
}

@media (min-width:768px){
  .vehicle-card-market .vehicle-card__media-link{aspect-ratio:16/10}
}

.breadcrumbs-wrap{padding-top:1rem}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;color:#98a2b3;font-size:.92rem}
.breadcrumbs a{color:#d0d5dd;text-decoration:none}
.breadcrumbs-sep{opacity:.5}


/* ===== v9.1 card rebuild ===== */
.vehicle-card-market{
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  gap:0;
  align-items:stretch;
  overflow:hidden;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 18px 38px rgba(0,0,0,.22);
}
.vehicle-card-market .vehicle-card__media{
  position:relative;
  min-height:100%;
  background:#0a0f19;
  overflow:hidden;
}
.vehicle-card-market .vehicle-card__media-link,
.vehicle-card-market .vehicle-card__media img,
.vehicle-card-market .vehicle-card__media .no-image{
  display:block;
  width:100%;
  height:100%;
}
.vehicle-card-market .vehicle-card__media img,
.vehicle-card-market .vehicle-card__media .no-image{
  min-height:168px;
  object-fit:cover;
  object-position:center center;
}
.vehicle-card-market .vehicle-card__body{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:1rem;
  gap:.75rem;
}
.vehicle-card-market .vehicle-card__main{
  display:grid;
  gap:.55rem;
}
.vehicle-card-market .vehicle-card__brand-row{display:flex;align-items:center;justify-content:flex-start;gap:.5rem}
.vehicle-card-market .vehicle-card__brand{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.03em;
  color:#8fa0b8;
  text-transform:uppercase;
}
.vehicle-card-market h3{
  margin:0;
  font-size:1.15rem;
  line-height:1.15;
}
.vehicle-card-market h3 a{color:#fff;text-decoration:none}
.vehicle-card-market .vehicle-card__subtitle,
.vehicle-card-market .vehicle-stats-line{
  margin:0;
  color:#b8c1d1;
  font-size:.95rem;
  line-height:1.45;
}
.vehicle-card-market .vehicle-stats-line{display:flex;flex-wrap:wrap;gap:.75rem}
.vehicle-card-market .vehicle-price{margin-top:.15rem}
.vehicle-card-market .vehicle-price small{display:block;margin-bottom:.15rem;color:#8c97ab;text-decoration:line-through}
.vehicle-card-market .vehicle-price strong{
  display:block;
  font-size:2rem;
  line-height:1;
  color:#fff;
}
.vehicle-card-market .vehicle-card__footer{
  margin-top:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.65rem;
}
.vehicle-card-market .vehicle-card__footer .btn{
  min-height:46px;
  justify-content:center;
  padding:.82rem .9rem;
  font-size:.98rem;
}
.vehicle-card-market .vehicle-card__footer .btn-compare{grid-column:1 / -1}
.vehicle-card-market .favorite-toggle{
  position:absolute;
  top:.75rem;
  left:.75rem;
  z-index:3;
}
.vehicle-card-market .vehicle-card__badges{
  position:absolute;
  top:.75rem;
  right:.75rem;
  z-index:3;
}
.vehicle-card-market .vehicle-year-tag{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 .75rem;
  border-radius:999px;
  background:rgba(8,14,24,.82);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:.84rem;
  font-weight:800;
}
.cards-grid-latest,
.search-results-grid,
.favorites-grid{
  display:grid;
  gap:1.25rem;
  grid-template-columns:1fr;
}
@media (min-width: 992px){
  .cards-grid-latest,
  .search-results-grid,
  .favorites-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .vehicle-card-market{
    grid-template-columns:1fr;
    grid-template-rows:auto 1fr;
  }
  .vehicle-card-market .vehicle-card__media img,
  .vehicle-card-market .vehicle-card__media .no-image{
    min-height:210px;
    aspect-ratio:16/10;
  }
  .vehicle-card-market .vehicle-card__body{
    padding:1rem 1rem 1.05rem;
  }
}
@media (min-width: 1400px){
  .cards-grid-latest,
  .search-results-grid,
  .favorites-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media (max-width: 991.98px){
  .vehicle-card-market{
    grid-template-columns:118px minmax(0,1fr);
  }
  .vehicle-card-market .vehicle-card__media img,
  .vehicle-card-market .vehicle-card__media .no-image{
    min-height:100%;
    height:100%;
    aspect-ratio:auto;
  }
  .vehicle-card-market .vehicle-card__body{
    padding:.92rem;
    gap:.68rem;
  }
  .vehicle-card-market h3{font-size:1.02rem}
  .vehicle-card-market .vehicle-card__subtitle,
  .vehicle-card-market .vehicle-stats-line{font-size:.9rem}
  .vehicle-card-market .vehicle-price strong{font-size:1.68rem}
  .vehicle-card-market .vehicle-card__footer{grid-template-columns:1fr 1fr}
  .vehicle-card-market .vehicle-card__footer .btn{font-size:.92rem;padding:.74rem .65rem;min-height:42px}
}
@media (max-width: 575.98px){
  .vehicle-card-market{
    grid-template-columns:120px minmax(0,1fr);
    border-radius:22px;
  }
  .vehicle-card-market .vehicle-card__media img,
  .vehicle-card-market .vehicle-card__media .no-image{min-height:100%}
  .vehicle-card-market .vehicle-card__body{padding:.86rem}
  .vehicle-card-market h3{font-size:.98rem}
  .vehicle-card-market .vehicle-price strong{font-size:1.5rem}
  .vehicle-card-market .vehicle-card__footer .btn{font-size:.9rem}
}
.section.section-soft #destaques .section-head,
#destaques .section-head{align-items:flex-start}

/* ===== v9.2 card reset: imagem / textos / botoes ===== */
.vehicle-card-v92{
  position:relative;
  display:grid;
  grid-template-columns:124px minmax(0,1fr);
  align-items:stretch;
  overflow:hidden;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(10,14,22,.96),rgba(13,17,27,.98));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 40px rgba(0,0,0,.24);
}
.vehicle-card-v92__head{
  position:relative;
  background:#090d14;
  overflow:hidden;
}
.vehicle-card-v92__media-link,
.vehicle-card-v92__head img,
.vehicle-card-v92__head .no-image{
  display:block;
  width:100%;
  height:100%;
}
.vehicle-card-v92__head img,
.vehicle-card-v92__head .no-image{
  min-height:100%;
  object-fit:cover;
  object-position:center center;
}
.vehicle-card-v92__favorite{
  position:absolute;
  top:.7rem;
  left:.7rem;
  z-index:3;
}
.vehicle-card-v92__badges{
  position:absolute;
  top:.7rem;
  right:.7rem;
  z-index:3;
}
.vehicle-card-v92__body{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:1rem;
  gap:.85rem;
}
.vehicle-card-v92__main{
  display:grid;
  gap:.52rem;
}
.vehicle-card-v92__brand-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.vehicle-card-v92__brand{
  font-size:.8rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#97a6bc;
}
.vehicle-card-v92 h3{
  margin:0;
  font-size:1.14rem;
  line-height:1.16;
  letter-spacing:-.02em;
}
.vehicle-card-v92 h3 a{
  color:#fff;
  text-decoration:none;
}
.vehicle-card-v92__subtitle,
.vehicle-card-v92__meta-row{
  margin:0;
  color:#c1cada;
  font-size:.93rem;
  line-height:1.45;
}
.vehicle-card-v92__subtitle{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.35rem;
}
.vehicle-card-v92__dot{opacity:.45}
.vehicle-card-v92__meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:.85rem;
}
.vehicle-card-v92__price small{
  display:block;
  margin-bottom:.16rem;
  color:#8a95a7;
  text-decoration:line-through;
  font-size:.84rem;
}
.vehicle-card-v92__price strong{
  display:block;
  font-size:1.95rem;
  line-height:1;
  letter-spacing:-.03em;
  color:#fff;
}
.vehicle-card-v92__footer{
  margin-top:auto;
  display:grid;
  gap:.6rem;
}
.vehicle-card-v92__actions-primary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.6rem;
}
.vehicle-card-v92__compare{
  width:100%;
}
.vehicle-card-v92 .btn{
  min-height:46px;
  justify-content:center;
  padding:.82rem .8rem;
  font-size:.95rem;
  font-weight:800;
}
.cards-grid-latest,
.search-results-grid,
.favorites-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1.25rem;
}
@media (min-width: 768px){
  .cards-grid-latest,
  .search-results-grid,
  .favorites-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (min-width: 1100px){
  .cards-grid-latest,
  .search-results-grid,
  .favorites-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .vehicle-card-v92{
    grid-template-columns:1fr;
    grid-template-rows:auto 1fr;
  }
  .vehicle-card-v92__head img,
  .vehicle-card-v92__head .no-image{
    min-height:220px;
    aspect-ratio:16/10;
  }
  .vehicle-card-v92__body{
    padding:1rem 1rem 1.05rem;
  }
}
@media (min-width: 1440px){
  .cards-grid-latest,
  .search-results-grid,
  .favorites-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media (max-width: 1099.98px){
  .vehicle-card-v92{
    grid-template-columns:126px minmax(0,1fr);
  }
  .vehicle-card-v92__head img,
  .vehicle-card-v92__head .no-image{
    min-height:100%;
    aspect-ratio:auto;
  }
  .vehicle-card-v92__body{
    padding:.92rem;
  }
  .vehicle-card-v92 h3{font-size:1.02rem}
  .vehicle-card-v92__subtitle,
  .vehicle-card-v92__meta-row{font-size:.9rem}
  .vehicle-card-v92__price strong{font-size:1.62rem}
}
@media (max-width: 575.98px){
  .vehicle-card-v92{
    grid-template-columns:118px minmax(0,1fr);
    border-radius:22px;
  }
  .vehicle-card-v92__body{
    padding:.84rem;
    gap:.75rem;
  }
  .vehicle-card-v92 h3{font-size:.98rem}
  .vehicle-card-v92__brand{font-size:.76rem}
  .vehicle-card-v92__subtitle,
  .vehicle-card-v92__meta-row{font-size:.86rem}
  .vehicle-card-v92__price strong{font-size:1.48rem}
  .vehicle-card-v92 .btn{min-height:42px;font-size:.9rem;padding:.74rem .64rem}
}

/* v9.3 card rebuild: mobile horizontal, desktop vertical */
.vehicle-card-v93{
  position:relative;
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  align-items:stretch;
  overflow:hidden;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(10,14,22,.98),rgba(12,16,26,.98));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 36px rgba(0,0,0,.24);
  min-width:0;
}
.vehicle-card-v93__head{
  position:relative;
  overflow:hidden;
  background:#0b1018;
}
.vehicle-card-v93__media-link,
.vehicle-card-v93__head img,
.vehicle-card-v93__head .no-image{
  display:block;
  width:100%;
  height:100%;
}
.vehicle-card-v93__head img,
.vehicle-card-v93__head .no-image{
  object-fit:cover;
  object-position:center center;
}
.vehicle-card-v93__favorite{position:absolute;top:.78rem;left:.78rem;z-index:3}
.vehicle-card-v93__badges{position:absolute;top:.78rem;right:.78rem;z-index:3}
.vehicle-card-v93__body{display:flex;flex-direction:column;min-width:0;padding:1rem;gap:.85rem}
.vehicle-card-v93__main{display:grid;gap:.56rem;min-width:0}
.vehicle-card-v93__brand-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.vehicle-card-v93__brand{font-size:.78rem;line-height:1;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#97a6bc}
.vehicle-card-v93 h3{margin:0;font-size:1.18rem;line-height:1.14;letter-spacing:-.02em}
.vehicle-card-v93 h3 a{color:#fff;text-decoration:none}
.vehicle-card-v93__subtitle,
.vehicle-card-v93__meta-row{margin:0;color:#c3cbda;font-size:.94rem;line-height:1.45}
.vehicle-card-v93__subtitle{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.vehicle-card-v93__dot{opacity:.45}
.vehicle-card-v93__meta-row{display:flex;flex-wrap:wrap;gap:.85rem}
.vehicle-card-v93__price small{display:block;margin-bottom:.18rem;color:#8b95a7;text-decoration:line-through;font-size:.84rem}
.vehicle-card-v93__price strong{display:block;font-size:1.9rem;line-height:1;letter-spacing:-.03em;color:#fff}
.vehicle-card-v93__footer{margin-top:auto;display:grid;gap:.65rem}
.vehicle-card-v93__actions-primary{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}
.vehicle-card-v93__compare{width:100%}
.vehicle-card-v93 .btn{min-height:46px;justify-content:center;padding:.84rem .82rem;font-size:.95rem;font-weight:800;border-radius:16px}

@media (max-width: 991.98px){
  .vehicle-card-v93__head{min-height:100%}
  .vehicle-card-v93__head img,
  .vehicle-card-v93__head .no-image{height:100%;min-height:100%;}
}

@media (min-width: 992px){
  .vehicle-card-v93{
    display:flex;
    flex-direction:column;
    min-height:100%;
  }
  .vehicle-card-v93__head{aspect-ratio:16/10}
  .vehicle-card-v93__head img,
  .vehicle-card-v93__head .no-image{height:100%}
  .vehicle-card-v93__body{padding:1.05rem 1.05rem 1.1rem;gap:.9rem;flex:1}
  .vehicle-card-v93__price strong{font-size:2rem}
}

@media (max-width: 575.98px){
  .vehicle-card-v93{grid-template-columns:124px minmax(0,1fr);border-radius:22px}
  .vehicle-card-v93__body{padding:.88rem;gap:.78rem}
  .vehicle-card-v93 h3{font-size:1rem}
  .vehicle-card-v93__brand{font-size:.76rem}
  .vehicle-card-v93__subtitle,.vehicle-card-v93__meta-row{font-size:.88rem}
  .vehicle-card-v93__price strong{font-size:1.52rem}
  .vehicle-card-v93 .btn{min-height:42px;font-size:.9rem;padding:.74rem .66rem}
}

/* grid tuning for public cards */
.cards-grid-latest,
.search-results-grid,
.favorites-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1.25rem;
}
@media (min-width: 700px){
  .cards-grid-latest,
  .search-results-grid,
  .favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (min-width: 1180px){
  .cards-grid-latest,
  .search-results-grid,
  .favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (min-width: 1540px){
  .cards-grid-latest,
  .search-results-grid,
  .favorites-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}


/* v9.4 public cards rebuilt cleanly: mobile horizontal, desktop vertical */
.vehicle-card-v94{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  background:linear-gradient(180deg,rgba(10,14,22,.98),rgba(12,16,26,.98));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 36px rgba(0,0,0,.24);
  min-width:0;
}
.vehicle-card-v94__media{
  position:relative;
  overflow:hidden;
  background:#0b1018;
}
.vehicle-card-v94__media-link,
.vehicle-card-v94__media img,
.vehicle-card-v94__media .no-image{
  display:block;
  width:100%;
  height:100%;
}
.vehicle-card-v94__media img,
.vehicle-card-v94__media .no-image{
  object-fit:cover;
  object-position:center center;
}
.vehicle-card-v94__favorite{position:absolute;top:.82rem;left:.82rem;z-index:3}
.vehicle-card-v94__year{position:absolute;top:.82rem;right:.82rem;z-index:3;background:rgba(17,24,39,.82);border:1px solid rgba(255,255,255,.12);color:#fff;padding:.34rem .62rem;font-size:.82rem;border-radius:999px;font-weight:800}
.vehicle-card-v94__content{padding:1rem 1rem .75rem;display:flex;flex-direction:column;gap:.58rem;min-width:0}
.vehicle-card-v94__brand-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.vehicle-card-v94__brand{font-size:.78rem;line-height:1;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#97a6bc}
.vehicle-card-v94 h3{margin:0;font-size:1.18rem;line-height:1.14;letter-spacing:-.02em}
.vehicle-card-v94 h3 a{color:#fff;text-decoration:none}
.vehicle-card-v94__subtitle,.vehicle-card-v94__meta-row{margin:0;color:#c3cbda;font-size:.94rem;line-height:1.45}
.vehicle-card-v94__subtitle{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.vehicle-card-v94__dot{opacity:.45}
.vehicle-card-v94__meta-row{display:flex;flex-wrap:wrap;gap:.85rem}
.vehicle-card-v94__price small{display:block;margin-bottom:.18rem;color:#8b95a7;text-decoration:line-through;font-size:.84rem}
.vehicle-card-v94__price strong{display:block;font-size:1.9rem;line-height:1;letter-spacing:-.03em;color:#fff}
.vehicle-card-v94__footer{padding:0 1rem 1rem;display:grid;gap:.65rem}
.vehicle-card-v94__actions-primary{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}
.vehicle-card-v94__compare{width:100%}
.vehicle-card-v94 .btn{min-height:46px;justify-content:center;padding:.84rem .82rem;font-size:.95rem;font-weight:800;border-radius:16px}

/* mobile: horizontal */
.vehicle-card-v94{display:grid;grid-template-columns:128px minmax(0,1fr);grid-template-areas:
  "media content"
  "media footer";align-items:start}
.vehicle-card-v94__media{grid-area:media;min-height:100%;height:100%}
.vehicle-card-v94__media-link{height:100%}
.vehicle-card-v94__media img,.vehicle-card-v94__media .no-image{min-height:100%;height:100%}
.vehicle-card-v94__content{grid-area:content}
.vehicle-card-v94__footer{grid-area:footer}

/* desktop: vertical */
@media (min-width: 992px){
  .vehicle-card-v94{display:flex;flex-direction:column}
  .vehicle-card-v94__media{aspect-ratio:4/3}
  .vehicle-card-v94__media img,.vehicle-card-v94__media .no-image{height:100%;min-height:100%}
  .vehicle-card-v94__content{padding:1rem 1rem .8rem}
  .vehicle-card-v94__footer{padding:0 1rem 1rem}
}

@media (max-width: 575.98px){
  .vehicle-card-v94{grid-template-columns:120px minmax(0,1fr);border-radius:22px}
  .vehicle-card-v94__content{padding:.88rem .88rem .68rem;gap:.5rem}
  .vehicle-card-v94__footer{padding:0 .88rem .88rem}
  .vehicle-card-v94 h3{font-size:1rem}
  .vehicle-card-v94__brand{font-size:.76rem}
  .vehicle-card-v94__subtitle,.vehicle-card-v94__meta-row{font-size:.88rem}
  .vehicle-card-v94__price strong{font-size:1.55rem}
  .vehicle-card-v94 .btn{min-height:42px;font-size:.9rem;padding:.74rem .66rem}
}

/* public grids for v9.4 */
.cards-grid-latest,.search-results-grid,.favorites-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media (min-width: 768px){
  .cards-grid-latest,.search-results-grid,.favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width: 1180px){
  .cards-grid-latest,.search-results-grid,.favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width: 1540px){
  .cards-grid-latest,.search-results-grid,.favorites-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}


/* v9.5 public listing card reset: desktop vertical, mobile horizontal */
.listing-card-v95{
  position:relative;
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  grid-template-areas:
    "media body"
    "media footer";
  align-items:stretch;
  overflow:hidden;
  min-width:0;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(9,13,21,.98),rgba(10,14,22,.98));
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}
.listing-card-v95__media{grid-area:media;position:relative;overflow:hidden;background:#090d15}
.listing-card-v95__media-link,
.listing-card-v95__media img,
.listing-card-v95__media .no-image{display:block;width:100%;height:100%}
.listing-card-v95__media img,
.listing-card-v95__media .no-image{object-fit:cover;object-position:center center}
.listing-card-v95__favorite{position:absolute;top:.82rem;left:.82rem;z-index:3}
.listing-card-v95__year{position:absolute;top:.82rem;right:.82rem;z-index:3;background:rgba(17,24,39,.82);border:1px solid rgba(255,255,255,.12);color:#fff;padding:.34rem .62rem;font-size:.82rem;border-radius:999px;font-weight:800}
.listing-card-v95__body{grid-area:body;padding:1rem 1rem .72rem;display:flex;flex-direction:column;gap:.55rem;min-width:0}
.listing-card-v95__brand{font-size:.78rem;line-height:1;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#9da8bc}
.listing-card-v95 h3{margin:0;font-size:1.2rem;line-height:1.14;letter-spacing:-.02em}
.listing-card-v95 h3 a{color:#fff;text-decoration:none}
.listing-card-v95__specs,.listing-card-v95__meta{margin:0;color:#c5cedc;font-size:.94rem;line-height:1.45}
.listing-card-v95__specs{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.listing-card-v95__meta{display:flex;flex-wrap:wrap;gap:.9rem}
.listing-card-v95__dot{opacity:.45}
.listing-card-v95__price small{display:block;margin-bottom:.18rem;color:#8b95a7;text-decoration:line-through;font-size:.84rem}
.listing-card-v95__price strong{display:block;font-size:1.95rem;line-height:1;letter-spacing:-.03em;color:#fff}
.listing-card-v95__footer{grid-area:footer;padding:0 1rem 1rem;display:grid;gap:.68rem}
.listing-card-v95__actions-primary{display:grid;grid-template-columns:1fr 1fr;gap:.68rem}
.listing-card-v95__compare{width:100%}
.listing-card-v95 .btn{min-height:46px;justify-content:center;padding:.84rem .82rem;font-size:.95rem;font-weight:800;border-radius:16px}

@media (max-width: 575.98px){
  .listing-card-v95{grid-template-columns:122px minmax(0,1fr);border-radius:24px}
  .listing-card-v95__body{padding:.9rem .9rem .68rem;gap:.48rem}
  .listing-card-v95__footer{padding:0 .9rem .9rem}
  .listing-card-v95 h3{font-size:1rem}
  .listing-card-v95__brand{font-size:.75rem}
  .listing-card-v95__specs,.listing-card-v95__meta{font-size:.88rem}
  .listing-card-v95__price strong{font-size:1.55rem}
  .listing-card-v95 .btn{min-height:42px;font-size:.9rem;padding:.74rem .66rem}
}

@media (min-width: 992px){
  .listing-card-v95{display:flex;flex-direction:column;border-radius:28px}
  .listing-card-v95__media{aspect-ratio: 16 / 11;min-height:0}
  .listing-card-v95__media-link,
  .listing-card-v95__media img,
  .listing-card-v95__media .no-image{height:100%}
  .listing-card-v95__body{padding:1rem 1rem .8rem}
  .listing-card-v95__footer{padding:0 1rem 1rem}
}

@media (min-width: 992px){
  .cards-grid-latest,
  .search-results-grid,
  .favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:1.2rem !important;align-items:stretch}
}
@media (min-width: 1400px){
  .cards-grid-latest,
  .search-results-grid,
  .favorites-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}
}


/* ===== Drawer safe-area + SEO release patch ===== */
.drawer-backdrop{min-height:100dvh}
.drawer{
    height:100dvh;
    max-height:100dvh;
    padding-bottom:calc(7rem + env(safe-area-inset-bottom));
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
}
.drawer .filter-form{padding-bottom:0}
.drawer-actions{
    position:sticky;
    bottom:max(12px, calc(env(safe-area-inset-bottom) + 12px));
    z-index:4;
    padding:.75rem 0 calc(.9rem + env(safe-area-inset-bottom));
    margin-top:.35rem;
    background:linear-gradient(180deg, rgba(11,20,34,0), rgba(11,20,34,.94) 28%, rgba(11,20,34,.98) 100%);
}
.drawer-actions .btn{min-height:52px}
.drawer-safe-space{height:calc(5.75rem + env(safe-area-inset-bottom))}
@supports (padding: max(0px)){
    .drawer{padding-bottom:max(7rem, calc(7rem + env(safe-area-inset-bottom)))}
    .drawer-actions{bottom:max(16px, calc(env(safe-area-inset-bottom) + 16px))}
}
@media (min-width:768px){
    .drawer{padding-bottom:calc(5rem + env(safe-area-inset-bottom))}
    .drawer-actions{bottom:12px}
    .drawer-safe-space{height:4rem}
}
