/* ============================================================
   ELEGANT DRIVING ACADEMY
   CLEAN DESKTOP HEADER STYLESHEET

   Blue: #234084
   Red:  #DC2C1D

   Desktop: 993px+
   Mobile navigation is managed separately.
   ============================================================ */

@media (min-width: 993px) {

    /* ========================================================
       1. DESKTOP HEADER
       ======================================================== */

    .eda-header-desktop {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1050;
        background: #ffffff;
        font-family: 'Poppins', sans-serif;
        box-shadow: 0 3px 18px rgba(20, 42, 83, 0.08);
    }

    .eda-header-desktop *,
    .eda-header-desktop *::before,
    .eda-header-desktop *::after {
        box-sizing: border-box;
    }

    #eda-mobile-nav {
        display: none !important;
    }

    /* ========================================================
       2. BLUE TOP BAR
       ======================================================== */

    .eda-header-topbar {
        width: 100%;
        min-height: 36px;
        background: #234084;
        color: #ffffff;
    }

    .eda-header-topbar-inner {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
        width: min(100% - 40px, 1440px);
        min-height: 36px;
        margin: 0 auto;
    }

    .eda-header-top-links {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .eda-header-top-links li {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .eda-header-top-links li + li::before {
        content: "|";
        color: rgba(255, 255, 255, 0.45);
        margin: 0 12px;
        font-size: 12px;
    }

    .eda-header-top-links a {
        display: inline-block;
        color: #ffffff;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.5;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.2s ease;
    }

    .eda-header-top-links a:hover,
    .eda-header-top-links a:focus-visible {
        color: #dbe6ff;
    }

    /* ========================================================
       3. SOCIAL MEDIA
       ======================================================== */

    .eda-header-social {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-shrink: 0;
        gap: 12px;
        margin: 0;
        padding: 0;
    }

    .eda-header-social::before {
        content: "|";
        display: inline-block;
        color: rgba(255, 255, 255, 0.45);
        font-size: 12px;
        line-height: 1;
        margin: 0 12px;
    }

    .eda-header-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        color: #ffffff;
        font-size: 15px;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

    .eda-header-social a:hover,
    .eda-header-social a:focus-visible {
        color: #ffffff;
        opacity: 0.8;
    }

    /* ========================================================
       4. MAIN WHITE NAVIGATION
       ======================================================== */

    .eda-header-main {
        position: relative;
        width: 100%;
        background: #ffffff;
    }

    .eda-header-main-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        width: min(100% - 40px, 1440px);
        min-height: 84px;
        margin: 0 auto;
    }

    /* ========================================================
       5. LOGO
       ======================================================== */

    .eda-header-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        text-decoration: none;
    }

    .eda-header-logo img {
        display: block;
        width: auto;
        max-width: 190px;
        max-height: 62px;
        height: auto;
        object-fit: contain;
    }

    /* ========================================================
       6. MAIN MENU
       ======================================================== */

    .eda-header-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        gap: 4px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .eda-header-menu-item {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .eda-header-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 46px;
        padding: 11px 15px;
        border: 0;
        border-radius: 5px;
        background: transparent;
        color: #202a3b;
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
        letter-spacing: 0.2px;
        text-transform: uppercase;
        white-space: nowrap;
        cursor: pointer;
        transition:
            background-color 0.2s ease,
            color 0.2s ease;
    }

    .eda-header-menu-toggle:hover,
    .eda-header-menu-toggle:focus-visible {
        background: rgba(35, 64, 132, 0.07);
        color: #234084;
    }

    .eda-header-menu-toggle[aria-expanded="true"] {
        background: #f1f5fb;
        color: #234084;
    }

    /* ========================================================
       7. SMALL DROPDOWN CHEVRONS
       ======================================================== */

    .eda-header-plus {
        position: relative;
        display: inline-block;
        width: 10px;
        height: 10px;
        flex-shrink: 0;
        margin-left: 2px;
    }

    .eda-header-plus::before {
        content: "";
        position: absolute;
        top: 1px;
        left: 1px;
        width: 7px;
        height: 7px;
        border-right: 1.7px solid currentColor;
        border-bottom: 1.7px solid currentColor;
        border-radius: 0;
        background: transparent;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
    }

    .eda-header-plus::after {
        content: none;
        display: none;
    }

    .eda-header-menu-toggle[aria-expanded="true"]
    .eda-header-plus::before {
        transform: translateY(3px) rotate(225deg);
    }

    /* ========================================================
       8. BOOK LESSONS / CONTACT US
       ======================================================== */

    .eda-header-actions {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        gap: 18px;
    }

    .eda-header-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 43px;
        padding: 11px 16px;
        border-radius: 4px;
        color: #ffffff;
        font-family: 'Poppins', sans-serif;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: 0.2px;
        text-decoration: none;
        text-transform: uppercase;
        white-space: nowrap;
        transition: background-color 0.2s ease;
    }

    .eda-header-action-book {
        background: #DC2C1D;
    }

    .eda-header-action-book:hover,
    .eda-header-action-book:focus-visible {
        background: #bd2115;
        color: #ffffff;
    }

    .eda-header-action-contact {
        background: #234084;
    }

    .eda-header-action-contact:hover,
    .eda-header-action-contact:focus-visible {
        background: #192f65;
        color: #ffffff;
    }

    /* ========================================================
       9. DESKTOP CART ICON
       Existing working behaviour preserved.
       ======================================================== */

    .eda-header-desktop .eda-header-cart-slot {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 45px;
        min-height: 45px;
        flex-shrink: 0;
    }

    .eda-header-desktop .eda-header-cart-slot
    .cart-elegent-mobile-menu-upper {
        display: flex !important;
        position: relative !important;
        align-items: center;
        justify-content: center;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: transparent !important;
        cursor: pointer;
    }

    .eda-header-desktop .eda-header-cart-slot
    .cart-elegent-bars {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
    }

    .eda-header-desktop .eda-header-cart-slot
    .subscript-count-1 {
        display: inline-flex !important;
        position: relative !important;
        align-items: center;
        justify-content: center;
        font-size: 21px !important;
        color: #234084 !important;
    }

    .eda-header-desktop .eda-header-cart-slot
    .subscript-count-1 > i {
        display: inline-block !important;
        color: #234084 !important;
        font-size: 21px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .eda-header-desktop .eda-header-cart-slot
    .subscript-count {
        position: absolute !important;
        top: -10px !important;
        right: -13px !important;
        min-width: 17px;
        height: 17px;
        border-radius: 50%;
        background: #DC2C1D !important;
        color: #ffffff !important;
        font-size: 10px !important;
        line-height: 17px !important;
        text-align: center;
    }

    /* ========================================================
       10. EXPANDING SUBMENU CONTAINER
       ======================================================== */

    .eda-header-submenu-area {
        width: 100%;
        background: #f1f5fb;
        border-top: 1px solid #e4eaf3;
        overflow: hidden;
        max-height: 0;
        visibility: hidden;
        transition:
            max-height 0.3s ease,
            visibility 0.3s ease;
    }

    .eda-header-submenu-area.is-open {
        max-height: 200px;
        visibility: visible;
    }

    .eda-header-submenu-panel {
        display: none;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 28px;
        width: min(100% - 40px, 1440px);
        margin: 0 auto;
        padding: 12px 0;
    }

    .eda-header-submenu-panel.is-active {
        display: flex;
    }

    .eda-header-submenu-panel a {
        color: #234084;
        font-family: 'Poppins', sans-serif;
        text-decoration: none;
    }

    /* ========================================================
       11. SHARED DROPDOWN HOVER DESIGN
       Same light-blue background and red underline
       across all three menus.
       ======================================================== */

    .eda-header-submenu-panel > a {
        position: relative;
        background: transparent;
        border-radius: 7px;
        transition:
            background-color 0.2s ease,
            color 0.2s ease;
    }

    .eda-header-submenu-panel > a::after {
        content: "";
        position: absolute;
        left: 35%;
        right: 35%;
        bottom: 5px;
        height: 2px;
        border-radius: 2px;
        background: #DC2C1D;
        opacity: 0;
        transform: scaleX(0.5);
        transition:
            opacity 0.2s ease,
            transform 0.2s ease;
    }

    .eda-header-submenu-panel > a:hover,
    .eda-header-submenu-panel > a:focus-visible {
        background: #e5edf9;
        color: #234084;
    }

    .eda-header-submenu-panel > a:hover::after,
    .eda-header-submenu-panel > a:focus-visible::after {
        opacity: 1;
        transform: scaleX(1);
    }

    /* ========================================================
       12. CAR TRAINING
       Six columns; all titles aligned at the top.
       ======================================================== */

    #eda-submenu-car.is-active {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        align-items: stretch;
        gap: 6px;
        padding: 12px 0;
    }

    #eda-submenu-car > a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        min-width: 0;
        min-height: 72px;
        padding: 13px 7px 15px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.45;
        text-align: center;
    }

    #eda-submenu-car .eda-header-program-title {
        display: block;
        color: #234084;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.45;
    }

    #eda-submenu-car .eda-header-program-subtitle {
        display: block;
        color: #718096;
        font-size: 10px;
        font-weight: 400;
        line-height: 1.5;
    }

    /* ========================================================
       13. COMMERCIAL TRAINING
       Two programs with subtitles.
       ======================================================== */

    #eda-submenu-commercial.is-active {
        display: flex;
        align-items: stretch;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 20px;
        padding: 12px 0;
    }

    #eda-submenu-commercial > a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        min-width: 230px;
        min-height: 72px;
        padding: 13px 18px 15px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.45;
        text-align: center;
    }

    #eda-submenu-commercial .eda-header-program-title,
    #eda-submenu-commercial > a > span:first-child {
        display: block;
        color: #234084;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.45;
    }

    #eda-submenu-commercial .eda-header-program-subtitle,
    #eda-submenu-commercial > a > span:nth-child(2) {
        display: block;
        color: #718096;
        font-size: 10px;
        font-weight: 400;
        line-height: 1.5;
    }

    /* ========================================================
       14. ACCOUNT LOGIN
       Compact design, icons on left.
       Same hover underline as other menus.
       ======================================================== */

    #eda-submenu-account.is-active {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 20px;
        padding: 12px 0;
    }

    #eda-submenu-account > a {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        min-width: 240px;
        min-height: 72px;
        padding: 10px 18px 10px 66px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
        text-align: left;
    }

    #eda-submenu-account > a::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 9px;
        background: #e4ebf8;
        color: #234084;
        font-family: "Font Awesome 5 Free", "FontAwesome";
        font-size: 18px;
        font-weight: 900;
        transform: translateY(-50%);
    }

    /* Student / Student Portal icon */

    #eda-submenu-account > a:first-child::before {
        content: "\f19d";
    }

    /* Instructor / Logout icon */

    #eda-submenu-account > a:nth-child(2)::before {
        content: "\f007";
    }

    #eda-submenu-account > a > span {
        display: block;
    }

    #eda-submenu-account > a > span:first-child {
        color: #234084;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
    }

    #eda-submenu-account > a > span:nth-child(2) {
        margin-top: 4px;
        color: #718096;
        font-size: 10px;
        font-weight: 400;
        line-height: 1.5;
    }

    /* ========================================================
       15. DESKTOP CART DRAWER
       Existing working layout preserved.
       ======================================================== */

    .cart-ttt {
        position: fixed !important;
        top: 120px !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: 400px !important;
        max-width: 100vw !important;
        height: calc(100vh - 120px) !important;
        height: calc(100dvh - 120px) !important;
        background: #ffffff !important;
        z-index: 1040 !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    .cart-ttt .cart-inner-div {
        position: relative !important;
        display: block !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .cart-ttt .cart-elegent-mobile-menu-lower-2 {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
        background: #ffffff !important;
    }

    .cart-ttt .eda-cart-drawer-content {
        padding: 75px 20px 30px !important;
        box-sizing: border-box;
    }

    /* ========================================================
       16. EMPTY CART - DESKTOP ONLY
       ======================================================== */
/* ========================================================
   16. EMPTY CART - DESKTOP ONLY
   ======================================================== */

/* Empty Cart Container */

.cart-ttt .eda-drawer-empty {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5px;
    box-sizing: border-box;
    text-align: center;
}

/* Empty Cart Icon - Blue and Larger */

.cart-ttt .eda-drawer-empty i {
    color: #234084 !important;
    font-size: 40px !important;
    line-height: 1;
    margin-bottom: 12px;
}

.cart-ttt .eda-drawer-empty svg {
    width: 40px !important;
    height: 40px !important;
    color: #234084 !important;
    fill: currentColor;
    margin-bottom: 12px;
}

/* Empty Cart Heading */

.cart-ttt .eda-drawer-empty h3 {
    color: #234084 !important;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}

/* Empty Cart Description */

.cart-ttt .eda-drawer-empty p {
    color: #555555 !important;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Explore Driving Courses Button */

.cart-ttt .eda-drawer-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    background: #234084 !important;
    color: #ffffff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* Blue Hover - No Red */

.cart-ttt .eda-drawer-empty a:hover,
.cart-ttt .eda-drawer-empty a:focus-visible {
    background: #234084 !important;
    color: #ffffff !important;
}
	
    /* ========================================================
       17. SOLID BLUE CART CLOSE BUTTON
       ======================================================== */

    .cart-ttt .cross-icon-elegent,
    .cart-ttt .cross-icon-elegent:hover {
        position: absolute !important;
        top: 18px !important;
        right: 18px !important;
        left: auto !important;
        z-index: 1045 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px !important;
        height: 42px !important;
        border-radius: 50%;
        background: #234084 !important;
        color: #ffffff !important;
        cursor: pointer;
        transform: none !important;
        transition: none !important;
    }

    .cart-ttt .cross-icon-elegent i {
        display: block !important;
        color: #ffffff !important;
        font-size: 20px;
    }

    /* ========================================================
       18. SMALLER DESKTOP SCREENS
       ======================================================== */

    @media (max-width: 1250px) {

        .eda-header-main-inner {
            gap: 10px;
        }

        .eda-header-logo img {
            max-width: 155px;
        }

        .eda-header-menu-toggle {
            padding: 10px 9px;
            font-size: 11px;
            gap: 6px;
        }

        .eda-header-action {
            padding: 10px 11px;
            font-size: 10px;
        }

        .eda-header-actions {
            gap: 18px;
        }

        .eda-header-top-links li + li::before {
            margin: 0 9px;
        }

        .eda-header-social::before {
            margin: 0 9px;
        }

        #eda-submenu-car > a {
            padding-left: 4px;
            padding-right: 4px;
        }

        #eda-submenu-car .eda-header-program-title {
            font-size: 11px;
        }

        #eda-submenu-car .eda-header-program-subtitle {
            font-size: 9px;
        }
    }
}

/* ============================================================
   19. MOBILE HEADER
   Existing mobile navigation remains unchanged.
   ============================================================ */

@media (max-width: 992px) {

    .eda-header-desktop {
        display: none !important;
    }
}

/* ============================================================
   END OF DESKTOP HEADER STYLESHEET
   ============================================================ */
