/* Compact catalogue cards. Loaded last; details and booking UI are untouched. */
.cars-compact .card-gallery{position:absolute;z-index:3;right:10px;bottom:10px;display:flex;align-items:center;gap:6px;background:#1d2025df;color:#fff;padding:6px 9px;border-radius:7px;font-size:12px;line-height:1.3}
.cars-compact .card-gallery svg{width:17px;height:17px}
.cars-compact .card-subtitle{min-height:1.45em;line-height:1.45;font-size:13px;color:var(--muted);margin:0 0 8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
:is(#catalogo,.home-section) .cars-compact .car.car-sale-refined .car-body{padding:14px}
:is(#catalogo,.home-section) .cars-compact .car.car-sale-refined h3{margin-bottom:3px}
:is(#catalogo,.home-section) .cars-compact .car.car-sale-refined .car-bottom{margin-top:10px;padding-top:9px;min-height:49px}
:is(#catalogo,.home-section) .cars-compact .car.car-sale-refined .card-cta{margin-top:10px}
html[data-theme="dark"] :is(#catalogo,.home-section) .cars-compact .car.car-sale-refined .price{color:#fff}
.card-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cars-compact .card-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;margin:4px 0 0;padding:0;min-height:44px}
.cars-compact .card-spec{display:flex;align-items:center;gap:8px;min-width:0}
.cars-compact .card-spec:nth-child(even){border-left:1px solid var(--line);padding-left:10px}
.cars-compact .card-spec dt{display:flex;flex:none;color:var(--ink)}
.cars-compact .card-spec svg{width:19px;height:19px}
.cars-compact .card-spec dd{margin:0;font-size:12px;line-height:1.45;min-width:0;overflow-wrap:anywhere;color:var(--ink)}
.cars-compact .card-price-note{margin:2px 0 8px;font-size:12px;line-height:1.5;color:var(--muted)}
.cars.cars-compact,
#catalogo .cars.cars-compact,
.home-section .cars.cars-compact {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-rows:1fr;align-items:stretch;gap:18px;
  overflow:visible;margin:0;padding:0;scroll-snap-type:none;
}
:is(#catalogo,.home-section) .cars-compact .car.car-compact {
  display:flex;flex-direction:column;min-width:0;max-width:none;
  height:100%;border:1px solid #e4e5e7;border-radius:12px;
  background:#fff;box-shadow:0 2px 8px #18202e06;
  transition:transform .18s ease,box-shadow .18s ease;
}
:is(#catalogo,.home-section) .cars-compact .car-compact[hidden]{display:none!important}
:is(#catalogo,.home-section) .cars-compact .car-compact:hover{transform:translateY(-3px);box-shadow:0 8px 22px #18202e12}
:is(#catalogo,.home-section) .cars-compact .car-compact .car-photo {
  flex:none;display:block;width:100%;height:auto!important;
  aspect-ratio:1/1!important;overflow:hidden;background:#f0f1f2;
  border-radius:0;border-bottom:1px solid #eceef0;
}
:is(#catalogo,.home-section) .cars-compact .car-compact .car-photo::before{display:none}
:is(#catalogo,.home-section) .cars-compact .car-compact .car-photo img {
  display:block;width:100%;height:100%;object-fit:contain;padding:0;
  transform:none;
}
:is(#catalogo,.home-section) .cars-compact .car-compact .dgc-coming-soon{height:100%;aspect-ratio:auto;border-radius:0}
:is(#catalogo,.home-section) .cars-compact .car-compact .dgc-coming-soon-label{bottom:8px;padding:4px 10px;font-size:10px}
:is(#catalogo,.home-section) .cars-compact .car-compact .badge {
  top:10px;left:10px;max-width:calc(100% - 20px);padding:4px 8px;
  font-size:9px;line-height:1.3;letter-spacing:.06em;border-radius:5px;
  background:#fffffff2;color:#242832;border:1px solid #00000008;
}
:is(#catalogo,.home-section) .cars-compact .car-compact .badge-ok {
  display:block;top:auto;bottom:10px;background:#eaf7ed;color:#205d35;
}
:is(#catalogo,.home-section) .cars-compact .car-compact .car-body {
  display:flex;flex-direction:column;flex:1;padding:12px 14px;min-width:0;
}
:is(#catalogo,.home-section) .cars-compact .car-compact .car-category {
  font-size:10px;line-height:1.4;letter-spacing:.09em;
  color:#b60021;margin:0 0 4px;font-weight:700;
}
:is(#catalogo,.home-section) .cars-compact .car-compact h3 {
  font-family:Georgia,'Times New Roman',serif;font-size:21px;
  font-weight:700;line-height:1.18;letter-spacing:-.025em;
  margin:0 0 4px;min-height:2.36em;
}
:is(#catalogo,.home-section) .cars-compact .car-compact h3 a {
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;overflow-wrap:anywhere;
}
:is(#catalogo,.home-section) .cars-compact .car-compact .specs {
  font-size:12px;line-height:1.55;margin:0;min-height:1.55em;
  color:#626873;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
:is(#catalogo,.home-section) .cars-compact .car-compact .car-bottom {
  display:flex;align-items:center;min-height:43px;margin:8px 0 0;
  padding:6px 0 0;border-top:1px solid #eceef0;
}
:is(#catalogo,.home-section) .cars-compact .car-compact .price {
  color:#c60025;font-size:27px;line-height:1.3;font-weight:750;
  letter-spacing:-.035em;overflow-wrap:anywhere;
}
:is(#catalogo,.home-section) .cars-compact .car-compact .price small {
  display:inline;font:400 11px/1.5 'Segoe UI',Arial,sans-serif;
  color:#626873;letter-spacing:0;white-space:nowrap;
}
:is(#catalogo,.home-section) .cars-compact .car-compact .card-cta {
  display:flex;align-items:center;justify-content:center;gap:10px;
  min-height:44px;padding:9px 10px;margin-top:auto;
  border-radius:6px;background:#d90026;color:#fff;
  font-size:14px;line-height:1.4;font-weight:650;text-align:center;
  transition:background .18s ease;
}
.cars-compact .card-cta:hover{background:#b60020}
.cars-compact .card-cta:focus-visible{outline:3px solid #171a22;outline-offset:3px}
html[data-theme="dark"] :is(#catalogo,.home-section) .cars-compact .car-compact{background:#202227;border-color:#353942;box-shadow:0 2px 8px #0002}
html[data-theme="dark"] :is(#catalogo,.home-section) .cars-compact .car-compact .car-photo{background:#eee;border-bottom-color:#353942}
html[data-theme="dark"] :is(#catalogo,.home-section) .cars-compact .car-compact .car-category,
html[data-theme="dark"] :is(#catalogo,.home-section) .cars-compact .car-compact .price{color:#ff7185}
html[data-theme="dark"] :is(#catalogo,.home-section) .cars-compact .car-compact .specs,
html[data-theme="dark"] :is(#catalogo,.home-section) .cars-compact .car-compact .price small{color:#bec3cd}
html[data-theme="dark"] :is(#catalogo,.home-section) .cars-compact .car-compact .car-bottom{border-color:#353942}
html[data-theme="dark"] .cars-compact .card-cta:focus-visible{outline-color:#fff}
@media(max-width:1179px){
  .cars.cars-compact,#catalogo .cars.cars-compact,.home-section .cars.cars-compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
}
@media(max-width:899px){
  .cars.cars-compact,#catalogo .cars.cars-compact,.home-section .cars.cars-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:599px){
  .cars.cars-compact,#catalogo .cars.cars-compact,.home-section .cars.cars-compact{grid-template-columns:minmax(0,1fr);max-width:380px;margin-inline:auto;gap:16px}
  :is(#catalogo,.home-section) .cars-compact .car-compact .car-body{padding:12px 14px}
}
@media(prefers-reduced-motion:reduce){
  :is(#catalogo,.home-section) .cars-compact .car-compact,.cars-compact .card-cta{transition:none}
  :is(#catalogo,.home-section) .cars-compact .car-compact:hover{transform:none}
}
