/* 
 * PRODUCTOS SECTION STYLES
 * Estilos para la sección de productos de Todo Versus
 * Diseñado con el mismo estilo visual que la galería
 */

/* ----------------- CONTENEDOR PRINCIPAL ----------------- */
.productos {
    /* Dimensiones */
    min-height: 100vh;
    width: 100%;
    
    /* Flexbox para alineación */
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* Fondo con gradiente de la marca */
    background: linear-gradient(135deg, #ED2F59 0%, #F8AD56 100%);
    
    /* Configuración adicional */
    position: relative;
    padding: 6rem 0;
    margin: 0;
    overflow: hidden;
}

/* Overlay de gradiente para suavizar la transición al inicio */
.productos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6rem;
    background: linear-gradient(to top, transparent, rgba(237, 47, 89, 0.6));
    z-index: 5;
    display: block !important;
}

/* Overlay de gradiente para suavizar la transición al final */
.productos::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6rem;
    background: linear-gradient(to bottom, transparent, rgba(248, 173, 86, 0.6));
    z-index: 5;
    display: block !important;
}

/* ----------------- CONTENIDO DE PRODUCTOS ----------------- */
.productos__container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

/* Título de la sección */
.productos__title {
    font-family: 'Anton', sans-serif;
    color: #FFE85A;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 2px 2px 0 #F8AD56, 4px 4px 0 rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Texto introductorio */
.productos__text {
    font-family: 'Barlow Condensed', sans-serif;
    color: #FFF;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}

/* ----------------- GRID DE PRODUCTOS ----------------- */
.productos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-bottom: 3rem;
}

/* Estilos para las tarjetas de productos */
.productos__item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    
    /* Aspect ratio para mantener proporciones consistentes */
    aspect-ratio: 3/4;
    
    /* Flexbox para organizar contenido */
    display: flex;
    flex-direction: column;
}

/* Contenedor de imagen del producto */
.productos__image-container {
    position: relative;
    width: 100%;
    height: 60%;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

/* Imagen del producto */
.productos__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contenido del producto */
.productos__content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Título del producto */
.productos__name {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    color: #ED2F59;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Descripción del producto */
.productos__description {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Precio del producto */
.productos__price {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: #F8AD56;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}

/* Botón de comprar */
.productos__btn {
    /* Dimensiones y layout */
    display: inline-block;
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
    
    /* Apariencia */
    background: linear-gradient(135deg, #ED2F59, #F8AD56);
    color: #FFF;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(237, 47, 89, 0.3);
    
    /* Tipografía */
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Configuración básica */
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* ----------------- PRODUCTOS "PRÓXIMAMENTE" ----------------- */
.productos__item--coming-soon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px dashed rgba(255, 232, 90, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.productos__coming-soon {
    text-align: center;
    color: #FFE85A;
}

.productos__coming-soon-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.productos__coming-soon-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    opacity: 0.8;
}

/* ----------------- RESPONSIVE DESIGN ----------------- */
/* Tablets medianas y grandes */
@media (max-width: 992px) {
    .productos__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .productos__title {
        font-size: 3rem;
    }
    
    .productos__text {
        font-size: 1.3rem;
    }
    
    .productos__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .productos__name {
        font-size: 1.6rem;
    }
    
    .productos__price {
        font-size: 1.8rem;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .productos__title {
        font-size: 2.5rem;
    }
    
    .productos__text {
        font-size: 1.1rem;
    }
    
    .productos__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .productos__container {
        padding: 0 1rem;
    }
    
    .productos__coming-soon-title {
        font-size: 2rem;
    }
}
