/*
 Theme Name: CarForYou Child
 Theme URI:  http://example.com
 Description: Child theme para CarForYou — ajustes visuales
 Author:      Tu nombre
 Author URI:  http://example.com
 Template:    carforyou
 Version:     1.0.0
*/
/* --- Carrusel uniforme en páginas de autos --- */
body.single-auto #listing_img_slider .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px !important; /* altura ajustada */
  overflow: hidden;
}

body.single-auto #listing_img_slider .owl-item img {
  width: auto !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center;
  border: 4px solid #fff;
  border-radius: 6px;
  background: #000;
  transition: transform 0.3s ease;
}

body.single-auto #listing_img_slider .owl-item img:hover {
  transform: scale(1.03);
}
/* === AJUSTE RADICAL CARRUSEL PÁGINAS DE AUTOS === */
body.single-auto #listing_img_slider,
body.single-auto #listing_img_slider .owl-stage-outer,
body.single-auto #listing_img_slider .owl-stage,
body.single-auto #listing_img_slider .owl-item {
  height: 250px !important; /* altura uniforme para todo el carrusel */
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000 !important;
}

body.single-auto #listing_img_slider img {
  height: 100% !important;
  width: auto !important;
  object-fit: cover !important; /* recorta ligeramente para nivelar */
  object-position: center !important;
  border: 4px solid #fff !important;
  border-radius: 6px !important;
  transition: transform 0.3s ease !important;
}

body.single-auto #listing_img_slider img:hover {
  transform: scale(1.03) !important;
}

