/* ==================================================
   HEADER / NAVBAR STYLES
   شامل: Navbar, Search, Links, Actions, Hamburger,
   Dropdown System, Megamenu
   ================================================== */

.custom-education-theme-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 24px 12px 24px;
    background: var(--accent-gradient);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

[data-theme="dark"] .custom-education-theme-navbar {
    background: rgba(13, 13, 32, 0.85);
}

.custom-education-theme-navbar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top:12px;
}

.custom-education-theme-navbar-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 1 auto;
    min-width: 0;
    order: 1;
}

.custom-education-theme-navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

    .custom-education-theme-navbar-logo i {
        font-size: 1.8rem;
    }

    .custom-education-theme-navbar-logo:hover {
        transform: scale(1.05);
    }

.custom-education-theme-navbar-header-bg {
    position: absolute;
    background-image: url('/assets/img/base/header-bg.webp');
    width: 96%;
    height: 100%;
    opacity:0.6;
    z-index: -1;
}

/* Search Box */
.custom-education-theme-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 8px 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    width: 320px;
    max-width: 40vw;
}

    .custom-education-theme-search-box:focus-within {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-glow-15), var(--glass-shadow);
        width: 400px;
        max-width: 45vw;
    }

    .custom-education-theme-search-box i {
        color: var(--text-secondary);
        font-size: 0.9rem;
        transition: var(--transition);
    }

    .custom-education-theme-search-box:focus-within i {
        color: var(--accent);
    }

    .custom-education-theme-search-box input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        color: var(--text-primary);
        font-size: 0.88rem;
        width: 100%;
    }

        .custom-education-theme-search-box input::placeholder {
            color: var(--text-secondary);
            opacity: 0.7;
        }

/* Navbar Links */
.custom-education-theme-navbar-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 6px 10px;
    box-shadow: var(--glass-shadow);
    order: 2;
    position: relative;
    flex-shrink: 0;
}

    .custom-education-theme-navbar-links > li {
        position: relative;
    }

        .custom-education-theme-navbar-links > li > a {
            display: flex;
            align-items: center;
            gap: 6px;
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 0.92rem;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: var(--radius-xl);
            transition: var(--transition);
            white-space: nowrap;
            cursor: pointer;
        }

            .custom-education-theme-navbar-links > li > a i.custom-education-theme-arrow {
                font-size: 0.65rem;
                transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            }

@media (min-width: 901px) {
    .custom-education-theme-navbar-links > li:hover > a i.custom-education-theme-arrow {
        transform: rotate(180deg);
    }
}

.custom-education-theme-navbar-links > li > a:hover,
.custom-education-theme-navbar-links > li > a.custom-education-theme-active {
    color: var(--text-primary);
    background: var(--glass-bg);
    box-shadow: 0 4px 15px var(--accent-glow-15);
}

.custom-education-theme-navbar-links > li > a.custom-education-theme-active {
    color: #fff;
    background: var(--accent-gradient);
}

/* Navbar Actions */
.custom-education-theme-navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    order: 3;
}

    .custom-education-theme-navbar-actions .custom-education-theme-action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid var(--glass-border);
        background: var(--glass-bg);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        color: var(--text-secondary);
        font-size: 1.05rem;
        cursor: pointer;
        transition: var(--transition);
        text-decoration: none;
        position: relative;
        border-radius: var(--radius-xl);
    }

        .custom-education-theme-navbar-actions .custom-education-theme-action-btn.custom-education-theme-login-btn {
            width: auto;
            padding: 10px 18px;
            border-radius: var(--radius-xl);
            gap: 8px;
            font-size: 0.88rem;
            font-weight: 600;
        }

        .custom-education-theme-navbar-actions .custom-education-theme-action-btn:hover {
            background: var(--accent-gradient);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px var(--accent-glow-30);
            border-color: transparent;
        }

.custom-education-theme-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.5);
}

