@media (max-width: 992px) {
    .hamburger {
        display: flex;
        order: 4;
    }

    .header .container {
        min-height: 70px;
        padding: 12px 15px;
    }

.header-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    max-height: none !important;         
    height: auto !important;
    min-height: 0;                     
    background: white;
    flex-direction: column;
    padding: 20px 20px 30px;               
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: left 0.35s ease;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

    .header-nav.active {
        left: 0;
    }

    .nav-link {
        font-size: 17px;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
        color: #333;
        font-weight: 600;
        width: 100%;
    }

    .cat-item.has-dropdown {
        width: 100%;
        background: #fffaf0;
        border: 2px solid #f57c00;
        border-radius: 12px;
        margin-bottom: 12px;
        overflow: hidden;
    }

    .cat-text {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        font-size: 17.5px;
        font-weight: 700;
        color: #f57c00;
        cursor: pointer;
        width: 100%;
        user-select: none;
    }

    .cat-text::after {
        content: "›";
        font-size: 30px;
        font-weight: bold;
        transition: transform 0.4s ease;
        color: #f57c00;
    }

    .cat-item.active .cat-text::after {
        transform: rotate(90deg);
    }

    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        background: #ffffff;
        max-height: 0;
        overflow-y: auto;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
        margin: 0;
        border-top: 1px solid #f0f0f0;
    }

    .cat-item.active .dropdown-menu {
        max-height: 2200px !important;   
        padding: 10px 0;
    }

    .dropdown-menu li a {
        display: block;
        padding: 16px 25px;
        font-size: 16.8px;
        color: #333;
        border-bottom: 1px solid #f5f5f5;
        width: 100%;
    }

    .dropdown-menu li a:last-child {
        border-bottom: none;
    }

    .dropdown-menu li a:hover {
        background: #fff8f0;
        color: #f57c00;
        padding-left: 35px;
    }

    .simple-banner { 
        height: 420px; 
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
    
    .footer-logo {
        grid-column: span 2;
    }

    .container {
        padding: 0 12px;
    }
}

@media (max-width: 768px) {
    .logo-img { 
        height: 48px; 
    }

    .simple-banner { 
        height: 380px; 
    }
    
    .slider-dots { 
        bottom: 20px; 
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .header .container {
        min-height: 66px;
        padding: 10px 12px;
    }

    .logo-img { 
        height: 46px; 
    }

    .section-title {
        font-size: 1.6rem;
        margin: 35px 0 22px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 14px;
    }

    .product-card img {
        height: 155px;
    }

    .product-info h4 {
        font-size: 1.02rem;
    }

    .container {
        padding: 0 10px;
    }
}

@media (max-width: 600px) {
    html, body {
        -webkit-text-size-adjust: 100% !important;
    }
}

