/* ===== SINGLE PRODUCT LAYOUT ===== */

.jolans-single-product.jolans-contenedor {
    margin-top: 50px;
    max-width: 1500px;
}

@media(max-width:1400px) {
    .jolans-single-product.jolans-contenedor {
        margin-top: 35px;
    }

}

@media(max-width:768px) {
    .jolans-single-product.jolans-contenedor {
        margin-top: 15px;
    }

}


.jolans-product-layout {
    width: 100%;
}

.jolans-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.jolans-product-grid>div {
    min-width: 0;
}


@media (max-width: 992px) {

    .jolans-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


}

/*OFERTA**/
.woocommerce .jolans-product-media span.onsale {
    left: 25px;
    top: 20px;
    border-radius: 20px;
    background: #ed722b;
    font-weight: bold;
    display: none !important;
}

/* MEDIA */
.jolans-product-media {
    position: relative;
}

.jolans-product-layout.product .jolans-product-media .images {
    width: 100%;
}

.jolans-product-media img {
    border-radius: 20px;
}



/** PARTE DERECHA */


.jolans-product-layout.product .jolans-product-summary h1.product_title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.jolans-product-layout.product .jolans-product-summary .price {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: black;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 992px) {



    .jolans-product-layout.product .jolans-product-summary h1.product_title {
        font-size: 24px;
    }

}

/**PRECIOS*/

.jolans-product-layout.product .jolans-product-summary .price ins {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
}

.jolans-product-layout.product .jolans-product-summary .price del {
    color: #999;
    font-size: 16px;
    margin-right: 6px;
}

/**DESCRIPCIÓN CORTA*/

.jolans-product-layout.product .jolans-product-summary .woocommerce-product-details__short-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}


/**VARIACIONES*/

.woocommerce .jolans-product-layout.product form.cart .variations th {
    padding: 0;
}

.woocommerce .jolans-product-layout.product form.cart .variations label {
    font-weight: 600;
    font-size: 20px;
}


.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item {
    width: 40px;
    height: 40px;
    border-radius: 100%;
}

.woocommerce .jolans-product-layout.product form.cart .reset_variations {
    color: var(--color-primary)
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
    -webkit-box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px var(--color-primary));
    box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px var(--color-primary));
}


/**AGREGAR AL CARRITO*/

.woocommerce .jolans-product-layout.product .qty[type=number] {
    height: 50px;
    width: 100px;
    border-radius: 40px;
    border: solid 1px #c3c3c3;
}

.woocommerce .jolans-product-layout.product .qty[type=number]:focus,
.woocommerce .jolans-product-layout.product .qty[type=number]:active {
    outline: none;
}

.woocommerce .jolans-product-layout.product form.cart .button {
    background-color: var(--color-primary) !important;
    border-radius: 30px !important;
    padding: 12px 50px !important;
    font-weight: 600 !important;
    height: 50px !important;
}

.woocommerce .jolans-product-layout.product form.cart .button:hover {
    opacity: 0.9;
}

/* META DEL PRODUCTO**/

.woocommerce .jolans-product-layout.product .product_meta {
    display: none;
}

/* PRODUCTOS RELACIONADOS**/

.jolans-related-products {
    margin-top: 25px;
    margin-bottom: 20px;
}

.jolans-related-products h2 {
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;

}

@media(max-width:768px) {
    .jolans-related-products h2 {
        font-size: 18px;
    }
}

/* PRECIO Y NOMBRE EN CELULAR**/

.jolans-mobile-title-price {
    display: none;
}

@media (max-width: 991px) {
    .jolans-mobile-title-price {
        display: block;
    }

    .woocommerce .jolans-mobile-title-price .product_title.entry-title {
        font-weight: 600;
        font-size: 18px;
        margin-bottom: 0px;

    }

    .woocommerce .jolans-mobile-title-price .price {
        font-size: 26px;
        font-weight: bold;
        color: black !important;
    }

    .woocommerce .jolans-mobile-title-price .price .price {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .jolans-product-summary .product_title,
    .jolans-product-layout.product .jolans-product-summary .price {
        display: none;
    }

    .woocommerce-variation-add-to-cart.variations_button {
        display: flex;
    }

    .woocommerce div.product form.cart {
        align-items: center;
        display: flex;
    }

    .woocommerce div.product form.cart div.quantity {
        margin-right: 5px;
        margin-inline-end: 5px !important;
    }

    .woocommerce .jolans-mobile-title-price .price del,
    .woocommerce .jolans-mobile-title-price .price .price del {
        font-size: 16px;
    }

    .woocommerce .jolans-mobile-title-price .price ins,
    .woocommerce .jolans-mobile-title-price .price .price ins {
        text-decoration: none;
        color: var(--color-primary);
    }



}

@media (max-width: 768px) {
    .woocommerce .reset_variations[style="visibility: visible;"] {
        top: 80%;
    }

    .woocommerce .jolans-mobile-title-price .price del,
    .woocommerce .jolans-mobile-title-price .price .price del {
        font-size: 12px;
    }


    .woocommerce .jolans-mobile-title-price .price ins {
        font-size: 16px;

    }
}


/**GALERIA PERSONALIZADA*/
.product-gallery {
    display: flex;
    gap: 20px;
    align-items: center;

}


.gallery-thumbs {
    height: 100%;
    max-height: 600px;
}

.gallery-main {
    width: 100%;
    order: 2;
    position: relative;
    overflow: hidden;
}

.drift-zoom-pane {
    z-index: 9999;
    background: #fff;
}

.drift-bounding-box {
    background: rgba(0, 0, 0, 0.05);
}

.gallery-main img {
    width: 100%;
    height: auto;

}

.gallery-thumbs-wrapper {
    order: 1;
    display: flex;
    align-items: center;
}



.gallery-thumbs {
    width: 120px;
    flex: 1;

}

.gallery-thumbs .swiper-slide {
    opacity: .5;
    cursor: pointer;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.gallery-thumbs .swiper-slide {
    height: auto;
}

.gallery-thumbs img {
    width: 100%;
    height: auto;
}

@media(max-width:768px) {

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

    .gallery-main {
        order: 1;
    }

    .gallery-thumbs {
        width: 100%;
        order: 2;
    }

}

.gallery-thumbs-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.thumbs-nav {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 100%;
}

.thumbs-arrow {
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
}

.thumbs-prev .thumbs-arrow {
    transform: rotate(-135deg);
}

.thumbs-next .thumbs-arrow {
    transform: rotate(45deg);
}

@media(max-width:768px) {

    .gallery-thumbs-wrapper {
        flex-direction: row;
        width: 100%;
    }

    .thumbs-nav {
        width: 30px;
        height: auto;
    }



    .thumbs-nav.thumbs-next {
        order: 3;
    }

    .thumbs-prev .thumbs-arrow {
        transform: rotate(135deg);
    }

    .thumbs-next .thumbs-arrow {
        transform: rotate(-45deg);
    }

}

/**Lupa con zoom*/

.zoom-container {
    position: relative;
    overflow: hidden;
}

.zoom-lens {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-size: 200%;
    z-index: 5;
    transition: opacity .2s;
}