/*** MIGAS ***/
.woocommerce-breadcrumb {
    color: var(--e-global-color-text)!important;
}
nav.woocommerce-breadcrumb {
    font-weight: 800!important;
}
nav.woocommerce-breadcrumb a {
    font-weight: 400!important;
}
img.breadcrumb-icon {
    margin: 0 10px;
}
/*** GALERÍA ***/
.thumbnail-carousel {
    width: 12%!important;
}
.main-image {
    width: 88%!important;
}
.product-gallery {
    display: flex;
    gap: 20px;
}
.main-image img {
    width: 100%;
    max-width: 500px;
    object-fit: contain;
}
.thumbnail-carousel {
    width: 80px;
    max-height: 650px;
    overflow: hidden;
}
.thumb-item img {
    border: 2px solid transparent!important;
    cursor: pointer;
    opacity: 0.6;
    transition: .4s;
}
.thumb-item img.selected, .thumb-item img:hover {
    border-color: #D47150!important;
    opacity: 1;
    transition: .4s;
}
.product-gallery button.slick-arrow {
    bottom: 0;
    top: inherit!important;
    z-index: 99;
}
.product-gallery button.slick-prev {
    left: 0;
}
.product-gallery button.slick-next {
    left: inherit!important;
    right: 0;
}
.product-gallery button.slick-next, .product-gallery button.slick-prev {
    left: 0;
    transform: rotate(90deg);
}
.product-gallery .slick-list::after {
    background: linear-gradient(to top, white, transparent);
    bottom: 0;
    content: "";
    height: 100px;
    position: absolute;
    left: 0;
    pointer-events: none; 
    width: 100%;
    z-index: 10;
}
/*** GALERÍA OFERTA ***/
.products-on-sale-carousel .slick-slide {
    margin: 0 20px;
}
.products-on-sale-carousel .slick-list {
    margin: 0 -20px;
}
/*** ZOOM ***/
#main-preview {
    --x: 50%;
    --y: 50%;
    --zoom: 1;
    transform: scale(var(--zoom));
    transform-origin: var(--x) var(--y);
    clip-path: inset(
        calc((1 - 1/var(--zoom)) * (var(--y)))
        calc((1 - 1/var(--zoom)) * (100% - var(--x)))
        calc((1 - 1/var(--zoom)) * (100% - var(--y)))
        calc((1 - 1/var(--zoom)) * (var(--x)))
    );
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 500%; /* o auto */
    cursor: zoom-in;
    height: 650px;
    object-fit: cover;
    width: 100%;
}
#main-preview:hover {
    --zoom: 2;
}
@media only screen and (max-width: 600px) {
    #main-preview {
        transform: none!important;
        clip-path: none!important;
        --zoom: 1!important;
        cursor: pointer;
    }
}
/*** ATRIBUTOS ***/
table.variations tr:first-child {
    display: none;
}
.quantity {
    display: flex;
    gap: 20px;
}
.quantity:before, ul.custom-color-attributes:before {
    content: "Cantidad";
}
ul.custom-color-attributes:before {
    content: "Color";
    display: block;
    padding: 0 0 10px;
}
.quantity:before, ul.custom-color-attributes:before {
    font-size: var(--e-global-typography-2e4266f-font-size);
    font-weight: var(--e-global-typography-2e4266f-font-weight);
}
.quantity, button.single_add_to_cart_button {
    width: 100%!important;
}
button.single_add_to_cart_button {
    margin: 40px 0 0!important;
}
a.reset_variations {
    color: #D47150!important;
}
/*** COLORES ***/
ul.custom-color-attributes {
    padding-left: 0;
}
li.color {
    border-radius: 500px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    margin: 5px 20px 5px 5px;
    position: relative;
    width: 25px;
}
li.color::before {
    border: 2px solid transparent; 
    border-radius: 50%;
    box-sizing: border-box;
    content: "";
    left: -5px;
    height: 35px;
    position: absolute;
    top: -5px;
    transition: .4s;
    width: 35px;
    z-index: -1; 
}
li.color.selected::before, li.color:hover:before {
    border-color: #D47150;
    transition: .4s;
}
/*** ATRIBUTOS TABLA ***/
table.variations td, table.variations th {
    padding: 0!important;
    border-width: 0!important;
}
table.variations th.label {
    text-align: left;
}
table.variations tbody>tr:nth-child(odd)>td, table.variations tbody>tr:nth-child(odd)>th, table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: hsl(0deg 0% 50.2% / 0%)!important;
    text-align: left!important;
}