/* Estilos generales para las tarjetas de producto */
.product-card2 {
    background-color: #fff;
    /* border: 1px solid #e0e0e0; */
    border-radius: 10px;
    padding: 20px 10px !important;
    text-align: left;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    font-family: Arial, sans-serif;
    margin: 10px;
}

.product-card2:hover {
    transform: translateY(-5px);
}

/* Etiqueta de descuento */
.discount-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff3e3e;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

.product-card2 img, .product-card3 img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Título del producto */
.product-card2 h3, .product-card3 h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333333;
    height: 50px;
    line-height: 1.3;
    overflow: hidden;
}

/* Precios del producto */
.price-container {
    font-size: 20px;
    margin-bottom: 5px;
}

.new-price {
    color: #ff3e3e;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
}

/* Rating (valoración) del producto */
.product-card2 .star-rating, .product-card3 .star-rating {
    color: #f5c518;
    font-size: 17px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-card2, .product-card3 {
        margin-bottom: 20px;
    }

    .product-card2 h3, .product-card3 h3 {
        font-size: 14px;
    }

    .price-container {
        font-size: 16px;
    }

    .star-rating {
        font-size: 14px;
    }
}

.product-card2 .woocommerce-loop-product__title, .product-card3 .woocommerce-loop-product__title {
    font-size: 0.875rem !important;
    text-align: left !important;
    margin: 0px !important;
    margin-left: 6px !important;
}

.product-card2 .old-price, .product-card3 .old-price {
    font-size: 0.875rem !important;
}

/* Etiqueta de "Incluye regalo" */
.gift-label {
    background-color: #ffffff;
    color: #ffa500;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
    border: 1px solid #ffa500;
}

/* Etiqueta "Trending" */
.trending-label {
    background-color: orange;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
    position: absolute;
    left: 14px;
    margin-top: -40px;
}

.price-container{
    text-align: left;
    padding-left: 3px;
}


.product-card2 .woocommerce-LoopProduct-link img, .product-card3 .woocommerce-LoopProduct-link img{
    max-height: 206px !important;
}


.owl-next, .owl-prev {
    width: 3rem!important;
    padding: 0px !important;
    display: flex!important;
    -webkit-box-pack: center!important;
    justify-content: center!important;
    -webkit-box-align: center!important;
    align-items: center!important;
    position: absolute!important;
    right: 0px!important;
    top: calc(50% - 1.5rem)!important;
    background-color: #ffffff!important;
    color: #333333!important;
    border: 1px solid #cccccc!important;
    height: 40px!important;
}

.carousel-slider-nav-icon {
    fill: #333333!important;
    width: 24px!important;
    height: 24px!important;
    display: inline-flex!important;
    align-self: center!important;
    overflow: hidden!important;
}

.woocommerce-LoopProduct-link img {
    object-fit: cover!important;
}




.product-card3 {
    background-color: #fff;
    padding: 5px 10px !important;
    text-align: left;
    position: relative;
    transition: all 0.3s ease-in-out;
    font-family: Arial, sans-serif;
    margin: 10px;
}

.wcboost-products-compare-button{
    margin-left: 6px !important;
    margin-top: 5px !important;
}

.product-card3 .discount-label {
    left: 4px !important;
}

.product-card3 .trending-label {
    left: 4px !important;
}

.woocommerce-ordering a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
  }
  
  .woocommerce-ordering a.active {
    background-color: #f0f0f0;
  }

  .woocommerce-ordering{
    border-top: 1px solid #ccc;
    padding-top: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
  }

  .elementor-widget-container h1{
    color: #000000 !important;
  }

  .product .e-con-inner{
    padding-top: 0px !important;
    padding-bottom: 5px !important;
  }

  .product .e-con-inner h1{
    padding-top: 10px !important;
    font-weight: bold !important;
    font-size: 2rem !important;
  }

  .product-subcategories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 20px 0;
}



/* Estilos para el slider de subcategorías */
.subcat-slider-wrapper {
    width: 100%;
    padding: 20px 0;
    position: relative;        /* Asegura que los elementos posicionados absolutamente estén relativos a este contenedor */
    overflow: hidden;          /* Evita que el contenido se desborde del contenedor */
    box-sizing: border-box;    /* Incluye padding y border en el tamaño total del elemento */
}

