.vrauto-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.vrauto-fields-grid p{margin:0}.vrauto-fields-grid label{display:block;font-weight:600;margin-bottom:5px}.vrauto-fields-grid input[type=text],.vrauto-fields-grid input[type=number],.vrauto-fields-grid select,.vrauto-auto-descriptions textarea,.postbox textarea[name^=vrauto_]{width:100%}.vrauto-gallery-preview{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.vrauto-gallery-preview img{width:120px;height:90px;object-fit:cover;border:1px solid #ddd;border-radius:6px}.vrauto-admin-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.vrauto-admin-cards>div{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:20px}.vrauto-admin-cards strong,.vrauto-admin-cards span{display:block}.vrauto-admin-cards strong{font-size:24px}.vrauto-admin-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.vrauto-detail-sections{margin-top:35px}.vrauto-detail-sections section{margin:28px 0}.vrauto-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.vrauto-detail-grid>div{border:1px solid #e1e1e1;border-radius:8px;padding:14px}.vrauto-detail-grid small,.vrauto-detail-grid strong{display:block}.vrauto-detail-grid small{color:#666;margin-bottom:5px}.vrauto-equipment{columns:3;column-gap:30px}.vrauto-equipment li{break-inside:avoid;margin-bottom:7px}@media(max-width:900px){.vrauto-fields-grid,.vrauto-detail-grid,.vrauto-admin-cards{grid-template-columns:1fr}.vrauto-equipment{columns:1}}

.vrauto-detail-item-wide{grid-column:1/-1}
.vrauto-field-sottotitolo strong{font-size:1.08em;line-height:1.45}
.vrauto-field-prezzo strong{font-size:1.15em}
.vrauto-detail-section>h2{margin-bottom:14px}

/* VR Auto Search & Filter UI */
:root{
  --vrauto-ui-red:#e52329;
  --vrauto-ui-red-dark:#c9151b;
  --vrauto-ui-ink:#111318;
  --vrauto-ui-muted:#6d727c;
  --vrauto-ui-line:#e5e7eb;
  --vrauto-ui-surface:#fff;
  --vrauto-ui-soft:#f5f6f8;
  --vrauto-ui-radius:16px;
  --vrauto-ui-shadow:0 18px 50px rgba(0,0,0,.14);
}
.vrauto-home-search *,
.vrauto-filter-widget *{box-sizing:border-box}
.vrauto-home-search svg,
.vrauto-filter-widget svg,
.vrauto-empty-state svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Shared controls */
.vrauto-filter-field{min-width:0}
.vrauto-filter-field>label{
  display:block;
  margin:0 0 8px;
  color:var(--vrauto-ui-ink);
  font-size:12px;
  font-weight:750;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.vrauto-control-shell{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  min-height:54px;
  border:1px solid var(--vrauto-ui-line);
  border-radius:12px;
  background:#fff;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.vrauto-control-shell:focus-within{
  border-color:var(--vrauto-ui-red);
  box-shadow:0 0 0 4px rgba(229,35,41,.11);
}
.vrauto-control-icon{
  position:absolute;
  left:16px;
  display:inline-flex;
  color:#7a7f88;
  pointer-events:none;
}
.vrauto-control-input{
  width:100%!important;
  min-width:0;
  min-height:52px!important;
  margin:0!important;
  padding:0 44px 0 48px!important;
  border:0!important;
  outline:0!important;
  border-radius:inherit!important;
  background:transparent!important;
  color:var(--vrauto-ui-ink)!important;
  font:inherit!important;
  font-size:15px!important;
  box-shadow:none!important;
  appearance:none;
}
.vrauto-control-input::placeholder{color:#a0a4ac}
.vrauto-select-shell:after{
  content:"";
  position:absolute;
  right:18px;
  width:8px;
  height:8px;
  border-right:2px solid #737780;
  border-bottom:2px solid #737780;
  transform:rotate(45deg) translateY(-2px);
  pointer-events:none;
}
.vrauto-autocomplete{position:relative}
.vrauto-autocomplete-clear{
  position:absolute;
  z-index:2;
  right:9px;
  top:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  padding:0;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#858993;
  transform:translateY(-50%);
  cursor:pointer;
}
.vrauto-autocomplete-clear:hover{background:#f0f1f3;color:#111318}
.vrauto-autocomplete-clear svg{width:17px;height:17px}
.vrauto-autocomplete-menu{
  position:absolute;
  z-index:9999;
  top:calc(100% + 8px);
  left:0;
  right:0;
  max-height:280px;
  overflow:auto;
  padding:7px;
  border:1px solid var(--vrauto-ui-line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 20px 50px rgba(17,19,24,.18);
}
.vrauto-autocomplete-option{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:46px;
  padding:10px 12px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#15171b;
  text-align:left;
  cursor:pointer;
}
.vrauto-autocomplete-option:hover,
.vrauto-autocomplete-option.is-active{
  background:#f5f6f8;
  color:var(--vrauto-ui-red);
}
.vrauto-autocomplete-option span{font-weight:700}
.vrauto-autocomplete-option small{color:#92969e;font-size:11px}
.vrauto-autocomplete-empty{
  padding:14px;
  color:#727780;
  font-size:13px;
}

/* Homepage search */
.vrauto-home-search{
  position:relative;
  width:min(100%,1400px);
  margin:42px auto 0;
  padding:24px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:20px;
  background:rgba(255,255,255,.94);
  color:var(--vrauto-ui-ink);
  box-shadow:0 24px 70px rgba(0,0,0,.26);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.vrauto-home-search__heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:0 0 20px;
}
.vrauto-home-search__eyebrow{
  display:block;
  margin-bottom:3px;
  color:var(--vrauto-ui-red);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.vrauto-home-search__heading h2{
  margin:0!important;
  color:var(--vrauto-ui-ink)!important;
  font-size:clamp(22px,2vw,30px)!important;
  font-weight:750!important;
  line-height:1.15!important;
}
.vrauto-home-search__count{
  flex:0 0 auto;
  padding:8px 11px;
  border-radius:999px;
  background:#f2f3f5;
  color:#555a63;
  font-size:12px;
  font-weight:700;
}
.vrauto-home-search__grid{
  display:grid;
  grid-template-columns:minmax(190px,1.2fr) minmax(175px,1fr) minmax(150px,.85fr) minmax(175px,1fr) auto;
  gap:12px;
  align-items:end;
}
.vrauto-home-search__submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:54px;
  padding:0 22px;
  border:0;
  border-radius:12px;
  background:var(--vrauto-ui-red);
  color:#fff;
  font-size:15px;
  font-weight:800;
  white-space:nowrap;
  box-shadow:0 10px 24px rgba(229,35,41,.24);
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}
.vrauto-home-search__submit:hover{
  background:var(--vrauto-ui-red-dark);
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(229,35,41,.32);
}
.vrauto-home-search__submit svg:last-child{width:17px}
.vrauto-home-search__all{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:15px;
  color:#575c65!important;
  font-size:13px;
  font-weight:700;
  text-decoration:none!important;
}
.vrauto-home-search__all:hover{color:var(--vrauto-ui-red)!important}
.vrauto-home-search__all svg{width:16px;height:16px}

/* Archive filter card */
.vrauto-filter-widget{
  width:100%;
  padding:22px;
  border:1px solid var(--vrauto-ui-line);
  border-radius:18px;
  background:#fff;
  color:var(--vrauto-ui-ink);
  box-shadow:0 12px 34px rgba(17,19,24,.07);
}
.vrauto-filter-desktop-heading{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}
.vrauto-filter-heading-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:rgba(229,35,41,.1);
  color:var(--vrauto-ui-red);
}
.vrauto-filter-desktop-heading span:not(.vrauto-filter-heading-icon){
  display:block;
  margin-bottom:2px;
  color:#858a93;
  font-size:11px;
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.vrauto-filter-desktop-heading h3{
  margin:0!important;
  color:var(--vrauto-ui-ink)!important;
  font-size:21px!important;
  line-height:1.15!important;
}
.vrauto-filter-fields{
  display:grid;
  gap:16px;
}
.vrauto-filter-actions{
  display:flex;
  gap:10px;
  margin-top:20px;
}
.vrauto-button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:50px;
  padding:0 18px!important;
  border-radius:11px!important;
  font-size:14px!important;
  font-weight:800!important;
  text-decoration:none!important;
  cursor:pointer;
}
.vrauto-button--primary{
  flex:1 1 auto;
  border:1px solid var(--vrauto-ui-red)!important;
  background:var(--vrauto-ui-red)!important;
  color:#fff!important;
}
.vrauto-button--primary:hover{background:var(--vrauto-ui-red-dark)!important}
.vrauto-button--secondary{
  border:1px solid #d8dbe0!important;
  background:#fff!important;
  color:#343840!important;
}
.vrauto-active-filters{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 18px;
}
.vrauto-filter-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:100%;
  padding:7px 7px 7px 11px;
  border:1px solid rgba(229,35,41,.23);
  border-radius:999px;
  background:rgba(229,35,41,.07);
  color:#393d45;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
}
.vrauto-filter-chip>span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.vrauto-filter-chip a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:23px;
  height:23px;
  border-radius:50%;
  background:rgba(229,35,41,.1);
  color:var(--vrauto-ui-red)!important;
}
.vrauto-filter-chip a:hover{background:var(--vrauto-ui-red);color:#fff!important}
.vrauto-filter-chip svg{width:14px;height:14px}
.vrauto-filter-reset-inline{
  color:#5d626b!important;
  font-size:12px;
  font-weight:800;
  text-decoration:underline!important;
}
.vrauto-filter-mobile-toolbar,
.vrauto-filter-drawer-header,
.vrauto-filter-backdrop{display:none}

/* Empty results */
.vrauto-empty-state{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:300px;
  padding:36px;
  border:1px dashed #d9dce1;
  border-radius:18px;
  background:#fafafa;
  color:#5e636d;
  text-align:center;
}
.vrauto-empty-state>svg{
  width:34px;
  height:34px;
  margin-bottom:14px;
  color:var(--vrauto-ui-red);
}
.vrauto-empty-state strong{
  color:#16181d;
  font-size:20px;
}
.vrauto-empty-state span{margin:6px 0 18px}
.vrauto-empty-state a{
  color:var(--vrauto-ui-red)!important;
  font-weight:800;
}

/* Tablet */
@media(max-width:1150px){
  .vrauto-home-search__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .vrauto-home-search__submit{
    grid-column:1/-1;
  }
}

/* Professional mobile drawer */
@media(max-width:900px){
  .vrauto-home-search{
    margin-top:30px;
    padding:18px;
    border-radius:18px;
  }
  .vrauto-home-search__heading{
    align-items:flex-start;
    margin-bottom:16px;
  }
  .vrauto-home-search__count{display:none}
  .vrauto-home-search__grid{grid-template-columns:1fr 1fr}
  .vrauto-home-search__submit{grid-column:1/-1}
  .vrauto-home-search__all{margin-top:13px}

  .vrauto-filter-widget{
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .vrauto-filter-desktop-heading{display:none}
  .vrauto-filter-mobile-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px 15px;
    border:1px solid #e3e5e9;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 24px rgba(17,19,24,.07);
  }
  .vrauto-filter-mobile-eyebrow{
    display:block;
    margin-bottom:2px;
    color:#8a8f98;
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  .vrauto-filter-mobile-toolbar strong{
    display:block;
    color:#15171b;
    font-size:16px;
  }
  .vrauto-filter-mobile-open{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:44px;
    padding:0 13px;
    border:0;
    border-radius:11px;
    background:#17191e;
    color:#fff;
    font-size:13px;
    font-weight:800;
  }
  .vrauto-filter-mobile-open b{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:21px;
    height:21px;
    padding:0 5px;
    border-radius:999px;
    background:var(--vrauto-ui-red);
    font-size:11px;
  }
  .vrauto-active-filters--outside{
    margin:12px 0 0;
  }
  .vrauto-filter-backdrop{
    position:fixed;
    z-index:99997;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    padding:0;
    border:0;
    background:rgba(7,8,10,.58);
    opacity:0;
    visibility:hidden;
    transition:opacity .25s ease,visibility .25s ease;
  }
  .vrauto-filter-panel{
    position:fixed;
    z-index:99998;
    left:0;
    right:0;
    bottom:0;
    display:flex;
    flex-direction:column;
    max-height:min(88vh,760px);
    overflow:hidden;
    border-radius:24px 24px 0 0;
    background:#fff;
    box-shadow:0 -24px 70px rgba(0,0,0,.28);
    transform:translateY(104%);
    transition:transform .32s cubic-bezier(.22,.8,.25,1);
  }
  .vrauto-filter-widget.is-open .vrauto-filter-backdrop{
    opacity:1;
    visibility:visible;
  }
  .vrauto-filter-widget.is-open .vrauto-filter-panel{
    transform:translateY(0);
  }
  .vrauto-filter-drawer-header{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex:0 0 auto;
    padding:24px 18px 16px;
    border-bottom:1px solid #eceef1;
  }
  .vrauto-filter-drawer-handle{
    position:absolute;
    top:8px;
    left:50%;
    width:42px;
    height:4px;
    border-radius:999px;
    background:#d5d7dc;
    transform:translateX(-50%);
  }
  .vrauto-filter-drawer-header span:not(.vrauto-filter-drawer-handle){
    display:block;
    color:#8a8f98;
    font-size:10px;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
  }
  .vrauto-filter-drawer-header strong{
    display:block;
    margin-top:2px;
    color:#15171b;
    font-size:20px;
  }
  .vrauto-filter-mobile-close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    padding:0;
    border:0;
    border-radius:12px;
    background:#f1f2f4;
    color:#343840;
  }
  .vrauto-filter-form{
    display:flex;
    flex-direction:column;
    min-height:0;
    overflow:auto;
  }
  .vrauto-filter-fields{
    padding:20px 18px 8px;
  }
  .vrauto-filter-actions{
    position:sticky;
    z-index:5;
    bottom:0;
    flex:0 0 auto;
    margin:12px 0 0;
    padding:14px 18px calc(14px + env(safe-area-inset-bottom));
    border-top:1px solid #eceef1;
    background:rgba(255,255,255,.96);
    box-shadow:0 -10px 30px rgba(17,19,24,.08);
    backdrop-filter:blur(12px);
  }
  .vrauto-button{min-height:54px}
  body.vrauto-filter-drawer-open{overflow:hidden}
}

/* Small phones */
@media(max-width:600px){
  .vrauto-home-search{
    width:calc(100% - 20px);
    margin:26px 10px 0;
    padding:16px;
  }
  .vrauto-home-search__heading h2{font-size:22px!important}
  .vrauto-home-search__grid{grid-template-columns:1fr}
  .vrauto-home-search__submit{grid-column:auto;min-height:56px}
  .vrauto-control-shell{min-height:56px}
  .vrauto-control-input{min-height:54px!important;font-size:16px!important}
  .vrauto-filter-actions{display:grid;grid-template-columns:1fr 1.7fr}
  .vrauto-filter-actions .vrauto-button:only-child{grid-column:1/-1}
  .vrauto-active-filters{gap:6px}
  .vrauto-filter-chip{max-width:100%;font-size:11px}
}


/* ==========================================================
   VR Auto Core 1.2.7 — Home hero + desktop archive refinement
   ========================================================== */

/* Fundamental fix: width:100% must include padding and borders. */
.vrauto-filter-widget,
.vrauto-home-search{
  box-sizing:border-box;
}

/* -------------------------
   HOME — 2026 HERO COMPOSITION
   ------------------------- */
body.home .hero{
  height:calc(100vh - 80px);
  height:calc(100svh - 80px);
  min-height:650px;
  max-height:830px;
  margin-top:80px;
  overflow:visible;
  isolation:isolate;
}

body.home .hero-slide{
  background-position:center 44%;
}

body.home .hero-overlay{
  background:
    radial-gradient(circle at 72% 42%,rgba(229,35,41,.12),transparent 34%),
    linear-gradient(90deg,rgba(4,5,7,.92) 0%,rgba(4,5,7,.72) 38%,rgba(4,5,7,.23) 69%,rgba(4,5,7,.42) 100%);
}

body.home .hero-content{
  width:100%;
  max-width:1500px;
  justify-content:flex-start;
  padding:clamp(72px,9vh,112px) clamp(24px,4.4vw,76px) 220px;
}

body.home .hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:max-content;
  margin:0 0 18px!important;
  padding:8px 13px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(10,11,14,.28);
  color:rgba(255,255,255,.82);
  font-size:12px;
  font-weight:650;
  letter-spacing:.04em;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

body.home .hero-badge:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#e52329;
  box-shadow:0 0 0 5px rgba(229,35,41,.15);
}

body.home .hero-content h1{
  max-width:920px;
  margin:0 0 3px!important;
  color:#fff;
  font-size:clamp(54px,6.1vw,92px);
  font-weight:850;
  line-height:.95;
  letter-spacing:-.055em;
  text-wrap:balance;
}

body.home .hero-content h2{
  max-width:960px;
  margin:0 0 22px!important;
  color:rgba(255,255,255,.92);
  font-size:clamp(37px,4.45vw,68px);
  font-weight:300;
  line-height:1.04;
  letter-spacing:-.043em;
  text-wrap:balance;
}

body.home .hero-content p{
  max-width:570px;
  margin:0!important;
  color:rgba(255,255,255,.72);
  font-size:clamp(15px,1.35vw,19px);
  line-height:1.55;
}

/* Requested removal of the large red CTA. */
body.home .hero-content>a.btn-primary{
  display:none!important;
}

/* Keep slider controls clear of the overlapping search card. */
body.home .slider-dots{
  bottom:195px;
}

/* Bring search into the first viewport, visually attached to the hero. */
body.home .search-section{
  position:relative;
  z-index:120;
  margin-top:-178px!important;
  padding:0 0 38px;
}

body.home .search-section>.container{
  width:100%;
  max-width:none;
  padding:0 clamp(18px,3vw,44px);
}

body.home .vrauto-home-search{
  width:min(100%,1450px);
  margin:0 auto;
  padding:22px 24px 20px;
  border:1px solid rgba(255,255,255,.68);
  border-radius:22px;
  background:rgba(250,250,251,.965);
  box-shadow:
    0 28px 80px rgba(0,0,0,.30),
    0 2px 0 rgba(255,255,255,.75) inset;
}

body.home .vrauto-home-search__heading{
  margin-bottom:16px;
}

body.home .vrauto-home-search__heading h2{
  font-size:clamp(22px,2vw,30px)!important;
  letter-spacing:-.035em;
}

body.home .vrauto-home-search__eyebrow{
  margin-bottom:4px;
}

body.home .vrauto-home-search__count{
  border:1px solid #e8e9ec;
  background:#fff;
  box-shadow:0 4px 14px rgba(17,19,24,.05);
}

body.home .vrauto-home-search__grid{
  gap:10px;
}

body.home .vrauto-home-search .vrauto-filter-field>label{
  margin-bottom:6px;
  font-size:10px;
}

body.home .vrauto-home-search .vrauto-control-shell,
body.home .vrauto-home-search__submit{
  min-height:50px;
}

body.home .vrauto-home-search .vrauto-control-input{
  min-height:48px!important;
  font-size:14px!important;
}

body.home .vrauto-home-search__submit{
  padding-inline:20px;
}

body.home .vrauto-home-search__all{
  margin-top:11px;
}

/* -------------------------
   AUTO ARCHIVE — DESKTOP ONLY
   ------------------------- */
@media (min-width:1025px){
  body.post-type-archive-auto .km0-page>.container{
    width:90%;
    max-width:none;
    padding-left:0;
    padding-right:0;
  }

  body.post-type-archive-auto .km0-content{
    grid-template-columns:minmax(290px,320px) minmax(0,1fr);
    gap:32px;
    align-items:start;
  }

  body.post-type-archive-auto .vrauto-filter-widget{
    position:sticky;
    top:104px;
    width:100%;
    min-width:0;
    max-width:100%;
    max-height:calc(100vh - 124px);
    overflow-x:hidden;
    overflow-y:auto;
    scrollbar-width:thin;
    overscroll-behavior:contain;
  }

  body.post-type-archive-auto .veicoli-content,
  body.post-type-archive-auto .veicoli-grid{
    min-width:0;
  }

  body.post-type-archive-auto .veicoli-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:32px;
  }

  body.post-type-archive-auto .veicolo-card{
    min-width:0;
  }
}

/* Large desktop: use the available 90% container more elegantly. */
@media (min-width:1700px){
  body.post-type-archive-auto .km0-content{
    grid-template-columns:330px minmax(0,1fr);
    gap:38px;
  }

  body.post-type-archive-auto .veicoli-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* -------------------------
   HOME — TABLET
   ------------------------- */
@media (max-width:1150px) and (min-width:901px){
  body.home .hero-content{
    padding-top:82px;
    padding-bottom:235px;
  }

  body.home .hero-content h1{
    font-size:clamp(54px,7.2vw,76px);
  }

  body.home .hero-content h2{
    font-size:clamp(38px,5.4vw,57px);
  }

  body.home .slider-dots{
    bottom:220px;
  }

  body.home .search-section{
    margin-top:-205px!important;
  }
}

/* -------------------------
   HOME — MOBILE
   Keeps the already approved mobile archive filters untouched.
   ------------------------- */
@media (max-width:900px){
  body.home .hero{
    height:68vh;
    height:68svh;
    min-height:520px;
    max-height:680px;
    margin-top:72px;
    overflow:hidden;
  }

  body.home .hero-slide{
    background-position:64% center;
  }

  body.home .hero-overlay{
    background:
      linear-gradient(180deg,rgba(4,5,7,.74) 0%,rgba(4,5,7,.44) 44%,rgba(4,5,7,.87) 100%),
      linear-gradient(90deg,rgba(4,5,7,.72),rgba(4,5,7,.12));
  }

  body.home .hero-content{
    align-items:flex-start;
    justify-content:flex-start;
    padding:clamp(54px,9vh,76px) 22px 92px;
  }

  body.home .hero-badge{
    margin-bottom:14px!important;
    font-size:10px;
  }

  body.home .hero-content h1{
    max-width:94%;
    font-size:clamp(43px,12vw,62px);
    line-height:.98;
  }

  body.home .hero-content h2{
    max-width:94%;
    margin-bottom:17px!important;
    font-size:clamp(31px,8vw,43px);
    line-height:1.05;
  }

  body.home .hero-content p{
    max-width:90%;
    font-size:14px;
    line-height:1.5;
  }

  body.home .slider-dots{
    bottom:54px;
  }

  body.home .search-section{
    margin-top:-34px!important;
    padding-bottom:30px;
  }

  body.home .search-section>.container{
    width:100%;
    padding:0;
  }

  body.home .vrauto-home-search{
    width:calc(100% - 24px);
    max-width:620px;
    margin-left:auto;
    margin-right:auto;
    padding:18px;
    border-radius:19px;
  }

  body.home .vrauto-home-search__heading{
    align-items:flex-start;
  }
}

/* Narrow mobile centering and balanced gutters. */
@media (max-width:600px){
  body.home .vrauto-home-search{
    width:calc(100% - 24px);
    margin:0 auto;
  }

  body.home .vrauto-home-search__grid{
    width:100%;
  }

  body.home .vrauto-home-search__all{
    justify-content:center;
    width:100%;
  }
}
