
.product{
    position: relative;
    z-index: 1;
 }

 .description .product-value{
     text-align: left;
     font-size: 20px;
     font-weight: bold;
 }

 .products-groups{
   border-radius: 0px 25px 25px 0px;
   padding: 0px;
   box-shadow: 4px 4px 10px -8px var(--primary-text-color-inverse);
    position: relative;
    z-index: 1;
 }
 .products-groups:before{
    position: absolute;
    top: 0;
    opacity: .5;
    left: 0;
    width: 100%;
    background: var(--primary-text-color);
    height: 100%;
    z-index: -1;
    content: " ";
    border-radius: 0px 25px 25px 0px;
     padding: 0px;
  }

 #product-group-title a {
    text-align: center;padding-top: 1px;
    font-size: 25px;
    font-weight: bold;
    display: block;
    color: var(--primary-color);
    font-family: var(--primary-font-family);
 }

 .products-groups ul{
    padding-left: 25px;
 }
 .products-groups ul li{
    list-style: none;
 }
 .products-groups ul li a{
    color: var(--primary-text-color-inverse) !important;
    font-family: var(--primary-font-family);
    display: block;
    padding-top: 5px;
 }

 .products-groups ul li a:hover{
    text-decoration:none ;
    color:var(--primary-color) !important;
 }
 .product-img{
    text-align: center;
    display: block;
    position: relative;
 }
 .product-img img{
    object-fit: cover;
    height: 250px;
 }
 .style-3 .product .hover{
    display: flex;
 }

 .product-img .hover{
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    display: none;
    align-items: center;
    justify-content: flex-end;
 }
 .product-img .hover .right{
    float: right;
    width: 80%;
 }
 .product-img .hover a{
    height: 40px;
    width: 40px;
    padding: 10px 20px;
    font-size: 25px;
    margin: 5px 0px;
    margin-left: auto;
    border-radius: 20px 0px 0px 20px;
    justify-content: center;
   font-weight: bold;
    box-shadow: 0px 0px 8px #000;
    display: flex;
    color: var(--primary-text-color) !important;
    align-items: center;
    background: var(--primary-color) !important;
 }
 .product-img .hover a:hover{
    width: auto;
 }
 .product-img .hover a span{
    display: none;
    font-size: 16px;
    margin-left: 10px;
 }
 .product-img .hover a:hover span{
    display: block;
    -webkit-transition: all 0.8s ease;
     -moz-transition: all 0.8s ease;
     transition: all 0.8s ease;

 }
 .product-img .hover::before{
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    opacity: .2;
    content: "";
    justify-content: center;
    background:#000;
 }
 .product-title{
    color: var(--primary-text-color-inverse);
    text-shadow: 1px 1px var(--primary-text-color);
    margin: 20px 10px;
    font-family: var(--primary-font-family);
    line-height: 35px;
    text-align: center;
 }

 .product-category{
 color: var(--primary-text-color-inverse);
 opacity: .6;
 text-align: center;
 }
 .product-value{
    color:var(--primary-color);
    font-size: 25px;
    text-align: center;
    font-family: var(--primary-font-family);
 }
 .product-value s{
    font-size: 14px;
    opacity: .6;
 }

 .owl-carousel-products-sync1 .owl-item img{
   object-fit:cover;
    object-position:top;
    width:100% !important;
    height:100% !important;
    max-width:100%;
    max-height: 450px;
    margin:auto;
 }

 .owl-carousel-products-sync1 .owl-dots {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
 }
 .owl-carousel-products-sync1 .owl-dot {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height:80px;
    min-width:80px;
    width:20%;
    margin:5px;
 }
 .owl-carousel-products-sync1 .owl-dot span{
    display:none !important;
 }
 .owl-carousel-products-sync1 .owl-item{
     max-height: 500px;

 }

 /* Show Products*/
.owl-item{
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
 }

 .owl-carousel-products .owl-item img{
   object-fit:cover;
    object-position:top;
    width:100% !important;
    height:250px !important;
    max-width:100%;
    margin:auto;
 }
 .owl-carousel-products .owl-dots .owl-dot.active span,
 .owl-carousel-products .owl-dots .owl-dot:hover span{
    background: var(--primary-color);
 }
 .owl-carousel-products h3{
     text-align: center;
     font-size: 25px;
     margin-top: 10px;
 }

 .owl-carousel-products .product-value, .owl-carousel-products .product-value span{
     font-size: 22px;
 }
 .owl-stage{
    display: flex;
    align-items: stretch;
 }

 .item.one-product img{
    max-height: 500px;
 }


#shop-filters .filter-button {
   text-transform: capitalize;
}

/* Estilos generales del filtro */
#shop-filters aside {
   background: #ffffff;
   border-radius: 8px;
   padding: 20px;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   font-family: Arial, sans-serif;
}

#shop-filters .filter-top {
   text-align: center;
   margin-bottom: 15px;
}

#shop-filters .filter-title {
   font-size: 18px;
   font-weight: bold;
   margin-bottom: 5px;
}

