﻿.container {
    width: 100%;
    max-width: 1540px;
}
.banner-size-2 {
    position: relative;
    display: block;
    overflow: hidden;
    background: no-repeat center center;
    background-image: none;
    background-size: auto;
    background-size: cover;
    aspect-ratio: 540 / 370;
    height: auto;
}
.banner-size-2.single {
    aspect-ratio: 1080 / 370 !important;
}
.starContainer {
    display: inline;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: auto !important;
}
.star {
    pointer-events: none;
}
.swiper-categorias-home .swiper-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.shipping-grid-layout { margin-bottom: 5px; margin-top: -10px; }
.box { width: 100%; height: auto;}

.homeProduct { max-width: unset !important; }
.wp-actions-product a { position:relative; }
.icon-action { top: 50%; left: 50%; transform: translate(-50%, -50%); position:absolute; }

.product-reviews { margin-top: -5px; display:block; margin-bottom:5px; display: flex; align-items: center; }
.wp-actions-product a { width: auto !important; height: auto !important; }
.wp-actions-product .icon-action {
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    margin: 5px;
}
.wp-actions-product {
    display: flex;
    gap: 16px;
    margin-right: 10px;
    margin-top: 5px;
}
.prod-img a { background-color: unset; }
.prod-img a:hover { background-color: unset; }
.wp-actions-product .icon-action:hover { background-color: rgba(255, 255, 255, 0.5); }

.rating-md {
    font-size: unset !important;
}
.product-reviews .theme-krajee-svg .krajee-icon {    
    width: 1rem !important;
    height: 1rem !important;
    display: inline-block !important;
}
.numberRatings { font-size: 10pt; margin-left: 5px; color: #999; margin-top: 1px; }
.container { padding-right: 0px; padding-left: 0px; }
.row { margin-right: 0px; margin-left: 0px; }
.list-reviews {
    margin-bottom: 20px;
    padding: 20px 0 0 0
}
.list-product {
    padding: 20px 0 0 0
}

@media (min-width: 768px) {
    .product-reviews .theme-krajee-svg .krajee-icon {
        width: 1.2rem !important;
        height: 1.2rem !important;
    }
    .numberRatings { font-size: 10pt; }
    .container { padding-right: 15px; padding-left: 15px; }
    .row { margin-right: -15px; margin-left: -15px; }
}

@media (min-width: 1024px) {
    .product-reviews .theme-krajee-svg .krajee-icon {
        width: 1.4rem !important;
        height: 1.4rem !important;
    }
    .numberRatings { font-size: 12pt; }
}


.product-title.title-home {
    display: block;
    width: 100%;
    height: 45px; 
    overflow: hidden; 

    white-space: normal;
    text-overflow: clip; 

    line-height: 1.2;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}
.product-title.title-home {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 21px;
}
.row-item {
    display: flex;
    justify-content: center; 
    align-items: baseline;
    width: 100%;
    gap: 5px; 
    overflow: hidden;
}

.txt-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
   
    flex-shrink: 1; 
    min-width: 0;
    text-align: right; 
}

.sale {
    flex-shrink: 0; 
    white-space: nowrap;
    font-weight: bold;    
}


/* custom scroll */
.custom-scrollbar,
[class^="custom-scrollbar-"],
[class*=" custom-scrollbar-"] {
    position: relative;
    height: 8px;
    background: #eee;
    border-radius: 10px;
    margin-top: 10px;
    z-index: 999;
}
.custom-scrollbar-destacados { margin-top: -5px; }
.custom-scrollbar-especiales { margin-top: -5px; }

.custom-drag,
[class^="custom-drag-"],
[class*=" custom-drag-"] {
    position: absolute;
    height: 100%;
    width: 20%;
    background: #999;
    border-radius: 10px;
    cursor: pointer;
    transition: left 0.2s cubic-bezier(.25,.8,.25,1);
}

.custom-scrollbar:hover .custom-drag,
[class^="custom-scrollbar-"]:hover [class^="custom-drag-"],
[class*=" custom-scrollbar-"]:hover [class*=" custom-drag-"] {
    background: #000;
}

.swiper {
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .swiper.swiper-initialized {
        opacity: 1;
    }


.swiper-custom-wrapper {
    position: relative;    
}

    
    .swiper-custom-wrapper .swiper-scrollbar {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
    }

.swiper-button-next,
.swiper-button-prev {
    background: white;
    width: 60px !important;
    height: 60px !important;
    border-radius: 30px;
    border: 1px solid lightgray !important;
    box-shadow: 1px 3px 5px 1px rgba(0, 0, 0, 0.1);
    margin-top: -40px !important;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background-color: #e8e8e8 !important;
    }
        
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-family: 'Roboto', sans-serif !important;
        font-size: 60px !important;
        color: #1c927a !important;
        margin-top: -6px;
    }

    .swiper-button-next::after {
        content: '›' !important;
        margin-right: -4px;
    }

    .swiper-button-prev::after {
        content: '‹' !important;
        margin-left: -4px;
    }

.swiper-custom-wrapper .swiper-button-prev {
    left: -40px;
}

.swiper-custom-wrapper .swiper-button-next {
    right: -40px;
}
.swiper-button-next-featured, .swiper-button-prev-featured {
    top: 55% !important;
}

.swiper-categorias-home .swiper-slide {
    height: auto;
    background-size: cover;
}

    .swiper-categorias-home .swiper-slide img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block;
    }

.swiper-categorias-home .banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 5px 0;
}

    .swiper-categorias-home .banner-text p {
        margin: 0;
        font-size: 1.3em;
        text-transform: uppercase;
        text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
    }

@media (max-width: 767px) {
    #swiper-categorias, #swiper-fechas-especiales {
        padding: 0 5vw;        
    }

    .swiper-categorias-home .banner-text p {
        font-size: 1em;
    }
}

#anchorReviews .rating-sm {
    font-size: 18px !important;
}

.list-reviews h3, .list-product h3 {
    font-size: 20px;
    padding-left: 10px;

    @media (min-width: 768px) {
        font-size: 26px;
        padding-left:0;
    }

    @media (min-width: 1200px) {
        font-size: 32px;
        padding-left:0;
    }
}