﻿.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: 730 / 400;
    height: auto;
}

    .banner-size-2.single {
        aspect-ratio: 1460 / 400 !important;
    }

.product-reviews > .rating-container, #anchorReviews > .rating-container {
    pointer-events: none !important;
}

@media (max-width: 992px) {
    .banner-size-2 {
        aspect-ratio: 730 / 366 !important;
    }

        .banner-size-2.single {
            aspect-ratio: 730 / 366 !important;
        }
}

.starContainer {
    display: inline;
    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: 0px;
    margin-top: 30px;
}

.shipping-grid-mobile {
    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
}

.shipping-grid-mobile {
    margin: 20px 0 10px 0;
}

.shipping-grid-layout {
    margin: 30px 0 0px 0;
}

@media (min-width: 768px) {
    .product-reviews .theme-krajee-svg .krajee-icon {
        width: 1.1rem !important;
        height: 1.1rem !important;
    }

    .numberRatings {
        font-size: 10pt;
    }

    .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .row {
        margin-right: -15px;
        margin-left: -15px;
    }
}

@media (min-width: 355px) {
    .prod-det {
        font-size: 0.9em;
    }
}

@media (min-width: 1024px) {
    .product-reviews .theme-krajee-svg .krajee-icon {
        width: 1.3rem !important;
        height: 1.3rem !important;
    }

    .numberRatings {
        font-size: 12pt;
    }

    .shipping-grid-mobile {
        margin: -5px 0 15px 0;
    }

    .shipping-grid-layout {
        margin: 30px 0 0px 0;
    }

    .shipping-mobile {
    }
}

.news-grid-layout6, .news-grid-layout2 {
    margin-bottom: 0px !important;
}

.list-product .col-6 {
    padding: 0;
}

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

.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;
}

    .product-title.title-home:hover {
        color: #f24621;
    }

.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: 4px;
    background: #eee;
    border-radius: 10px;
    margin-top: 10px;
    z-index: 999;
}

.custom-scrollbar-destacados {
    margin-top: -7px;
}

.custom-scrollbar-especiales {
    margin-top: -7px;
}

.custom-drag,
[class^="custom-drag-"],
[class*=" custom-drag-"] {
    position: absolute;
    height: 100%;
    width: 20%;
    background: #d1d1d1;
    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: #999;
}

.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: #46907b !important;
        border-color: #46907b !important;
        box-shadow: 0 4px 12px rgba(70, 144, 123, 0.4) !important;
    }

    /* Flechas - Íconos y tipografía */
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-family: 'Roboto', sans-serif !important;
        font-size: 60px !important;
        color: #1c927a !important;
        margin-top: -6px;
    }

    /* Icono en hover */
    .swiper-button-next:hover::after,
    .swiper-button-prev:hover::after {
        color: #fff !important;
    }

    .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 { padding-top: 10px !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-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;
    margin-top: 20px;
    margin-bottom: 15px;

    @media (min-width: 768px) {
        font-size: 26px;
        padding-left: 0;
        margin-top: 20px;
    }

    @media (min-width: 1200px) {
        font-size: 32px;
        padding-left: 0;
        margin-top: 20px;
    }
}

.starContainer .filled-stars .krajee-icon-star {
    filter: sepia(1) saturate(8) hue-rotate(355deg) brightness(0.92) contrast(1.05);
}

.shipping-grid-row > .shipping-item {
    transition: transform 0.3s;
}

    .shipping-grid-row > .shipping-item:hover {
        transform: translateY(-4px);
    }

.shipping-grid-row {
    background: #f2f2f2;
}

.shipping-grid-row {
    display: flex;
    gap: 16px;
    align-items: stretch !important;
}

.shipping-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    padding: 14px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: default;
    font-size: 1.125rem;
}

.shipping-icon {
    width: 50px;
    height: 50px;
    padding: 8px;
    border-radius: 50%;
    background-color: #ECF4F2;
    color: rgb(70, 144, 123);
}


/* swiper categorias custom */
.categoria-card { display: block; text-decoration: none; }
.categoria-card-image {
    aspect-ratio: 1 / 1; 
    background-color: #f8fafc; 
    border-radius: 0.4rem; 
    margin-bottom: 1rem; 
    transition: all 0.3s; 
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6; 
    overflow: hidden;
}    
.categoria-card-image img { width: 100%; height: 100%; object-fit: contain; }
.categoria-card:hover .categoria-card-image { transform: scale(1.03); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.categoria-card-title { font-size: 0.875rem; font-weight: 700;  color: #555; text-align: center; text-transform: uppercase; letter-spacing: -0.01em; transition: all 0.3s; }
.categoria-card:hover .categoria-card-title { color: var(--brand-red); }
@media (min-width: 768px) {
    .categoria-card-title { font-size: 1rem; }
}

/* ocultar botones next-prev */
.swiper-button-next,
.swiper-button-prev {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.swiper-button-prev {
    transform: translateX(-10px);
}
.categorias:hover .swiper-button-next,
.categorias:hover .swiper-button-prev,
.list-reviews:hover .swiper-button-next,
.list-reviews:hover .swiper-button-prev,
.list-product:hover .swiper-button-next,
.list-product:hover .swiper-button-prev {
    opacity: 1;
    transform: translateX(0);
}

/* ver todos */
.title-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0;  min-width: 0; flex: 1; }
.ver-todos-link {
    display: flex; align-items: center; gap: 8px; color: #E05433; font-weight: bold; text-transform: uppercase;
    font-size: 0.875rem; text-decoration: none; transform: translateY(-8px); margin-top:25px;
}
.ver-todos-link:hover { text-decoration: underline; }
.icon-arrow { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.texto-especial-corto { display: none; }
@media (max-width: 767px) {
    .texto-especial-largo { display: none; }
    .texto-especial-corto { display: inline; }
}