.subcat-slider-container {
    width: 100%;
    box-sizing: border-box;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.subcat-slide-item {
    text-align: center;
    box-sizing: border-box;
    /* Asegura que las slides no excedan el ancho del contenedor */
    width: 100%;
    padding: 10px;
}

.subcat-slide-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.subcat-slide-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.subcat-slide-title {
    margin-top: 10px;
    color: var(--e-global-color-text);
    font-family: "Poppins", Sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0px;
}

/* Ajustes para los botones de navegación */
.subcat-slider-button-prev,
.subcat-slider-button-next {
    position: absolute;             /* Posiciona los botones de forma absoluta dentro del contenedor relativo */
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente para los botones */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;                    /* Asegura que los botones estén por encima de las slides */
}

.subcat-slider-button-prev {
    left: 10px;
}

.subcat-slider-button-next {
    right: 10px;
}

/* Personalización de los iconos de navegación si usas los default de Swiper */
.swiper-button-prev::after,
.swiper-button-next::after {
    color: #fff;                    /* Cambia el color de las flechas */
    font-size: 20px;                /* Tamaño de las flechas */
}

/* Opcional: Ocultar las flechas si no hay suficiente contenido para deslizar */
.no-subcategories {
    text-align: center;
    font-size: 1.2em;
    color: #555;
}

.subcat-slide-img{
    background-size: cover;
}


.popular-filters {
    margin-bottom: 20px;
}

.popular-filters h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.popular-filters ul {
    list-style: none;
    padding-left: 0;
}

.popular-filters ul li {
    margin-bottom: 8px;
}

.popular-filters ul li a {
    color: #0073aa;
    text-decoration: none;
}

.popular-filters ul li a:hover {
    text-decoration: underline;
    color: #005177;
}

.item-popular-filters{
        text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
        box-sizing: inherit;
        -webkit-tap-highlight-color: transparent;
        margin: 0px;
        text-transform: none;
        display: inline-flex;
        position: relative;
        outline: 0px;
        text-align: center;
        -webkit-box-align: center;
        align-items: center;
        user-select: none;
        vertical-align: middle;
        font-family: "Open Sans", open-sans, sans-serif;
        border-radius: 4px;
        background: rgb(255, 255, 255);
        transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        cursor: pointer;
        font-size: 0.90rem;
        line-height: 1rem;
        font-weight: 400;
        letter-spacing: 0.025rem;
        min-height: 1.5rem;
        color: rgb(51, 51, 51);
        border: 1px solid rgb(204, 204, 204);
        padding: 0.25rem 0.5rem;
        margin-bottom: 2pxpx;
}

.item-popular-filters a{
    color: #000 !important;
}

.item-popular-filters a:hover{
    text-decoration: none !important;
}

.subcat-slide-image{
    height: 104px !important;
    width: 104px !important;
    display: flex;
    height: 4.5rem;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 4.5rem;
    background-color: #ffffff;
    align-items: center;
    border: 0.188rem solid #f2f2f2;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}


.subcat-slide-image:hover{
    border: 0.188rem solid #cecece;
}

.subcat-slide-image img {
    width: 70px;
    height: 70px;
    border-radius: 50px !important;
}

.description-content-2{
    margin-top: 10px;
    font-size: 0.85rem;
    margin-left: 1px;
}

.description-content-2 a{
    color: #333;
}

.archive .woocommerce-result-count{
    display: none;
}

.product-card2 .woocommerce-price-suffix, small.woocommerce-price-suffix{
    display: none !important;
}


.cont-breadcrumbs a{
    color: var(--e-global-color-text);
    font-family: "Poppins", Sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.subcat-slider-button-next2, .subcat-slider-button-prev2{
    width: 3rem !important;
    padding: 0px !important;
    display: flex !important;
    -webkit-box-pack: center !important;
    justify-content: center !important;
    -webkit-box-align: center !important;
    align-items: center !important;
    position: absolute !important;
    right: 0px !important;
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #cccccc !important;
    height: 40px !important;
    border-radius: 3px;
}

.swiper-button-prev::after, .swiper-button-next::after{
    display: none !important;
}