/* Kosár oldal - Összes CSS stílus */


        /* Modern színpaletta és változók */
        :root {
            --primary-color: #3b82f6;
            --primary-hover: #2563eb;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
            --dark-color: #1f2937;
            --light-bg: #f8fafc;
            --border-color: #e5e7eb;
            --text-primary: #111827;
            --text-secondary: #6b7280;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --border-radius: 12px;
        }

        /* Modern kosár container */
        .modern-cart-section {
            background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
            padding: 2rem 0;
            min-height: 100vh;
        }

        .modern-cart-container {
            background: white;
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow-xl);
            border: 1px solid var(--border-color);
            margin-bottom: 2rem;
        }

        .modern-cart-title {
            color: var(--primary-color);
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 2rem;
            text-align: center;
            position: relative;
        }

        .modern-cart-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
            border-radius: 2px;
        }

                 /* Modern termék kártya */
         .modern-product-card {
             display: flex;
             align-items: center;
             background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
             border-radius: var(--border-radius);
             padding: 1.5rem;
             margin-bottom: 1.5rem;
             box-shadow: var(--shadow-md);
             border: 1px solid var(--border-color);
             transition: all 0.3s ease;
             position: relative;
             overflow: hidden;
             animation-delay: calc(var(--index) * 0.1s);
         }

        .modern-product-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--success-color));
        }

        .modern-product-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary-color);
        }

        .modern-product-image {
            flex: 0 0 120px;
            margin-right: 1.5rem;
            position: relative;
        }

        .modern-product-image img {
            width: 120px;
            height: 120px;
            border-radius: 8px;
            object-fit: cover;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s ease;
        }

        .modern-product-card:hover .modern-product-image img {
            transform: scale(1.05);
        }

        .modern-product-details {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .modern-product-name {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .modern-product-price {
            font-size: 1.125rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .modern-product-total {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-top: 0.5rem;
        }

        /* Modern mennyiség vezérlők */
        .modern-qty-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-left: 1.5rem;
        }

        .modern-qty-wrapper {
            display: flex;
            align-items: center;
            background: var(--light-bg);
            border-radius: 8px;
            padding: 0.5rem;
            box-shadow: var(--shadow-sm);
        }

        .modern-qty-btn {
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 6px;
            background: var(--primary-color);
            color: white;
            font-size: 1.125rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modern-qty-btn:hover {
            background: var(--primary-hover);
            transform: scale(1.1);
        }

        .modern-qty-btn:active {
            transform: scale(0.95);
        }

        .modern-qty-display {
            min-width: 50px;
            text-align: center;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--text-primary);
            margin: 0 0.75rem;
        }

        .modern-delete-btn {
            background: linear-gradient(135deg, var(--danger-color), #dc2626);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .modern-delete-btn:hover {
            background: linear-gradient(135deg, #dc2626, #b91c1c);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* Modern checkout gomb */
        .modern-checkout-container {
            text-align: center;
            margin-top: 3rem;
            padding: 2rem;
            background: var(--light-bg);
            border-radius: var(--border-radius);
            border: 1px solid var(--border-color);
        }

        .modern-checkout-summary {
            margin-bottom: 2rem;
        }

        .modern-total-price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .modern-checkout-btn {
            background: linear-gradient(135deg, var(--success-color), #059669);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 1rem 3rem;
            font-size: 1.25rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            box-shadow: var(--shadow-md);
        }

        .modern-checkout-btn:hover {
            background: linear-gradient(135deg, #059669, #047857);
            transform: translateY(-3px);
            box-shadow: var(--shadow-xl);
            color: white;
            text-decoration: none;
        }

        .modern-checkout-btn:active {
            transform: translateY(-1px);
        }

        /* Üres kosár állapot */
        .modern-empty-cart {
            text-align: center;
            padding: 4rem 2rem;
            background: var(--light-bg);
            border-radius: var(--border-radius);
            border: 2px dashed var(--border-color);
        }

        .modern-empty-cart-icon {
            font-size: 4rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

        .modern-empty-cart-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .modern-empty-cart-text {
            color: var(--text-secondary);
            font-size: 1.125rem;
            margin-bottom: 2rem;
        }

        .modern-shop-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.875rem 2rem;
            font-size: 1.125rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .modern-shop-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
            color: white;
            text-decoration: none;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .modern-product-card {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .modern-product-image {
                margin-right: 0;
                margin-bottom: 1rem;
            }

            .modern-qty-controls {
                margin-left: 0;
                justify-content: center;
            }

            .modern-cart-container {
                padding: 1rem;
            }
        }

        /* Animációk */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in {
            animation: fadeInUp 0.6s ease-out;
        }

        /* Loading state */
        .loading {
            opacity: 0.7;
            pointer-events: none;
        }

        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 20px;
            height: 20px;
            border: 2px solid var(--border-color);
            border-top: 2px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }
    

/* ========== Next CSS Block ========== */



                    

/* ========== Next CSS Block ========== */


                        #search-results {
                        background: white;
                        border: 1px solid #ddd;
                        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
                        padding: 10px;
                        border-radius: 5px;
                        max-height: 450px;
                        overflow-y: auto;
                        z-index: 1000; 
                        position: absolute;
                        top: 100%; 
                        left: 0;
                        }
                    

/* ========== Next CSS Block ========== */


                        .dropdown-menu {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Árnyék hozzáadása */
    border-radius: 8px; /* Kerekített sarkok */
    padding: 10px; /* Több tér az elemek között */
    border: none; /* Eltávolítjuk az alapértelmezett keretet */
}

.dropdown-menu ul {
    list-style: none; /* Listajelölők eltávolítása */
    margin: 0;
    padding: 0;
}

.dropdown-menu li {
    padding: 8px 0; /* Több tér minden elem között */
    border-bottom: 1px solid #f1f1f1; /* Elválasztó vonal hozzáadása */
}

.dropdown-menu li:last-child {
    border-bottom: none; /* Az utolsó elem alatti elválasztó vonal eltávolítása */
}

.dropdown-menu .dropdown-item {
    display: block; /* Teljes szélességű elemek */
    padding: 8px 20px; /* Nagyobb padding az elemeknek */
    color: #333; /* Szövegszín beállítása */
    text-decoration: none; /* Az aláhúzás eltávolítása a linkekről */
    transition: background-color 0.2s ease-in-out; /* Sima háttérszín átmenet */
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f8f8; /* Háttérszín megváltoztatása amikor ráviszik az egeret */
}

.balance {
    font-weight: bold; /* Az egyenleg kiemelése */
}
                    

/* ========== Next CSS Block ========== */


        /* CSS for the dropdown */
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        .dropdown-content a {
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }

        .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }
        

/* ========== Next CSS Block ========== */


@media only screen and (min-width: 991px) {
    #responsive-nav .cart-menu-item {
        display: none !important;
    }
}


@media only screen and (max-width: 991px) {
  /* Eltünteti a Kosár ikont */
  .header-ctn .fa-shopping-cart {
    display: none !important;
  }
  
  /* Eltünteti a Kosár szöveget */
  .header-ctn .dropdown .qty {
    display: none !important;
  }
  .header-ctn .dropdown .fa-shopping-cart + span {
    display: none !important;
  }
  .header-ctn .cart-dropdown {
    display: none !important;
  }
  
}
@media only screen and (max-width: 768px) {
  /* Eltünteti a Kosár ikont */
  .header-ctn .fa-shopping-cart {
    display: none !important;
  }
  
  /* Eltünteti a Kosár szöveget */
  .header-ctn .dropdown .qty {
    display: none !important;
  }
  .header-ctn .dropdown .fa-shopping-cart + span {
    display: none !important;
  }
  .header-ctn .cart-dropdown {
    display: none !important;
  }
  
}
@media only screen and (max-width: 480px) {
  /* Eltünteti a Kosár ikont */
  .header-ctn .fa-shopping-cart {
    display: none !important;
  }
  
  /* Eltünteti a Kosár szöveget */
  .header-ctn .dropdown .qty {
    display: none !important;
  }
  .header-ctn .dropdown .fa-shopping-cart + span {
    display: none !important;
  }
  .header-ctn .cart-dropdown {
    display: none !important;
  }
  
}


/* ========== Next CSS Block ========== */

.rainbow-text a {
                        background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet, red);
                        background-size: 400%;
                        -webkit-background-clip: text;
                        background-clip: text;
                        color: transparent;
                        animation: rainbow-animation 10s linear infinite;
                        }

                        @keyframes rainbow-animation {
                            0% { background-position: 0% 50%; }
                            50% { background-position: 100% 50%; }
                            100% { background-position: 0% 50%; }
                        }

                    

/* ========== Next CSS Block ========== */


                            .footer-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-payments li {
    margin: 0 10px; /* A logók közötti távolság */
}

.footer-payments li a img {
    width: 80px;   /* Fix szélesség */
    height: 50px;  /* Fix magasság */
    object-fit: contain; /* A kép arányainak megtartása */
    display: block;
}

                        

/* ========== Next CSS Block ========== */


    /* Modern Multi-Level Category Menu - Enhanced Responsive Design */
    .mega-dropdown {
        position: relative;
        display: inline-block;
    }

    .mega-dropdown-content {
        display: none;
        position: absolute;
        top: 95%;
        left: -200px;
        background: #fff;
        min-width: 600px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        z-index: 1000;
        padding: 5px 0 0 0;
        margin-top: 0;
        border: 1px solid #e1e5e9;
        overflow: hidden;
        max-height: 80vh;
        overflow-y: auto;
    }

    .mega-dropdown:hover .mega-dropdown-content {
        display: flex;
    }
    
    /* Remove hover effect on touch devices */
    @media (hover: none) {
        .mega-dropdown:hover .mega-dropdown-content {
            display: none;
        }
        
        .mega-dropdown > a {
            cursor: pointer;
            position: relative;
        }
        
        .mega-dropdown > a::after {
            content: ' ▼';
            font-size: 12px;
            color: #007bff;
            margin-left: 5px;
        }
        
        .mega-dropdown > a.active::after {
            content: ' ▲';
        }
    }

    .category-menu {
        display: flex;
        width: 100%;
        min-height: 300px;
    }

    .main-categories {
        width: 200px;
        background: #f8f9fa;
        border-right: 1px solid #e1e5e9;
        overflow-y: auto;
        max-height: 400px;
    }

    .main-category-item {
        padding: 15px 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        border-bottom: 1px solid #e1e5e9;
        position: relative;
        font-weight: 500;
        color: #2c3e50;
        display: flex;
        align-items: center;
    }

    .main-category-item:hover {
        background: #fff;
        color: #007bff;
        transform: translateX(5px);
    }

    .main-category-item.active {
        background: #fff;
        color: #007bff;
        border-right: 3px solid #007bff;
    }

    .main-category-item i {
        margin-right: 10px;
        width: 16px;
        text-align: center;
        font-size: 14px;
    }

    .sub-categories {
        flex: 1;
        padding: 20px;
        background: #fff;
        display: none;
        overflow-y: auto;
        max-height: 400px;
    }

    .sub-categories.active {
        display: block;
    }

    .sub-category-section {
        margin-bottom: 25px;
    }

    .sub-category-title {
        font-size: 14px;
        font-weight: 600;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 2px solid #e9ecef;
    }

    .sub-category-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 8px;
    }

    .sub-category-link {
        display: flex;
        align-items: center;
        padding: 10px 12px;
        color: #495057;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.2s ease;
        font-size: 13px;
        border: 1px solid transparent;
    }

    .sub-category-link:hover {
        background: #f8f9fa;
        color: #007bff;
        transform: translateX(3px);
        border-color: #e9ecef;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .category-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        display: inline-block;
        vertical-align: middle;
    }

    /* Enhanced Responsive Design */
    @media (max-width: 1200px) {
        .mega-dropdown-content {
            min-width: 500px;
            left: -100px;
            top: 100%;
        }
        
        .category-menu {
            flex-direction: column;
            min-height: 250px;
        }
        
        .main-categories {
            width: 100%;
            border-right: none;
            border-bottom: 1px solid #e1e5e9;
            max-height: 200px;
        }
        
        .main-category-item {
            padding: 12px 15px;
            font-size: 14px;
        }
        
        .sub-categories {
            padding: 15px;
            max-height: 300px;
        }
        
        .sub-category-grid {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 8px;
        }
        
        .sub-category-link {
            padding: 8px 10px;
            font-size: 12px;
        }
    }
    
    /* Mobil kategória menü stílusok */
    .mobile-categories-menu {
        display: none; /* Alapértelmezetten rejtve */
    }
    
    /* Asztali képernyőméreten mindig rejtve */
    @media (min-width: 992px) {
        .mobile-categories-menu {
            display: none !important;
        }
    }
    
    .mobile-categories-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        color: #FFF;
        text-decoration: none;
        border-bottom: 1px solid #333;
        transition: background-color 0.3s ease;
        background-color: #15161D;
    }
    
    .mobile-categories-toggle:hover {
        background-color: #333;
        color: #FFF;
        text-decoration: none;
    }
    
    .mobile-categories-toggle i.fa-chevron-down {
        transition: transform 0.3s ease;
    }
    
    .mobile-categories-menu.active .mobile-categories-toggle i.fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .mobile-categories-dropdown {
        display: none;
        background: #15161D;
        border-top: 1px solid #333;
    }
    
    .mobile-categories-menu.active .mobile-categories-dropdown {
        display: block;
    }
    
    .mobile-category-item {
        border-bottom: 1px solid #333;
    }
    
    .mobile-category-item > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 15px;
        color: #FFF;
        text-decoration: none;
        background: #15161D;
        transition: background-color 0.3s ease;
    }
    
    .mobile-category-item > a:hover {
        background: #333;
        color: #FFF;
        text-decoration: none;
    }
    
    .mobile-category-item > a i:first-child {
        margin-right: 10px;
        width: 16px;
        text-align: center;
    }
    
    .mobile-category-item > a i.fa-chevron-right {
        font-size: 12px;
        transition: transform 0.3s ease;
    }
    
    .mobile-category-item.active > a i.fa-chevron-right {
        transform: rotate(90deg);
    }
    
    .mobile-subcategories {
        display: none;
        background: #1a1a1a;
        border-top: 1px solid #333;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-category-item.active .mobile-subcategories {
        display: block;
        max-height: 500px;
    }
    
    .mobile-subcategories li {
        border-bottom: 1px solid #333;
    }
    
    .mobile-subcategories li:last-child {
        border-bottom: none;
    }
    
    .mobile-subcategories a {
        display: flex;
        align-items: center;
        padding: 10px 15px 10px 40px;
        color: #CCC;
        text-decoration: none;
        font-size: 14px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .mobile-subcategories a:hover {
        background: #333;
        color: #FFF;
        text-decoration: none;
    }
    
    .mobile-subcategories a i {
        margin-right: 10px;
        width: 16px;
        text-align: center;
    }
    
    /* Mobil kategória menü finomhangolások */
    @media (max-width: 991px) {
        .mobile-categories-menu {
            border-top: 1px solid #333;
        }
        
        .mobile-categories-toggle {
            font-weight: 600;
            font-size: 16px;
        }
        
        .mobile-category-item > a {
            font-size: 15px;
        }
        
        .mobile-subcategories a {
            font-size: 14px;
            padding: 12px 15px 12px 45px;
        }
    }
    
    @media (max-width: 768px) {
        .mobile-categories-toggle {
            font-size: 15px;
            padding: 12px 15px;
        }
        
        .mobile-category-item > a {
            font-size: 14px;
            padding: 10px 15px;
        }
        
        .mobile-subcategories a {
            font-size: 13px;
            padding: 10px 15px 10px 40px;
        }
    }
    
    @media (max-width: 991px) {
        /* Asztali kategória menü elrejtése mobil eszközökön */
        .mega-dropdown {
            display: none !important;
        }
        
        /* Mobil kategória menü megjelenítése csak mobil eszközökön */
        .mobile-categories-menu {
            display: block !important;
        }
        
        .mega-dropdown-content {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100vh;
            min-width: 100%;
            max-width: 100%;
            border-radius: 0;
            z-index: 9999;
            margin: 0;
            padding: 0;
            overflow: hidden;
            background: #fff;
        }
        
        .category-menu {
            flex-direction: column;
            height: 100vh;
            min-height: 100vh;
            overflow: hidden;
        }
        
        .main-categories {
            width: 100%;
            border-right: none;
            border-bottom: 2px solid #e1e5e9;
            max-height: 40vh;
            overflow-y: auto;
            background: #f8f9fa;
        }
        
        .main-category-item {
            padding: 16px 20px;
            font-size: 16px;
            font-weight: 600;
            border-bottom: 1px solid #e1e5e9;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .main-category-item::after {
            content: '▶';
            font-size: 12px;
            color: #007bff;
            transition: transform 0.3s ease;
        }
        
        .main-category-item.active::after {
            content: '▼';
            transform: rotate(0deg);
        }
        
        .main-category-item i {
            font-size: 16px;
            margin-right: 12px;
        }
        
        .sub-categories {
            flex: 1;
            padding: 20px;
            max-height: 60vh;
            overflow-y: auto;
            background: #fff;
        }
        
        .sub-category-section {
            margin-bottom: 30px;
        }
        
        .sub-category-title {
            font-size: 16px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 3px solid #007bff;
        }
        
        .sub-category-grid {
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 12px;
        }
        
        .sub-category-link {
            padding: 12px 15px;
            font-size: 14px;
            font-weight: 500;
            border-radius: 10px;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            text-align: center;
            justify-content: center;
        }
        
        .sub-category-link:hover {
            background: #007bff;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,123,255,0.3);
        }
        
        .category-icon {
            font-size: 16px;
            margin-right: 8px;
        }
        
        /* Mobile close button */
        .mega-dropdown-content::before {
            content: '✕';
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 24px;
            color: #666;
            cursor: pointer;
            z-index: 10000;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8f9fa;
            border-radius: 50%;
            border: 1px solid #e9ecef;
        }
        
        .mega-dropdown-content::before:hover {
            background: #e9ecef;
            color: #333;
        }
    }
    
    @media (max-width: 768px) {
        .mega-dropdown-content {
            top: 0;
        }
        
        .main-categories {
            max-height: 35vh;
        }
        
        .main-category-item {
            padding: 14px 16px;
            font-size: 15px;
        }
        
        .sub-categories {
            max-height: 65vh;
            padding: 16px;
        }
        
        .sub-category-grid {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 10px;
        }
        
        .sub-category-link {
            padding: 10px 12px;
            font-size: 13px;
        }
        
        .sub-category-title {
            font-size: 15px;
            margin-bottom: 12px;
        }
    }
    
    @media (max-width: 576px) {
        .main-categories {
            max-height: 30vh;
        }
        
        .main-category-item {
            padding: 12px 14px;
            font-size: 14px;
        }
        
        .main-category-item i {
            font-size: 14px;
            margin-right: 10px;
        }
        
        .sub-categories {
            max-height: 70vh;
            padding: 14px;
        }
        
        .sub-category-grid {
            grid-template-columns: 1fr;
            gap: 8px;
        }
        
        .sub-category-link {
            padding: 12px 14px;
            font-size: 14px;
            justify-content: flex-start;
        }
        
        .sub-category-title {
            font-size: 14px;
            margin-bottom: 10px;
        }
    }
    
    @media (max-width: 480px) {
        .main-categories {
            max-height: 25vh;
        }
        
        .main-category-item {
            padding: 10px 12px;
            font-size: 13px;
        }
        
        .sub-categories {
            max-height: 75vh;
            padding: 12px;
        }
        
        .sub-category-link {
            padding: 10px 12px;
            font-size: 13px;
        }
        
        .sub-category-title {
            font-size: 13px;
            margin-bottom: 8px;
        }
        
        .mega-dropdown-content::before {
            top: 10px;
            right: 15px;
            font-size: 20px;
            width: 35px;
            height: 35px;
        }
    }
    
    /* Landscape orientation adjustments */
    @media (max-width: 991px) and (orientation: landscape) {
        .main-categories {
            max-height: 25vh;
        }
        
        .sub-categories {
            max-height: 75vh;
        }
    }
    
    /* Smooth animations for mobile */
    @media (max-width: 991px) {
        .mega-dropdown-content {
            transition: opacity 0.3s ease, transform 0.3s ease;
            opacity: 0;
            transform: translateY(-20px);
        }
        
        .mega-dropdown-content.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        .sub-categories {
            transition: opacity 0.3s ease;
        }
        
        .sub-categories.active {
            opacity: 1;
        }
    }
