/* .section-box {
    background-color: #ffffffff;
    border-radius: 16px;

}

.details-container {
    .product-image-container {
        min-height: 500px;
        height: 100%;
        .thumb-image-content {
            height: 65%;
            align-content: end;
        }
        .slide-image-content {
            height: 35%;
            align-content: center;
        }
    }
} */
* {
    scroll-behavior: smooth;
}

.radio-item {
    display: inline-block;
    position: relative;
    padding: 0 6px;
    margin: 4px 0;
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-item label {
    color: #666;
    font-weight: normal;
}

.radio-item label:before {
    content: " ";
    display: inline-block;
    position: relative;
    top: 5px;
    margin: 0 5px 0 0;
    width: 20px;
    height: 20px;
    border-radius: 11px;
    border: 2px solid #004c97;
    background-color: transparent;
}

.radio-item input[type="radio"]:checked + label:after {
    border-radius: 11px;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 9px;
    left: 10px;
    content: " ";
    display: block;
    background: #004c97;
}

/* Fin de estilos al Radio */

.section-box {
    background-color: #ffffffff;
    border-radius: 16px;
}

.details-container {
    .product-image-container {
        min-height: 500px;
        height: 100%;
        display: flex;
        flex-direction: column;

        .thumb-image-content {
            height: 55%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            cursor: zoom-in;

            .main-product-image {
                max-height: 100%;
                max-width: 100%;
                transition: transform 0.25s ease;
            }
        }

        .slide-image-content {
            height: 45%;
            display: flex;
            align-items: center;
            position: relative;

            .swiper-container {
                width: 100%;
                height: 100%;

                .swiper-wrapper {
                    display: flex;
                    justify-content: center; /* Centra las diapositivas en el contenedor */
                    align-items: center;
                    overflow: hidden; /* Asegura que no haya desbordamiento */
                }

                .swiper-slide {
                    width: 80px; /* Puedes ajustar el tamaño de las diapositivas si es necesario */
                    height: 80px; /* Puedes ajustar el tamaño de las diapositivas si es necesario */
                    display: flex;
                    justify-content: center; /* Centra el contenido dentro de cada diapositiva */
                    align-items: center; /* Centra verticalmente el contenido */
                    border: 2px solid transparent;
                    cursor: pointer;
                    transition: border 0.3s ease-in-out, opacity 0.3s ease-in-out;
                    opacity: 0.5;
                    border-radius: 12px;

                    &:hover {
                        border-color: #e6e6e6;
                        opacity: 1;
                    }

                    &.swiper-slide-thumb-active {
                        border-color: var(--secondary-color);
                        opacity: 1;
                    }

                    img {
                        max-width: 100%;
                        max-height: 100%;
                    }
                }

                .swiper-mini-thumb-button-next {
                    position: absolute;
                    top: 50%;
                    right: 10px;
                    transform: translateY(-50%);
                    width: 34px;
                    height: 34px;
                    border-radius: 50%;
                    background-color: #fff;
                    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                    transition: background-color 0.3s ease, color 0.3s ease;

                    &:hover {
                        background-color: #b08050;
                        color: #fff;

                        &::after {
                            color: #fff;
                        }
                    }

                    &::after {
                        content: ">";
                        font-size: 16px;
                        color: #b08050;
                    }
                }
            }
        }

    }

    .product-details-container {
        position: relative;
        .icon-h1 {
            font-size: 21px;
        }
        .label-dato {
            color: var(--primary-color);
            font-weight: 600;
        }
        .item-presentation {
            text-transform: uppercase;
            color: #b08050;
        }
        .item-promotional-price {
            font-size: 14px;
            font-weight: 500;
            color: #414d5f;
            margin: 0;
        }
        .item-regular-price {
            font-size: 13px;
            font-weight: 500;
            color: #414d5f;
            opacity: 0.8;
            margin: 0;
        }
        .item-description {
            text-align: justify;
            font-size: 12px;
        }
        .view-more {
            font-weight: 500;
            color: #b08050;
            text-decoration: underline;
        }
        /* .product-presentation-list {
            .radio-container {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;
            }
            .radio-item label {
                font-weight: 500;
                color: #004c97;
                text-transform: capitalize;
                font-size: 12px;
            }
            .content-radio {
                border: 1px solid #004c97;
                border-radius: 8px;
                padding: 0px 7px;
            }
        } */
        .subtitle-content {
            font-weight: 500;
        }
        .product-dispatched {
            background-color: #e5ebf3;
            padding: 2px 8px;
            border-radius: 12px;
            font-weight: 500;
            .icon-span {
                font-size: 16px;
            }
        }

        .delivery-status {
            color: #b08050;
            font-weight: 500;
        }
        .product-count {
            .select-quantity {
                border-radius: 12px;
                border: 2px solid #b08050;
                p {
                    color: #000;
                }
            }
        }

        /* Estilo del botón de "Agregar al carrito" */
        .button-cart .btn {
            background-color: #b08050;
            color: #fff;
            border: none;
            border-radius: 50px;
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            height: 50px;
            width: 100%;
        }

        .button-cart .btn:hover {
            background-color: #a54d19;
        }

        /* Estilo del contador del carrito */
        .cart-counter {
            display: flex;
            align-items: center;
            height: 50px;
            border: 1px solid #afafaf;
            border-radius: 24px;
        }

        .btn-icon {
            background-color: #fff;
            border: none;
            width: 32px;
            height: 32px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            font-size: 20px;
            margin: 0 5px;
        }

        #cartCount {
            font-size: 16px;
            flex: 1;
            text-align: center;
        }

        .add-cart-content-product {
            height: 50px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;

            .button-add-cart {
                width: 100%;
                background-color: var(--primary-color);
                color: white;
                cursor: pointer;
                transition: background-color 0.3s ease;
                border: none;
                border-radius: 50px;
                padding: 10px 20px;
                font-size: 12px;
            }

            .button-add-cart:hover {
                background-color: #99441d;
            }

            .cart-counter {
                display: flex;
                align-items: center;
                height: 50px;
                width: 100%;
                border: 1px solid #afafaf;
                border-radius: 24px;
            }

            .btn-icon {
                background-color: #fff;
                border: none;
                width: 32px;
                height: 32px;
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                font-size: 20px;
                margin: 0 5px;
            }

            .cartCount {
                font-size: 16px;
                flex: 1;
                text-align: center;
            }
        }
    }
}