#shop-filters .filter-result {
   font-size: 14px;
   color: #555;
}

#shop-filters .filter-content {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

/* Caja de búsqueda */
#shop-filters .search .form-group {
   display: flex;
   gap: 10px;
}

#shop-filters .search input {
   width: 100%;
   padding: 8px;
   border: 1px solid #ddd;
   border-radius: 4px;
}

/* Selectores */
#shop-filters .sort-by select,
#shop-filters .price select {
   width: 100%;
   padding: 8px;
   border: 1px solid #ddd;
   border-radius: 4px;
}

/* Estilos de categorías y atributos */
#shop-filters .filter-content .filter-content-intem:not(:last-child) {
   border-bottom: 1px solid #eee;
   padding-bottom: 10px;
}

/* Checkboxes personalizados */
#shop-filters .custom-control {
   display: flex;
   align-items: center;
   gap: 10px;
   cursor: pointer;
}

#shop-filters .custom-control input {
   transform: scale(1.2);
   cursor: pointer;
}

#shop-filters .custom-control-label {
   font-size: 14px;
   color: #333;
   cursor: pointer;
}

/* Slider de rango */

#shop-filters .slider-range {
   height: 6px;
   background: #ddd;
   border-radius: 3px;
   position: relative;
   margin: 20px 15px;
}

#slider-range-value-min,
#shop-filters #slider-range-value-max {
   padding: 5px;
   margin-top: 5px;
   border-radius: 4px;
   font-size: 11px;
   height: 40px;
}

#shop-filters .noUi-horizontal .noUi-handle {
   top: calc(100% - 12px);
   width: 30px;
   height: 30px;
}

#shop-filters .noUi-handle:after{
   left: 17px;
}
#shop-filters .noUi-handle:before{
   left: 11px
}

/* Estilos para la flecha del colapsable */
.btn.btn-collapse{
   padding:  15px 0px;
}

.btn-collapse:hover{
   text-decoration: none;
   color: #333;
}

.btn-collapse.collapsed:before{
   font-family: Material-Design-Iconic-Font;
   content: '\f2fb';
   font-weight: bold;
   margin-right: 5px;

}
.btn-collapse:not(.collapsed):before{
   font-family: Material-Design-Iconic-Font;
   content: '\f2f9';
   font-weight: bold;
   margin-right: 5px;
}

.toggle-btn {
   border: none;
   background: none;
   cursor: pointer;
}
.toggle-btn i {
   font-size: 1.2rem;
   transition: transform 0.2s ease-in-out;
}
.toggle-btn[aria-expanded="true"] i {
   transform: rotate(180deg);
}

.toggle-btn {
   border: none;
   background: none;
   cursor: pointer;
}
.toggle-btn i {
   font-size: 1.2rem;
   transition: transform 0.2s ease-in-out;
}
.toggle-btn[aria-expanded="true"] i {
   transform: rotate(180deg);
}

/* Botones desplegables */
#shop-filters .btn-collapse {
   white-space: normal;
   white-space: normal;
   width: 100%;
   text-align: left;
   font-size: 16px;
   font-weight: bold;
   color: #333;
   padding: 10px;
   background: none;
   border: none;
   cursor: pointer;
   transition: color 0.3s;
}

/*------------------------ CAMBIOS DE ESTILO MINIATURA PRODUCTO --------------------------------*/

/* --- Contenedor Principal --- */
.style-2.product {
    margin-bottom: 30px;
    height: 100%; /* Para que todas las tarjetas de una fila tengan la misma altura si usas grid */
}

/* --- Tarjeta (Card) --- */
.style-2 .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribuye el espacio verticalmente */
    border: 1px solid #f0f0f0;
    border-radius: 12px; /* Redondeo suave y moderno */
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); /* Sombra muy sutil por defecto */
    transition: all 0.3s ease;
    height: 100%;
}

/* Efecto al pasar el mouse sobre la tarjeta */
.style-2 .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* --- Imagen --- */
.style-2 .product-img {
    height: 220px; /* Altura fija para mantener uniformidad en el catálogo */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 20px; /* Margen interno para que la imagen "respire" */
    position: relative;
}

.style-2 .product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.style-2 .card:hover .product-img img {
    transform: scale(1.05); /* Zoom suave */
}

