.garage-bar{background:linear-gradient(90deg,#001489,#1236b0);color:#fff;box-shadow:0 4px 14px rgba(0,20,137,.18)}
.garage-bar__inner{width:100%;box-sizing:border-box;margin:auto;min-height:48px;padding:7px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.garage-bar__vehicle{display:flex;align-items:center;gap:10px;min-width:0}
.garage-bar__icon{width:34px;height:34px;border-radius:10px;background:#fff;color:#001489;display:grid;place-items:center;font-size:20px}
.garage-bar__text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.garage-bar__eyebrow{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;opacity:.8}
.garage-bar__action{color:#001489;background:#fff;border-radius:20px;padding:8px 14px;text-decoration:none;font-weight:800;font-size:12px}
.garage-compat{display:flex;align-items:center;gap:9px;height:70px;min-height:70px;max-height:70px;box-sizing:border-box;margin:0 18px 12px;padding:10px 12px;border-radius:14px;font-size:12px;font-weight:850;line-height:1.3;box-shadow:0 5px 14px rgba(0,0,0,.08);position:relative;overflow:hidden}
.garage-compat:before{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;font-size:16px;font-weight:900;color:#fff}
.garage-compat:after{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:currentColor;opacity:.65}
.garage-compat--ok{color:#17650f;background:linear-gradient(135deg,#f1ffe9,#dff7d2);border:1px solid #9cd07d}
.garage-compat--ok:before{content:"\2713";background:#3a8b27}
.garage-compat--unknown{color:#765500;background:linear-gradient(135deg,#fff9df,#ffefb0);border:1px solid #dfbd42}
.garage-compat--unknown:before{content:"?";background:#b98a00}
.garage-compat--no{color:#9e1616;background:linear-gradient(135deg,#fff1f1,#ffdede);border:1px solid #e69494}
.garage-compat--no:before{content:"\00D7";background:#c83d3d}
.product-card:has(.garage-compat){overflow:hidden}
[class*="divSlides"]:has(.garage-compat){align-items:stretch;padding-bottom:16px}
[class*="divSlides"]:has(.garage-compat)>div{align-items:flex-start!important}
@media(min-width:1025px){
  .product-card--standard:has(.garage-compat){height:588px!important;min-height:588px!important;max-height:588px!important;padding-bottom:18px!important}
  .product-card--serp:has(.garage-compat){height:600px!important;min-height:600px!important;max-height:600px!important}
  [class*="divSlides"]:has(.garage-compat)>div{height:600px!important;min-height:600px!important}
}
@media(max-width:1024px){
  .product-card--standard:has(.garage-compat){height:462px!important;min-height:462px!important;max-height:462px!important;padding-bottom:0!important}
  .product-card--serp:has(.garage-compat){height:370px!important;min-height:370px!important;max-height:370px!important}
  [class*="divSlides"]:has(.garage-compat)>div{height:472px!important;min-height:472px!important;padding-bottom:10px}
}
.garage-page{width:100%;max-width:none;box-sizing:border-box;margin:24px auto;padding:0}
.garage-page__hero{border-radius:22px;background:linear-gradient(135deg,#001489,#3157db);color:#fff;padding:28px;box-shadow:0 12px 32px rgba(0,20,137,.2)}
.garage-page__hero h1{color:#fff}
.garage-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:12px}
.garage-field{min-width:0}
.garage-field label{display:block;margin:0 0 5px;font-weight:700}
.garage-field select,.garage-field input{display:block;width:100%!important;max-width:100%;min-width:0;box-sizing:border-box;margin:0}
.garage-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.garage-list-heading h2{margin:0}
.garage-vehicle-item{background:#fff;border-radius:15px;padding:16px;margin:10px 0;box-shadow:0 3px 12px rgba(0,0,0,.09);display:flex;justify-content:space-between;align-items:center;gap:12px}
.garage-vehicle-item__text{min-width:0}
.garage-vehicle-item__actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex:0 0 auto}
.garage-vehicle-item__actions .button12blu,.garage-vehicle-item__actions .button12{height:auto!important;min-height:34px;padding:7px 9px;line-height:1.15;white-space:normal}
@media(min-width:1025px){
  /* Il menu desktop è fixed a 20px e alto 60px: riserviamo il suo spazio. */
  .garage-bar{width:86%;max-width:1440px;margin:100px auto 0;border-radius:20px;overflow:hidden}
  .garage-bar + .divRiempimento{height:10px}
}
@media(max-width:900px){.garage-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .garage-page{padding:0}
  .garage-page__hero{padding:20px}
  .garage-form-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .garage-bar__inner{padding:6px 10px}
  .garage-bar__eyebrow{display:none}
  .garage-bar__action{padding:7px 10px}
  .garage-compat{margin-left:10px;margin-right:10px}
  .garage-list-heading{align-items:center}
  .garage-list-heading h2{font-size:1.55em;line-height:1.05}
  .garage-list-heading .button12white{height:auto;min-height:32px;padding:5px 7px;line-height:1.1;white-space:normal}
  .garage-vehicle-item{padding:12px 10px;gap:8px}
  .garage-vehicle-item__text{flex:1 1 auto;text-align:center;line-height:1.25}
  .garage-vehicle-item__actions{flex:0 0 82px;flex-direction:column;align-items:stretch}
  .garage-vehicle-item__actions .button12blu,.garage-vehicle-item__actions .button12{width:100%;margin:0;box-sizing:border-box}
}