/* Hamburger */
.custom-education-theme-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    order: 4;
}

    .custom-education-theme-hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: var(--transition);
    }

    .custom-education-theme-hamburger.custom-education-theme-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .custom-education-theme-hamburger.custom-education-theme-active span:nth-child(2) {
        opacity: 0;
    }

    .custom-education-theme-hamburger.custom-education-theme-active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

/* ============ DROPDOWN / MEGAMENU ============ */
.custom-education-theme-dropdown-wrap {
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
}

.custom-education-theme-navbar-links > li:hover > .custom-education-theme-dropdown-wrap,
.custom-education-theme-navbar-links > li.custom-education-theme-open > .custom-education-theme-dropdown-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.custom-education-theme-megamenu {
    width: 900px;
    max-width: 90vw;
    max-height: 75vh;
    overflow-y: auto;
    background: var(--megamenu-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px var(--accent-dark-glow-25);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

[data-theme="dark"] .custom-education-theme-megamenu {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.custom-education-theme-megamenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.custom-education-theme-mega-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    background: var(--accent-glow-04);
    border: 1px solid transparent;
}

    .custom-education-theme-mega-item:hover {
        background: var(--accent-glow-10);
        border-color: var(--accent-glow-20);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px var(--accent-glow-15);
    }

    .custom-education-theme-mega-item.custom-education-theme-featured {
        grid-column: span 3;
        background: linear-gradient(135deg, var(--accent-glow-12), var(--accent-2-glow-08));
        border: 1px solid var(--accent-glow-20);
        padding: 16px;
    }

        .custom-education-theme-mega-item.custom-education-theme-featured .custom-education-theme-mega-item-img {
            width: 220px;
            height: 130px;
        }

.custom-education-theme-mega-item-img {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--glass-bg);
}

    .custom-education-theme-mega-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.custom-education-theme-mega-item:hover .custom-education-theme-mega-item-img img {
    transform: scale(1.12);
}

.custom-education-theme-mega-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

    .custom-education-theme-mega-item-info h5 {
        font-size: 0.92rem;
        font-weight: 700;
        color: var(--text-primary);
        transition: var(--transition);
    }

.custom-education-theme-mega-item.custom-education-theme-featured .custom-education-theme-mega-item-info h5 {
    font-size: 1.1rem;
}

.custom-education-theme-mega-item:hover .custom-education-theme-mega-item-info h5 {
    color: var(--accent);
}

.custom-education-theme-mega-item-info p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.custom-education-theme-mega-item.custom-education-theme-featured .custom-education-theme-mega-item-info p {
    font-size: 0.85rem;
    -webkit-line-clamp: 3;
}

.custom-education-theme-mega-item-info .custom-education-theme-mega-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 4px;
}

.custom-education-theme-mega-item.custom-education-theme-featured .custom-education-theme-mega-item-info .custom-education-theme-mega-price {
    font-size: 1rem;
}

.custom-education-theme-megamenu-footer {
    display: flex;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid var(--glass-border);
}

.custom-education-theme-megamenu-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

    .custom-education-theme-megamenu-more:hover {
        background: var(--accent-gradient);
        color: #fff;
        border-color: transparent;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px var(--accent-glow-40);
    }

    .custom-education-theme-megamenu-more i {
        font-size: 0.85rem;
        transition: transform 0.3s ease;
    }

    .custom-education-theme-megamenu-more:hover i {
        transform: translateX(-4px);
    }

[dir="rtl"] .custom-education-theme-megamenu-more:hover i {
    transform: translateX(4px);
}

