/* Variables para replicar el esquema de color de la imagen */
:root {
    /* ... otras variables ... */
    --accent-color: #000;
    --button-bg: #444;    /* <--- CAMBIADO A GRIS OSCURO */
    --button-text: #fff;
    --font-family: 'Montserrat', sans-serif;
    /* ... otras variables ... */
}

/* Reset básico y tipografía */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-bg);
}

/* --- 1. Encabezado --- */
.main-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--primary-bg);
    position: relative;
}

.top-nav ul {
    list-style: none;
    display: flex;
}

.top-nav ul li {
    margin: 0 15px;
}

.top-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9em;
    text-transform: uppercase;
}

.header-icons {
    position: absolute;
    right: 5%;
}

.header-icons .icon {
    font-size: 1.1em;
    margin-left: 15px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
}

/* --- 2. Sección Principal (Hero) --- */
.hero-section.split-hero {
    display: flex;
    height: 70vh;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-bg);
}

.hero-media-left,
.hero-media-right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hero-video,
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Capa de Opacidad (Overlay) */
.overlay-left, .overlay-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Contenido Central */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    padding: 0;
}

.hero-content .subtitle {
    font-size: 1.1em;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 5px;
    color: #f0f0f0;
}

.hero-content h1 {
    font-size: 5em;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 5px;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
}

.shop-now-button {
    /* ESTADO NORMAL: Usa el color gris oscuro (#444) de la variable */
    background-color: var(--button-bg); /* Ahora es el gris oscuro (#444) */
    color: var(--button-text); /* Blanco */
    
    padding: 12px 30px;
    border: 1px solid var(--button-bg); /* Borde del mismo color gris */
    /* ... el resto de las propiedades ... */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; 
    text-decoration: none;
    display: inline-block;
}

.shop-now-button:hover {
    /* EFECTO HOVER: Botón Blanco con Letras Negras/Gris */
    background-color: #ffffff; 
    color: #333; 
    border-color: #333; 
}

/* --- 3. Bloques de Información (Circulares) - 1x4 RIGIDO Y AJUSTADO --- */
.info-blocks {
    display: flex; 
    justify-content: center;
    padding: 40px 5%;
    background-color: var(--primary-bg);
}

.info-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 8px; 
    flex-shrink: 0; 
}

.info-icon-wrapper {
    width: 90px; 
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.info-block p {
    font-size: 0.8em;
    color: var(--text-color);
    text-align: center;
}

/* --- 4. Sección de Productos (NEW DROP) - CORRECCIÓN DE POSICIONAMIENTO Y ESPACIO --- */
.new-drop {
    padding: 60px 5% 80px;
    text-align: center;
    background-color: var(--primary-bg);
}

.new-drop h2 {
    font-size: 2.5em;
    margin-bottom: 5px;
    letter-spacing: 2px;
    font-weight: 700;
}

.new-drop-subtitle {
    font-size: 0.8em;
    color: var(--light-text-color);
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px; 
    margin: 0 auto;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background-color: var(--secondary-bg);
    cursor: pointer;
}

.product-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Contenedor principal de la información del producto */
.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); 
    color: #fff;
    /* Aumentamos el min-height para asegurar el espacio de 3 líneas (título, colores, precio) */
    min-height: 140px; 
}

/* Agrupa el título, colores y precio */
.product-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    width: 100%;
    /* Añadimos un pequeño espacio para separar de la base de la tarjeta si fuera necesario */
    margin-bottom: 5px; 
}

.product-title {
    font-weight: 600;
    font-size: 1em; /* Ligeramente más grande para énfasis */
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 5px; 
    /* Asegura que el título no desborde si es muy largo */
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Estilos para los círculos de color */
.color-options {
    display: flex;
    /* Espacio reducido para que quepan 8 círculos */
    gap: 5px; 
    margin-bottom: 8px; /* Espacio entre los colores y el precio */
    flex-wrap: nowrap; /* CLAVE: Mantiene los círculos en una línea */
    /* Permite el scroll horizontal en caso de pantallas muy estrechas */
    overflow-x: auto; 
    padding-bottom: 2px;
    max-width: 100%;
    /* Oculta la barra de scroll para una apariencia más limpia */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.color-options::-webkit-scrollbar {
    display: none;
}

.color-swatch {
    /* Tamaño optimizado para 8 círculos en un ancho de cuadrícula 2x2 */
    width: 18px; 
    height: 18px; 
    border-radius: 50%; 
    border: 1px solid rgba(255, 255, 255, 0.5); 
    cursor: pointer;
    transition: transform 0.2s ease;
    flex-shrink: 0; /* IMPEDIR ENCOGIMIENTO */
}

.color-swatch:hover {
    transform: scale(1.2); 
}

.product-price {
    font-weight: 700; /* Lo hacemos más notorio */
    font-size: 1em; 
    text-align: left;
    color: #ffffff; /* Color blanco puro para el precio */
}


/* Media Queries para responsividad (Mantiene el diseño rígido, solo reduce el texto y oculta la navegación) */
/* --- Media Queries (para ambas páginas) --- */
@media (max-width: 768px) {
    /* 1. Encabezado (Menú Centrado en Móvil) */
    .main-header {
        flex-direction: column; 
        justify-content: center;
        align-items: center; 
        padding: 15px 5%;
    }

    .top-nav {
        /* Navegación centrada */
        display: flex; 
        justify-content: center; 
        width: 100%;
        order: 2; 
        padding-top: 10px;
    }
    
    .top-nav ul li a {
        font-size: 0.8em; 
        margin: 0 10px;
    }

    .header-icons {
        /* Iconos alineados a la derecha */
        position: static;
        order: 1; 
        width: 100%;
        text-align: right; 
        padding-bottom: 5px; 
    }
    
    /* 2. Hero Section (CORRECCIÓN: Se apila correctamente) */
    .hero-section.split-hero {
        flex-direction: column; /* CLAVE: Apila las dos imágenes/videos */
        height: auto;
    }

    .hero-media-left,
    .hero-media-right {
        height: 35vh; /* Se apilan y toman una altura fija */
        flex: none;
        width: 100%;
    }
    
    /* 3. Contenido de Hero */
    .hero-content h1 {
        font-size: 2.5em;
        letter-spacing: 3px;
    }
    .hero-content .subtitle {
        font-size: 0.7em;
    }

    /* 4. Info Blocks (CORRECCIÓN: Permite scroll horizontal para que quepan) */
    .info-blocks {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 40px 20px;
    }
    .info-blocks::-webkit-scrollbar {
        display: none;
    }
    .info-block {
        margin: 0 5px;
        /* Aseguramos que el texto sea más pequeño */
        font-size: 0.8em; 
    }

    /* 5. Product Grid (CORRECCIÓN: Vuelve a 1x1 vertical) */
    .product-grid {
        grid-template-columns: 1fr; /* CLAVE: Vuelve a una columna */
        max-width: 400px;
    }
    
    /* 6. About Section (nosotros.html) */
    .about-section.split-page {
        flex-direction: column;
        min-height: auto;
    }

    .about-media {
        height: 60vh;
    }

    .about-content {
        padding: 40px 5%; 
    }

    .about-title {
        font-size: 2em;
    }
}