/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Primer bloque - Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
}

/* Contenedor de la imagen de fondo */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Overlay oscuro */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Contenedor del logo */
.logo-container {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 435px;
    padding: 0 20px;
}

.logo-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-section {
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 20px;
    }
    
    .logo-container {
        width: 95%;
    }
}

/* Bloque 2 - Shopify Buy Button */
/* Bloque 2 - Productos Shopify: RESÉRVALO YA */
.productos-section {
    background-color: #ffffff;
    padding: 80px 0;
    width: 100%;
}

.productos-title {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.productos-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.producto-item {
    flex: 0 1 400px;  /* Ancho fijo de 400px, no se estira más */
    min-width: 300px;
    background-color: #f8f8f8;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-color: #ffffff;
}

/* Estilos para los productos generados por Shopify */
.producto-item .shopify-buy__product {
    margin: 0 !important;
    max-width: 100% !important;
}

.producto-item .shopify-buy__product__title {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    margin: 20px 0 15px !important;
    text-align: center;
}

.producto-item .shopify-buy__product__price {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-align: center;
    margin-bottom: 20px !important;
}

.producto-item .shopify-buy__product__price s {
    font-size: 1.2rem !important;
    color: #999 !important;
    margin-right: 10px;
}

.producto-item .shopify-buy__btn {
    background-color: #000 !important;
    border-radius: 50px !important;
    padding: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease !important;
    border: 2px solid #000 !important;
}

.producto-item .shopify-buy__btn:hover {
    background-color: #fff !important;
    color: #000 !important;
}

.producto-item .shopify-buy__product__variant-selectors {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .productos-section {
        padding: 60px 0;
    }
    
    .productos-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .producto-item {
        flex: 0 1 350px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .productos-section {
        padding: 50px 0;
    }
    
    .productos-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .productos-grid {
        gap: 30px;
    }
    
    .producto-item {
        flex: 0 1 100%;
        max-width: 450px;
        padding: 25px;
    }
    
    .producto-item .shopify-buy__product__title {
        font-size: 1.3rem !important;
    }
    
    .producto-item .shopify-buy__product__price {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 480px) {
    .productos-section {
        padding: 40px 0;
    }
    
    .productos-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .productos-grid {
        gap: 20px;
    }
    
    .producto-item {
        padding: 20px;
    }
    
    .producto-item .shopify-buy__btn {
        padding: 12px !important;
        font-size: 0.9rem !important;
    }
}

/* Loader mientras cargan los productos */
.productos-section .shopify-loading {
    text-align: center;
    padding: 40px;
}

.productos-section .loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Bloque 3 - Video YouTube */
.video-section {
    width: 100%;
    background-color: #000;
    padding: 80px 0;
    position: relative;
}

.video-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.video-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #333;
    font-weight: 600;
}

/* Contenedor del video con relación de aspecto 16:9 */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación 16:9 (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* video ocupe todo el ancho de la pantalla */
.video-section.full-width {
    padding: 0; /* Quitar padding */
}

.video-section.full-width .video-container {
    max-width: 100%; /* Sin límite de ancho */
    padding: 0; /* Sin padding */
}

.video-section.full-width .video-wrapper {
    border-radius: 0; /* Sin bordes redondeados */
    box-shadow: none; /* Sin sombra */
}

/* Responsive */
@media (max-width: 1024px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 50px 0;
    }
    
    .video-container {
        padding: 0 20px;
    }
    
    .video-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .video-wrapper {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 40px 0;
    }
    
    .video-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .video-container {
        padding: 0 15px;
    }
}

/* Bloque 4 - Nuevas fechas 2026 */
.fechas-section {
    background-color: #ffffff;
    padding: 80px 0;
    width: 100%;
}

.fechas-title {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.fechas-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.fecha-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background-color: #f8f8f8;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
}

.fecha-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background-color: #ffffff;
}

.fecha-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.fecha-dia {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 120px;
}

.dia-principal {
    font-size: 1.8em;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

.fecha-proximamente {
    font-size: 0.9em;
    color: #ff4444;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: inline-block;
    width: fit-content;
}

.fecha-artista {
    font-size: 1.4em;
    font-weight: 600;
    color: #000000;
    min-width: 180px;
}

.fecha-recinto {
    font-size: 1.4em;
    color: #666666;
    min-width: 180px;
}

.fecha-ciudad {
    font-size: 1.4em;
    font-weight: 500;
    color: #000000;
    min-width: 120px;
}

/* Botón comprar - con acción */
.btn-comprar {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #000000;
    white-space: nowrap;
}

.btn-comprar:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #000000;
}

/* Botón GRATUITO - solo visual, sin acción */
.btn-gratis {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    cursor: default;
    pointer-events: none;
    opacity: 1;
}

.btn-gratis:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    transform: none;
}

