/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Tema hijo de Astra.
Author: silcrea
Author URI: https://silcrea.mx/
Template: astra
Version: 1.0.0
*/

/* ======================== BASE ======================== */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

a {
    color: #0056b3;
    transition: color 0.3s ease;
}


a:hover {
    color: #003d80;
}

/* ===================== CABECERA ===================== */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ===================== PIE DE PÁGINA ===================== */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
}

.site-footer a {
    color: #ddd;
}

.site-footer a:hover {
    color: #fff;
}

/* ===================== MENÚ ===================== */
.main-header-menu a {
    color: #222 !important;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.main-header-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #007acc;
    transition: width 0.3s ease;
}

.main-header-menu a:hover {
    color: #007acc !important;
}

.main-header-menu a:hover::after {
    width: 100%;
}

.main-header-menu .sub-menu {
    background-color: #000 !important;
}

.main-header-menu .sub-menu a {
    color: #f5f5f5 !important;
    font-weight: 500;
}

.main-header-menu .sub-menu a:hover {
    color: #ffd700 !important;
}

/* ===================== SIDEBAR WIDGET - PRODUCTOS ===================== */
.woocommerce .widget .products {
    display: block !important;
}

.woocommerce .widget .products li.product {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px;
    background: #f9fafa !important;
    border: 1px solid #cce5e8 !important;
    float: none !important;
    clear: both !important;
}

.woocommerce .widget .products li.product:hover {
    border-color: #00B4D8 !important;
}

.woocommerce .widget .products li.product .astra-shop-thumbnail-wrap img {
    display: block;
    margin: 0 auto 10px;
}

.woocommerce .widget .products li.product .button {
    display: none !important;
}

.woocommerce .widget .products li.product .woocommerce-loop-product__title {
    color: #004D5A !important;
}

.woocommerce .widget .products li.product .price {
    color: #00B4D8 !important;
}

/* ===================== LISTADO DE PRODUCTOS ===================== */
.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 400px;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.woocommerce ul.products li.product img {
    max-height: 300px;
    width: auto;
    margin: 0 auto 10px;
    object-fit: contain;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 10px 0;
}

.woocommerce ul.products li.product .price {
    color: #e63946;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 5px;
}

.woocommerce ul.products li.product .button {
    display: none !important;
}

