/* ===== Responsive Styles ===== */

@media (max-width: 1199.98px) {
    .hero-title { font-size: 42px; }
    .section-title { font-size: 30px; }
}

@media (max-width: 991.98px) {
    .header-wrapper {
        justify-content: space-between;
        padding: 12px 0;
    }

        .nav-close-btn {
        position: absolute;
        top: 12px;
        left: 12px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #e74c3c;
        color: #fff;
        border: none;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1002;
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
        transition: all 0.3s ease;
    }
    .nav-close-btn:hover {
        background: #c0392b;
        transform: scale(1.1);
    }.main-nav {
        display: block !important;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: #fff;
        z-index: 1001;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        margin: 0;
        overflow-y: auto;
    }
    .main-nav.active { right: 0; }

    .logo { position: static; transform: none; }

    .nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }
    .nav-list > li { width: 100%; }
    .nav-list > li > a {
        display: block;
        padding: 12px 15px;
        font-size: 15px;
        border-radius: 8px;
    }
    .hero-section { height: 70vh; min-height: 400px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }

    .category-image { aspect-ratio: 4/5; }
    .col-lg-3 .category-image { aspect-ratio: 1/1; }

    .section-padding { padding: 60px 0; }

    .page-banner { padding: 100px 0 40px; }
    .page-banner h1 { font-size: 28px; }

    .product-info { padding: 20px 0 0; }
    .product-info h1 { font-size: 24px; }
}

@media (max-width: 767.98px) {
    .header-wrapper { padding: 10px 0; }
    .logo-text { font-size: 22px; }
    .logo img { max-height: 40px; }

    .hero-section { height: 60vh; min-height: 350px; }
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 14px; margin-bottom: 25px; }
    .hero-buttons .btn { padding: 11px 25px; font-size: 14px; }
    .hero-content { padding: 80px 0 40px; }

    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 14px; }
    .section-padding { padding: 40px 0; }

    .product-name { font-size: 14px; }
    .current-price { font-size: 18px; }

    .main-footer { padding-top: 40px; }
    .footer-bottom-content { flex-direction: column; text-align: center; }

    .auth-card { padding: 25px; }
    .cart-table th { font-size: 13px; }
    .cart-table td { font-size: 13px; }
    .cart-item-img { width: 60px; height: 60px; }

    .page-banner { padding: 80px 0 30px; }
    .page-banner h1 { font-size: 22px; }

    .cart-float { width: 50px; height: 50px; font-size: 22px; bottom: 15px; left: 15px; }
    .cart-float-count { width: 20px; height: 20px; font-size: 11px; top: -4px; right: -4px; }

    .product-info h1 { font-size: 20px; }
    .product-meta .price { font-size: 24px; }
}

@media (max-width: 575.98px) {
    .header-actions { gap: 4px; }
    .action-btn { width: 36px; height: 36px; font-size: 15px; }

    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 13px; }

    .section-title { font-size: 20px; }
    .section-header { margin-bottom: 30px; }

    .category-image { aspect-ratio: 1/1; }

    .product-details { padding: 15px; }

    .attribute-option.color-option { width: 42px; height: 42px; }
    .quantity-control button { width: 44px; height: 44px; font-size: 20px; }

    .product-badge { font-size: 10px; padding: 3px 10px; top: 8px; right: 8px; }

    .contact-info-card { padding: 20px; }
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--button-hover); }

/* Lazy loading image placeholder */
img[loading="lazy"] { background: #f0f0f0; }