/* Variables personalización  */
:root {
    --fecha-dia-size: 1.8em;
    --fecha-artista-size: 1.4em;
    --fecha-recinto-size: 1.4em;
    --fecha-ciudad-size: 1.4em;
    --fecha-dia-color: #000000;
    --fecha-artista-color: #000000;
    --fecha-recinto-color: #666666;
    --fecha-ciudad-color: #000000;
    --btn-bg: #000000;
    --btn-text: #ffffff;
    --btn-hover-bg: #ffffff;
    --btn-hover-text: #000000;
}

/* Responsive para tablet */
@media (max-width: 1024px) {
    .fechas-section {
        padding: 60px 0;
    }
    
    .fechas-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .fecha-card {
        padding: 20px 25px;
    }
    
    .fecha-info {
        gap: 20px;
    }
    
    .fecha-dia {
        min-width: 100px;
    }
    
    .dia-principal {
        font-size: 1.6em;
    }
    
    .fecha-artista, .fecha-recinto, .fecha-ciudad {
        font-size: 1.3em;
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .fechas-section {
        padding: 50px 0;
    }
    
    .fechas-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .fecha-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 25px;
    }
    
    .fecha-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }
    
    .fecha-dia {
        min-width: auto;
        width: 100%;
    }
    
    .dia-principal {
        font-size: 1.8em;
    }
    
    .fecha-proximamente {
        font-size: 0.85em;
    }
    
    .fecha-artista, .fecha-recinto, .fecha-ciudad {
        font-size: 1.3em;
        min-width: auto;
    }
    
    .btn-comprar, .btn-gratis {
        width: 100%;
        text-align: center;
        padding: 16px 28px;
    }
}

@media (max-width: 480px) {
    .fechas-section {
        padding: 40px 0;
    }
    
    .fechas-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .dia-principal {
        font-size: 1.6em;
    }
    
    .fecha-artista, .fecha-recinto, .fecha-ciudad {
        font-size: 1.2em;
    }
}

/* Clases de utilidad para personalizar colores y tamaños */
.fecha-card.custom-colors .dia-principal {
    color: var(--fecha-dia-color);
    font-size: var(--fecha-dia-size);
}

.fecha-card.custom-colors .fecha-artista {
    color: var(--fecha-artista-color);
    font-size: var(--fecha-artista-size);
}

.fecha-card.custom-colors .fecha-recinto {
    color: var(--fecha-recinto-color);
    font-size: var(--fecha-recinto-size);
}

.fecha-card.custom-colors .fecha-ciudad {
    color: var(--fecha-ciudad-color);
    font-size: var(--fecha-ciudad-size);
}

.fecha-card.custom-colors .btn-comprar {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-bg);
}

.fecha-card.custom-colors .btn-comprar:hover {
    background-color: var(--btn-hover-bg);
    color: var(--btn-hover-text);
    border-color: var(--btn-bg);
}

/* Bloque 5 - Footer */
.footer-section {
    background-color: #000000;  /* Fondo negro */
    padding: 40px 0;
    width: 100%;
    border-top: 1px solid #333333;  /* Línea sutil superior */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.footer-copyright {
    color: #ffffff;
}

.footer-empresa {
    color: #ffffff;
    font-weight: 500;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-separator {
    color: #666666;  /* Separadores en gris para contraste sutil */
    font-weight: 300;
}

/* Estilo específico para el enlace de ajustes de cookies */
.ot-sdk-show-settings {
    color: #ffffff;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.95rem;
    font-family: inherit;
    transition: opacity 0.2s ease;
}

.ot-sdk-show-settings:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-section {
        padding: 35px 0;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-content {
        gap: 12px;
        font-size: 0.9rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-section {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-separator {
        display: none;  /* Ocultamos los separadores en móvil */
    }
    
    .footer-link, .footer-copyright, .footer-empresa {
        padding: 3px 0;
    }
    
    /* Añadimos separadores visuales con bordes en móvil */
    .footer-content > *:not(:last-child) {
        border-bottom: 1px solid #333333;
        width: 100%;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 25px 0;
    }
    
    .footer-content {
        font-size: 0.85rem;
    }
}

/* Opción alternativa: footer más compacto */
.footer-section.compact {
    padding: 20px 0;
}

.footer-section.compact .footer-content {
    gap: 10px;
    font-size: 0.85rem;
}

/* Opción con bordes superiores más definidos */
.footer-section.bordered {
    border-top: 2px solid #ffffff;
}