/* --- Título y Contenido --- */
/* Contenedor intermedio para título y precio */
.style-2 .card > div:nth-child(2) {
    padding: 0 15px;
    text-align: center;
    flex-grow: 1; /* Ocupa el espacio disponible para empujar el botón abajo */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.style-2 .card-title {
    font-size: 18px;
    font-weight: 700; /* Texto un poco más grueso para legibilidad */
    color: #2c3e50;
    margin: 10px 0;
    line-height: 1.4;
}

/* Estilo del precio (solo si aparece) */
.style-2 .product-value {
    position: static;
    background: transparent;
    box-shadow: none;
    color: var(--primary-color, #007bff);
    font-weight: 600;
    font-size: 24px;
    padding: 5px 0;
    border: none;
    text-align: center;
}

/* --- Área del Botón (Footer de la tarjeta) --- */
.style-2 .align-self-end {
    padding: 15px 15px 20px 15px; /* Más espacio abajo */
    border: none;
    display: flex;
    justify-content: center !important;
    width: 100%;
}

/* --- Botón de Búsqueda (Lupa) --- */

.style-2 a.btn-primary,
.style-2 a.btn-secondary,
.style-2 a.btn-tertiary {
    width: 45px;
    height: 45px;
    border-radius: 4px;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efecto rebote suave */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    color: #ffffff !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 6px;
}

/* Icono dentro del botón */
.style-2 .btn-primary i,
.style-2 .btn-secondary i,
.style-2 .btn-tertiary i {
    font-size: 18px;
}

.style-2 .btn-primary:hover,
.style-2 .btn-secondary:hover,
.style-2 .btn-tertiary:hover {
    background-color: var(--primary-color, #000); /* Cambia a tu color de marca */
    transform: scale(1.1);
    cursor: pointer;
}

/* Limpieza de elementos que no quieres mostrar pero ocupan espacio */
.style-2 .product-badges,
.style-2 .error-variants {
    display: none;
}


.style-3 .product-title{
    margin: 0 5px 10px 5px;
    color: #000;
    text-shadow: none;
    line-height: 1.2;
    font-size: 1.2rem;
    height: 50px;
}

/* --- RESET --- */
.product-card.style-4 {
    background: #fff;
    border: 2px solid #e5e5e5; /* Borde grueso gris */
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.2s ease;
}

/* Hover: Borde Negro */
.product-card.style-4:hover {
    border-color: #000;
}

/* --- IMAGEN --- */
.style-4 .card-image-wrapper {
    padding: 20px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #e5e5e5;
}

.style-4 .card-image-wrapper img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
}

/* --- INFO --- */
.style-4 .card-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.style-4 .card-title {
    margin-bottom: 10px;
    min-height: 3rem;
    line-height: 1;
}

.style-4 .card-title a {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

/* --- PRECIO --- */
.style-4 .card-footer-action {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.style-4 .product-value {
    font-size: 20px;
    font-weight: 900;
    color: #000;
}

/* --- BOTÓN GRANDE --- */
.style-4 .btn-card-action {
    display: block;
    width: 100%;
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
    padding: 10px 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.product-card.style-4:hover .btn-card-action {
    background-color: #000;
    color: #fff;
}

.collapse-all,
.expand-all,
.style-4 .filter-title {
    display: none;
}

.product-badges {
    min-height: 40px;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

.badge-container {
    height: auto;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.badge-container .badge-discount {
    visibility: visible;
    /* Muestra el badge si está presente */
}

.badge-container .badge-discount {
    white-space: nowrap;
    width: auto;
    max-width: 72px;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 14px;
    align-items: center;
    display: flex;
    justify-content: center;
    background-color: #f28205;
    color: #000;
    border-radius: 24px;
    line-height: 1;
    text-align: center;
}
.badge-shipping-container .badge-shipping-discount {
    white-space: nowrap;
    width: auto;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 14px;
    align-items: center;
    display: flex;
    justify-content: center;
    background-color: #007bff;
    color: #000;
    border-radius: 24px;
    line-height: 1;
    text-align: center;
}

.product-prices .detail-price{
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
}

.product-show-container{
    margin-bottom: 50px;
}

.product-show-container .gallery-product-image{
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.product-show-container .gallery-product-image .gallery-big-image{
    order: 2;
    flex-grow: 1;
    width: calc(100% - 100px);
}

.product-show-container .gallery-product-image .gallery-thums-image{
    order: 1;
    width: 100px;
    margin-top: 0;
}

.product-show-container .gallery-product-image .gallery-thums-image .owl-stage{
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100% !important;
}

.product-show-container .product-discount{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    margin: 1rem;
}

.product-discount .product-discount-badge{
    border-radius: 50%;
    width: 80px;
    height: 80px;
    background-color: #f28205;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
}

.product-discount-badge .discount-badge-txt{
    line-height: 1.2;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.padding-and-border{
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,.1);
}

button.remove-all,
button.my-cart-checkout{
    line-height: 48px;
    padding: 0 28px;
    margin: auto;
}

.cart-added-message .add-product-container {
    padding: 0 24px 24px;
}

.added-prod-btn {
    padding: 16px 24px;
}

.added-prod-btn a.learn-more,
.added-prod-btn a.go-to-cart,
.added-prod-btn button.keep-shopping{
    font-family: var(--secondary-font-family);
    font-weight: 700;
    line-height: 30px;
}

@media screen and (max-width: 992px){
    .product-show-container .product-discount{
        margin: 0;
    }
    .product-discount .product-discount-badge{
      width: 60px;
      height: 60px;
    }
    .product-discount-badge .discount-badge-txt{
      font-size: 18px;
    }
}