/* ============================================
   POP MART STORE - CSS BLOQUEANTE EXTERNO
   Diseñado para ralentizar el renderizado
   ============================================ */

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
}

.hero-title {
    font-family: 'Pacifico', cursive;
    font-size: 5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.cta-button {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* ============================================
   BANNER PROMOCIONAL (inyectado por JS)
   ============================================ */
.promo-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.promo-text {
    font-size: 1.1rem;
}

.promo-close {
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.5rem;
    line-height: 1;
}

.promo-close:hover {
    opacity: 0.8;
}

/* ============================================
   SECCIÓN DE PRODUCTOS
   ============================================ */
.products {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Pacifico', cursive;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* NOTA: Las imágenes NO tienen width/height definidos 
   intencionalmente para causar CLS */
.product-image {
    width: 100%;
    height: auto;
    display: block;
}

.product-name {
    font-size: 1.5rem;
    padding: 1.5rem 1.5rem 0.5rem;
    color: #333;
}

.product-price {
    font-size: 1.3rem;
    padding: 0 1.5rem 1.5rem;
    color: #667eea;
    font-weight: bold;
}

/* ============================================
   SECCIÓN ABOUT
   ============================================ */
.about {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 5rem 2rem;
    color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about .section-title {
    color: white;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}
