


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    color: #e67e22;
}


.desktop-nav .has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: #f5f5f5;
    color: #e67e22;
    padding-left: 25px;
}


.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    padding: 25px 20px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 20px;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-menu-body {
    padding: 20px 0;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: #f9f9f9;
    color: #e67e22;
    padding-left: 25px;
}

.mobile-nav-link i:first-child {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.mobile-nav-link span {
    flex: 1;
    display: flex;
    align-items: center;
}


.mobile-submenu {
    list-style: none;
    background: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu.active {
    max-height: 300px;
}

.mobile-submenu li {
    border-bottom: 1px solid #e9e9e9;
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu a {
    display: block;
    padding: 12px 20px 12px 55px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.mobile-submenu a:hover {
    background: #fff;
    color: #e67e22;
    padding-left: 60px;
}

.submenu-toggle .fa-chevron-down {
    transition: transform 0.3s;
    font-size: 14px;
}

.submenu-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-menu-footer {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

.mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.mobile-btn-primary {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
}

.mobile-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.mobile-btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e0e0e0;
}

.mobile-btn-secondary:hover {
    background: #fff;
    border-color: #e67e22;
    color: #e67e22;
}




@media (max-width: 992px) {

    
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    
    .banners-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
        height: auto !important;
    }

    .banner-card.large {
        grid-row: auto !important;
        min-height: 300px;
    }

    .banner-card:nth-child(2),
    .banner-card:nth-child(3) {
        min-height: 300px;
    }

    
    .banner-card.large::after {
        width: 150px;
        height: 210px;
        right: 30px;
    }

    .banner-card:nth-child(2)::after {
        width: 100px;
        height: 130px;
        right: 20px;
    }

    .banner-card:nth-child(3)::after {
        width: 110px;
        height: 145px;
        right: 20px;
    }

    
    .header-top {
        padding: 8px 0;
    }

    .header-contact span {
        font-size: 12px;
    }

    .header-main {
        padding: 10px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        height: 60px;
    }

    .mobile-menu-toggle {
        font-size: 20px;
        z-index: 10;
        order: 1;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
        margin: 0;
        width: auto;
    }

    .header-actions {
        display: flex;
        gap: 10px;
        z-index: 10;
        align-items: center;
        order: 3;
    }

    .logo h1 {
        font-size: 22px !important;
    }

    .logo span {
        font-size: 10px !important;
    }

    .search-bar {
        display: none !important;
    }

    .search-bar input {
        font-size: 14px;
    }

    .header-action-btn .action-text {
        display: none;
    }

    .header-action-btn {
        padding: 8px 12px;
        font-size: 18px;
    }

    

    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .product-card {
        font-size: 14px;
    }

    .product-name {
        font-size: 14px !important;
    }

    .product-brand {
        font-size: 11px !important;
    }

    
    .section-header h2 {
        font-size: 24px;
    }


    
    .promo-content {
        padding: 0 40px;
        gap: 60px;
    }

    .promo-text h2 {
        font-size: 14px;
    }

    .promo-text h3 {
        font-size: 48px;
    }

    .promo-text p {
        font-size: 18px;
    }

    .promo-image img {
        max-width: 250px;
    }
}


@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
        position: relative;
    }

    .header-top {
        display: none;
    }

    .header-main {
        padding: 15px 0;
    }

    .container {
        padding: 0 12px;
    }

    
    .hero-banner {
        margin-top: 70px;
    }

    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
    }

    .product-card {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: white;
    }

    
    .product-image {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        
        overflow: hidden;
        background: #f5f5f5;
    }

    .product-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 80%;
    }

    .product-badges {
        position: absolute;
        top: 8px;
        left: 8px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        z-index: 10;
    }

    .badge {
        font-size: 9px;
        padding: 4px 8px;
        border-radius: 4px;
        font-weight: 600;
        white-space: nowrap;
    }

    .product-actions {
        position: absolute;
        top: 8px;
        right: 8px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .action-btn {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: white;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        font-size: 14px;
        color: #333;
        transition: all 0.3s;
    }

    .action-btn:active {
        transform: scale(0.9);
    }

    
    .product-info {
        padding: 12px 10px;
    }

    .product-brand {
        font-size: 11px;
        color: #666;
        text-transform: uppercase;
        font-weight: 500;
        margin-bottom: 4px;
    }

    .product-name {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 6px;
        color: #333;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 34px;
    }

    .product-rating {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 8px;
    }

    .product-rating .stars {
        display: flex;
        gap: 2px;
    }

    .product-rating .stars i {
        font-size: 11px;
        color: #fbbf24;
    }

    .rating-count {
        font-size: 10px;
        color: #999;
    }

    .product-price {
        margin-bottom: 10px;
    }

    .current-price {
        font-size: 16px;
        font-weight: 700;
        color: #333;
    }

    .original-price {
        font-size: 12px;
        color: #999;
        text-decoration: line-through;
        margin-left: 4px;
    }

    .add-to-cart-btn {
        width: 100%;
        font-size: 12px;
        padding: 10px;
        border-radius: 8px;
        background: linear-gradient(135deg, #e67e22, #d35400);
        color: white;
        border: none;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all 0.3s;
    }

    .add-to-cart-btn:active {
        transform: scale(0.97);
    }

    
    .category-banners {
        padding: 50px 0;
    }

    .banners-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 20px !important;
        height: auto !important;
    }

    .banner-card {
        min-height: 280px !important;
        height: auto !important;
        border-radius: 20px;
    }

    .banner-card.large {
        min-height: 320px !important;
        height: auto !important;
        grid-row: auto !important;
    }

    .banner-card:nth-child(2),
    .banner-card:nth-child(3) {
        min-height: 260px !important;
        height: auto !important;
    }

    .banner-card.large .banner-content {
        padding: 35px !important;
    }

    .banner-card:nth-child(2) .banner-content,
    .banner-card:nth-child(3) .banner-content {
        padding: 30px !important;
    }

    .banner-content h3 {
        font-size: 24px !important;
    }

    .banner-card.large .banner-content h3 {
        font-size: 32px !important;
    }

    .banner-content p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }

    .banner-btn {
        padding: 12px 28px !important;
        font-size: 13px !important;
    }

    .banner-card.large .banner-btn {
        padding: 14px 32px !important;
        font-size: 14px !important;
    }

    
    .banner-image {
        display: none !important;
    }

    
    .banner-card.large::after,
    .banner-card:nth-child(2)::after,
    .banner-card:nth-child(3)::after {
        display: none;
    }

    
    .section-header {
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .section-header p {
        font-size: 13px;
    }

    
    .promo-banner {
        padding: 60px 0;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
        gap: 40px;
    }

    .promo-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .promo-text h2 {
        font-size: 13px;
        padding: 8px 18px;
        margin-bottom: 15px;
    }

    .promo-text h3 {
        font-size: 38px;
        text-align: center;
    }

    .promo-text p {
        font-size: 16px;
        text-align: center;
    }

    .promo-image {
        order: -1;
    }

    .promo-image img {
        max-width: 200px;
    }
}


