.jolans-card {
    list-style: none;
    width: 100%;
    font-family: "Montserrat", Sans-serif;
}

.woocommerce .jolans-card.product,
.woocommerce-page .product.jolans-card {
    width: 100% !important;
}


.jolans-card .card-inner {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
}

/* IMÁGENES */

.woocommerce .jolans-card img,
.woocommerce-page .jolans-card img {
    width: 100%;
    border-radius: 20px;
}

.image-switcher {
    position: relative;
}

/* Base */
.img-primary,
.img-secondary {
    transition: opacity .4s ease;
}

/* Secundaria oculta por defecto */
.img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

/* SOLO si tiene segunda imagen */
@media (min-width: 768px) {

    .has-second:hover .img-primary {
        opacity: 0;
    }

    .has-second:hover .img-secondary {
        opacity: 1;
    }

}

/* FLECHAS MOBILE */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none !important;
    font-size: 30px !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    color: black !important;
}

.arrow.prev {
    left: 15px;
}

.arrow.next {
    right: 15px;
}

@media (min-width: 768px) {
    .arrow {
        display: none;
    }
}

/* INFO */
.card-info {
    padding: 0px;
}

.card-info .title,
.woocommerce .jolans-card.product h3.title {
    font-size: 15px;
    margin: 0;
    padding: .5em 0;

}

.woocommerce .jolans-card.product h3.title a {
    color: black;
    text-decoration: none;
}

.woocommerce .jolans-card.product h3.title a:hover {
    color: var(--color-primary);
}

.card-info .price,
.woocommerce .jolans-card.product .price {
    font-weight: bold !important;
    font-size: 18px !important;
}

@media(max-width: 767px) {

    .card-info .title,
    .woocommerce .jolans-card.product h3.title {
        font-size: 14px;
        padding: 0;
    }

    .card-info .price,
    .woocommerce .jolans-card.product .price {
        font-size: 14px !important;
    }
}

/* Precio rebajado → NARANJA */
.jolans-card .price ins,
.woocommerce .jolans-card.product .price ins {
    color: var(--color-primary) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Precio antiguo tachado */
.jolans-card .price del,
.woocommerce .jolans-card.product .price del {
    color: #999 !important;
    font-weight: 400 !important;
    margin-right: 4px !important;
    font-size: 14px !important;
}

@media(max-width: 767px) {

    .card-info .title,
    .woocommerce .jolans-card.product h3.title {
        font-size: 14px;
    }

    .card-info .price,
    .woocommerce .jolans-card.product .price {
        font-size: 14px !important;
    }

    .woocommerce .jolans-card.product .price del {
        font-size: 12px !important;

    }
}


/**ON SALE */

.jolans-card .card-image {
    position: relative;
}

.woocommerce .jolans-card span.onsale,
.woocommerce .jolans-card.product span.onsale {
    background-color: var(--color-primary) !important;
    border-radius: 40px !important;
    font-weight: bold !important;
    font-size: 12px !important;
    top: 20px !important;
    right: 20px !important;
}

@media(max-width: 767px) {

    .woocommerce .jolans-card span.onsale,
    .woocommerce .jolans-card.product span.onsale {
        font-size: 10px !important;
        padding: 5px 10px !important;
        right: 10px !important;
    }
}