/* Shree Dayaa — main navigation (desktop single row + mobile drawer) */

.wpo-site-header .sdf-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 72px;
}

.wpo-site-header .sdf-nav-mobile {
    display: none;
}

.wpo-site-header .sdf-nav-menu {
    flex: 1 1 auto;
    min-width: 0;
}

.wpo-site-header .sdf-nav-cta {
    flex: 0 0 auto;
}

/* Desktop: one horizontal row, no wrap */
@media (min-width: 992px) {
    .wpo-site-header .navigation > .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wpo-site-header .sdf-nav-menu.navigation-holder {
        display: flex !important;
        align-items: center;
        justify-content: center;
        height: auto !important;
        width: auto !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }

    .wpo-site-header .sdf-nav-menu .menu-close {
        display: none !important;
    }

    .wpo-site-header .sdf-nav-list.navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    .wpo-site-header .sdf-nav-list > li {
        float: none !important;
        flex: 0 0 auto;
    }

    .wpo-site-header .sdf-nav-list > li > a {
        display: block;
        padding: 24px 10px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        color: #fff !important;
        text-transform: capitalize;
    }

    .wpo-site-header .sdf-nav-list > li > a:hover,
    .wpo-site-header .sdf-nav-list > li > a.active {
        color: #ffb40a !important;
    }

    .wpo-site-header .sdf-nav-cta.header-right {
        margin-left: 8px;
        padding-left: 16px;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }

    .wpo-site-header .header-right.sdf-nav-cta > div:last-child {
        margin-left: 0 !important;
    }

    .wpo-site-header .header-right.sdf-nav-cta > div:last-child::before {
        display: none !important;
        content: none !important;
    }
}

@media (min-width: 1200px) {
    .wpo-site-header .sdf-nav-list > li > a {
        padding: 26px 12px !important;
        font-size: 15px !important;
    }
}

@media (min-width: 1400px) {
    .wpo-site-header .navigation > .container-fluid {
        padding-left: 24px;
        padding-right: 24px;
    }

    .wpo-site-header .sdf-nav-list > li > a {
        padding: 28px 14px !important;
        font-size: 16px !important;
    }
}

/* Tight laptops: slightly smaller menu text */
@media (min-width: 992px) and (max-width: 1199px) {
    .wpo-site-header .sdf-nav-list > li > a {
        padding: 22px 7px !important;
        font-size: 13px !important;
    }

    .wpo-site-header .header-right .close-form.sdf-header-cta-pair .theme-btn.sdf-header-cta {
        padding: 8px 14px !important;
        font-size: 10px !important;
    }
}

/* Mobile & tablet: hamburger + logo + CTA on one row */
@media (max-width: 991px) {
    .wpo-site-header .sdf-nav-bar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "toggle logo cta"
            "menu menu menu";
        align-items: center;
        gap: 10px 12px;
        min-height: 64px;
        padding: 10px 0;
    }

    .wpo-site-header .sdf-nav-mobile {
        display: contents;
    }

    .wpo-site-header .sdf-nav-mobile .mobail-menu {
        grid-area: toggle;
    }

    .wpo-site-header .sdf-nav-mobile .navbar-header {
        grid-area: logo;
        justify-self: center;
        display: block !important;
        margin: 0;
    }

    .wpo-site-header .sdf-nav-cta {
        grid-area: cta;
        justify-self: end;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .wpo-site-header .sdf-nav-menu {
        grid-area: menu;
    }

    .wpo-site-header .sdf-nav-list.navbar-nav {
        display: block !important;
    }
}

@media (max-width: 575px) {
    .wpo-site-header .sdf-nav-mobile .navbar-brand img {
        max-width: 110px;
    }

    .wpo-site-header .header-right .close-form.sdf-header-cta-pair .theme-btn.sdf-header-cta {
        padding: 8px 12px !important;
        font-size: 9px !important;
    }
}
