
/* =============================================
   CONFECCIONES YAIZA - RESPONSIVE MEJORADO
   ============================================= */

/* === TABLET (max-width: 992px) === */
@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.4rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .hero-section-premium h1,
    .hero-section-elegant h1 {
        font-size: 2rem;
    }
    
    .hero-section-premium p,
    .hero-section-elegant p {
        font-size: 1rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section .col-md-4 {
        margin-bottom: 2rem;
    }
}

/* === MOVIL GRANDE (max-width: 768px) === */
@media (max-width: 767.98px) {
    .hero-section-premium,
    .hero-section-elegant {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-section-premium h1,
    .hero-section-elegant h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-section-premium p,
    .hero-section-elegant p {
        font-size: 0.95rem;
    }
    
    .hero-section-premium .btn,
    .hero-section-elegant .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-card .card-img-top {
        height: 200px;
    }
    
    .product-card .card-body {
        padding: 1rem;
    }
    
    .product-card .card-title {
        font-size: 1rem;
    }
    
    .product-card .price {
        font-size: 1.1rem;
    }
    
    .category-card {
        height: 180px;
    }
    
    .category-card h3 {
        font-size: 1.2rem;
    }
    
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
    }
    
    .back-to-top-btn {
        width: 44px;
        height: 44px;
        bottom: 90px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .col, .col-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* === MOVIL PEQUENO (max-width: 576px) === */
@media (max-width: 575.98px) {
    .hero-section-premium h1,
    .hero-section-elegant h1 {
        font-size: 1.4rem;
    }
    
    .hero-section-premium .btn,
    .hero-section-elegant .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-card .card-img-top {
        height: 180px;
    }
    
    .product-card .card-body {
        padding: 0.75rem;
    }
    
    .product-card .card-title {
        font-size: 0.9rem;
    }
    
    .product-card .price {
        font-size: 1rem;
    }
    
    .product-card .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .footer-section h5 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }
    
    .newsletter-section h3 {
        font-size: 1.3rem;
    }
    
    .newsletter-section .form-control {
        font-size: 0.9rem;
    }
    
    .stat-counter {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.3rem;
    }
}

/* === MOVIL MUY PEQUENO (max-width: 400px) === */
@media (max-width: 399.98px) {
    .hero-section-premium h1,
    .hero-section-elegant h1 {
        font-size: 1.2rem;
    }
    
    .hero-section-premium p,
    .hero-section-elegant p {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .product-card .card-img-top {
        height: 160px;
    }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .nav-link {
        font-size: 0.9rem !important;
        padding: 0.4rem 0.5rem !important;
    }
}

/* === ULTRA WIDE (min-width: 1400px) === */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section-premium h1,
    .hero-section-elegant h1 {
        font-size: 3.5rem;
    }
    
    .product-card .card-img-top {
        height: 320px;
    }
}

/* === DARK MODE === */
[data-theme="dark"] {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --border-color: #2a2a4a;
}

[data-theme="dark"] .navbar {
    background: rgba(26, 26, 46, 0.98) !important;
}

[data-theme="dark"] .card {
    background: #16213e;
    border-color: #2a2a4a;
}

[data-theme="dark"] .footer {
    background: #0f0f23;
}

/* === PRINT STYLES === */
@media print {
    .navbar,
    .whatsapp-widget,
    .back-to-top-btn,
    .cookie-banner,
    .newsletter-section,
    .footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
    }
}