.custom-education-theme-dropdown {
    width: 240px;
    background: var(--megamenu-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px var(--accent-dark-glow-25);
    padding: 12px;
    list-style: none;
}

[data-theme="dark"] .custom-education-theme-dropdown {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.custom-education-theme-dropdown li {
    position: relative;
}

    .custom-education-theme-dropdown li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 14px;
        border-radius: var(--radius-md);
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 500;
        transition: var(--transition);
    }

        .custom-education-theme-dropdown li > a i {
            font-size: 0.7rem;
            transition: var(--transition);
        }

        .custom-education-theme-dropdown li > a:hover {
            background: var(--accent-glow-10);
            color: var(--accent);
            transform: translateX(-4px);
        }

[dir="rtl"] .custom-education-theme-dropdown li > a:hover {
    transform: translateX(4px);
}

.custom-education-theme-dropdown li > a:hover i {
    transform: translateX(-3px);
}

.custom-education-theme-dropdown .custom-education-theme-dropdown-wrap {
    top: -12px;
    left: calc(100% + 0px);
    right: auto;
    transform: none;
    padding-top: 0;
    padding-left: 12px;
    padding-right: 0;
}

[dir="rtl"] .custom-education-theme-dropdown .custom-education-theme-dropdown-wrap {
    left: auto;
    right: calc(100% + 0px);
    padding-left: 0;
    padding-right: 12px;
}

.custom-education-theme-dropdown li:hover > .custom-education-theme-dropdown-wrap,
.custom-education-theme-dropdown li.custom-education-theme-open > .custom-education-theme-dropdown-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.custom-education-theme-dropdown .custom-education-theme-dropdown {
    width: 200px;
}

    .custom-education-theme-dropdown .custom-education-theme-dropdown li > a {
        font-size: 0.84rem;
    }

/* ============ LANGUAGE DROPDOWN ============ */
.custom-education-theme-lang-dropdown {
    position: relative;
    display: inline-block;
}

.custom-education-theme-lang-toggle {
    gap: 6px;
    padding: 0 12px !important;
    width: auto !important;
}

.custom-education-theme-lang-current {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.custom-education-theme-lang-arrow {
    font-size: 0.65rem;
    transition: var(--transition);
}

.custom-education-theme-lang-dropdown.custom-education-theme-open .custom-education-theme-lang-arrow {
    transform: rotate(180deg);
}

/* ============ MENU ============ */
.custom-education-theme-lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 190px;
    background: var(--megamenu-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow-hover);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.96);
    transform-origin: top left;
    transition: var(--transition);
    z-index: 1000;
}

[dir="rtl"] .custom-education-theme-lang-menu {
    left: auto;
    right: 0;
    transform-origin: top right;
}

.custom-education-theme-lang-dropdown.custom-education-theme-open .custom-education-theme-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* ============ ITEMS ============ */
.custom-education-theme-lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

    .custom-education-theme-lang-item:hover {
        background: var(--accent-glow-10);
        color: var(--accent);
        transform: translateX(-3px);
    }

[dir="ltr"] .custom-education-theme-lang-item:hover {
    transform: translateX(3px);
}

.custom-education-theme-lang-flag {
    font-size: 1.15rem;
    line-height: 1;
}

.custom-education-theme-lang-name {
    flex: 1;
}