@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        left: -100%;
    }

    .container {
        padding: 0 10px;
    }

    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .product-card {
        border-radius: 10px;
    }

    
    .product-image {
        padding-bottom: 100%;
    }

    .product-info {
        padding: 10px 8px;
    }

    .product-name {
        font-size: 12px;
        min-height: 32px;
    }

    .product-brand {
        font-size: 10px;
    }

    .current-price {
        font-size: 14px;
    }

    .original-price {
        font-size: 11px;
    }

    .add-to-cart-btn {
        font-size: 11px;
        padding: 8px;
    }

    .badge {
        font-size: 8px;
        padding: 3px 6px;
    }

    .action-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }


    .section-header h2 {
        font-size: 20px;
    }

    .section-header p {
        font-size: 12px;
    }

    
    .promo-text h2 {
        font-size: 12px;
        padding: 6px 16px;
    }

    .promo-text h3 {
        font-size: 32px;
    }

    .promo-text p {
        font-size: 14px;
    }

    .promo-image img {
        max-width: 160px;
    }
}


.products-grid,
.products-slider {
    width: 100%;
    overflow-x: visible;
}


body {
    overflow-x: hidden;
}


.header-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
    color: #333;
    font-size: 16px;
}

.header-action-btn:hover {
    background: #f5f5f5;
}

.cart-count {
    position: absolute;
    top: 5px;
    right: 10px;
    background: #e74c3c;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    font-weight: 600;
}


@media (max-width: 992px) {
    .header-action-btn .action-text {
        display: none;
    }
}