﻿/* Estilos para el modal */
.modal {
    /* display: none; */
    /* position: fixed; */
    /* z-index: 1; */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Permite el desplazamiento solo dentro del modal */
    background-color: rgba(0, 0, 0, 0.4);
    /* overflow-y: scroll; */ /* Permite el scroll solo en el modal */
}

.modal-dialog {
    max-width: 1200px;
}

/* Estilos para el contenido del modal */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1200px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Botón de cierre del modal */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Estilos para las imágenes y videos dentro del modal */
.product-single-image,
.product-item video {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

/* Carrusel */
.product-single-carousel .product-item {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Estilos para botones de cantidad */
.product-single-qty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4AA6FF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
}

    .btn-qty:hover {
        background-color: #0056b3;
    }

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ced4da;
    margin-left: -1px;
    margin-right: -1px;
}

    .qty-input::-webkit-outer-spin-button,
    .qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .qty-input[type=number] {
        -moz-appearance: textfield;
    }

.no-scroll {
    overflow: hidden;
}

/* Ocultar el botón de vista rápida por defecto */
.product-action .btn-quickview-plus {
    display: none; /* Oculta el botón por defecto */
    color: #333;
    font-size: 15px; /* Tamaño de fuente actualizado */
    background-color: #eff1f3; /* Color de fondo actualizado */
    border: none; /* Eliminar borde */
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    position: absolute; /* Para posicionar el botón correctamente */
    top: 50%; /* Centrar verticalmente en el contenedor */
    right: 0; /* Ajustar la posición horizontal */
    transform: translateY(-50%); /* Ajustar verticalmente */
}

/* Contenedor para la acción del producto */
.product-action {
    position: relative; /* Hacer que el contenedor tenga una posición relativa */
}

/* Mostrar el botón de vista rápida cuando se pasa el mouse sobre el producto */
.product-default:hover .product-action .btn-quickview-plus {
    display: inline-block; /* Muestra el botón al pasar el mouse */
    right: -33px; /* Desplazar 40px a la derecha */
}

/* Estilos para el botón de vista rápida en estado hover */
.product-action .btn-quickview-plus:hover {
    background-color: #007bff; /* Color de fondo al pasar el mouse */
    color: #fff; /* Color del texto al pasar el mouse */
}

#shorts-carousel .item {
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    #shorts-carousel .item:hover {
        transform: scale(1.02);
    }

#shorts-carousel iframe {
    width: 100%;
    height: 360px;
    border-radius: 8px;
}

.shorts-section {
    padding-bottom: 40px;
}