.tabs-details-container {
    .nav-tabs {
        border: none;
        position: relative;
        display: flex;
        justify-content: space-between;
    }

    .nav-tabs .nav-link {
        position: relative;
        border: none;
        color: #333;
        font-size: 14px;
        padding: 10px 20px;
        transition: color 0.3s ease;
    }

    .nav-tabs .nav-link.active {
        color: #b08050;
    }

    .nav-tabs .nav-link::before {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0; /* Initial width set to 0 */
        height: 3px;
        background-color: transparent;
        transition: width 0.3s ease, background-color 0.3s ease;
    }

    .nav-tabs .nav-link.active::before {
        width: 100%;
        background-color: #b08050;
    }

    .nav-tabs .nav-link:hover::before {
        width: 100%;
        background-color: #b08050;
    }

    .nav-tabs .nav-link:hover {
        color: #b08050;
    }

    .tab-content {
        .item-tab-description {
            text-align: justify;
        }
        .item-tab-table {
            img {
                width: 40%;
            }
        }
    }
}

/* Modal CSS */
/* .modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    .modal-content {
        margin: auto;
        display: block;
        width: 80%;
        max-width: 700px;
    }
    .close {
        position: absolute;
        top: 15px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
        &:hover,
        &:focus {
            color: #bbb;
            text-decoration: none;
            cursor: pointer;
        }
    }
} */


.background-overblur.active-preview {
    /* background-color: rgba(0, 0, 0, 0.5); */
}

.zoom-preview {
    position: absolute;
    top: 60px;
    left: 15px;
    width: 600px;
    height: 450px;
    overflow: hidden;
    border: 1px solid #ddd;
    background-color: #fff;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.zoom-lens {
    position: absolute;
    border: 1px solid #000;
    width: 100px;
    height: 100px;
    opacity: 0.4;
    background-color: #000;
    z-index: 20;
    display: none;
}

.hide-content {
    visibility: hidden;
}