/* ===================== PRODUCTO INDIVIDUAL ===================== */
.single-product .product {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.single-product div.product div.woocommerce-product-gallery {
    flex: 1 1 50%;
    background: #fff;
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.single-product div.product div.woocommerce-product-gallery img {
    max-height: 800px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.single-product div.product div.woocommerce-product-gallery img:hover {
    transform: scale(1.05) rotate(1.5deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: 1px solid #ccc;
}

.single-product div.product div.summary {
    flex: 1 1 45%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.single-product div.product .product_title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.single-product div.product .price {
    font-size: 1.4rem;
    color: #e63946;
    font-weight: bold;
    margin-bottom: 15px;
}

.single-product div.product .single_add_to_cart_button {
    background: #0056b3;
    color: #fff;
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: 6px;
    text-transform: uppercase;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.single-product div.product .single_add_to_cart_button:hover {
    background: #003d80;
}

.woocommerce-tabs {
    display: none;
}

.woocommerce div.product .product_meta::before {
    content: "Descripción";
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #004D5A;
    margin-bottom: 8px;
}

.woocommerce-product-attributes {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin: 20px 0;
    padding: 10px;
    background: #fafafa;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: 5px 10px;
}

.product .trust-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.product .trust-icons img {
    max-height: 30px;
}

/* ===================== PRODUCTOS RELACIONADOS ===================== */
.relacionados {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
    margin-top: 60px;
    border-top: 2px solid #eee;
}

.relacionados h2 {
    font-size: 2rem;
    color: #004D5A;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
}

.relacionados-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.relacionado-card {
    width: 260px;
    min-height: 420px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.relacionado-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.relacionado-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 10px;
    text-align: center;
}

.relacionado-card .price {
    font-size: 1.3rem;
    color: #e63946;
    font-weight: bold;
    margin-top: auto;
}

.relacionado-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.relacionado-card:nth-child(2) { animation-delay: 0.1s; }
.relacionado-card:nth-child(3) { animation-delay: 0.2s; }
.relacionado-card:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .woocommerce ul.products.columns-3 li.product,
    .relacionado-card {
        width: 90%;
    }

    .single-product .product {
        flex-direction: column;
    }

    .single-product div.product div.woocommerce-product-gallery,
    .single-product div.product div.summary {
        flex: 1 1 100%;
    }

    .single-product div.product div.woocommerce-product-gallery {
        min-height: 250px;
    }

    .single-product div.product div.woocommerce-product-gallery img {
        max-height: 200px;
    }

    .relacionado-card img {
        height: 200px;
    }
}

/* === ESTILOS PARA TIENDA Y SIDEBAR IZQUIERDA === */
body.archive.post-type-archive-product .ast-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 30px;
}

body.archive.post-type-archive-product .ast-left-sidebar .sidebar-main {
  flex: 0 0 250px !important;
  max-width: 250px !important;
  min-width: 220px !important;
  word-break: break-word;
}

body.archive.post-type-archive-product .ast-left-sidebar .content-area {
  flex: 1 !important;
}

body.archive.post-type-archive-product ul.products {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0;
}

body.archive.post-type-archive-product ul.products li.product {
  width: 22% !important;
  max-width: 260px;
  aspect-ratio: 1 / 1.2;
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin: 0;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.archive.post-type-archive-product ul.products li.product img {
  width: auto;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 10px;
}

body.archive.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.archive.post-type-archive-product ul.products li.product .price {
  text-align: center;
  margin: 5px 0;
}

@media (max-width: 1024px) {
  body.archive.post-type-archive-product ul.products li.product {
    width: 45% !important;
  }
}

@media (max-width: 768px) {
  body.archive.post-type-archive-product .ast-container {
    flex-direction: column !important;
  }

  body.archive.post-type-archive-product .sidebar-main,
  body.archive.post-type-archive-product .content-area {
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  body.archive.post-type-archive-product ul.products li.product {
    width: 100% !important;
  }
}
/* === Ajuste para ancho de descripción en producto individual === */
.single-product div.product {
  gap: 40px;
}

.single-product div.product div.summary {
  flex: 1 1 55%;
  max-width: 600px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.single-product div.product .product_title,
.single-product div.product .price,
.single-product div.product .woocommerce-product-details__short-description {
  max-width: 100%;
}
/* === Centrar verticalmente contenido del producto === */
.single-product .product {
  align-items: center; /* Alinea verticalmente el contenido */
}

/* Opcional: limitar altura para mejor centrado visual */
.single-product div.product div.summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}
@media (min-width: 1025px) {
  .single-product .product {
    align-items: center;
  }

  .single-product div.product div.summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
  }
}
.single-product div.product div.summary {
  padding-top: 10px; /* ajusta según se necesite */
}
/* Estilo para las tarjetas de productos en la tienda */
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  overflow: hidden;
  padding: 1rem;
  box-sizing: border-box;
}

/* Imagen del producto con margen inferior */
.woocommerce ul.products li.product img {
  margin-bottom: 1rem;
  max-height: 160px;
  object-fit: contain;
}

/* Contenedor del contenido debajo de la imagen */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .woocommerce-loop-product__description {
  text-align: left;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Muestra máximo 5 líneas */
  -webkit-box-orient: vertical;
}

/* Opcional: Limitar la altura de la descripción */
.woocommerce ul.products li.product .woocommerce-loop-product__description {
  max-height: 6.5em;
}
/* Contenedor general con sidebar */
.custom-shop-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Sidebar izquierda */
.custom-sidebar {
  width: 220px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  font-size: 16px;
  line-height: 1.6;
}

.custom-sidebar h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #333;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

.custom-category-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.custom-category-list li {
  margin-bottom: 10px;
}

.custom-category-list a {
  text-decoration: none;
  color: #00485a;
  transition: 0.3s ease;
}

.custom-category-list a:hover {
  color: #00a3c4;
  padding-left: 5px;
}

/* Contenedor de productos (main) */
.custom-main-shop {
  flex: 1;
}
/* Estilo del contenedor general de la tienda */
.custom-shop-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Estilo de la barra lateral */
.custom-sidebar {
    width: 250px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

/* Lista de categorías */
.custom-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-category-list li {
    margin-bottom: 10px;
}

.custom-category-list li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.custom-category-list li a:hover {
    color: #0073aa;
}

/* Contenido principal (productos) */
.custom-main-shop {
    flex: 1;
}
.custom-shop-container {
  display: flex;
  gap: 30px;
  padding: 20px;
}

.custom-sidebar {
  width: 220px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  font-size: 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.custom-sidebar h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.custom-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-category-list li {
  margin-bottom: 10px;
}

.custom-category-list li a {
  color: #222;
  text-decoration: none;
}

.custom-category-list li a:hover {
  text-decoration: underline;
}

.custom-main-shop {
  flex: 1;
}
/* === IMÁGENES RESPONSIVAS PARA PÁGINA DE INICIO === */
.home img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* Ajustes adicionales para imágenes dentro de bloques o Elementor */
@media (max-width: 768px) {
  .wp-block-image,
  .elementor-widget-image,
  .elementor-column,
  .elementor-image {
    width: 100% !important;
    max-width: 100% !important;
  }

  .wp-block-image img,
  .elementor-widget-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
}


/* === Llamada a la acción responsive === */
.cta-block, .wp-block-buttons, .elementor-call-to-action {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
}

.cta-block h2, .elementor-call-to-action__title {
  font-size: 2rem;
  color: #004d5a;
  margin-bottom: 15px;
}

.cta-block p, .elementor-call-to-action__description {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333;
}

.cta-block a.button, .wp-block-button__link, .elementor-button {
  background-color: #0056b3;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.cta-block a.button:hover, .wp-block-button__link:hover, .elementor-button:hover {
  background-color: #003d80;
}

/* Responsive ajustes móviles */
@media (max-width: 768px) {
  .cta-block h2, .elementor-call-to-action__title {
    font-size: 1.5rem;
  }

  .cta-block p, .elementor-call-to-action__description {
    font-size: 1rem;
  }

  .cta-block a.button, .wp-block-button__link, .elementor-button {
    width: 100%;
    padding: 14px;
  }
}

.footer-categorias-lado-izq {
    background-color: #111;
    color: #fff;
    padding: 20px;
    text-align: left;
}

.footer-categorias-lado-izq .toggle-categorias {
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.footer-categorias-lado-izq ul.lista-categorias-footer {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.footer-categorias-lado-izq ul.lista-categorias-footer.abierta {
    max-height: 600px;
}

.footer-categorias-lado-izq ul.lista-categorias-footer li a {
    color: #fff !important;
    text-decoration: none;
    padding: 4px 0;
    display: block;
    transition: padding-left 0.2s, color 0.2s;
}

.footer-categorias-lado-izq ul.lista-categorias-footer li a:hover {
    color: #00c0ff !important;
    padding-left: 8px;
}
/* TÍTULO "Categorías ▼" */
.footer-categorias-lado-izq .toggle-categorias {
    color: #ffffff !important; /* Blanco */
}

/* ENLACES DE CATEGORÍAS */
.footer-categorias-lado-izq ul.lista-categorias-footer li a {
    color: #ffffff !important; /* Blanco */
}

/* ENLACE AL PASAR EL MOUSE */
.footer-categorias-lado-izq ul.lista-categorias-footer li a:hover {
    color: #00c0ff !important; /* Celeste al pasar el mouse */
}
/* === Corrección de miniaturas WooCommerce horizontalmente === */
.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs img {
  width: 80px !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 4px !important;
  opacity: 1;
  transition: opacity 0.3s;
}

.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs img.flex-active {
  opacity: 0.6;
}
@media (max-width: 544px) {
  body.ast-theme-transparent-header .ast-builder-menu {
    background-color: #fff !important; /* Fondo blanco sólido */
    background-image: none !important; /* Quitar cualquier imagen/transparencia */
  }

  body.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item a.menu-link,
  body.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item.current-menu-item > a.menu-link,
  body.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item-home > a.menu-link {
    color: #000000 !important; /* Letras negras */
  }
}
/* 📷 Imagen principal del producto */
.woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* 🖼️ Viewport sin efectos ni desplazamientos */
.woocommerce-product-gallery .flex-viewport {
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  position: relative !important;
  box-sizing: border-box !important;
  transition: none !important;
}

/* 🧱 Contenedor padre sin carrusel */
.woocommerce-product-gallery {
  max-width: 100% !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* 🧩 Galería de miniaturas en fila */
.woocommerce-product-gallery__wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: flex-start !important;
  max-width: 100% !important;
  overflow: hidden !important;
  transform: none !important;
  transition: none !important;
}

/* 🔍 Miniaturas individuales */
.woocommerce-product-gallery__image {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover !important;
  margin: 5px !important;
  display: inline-block !important;
  vertical-align: top !important;
  border: 1px solid #ccc !important;
  float: none !important;
}
/* Imagen principal sin recortes */
.woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Viewport sin efectos */
.woocommerce-product-gallery .flex-viewport {
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  position: relative !important;
  box-sizing: border-box !important;
  transform: none !important;
  transition: none !important;
}

/* Contenedor general de la galería */
.woocommerce-product-gallery {
  max-width: 100% !important;
  padding: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Miniaturas alineadas en bloque */
.woocommerce-product-gallery__wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  transform: none !important;
  transition: none !important;
}

/* Estilo uniforme para cada miniatura */
.woocommerce-product-gallery__image {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover !important;
  margin: 5px !important;
  display: inline-block !important;
  vertical-align: top !important;
  border: 1px solid #ccc !important;
  float: none !important;
}
.woocommerce-page div.product .woocommerce-product-gallery img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
/* Forzar proporción vertical y evitar recortes */
.woocommerce-product-gallery__image img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}

/* Ajustar contenedor de imagen */
.woocommerce-product-gallery__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto !important;
  overflow: visible !important;
}
/* Imágenes principales y galería con proporción uniforme */
.woocommerce-product-gallery__image img,
.woocommerce-page div.product .woocommerce-product-gallery img,
.woocommerce-product-gallery__thumb img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Contenedores sin recortes ni sombras */
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
/* Contenedor principal de galería */
.single-product div.product div.woocommerce-product-gallery {
  flex: 1 1 100%;
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen principal del producto ampliada */
.single-product div.product div.woocommerce-product-gallery img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  transform: scale(1.1)!important; /* Aumenta visualmente la imagen un 5% */
  transition: transform 0.3s ease;
  border-radius: 6px;
  box-shadow: none;
}

/* Imágenes principales y galería con proporción uniforme */
.woocommerce-product-gallery__image img,
.woocommerce-page div.product .woocommerce-product-gallery img,
.woocommerce-product-gallery__thumb img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Contenedores sin recortes ni sombras */
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