.custom-education-theme-lang-code {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.custom-education-theme-lang-check {
    display: none;
    color: var(--accent);
    font-size: 0.85rem;
}

.custom-education-theme-lang-item.custom-education-theme-active {
    background: var(--accent-glow-15);
    color: var(--accent);
}

    .custom-education-theme-lang-item.custom-education-theme-active .custom-education-theme-lang-code {
        background: var(--accent-glow-20);
        color: var(--accent);
        border-color: var(--accent-glow-30);
    }

    .custom-education-theme-lang-item.custom-education-theme-active .custom-education-theme-lang-check {
        display: inline-block;
    }

/* ============ HEADER RESPONSIVE ============ */
@media (max-width: 1500px) {
    .custom-education-theme-search-box {
        width: 260px;
    }

        .custom-education-theme-search-box:focus-within {
            width: 320px;
        }
}

@media (max-width: 1400px) {
    .custom-education-theme-navbar-links > li > a {
        padding: 8px 12px;
        font-size: 0.88rem;
    }

    .custom-education-theme-search-box {
        width: 220px;
    }

        .custom-education-theme-search-box:focus-within {
            width: 280px;
        }
}

@media (max-width: 1300px) {
    .custom-education-theme-megamenu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-education-theme-megamenu {
        width: 700px;
    }

    .custom-education-theme-mega-item.custom-education-theme-featured {
        grid-column: span 2;
    }

    .custom-education-theme-search-box {
        width: 180px;
    }

        .custom-education-theme-search-box:focus-within {
            width: 240px;
        }
}

@media (max-width: 1200px) and (min-width: 901px) {
    .custom-education-theme-navbar-inner {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .custom-education-theme-navbar-brand {
        flex: 0 0 auto;
        order: 1;
    }

        .custom-education-theme-navbar-brand .custom-education-theme-search-box {
            display: none;
        }

    .custom-education-theme-navbar-links {
        order: 2;
        margin-left: auto;
        margin-right: auto;
    }

    .custom-education-theme-navbar-actions {
        order: 3;
    }

    .custom-education-theme-hamburger {
        order: 4;
    }

    .custom-education-theme-search-row {
        order: 5;
        flex-basis: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
    }

        .custom-education-theme-search-row .custom-education-theme-search-box {
            width: 100%;
            max-width: 100%;
        }

            .custom-education-theme-search-row .custom-education-theme-search-box:focus-within {
                width: 100%;
                max-width: 100%;
            }
}

@media (min-width: 1201px) {
    .custom-education-theme-search-row {
        display: none;
    }
}

@media (max-width: 900px) {
    .custom-education-theme-navbar-inner {
        gap: 12px;
        flex-wrap: wrap;
    }

    .custom-education-theme-navbar-brand {
        order: 1;
        flex: 1;
        flex-wrap: nowrap;
        min-width: 0;
    }

        .custom-education-theme-navbar-brand .custom-education-theme-search-box,
        .custom-education-theme-search-row {
            display: none !important;
        }

    .custom-education-theme-hamburger {
        order: 2;
        display: flex;
        margin-right: 0;
    }

    .custom-education-theme-navbar-actions {
        order: 3;
    }

    .custom-education-theme-navbar-links {
        order: 4;
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        background: var(--mobile-menu-bg);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-lg);
        padding: 16px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
        gap: 12px;
        margin: 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    [data-theme="dark"] .custom-education-theme-navbar-links {
        background: rgba(13, 13, 32, 0.97);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    }

    .custom-education-theme-navbar-links.custom-education-theme-open {
        display: flex;
        animation: customEducationThemeSlideDown 0.35s ease;
    }

    .custom-education-theme-navbar-links .custom-education-theme-search-box {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 8px;
        flex-shrink: 0;
    }

        .custom-education-theme-navbar-links .custom-education-theme-search-box:focus-within {
            width: 100% !important;
            max-width: 100% !important;
        }

    @keyframes customEducationThemeSlideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .custom-education-theme-navbar-links > li {
        width: 100%;
    }

        .custom-education-theme-navbar-links > li > a {
            width: 100%;
            padding: 14px 18px;
            border-radius: var(--radius-md);
            font-size: 0.95rem;
            justify-content: space-between;
            background: var(--accent-glow-05);
            border: 1px solid var(--glass-border);
        }

            .custom-education-theme-navbar-links > li > a i.custom-education-theme-arrow {
                font-size: 0.75rem;
            }

        .custom-education-theme-navbar-links > li.custom-education-theme-open > a i.custom-education-theme-arrow {
            transform: rotate(180deg);
        }

        .custom-education-theme-navbar-links > li:hover > a i.custom-education-theme-arrow {
            transform: none;
        }

    .custom-education-theme-dropdown-wrap {
        position: static;
        transform: none;
        padding-top: 0;
        visibility: visible;
        pointer-events: auto;
        display: block;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        margin-top: 0;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), margin-top 0.4s ease, opacity 0.3s ease;
    }

    .custom-education-theme-navbar-links > li.custom-education-theme-open > .custom-education-theme-dropdown-wrap,
    .custom-education-theme-dropdown li.custom-education-theme-open > .custom-education-theme-dropdown-wrap {
        max-height: 2000px;
        overflow-y: auto;
        margin-top: 10px;
        opacity: 1;
    }

    .custom-education-theme-megamenu {
        position: static;
        width: 100%;
        max-width: 100%;
        max-height: none;
        padding: 10px;
        background: var(--accent-glow-04);
        box-shadow: none;
        border-radius: var(--radius-md);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .custom-education-theme-megamenu-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .custom-education-theme-megamenu-footer {
        display: none;
    }

    .custom-education-theme-mega-item {
        background: transparent;
        padding: 8px;
    }

        .custom-education-theme-mega-item.custom-education-theme-featured {
            grid-column: span 1;
            padding: 8px;
            background: transparent;
            border: 1px solid transparent;
        }

    .custom-education-theme-mega-item-img {
        display: none;
    }

    .custom-education-theme-mega-item-info h5 {
        font-size: 0.88rem;
    }

    .custom-education-theme-mega-item.custom-education-theme-featured .custom-education-theme-mega-item-info h5 {
        font-size: 0.92rem;
    }

    .custom-education-theme-mega-item-info p {
        font-size: 0.75rem;
        -webkit-line-clamp: 1;
    }

    .custom-education-theme-mega-item.custom-education-theme-featured .custom-education-theme-mega-item-info p {
        font-size: 0.75rem;
        -webkit-line-clamp: 1;
    }

    .custom-education-theme-mega-item.custom-education-theme-featured .custom-education-theme-mega-item-info .custom-education-theme-mega-price {
        font-size: 0.82rem;
    }

    .custom-education-theme-dropdown {
        width: 100%;
        padding: 10px;
        background: var(--accent-glow-04);
        box-shadow: none;
        border-radius: var(--radius-md);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

        .custom-education-theme-dropdown li > a {
            background: var(--accent-glow-03);
            margin-bottom: 6px;
            border-radius: var(--radius-sm);
        }

        .custom-education-theme-dropdown .custom-education-theme-dropdown-wrap {
            position: static;
            padding: 0;
            margin-top: 0;
            transform: none;
        }

    [dir="rtl"] .custom-education-theme-dropdown .custom-education-theme-dropdown-wrap {
        position: static;
        padding: 0;
    }

    .custom-education-theme-dropdown .custom-education-theme-dropdown {
        width: 100%;
        padding: 6px 16px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-right: 2px solid var(--accent-glow-20);
    }

    [dir="rtl"] .custom-education-theme-dropdown .custom-education-theme-dropdown {
        padding: 6px 16px;
        border-right: 2px solid var(--accent-glow-20);
        border-left: none;
    }

    .custom-education-theme-dropdown .custom-education-theme-dropdown li > a {
        background: transparent;
        padding: 8px 12px;
    }

    .custom-education-theme-dropdown li > a > i.fa-chevron-left {
        transform: rotate(-90deg);
        transition: transform 0.3s ease;
    }

    [dir="rtl"] .custom-education-theme-dropdown li > a > i.fa-chevron-left {
        transform: rotate(-90deg);
    }

    .custom-education-theme-dropdown li.custom-education-theme-open > a > i.fa-chevron-left {
        transform: rotate(0deg);
    }

    .custom-education-theme-dropdown li:hover > a > i.fa-chevron-left {
        transform: rotate(-90deg);
    }

    [dir="rtl"] .custom-education-theme-dropdown li:hover > a > i.fa-chevron-left {
        transform: rotate(-90deg);
    }
}

@media (max-width: 640px) {
    .custom-education-theme-navbar {
        padding: 10px 16px;
    }

    .custom-education-theme-navbar-logo {
        font-size: 1.15rem;
    }

        .custom-education-theme-navbar-logo i {
            font-size: 1.5rem;
        }

    .custom-education-theme-navbar-actions .custom-education-theme-action-btn {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

        .custom-education-theme-navbar-actions .custom-education-theme-action-btn.custom-education-theme-login-btn {
            padding: 8px 12px;
            font-size: 0.82rem;
        }

    .custom-education-theme-lang-current,
    .custom-education-theme-lang-arrow {
        display: none;
    }

    .custom-education-theme-lang-toggle {
        padding: 0 !important;
        width: 42px !important;
    }

    .custom-education-theme-lang-menu {
        min-width: 170px;
    }
}