/* ==========================================================
   ADAOWERRI KITCHEN DESIGN SYSTEM
   HEADER.CSS
   Version: 1.0
   Mobile-first responsive header
   ========================================================== */


/* ==========================================================
   HEADER FOUNDATION
   ========================================================== */

.site-header,
.ast-primary-header-bar,
.awk-site-header {
    position: relative;
    z-index: var(--z-header);
    width: 100%;
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-border);
}

.awk-site-header {
    min-height: var(--mobile-header-height);
}

.awk-site-header.is-sticky {
    position: sticky;
    top: 0;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-xs);
}

.admin-bar .awk-site-header.is-sticky {
    top: 46px;
}

.awk-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--mobile-header-height);
    gap: var(--space-md);
}


/* ==========================================================
   BRAND / LOGO
   ========================================================== */

.awk-site-branding,
.site-branding {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.awk-site-logo,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 170px;
}

.awk-site-logo img,
.custom-logo-link img,
.custom-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
}

.awk-brand-text {
    display: flex;
    flex-direction: column;
    margin-left: var(--space-sm);
}

.awk-brand-name {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: var(--fw-bold);
    line-height: 1.1;
}

.awk-brand-tagline {
    margin-top: 0.2rem;
    color: var(--color-text-light);
    font-size: var(--font-size-xs);
    line-height: 1.2;
}


/* ==========================================================
   DESKTOP NAVIGATION
   ========================================================== */

.awk-primary-nav,
.main-header-menu {
    display: none;
}

.awk-primary-nav ul,
.main-header-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.awk-primary-nav > ul,
.main-header-menu {
    align-items: center;
    gap: 0.25rem;
}

.awk-primary-nav li,
.main-header-menu > li {
    position: relative;
    margin: 0;
}

.awk-primary-nav a,
.main-header-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.65rem 0.9rem;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: var(--fw-semibold);
    line-height: 1;
    border-radius: var(--radius-pill);
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast);
}

.awk-primary-nav a:hover,
.awk-primary-nav a:focus,
.main-header-menu > li > a:hover,
.main-header-menu > li > a:focus {
    color: var(--color-primary-dark);
    background-color: rgba(31, 94, 59, 0.08);
}

.awk-primary-nav .current-menu-item > a,
.awk-primary-nav .current_page_item > a,
.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_item > a {
    color: var(--color-primary-dark);
    background-color: rgba(31, 94, 59, 0.1);
}


/* ==========================================================
   DROPDOWN NAVIGATION
   ========================================================== */

.awk-primary-nav .sub-menu,
.main-header-menu .sub-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    z-index: var(--z-dropdown);
    display: block;
    min-width: 220px;
    padding: var(--space-sm);
    margin: 0;
    visibility: hidden;
    opacity: 0;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transform: translateY(8px);
    transition:
        opacity var(--transition-fast),
        visibility var(--transition-fast),
        transform var(--transition-fast);
}

.awk-primary-nav li:hover > .sub-menu,
.awk-primary-nav li:focus-within > .sub-menu,
.main-header-menu li:hover > .sub-menu,
.main-header-menu li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.awk-primary-nav .sub-menu a,
.main-header-menu .sub-menu a {
    display: flex;
    width: 100%;
    padding: 0.75rem 0.9rem;
    color: var(--color-text);
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
}

.awk-primary-nav .sub-menu a:hover,
.awk-primary-nav .sub-menu a:focus,
.main-header-menu .sub-menu a:hover,
.main-header-menu .sub-menu a:focus {
    color: var(--color-primary-dark);
    background-color: var(--color-bg-alt);
}


/* ==========================================================
   HEADER ACTIONS
   ========================================================== */

.awk-header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-left: auto;
}

.awk-header-order {
    display: none;
}

.awk-header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    color: var(--color-text);
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.awk-header-icon:hover,
.awk-header-icon:focus {
    color: var(--color-white);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.awk-header-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.awk-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.3rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: var(--fw-bold);
    line-height: 1;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-white);
    border-radius: var(--radius-pill);
}


/* ==========================================================
   MOBILE MENU TOGGLE
   ========================================================== */

.awk-menu-toggle,
.menu-toggle,
.ast-mobile-menu-trigger-minimal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    color: var(--color-text);
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}

.awk-menu-toggle:hover,
.awk-menu-toggle:focus,
.menu-toggle:hover,
.menu-toggle:focus {
    color: var(--color-white);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.awk-menu-toggle-lines {
    position: relative;
    width: 20px;
    height: 14px;
}

.awk-menu-toggle-lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: var(--radius-pill);
    transition:
        top var(--transition-fast),
        transform var(--transition-fast),
        opacity var(--transition-fast);
}

.awk-menu-toggle-lines span:nth-child(1) {
    top: 0;
}

.awk-menu-toggle-lines span:nth-child(2) {
    top: 6px;
}

.awk-menu-toggle-lines span:nth-child(3) {
    top: 12px;
}

.awk-menu-toggle[aria-expanded="true"] .awk-menu-toggle-lines span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.awk-menu-toggle[aria-expanded="true"] .awk-menu-toggle-lines span:nth-child(2) {
    opacity: 0;
}

.awk-menu-toggle[aria-expanded="true"] .awk-menu-toggle-lines span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}


/* ==========================================================
   MOBILE DRAWER
   ========================================================== */

.awk-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    width: min(88vw, 390px);
    visibility: hidden;
    overflow-y: auto;
    background-color: var(--color-white);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.16);
    transform: translateX(100%);
    transition:
        transform var(--transition),
        visibility var(--transition);
}

.awk-mobile-nav.is-open {
    visibility: visible;
    transform: translateX(0);
}

.awk-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--mobile-header-height);
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.awk-mobile-nav-body {
    padding: var(--space-lg);
}

.awk-mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.awk-mobile-nav li {
    margin: 0;
    border-bottom: 1px solid var(--color-border);
}

.awk-mobile-nav li:last-child {
    border-bottom: 0;
}

.awk-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0.8rem 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: var(--fw-semibold);
}

.awk-mobile-nav a:hover,
.awk-mobile-nav a:focus,
.awk-mobile-nav .current-menu-item > a {
    color: var(--color-primary);
}

.awk-mobile-nav-actions {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}


/* ==========================================================
   MOBILE OVERLAY
   ========================================================== */

.awk-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    visibility: hidden;
    opacity: 0;
    background-color: rgba(16, 16, 16, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition:
        opacity var(--transition-fast),
        visibility var(--transition-fast);
}

.awk-menu-overlay.is-visible {
    visibility: visible;
    opacity: 1;
}

body.awk-menu-open {
    overflow: hidden;
}


/* ==========================================================
   ANNOUNCEMENT BAR
   ========================================================== */

.awk-announcement-bar {
    width: 100%;
    color: var(--color-white);
    background-color: var(--color-primary-dark);
}

.awk-announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.45rem 0;
    text-align: center;
}

.awk-announcement-text {
    margin: 0;
    color: inherit;
    font-size: var(--font-size-xs);
    font-weight: var(--fw-medium);
    line-height: 1.4;
}

.awk-announcement-text a {
    color: var(--color-accent-light);
    font-weight: var(--fw-bold);
}

.awk-announcement-text a:hover,
.awk-announcement-text a:focus {
    color: var(--color-white);
}


/* ==========================================================
   HEADER SEARCH
   ========================================================== */

.awk-header-search {
    position: relative;
}

.awk-search-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    z-index: var(--z-dropdown);
    width: min(90vw, 360px);
    padding: var(--space-md);
    visibility: hidden;
    opacity: 0;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transform: translateY(8px);
    transition:
        opacity var(--transition-fast),
        visibility var(--transition-fast),
        transform var(--transition-fast);
}

.awk-search-panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.awk-search-form {
    display: flex;
    gap: var(--space-sm);
}

.awk-search-form input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 0 1rem;
    color: var(--color-text);
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    outline: 0;
}

.awk-search-form input[type="search"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(31, 94, 59, 0.12);
}


/* ==========================================================
   ASTRA HEADER SUPPORT
   ========================================================== */

.ast-primary-header-bar {
    min-height: var(--mobile-header-height);
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--color-border);
}

.ast-builder-grid-row {
    min-height: inherit;
}

.site-header-primary-section-left,
.site-header-primary-section-right {
    align-items: center;
}

.ast-site-identity {
    padding: 0;
}

.site-title,
.site-title a {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
}

.site-title a:hover,
.site-title a:focus {
    color: var(--color-primary);
}

.site-description {
    color: var(--color-text-light);
    font-size: var(--font-size-xs);
}

.ast-header-break-point .main-header-menu {
    background-color: var(--color-white);
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: var(--fw-semibold);
    border-bottom-color: var(--color-border);
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link:hover,
.ast-header-break-point .main-navigation ul .current-menu-item > .menu-link {
    color: var(--color-primary);
}

.ast-header-break-point .ast-mobile-header-wrap .ast-primary-header-bar {
    border-bottom-color: var(--color-border);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (min-width: 768px) {

    .admin-bar .awk-site-header.is-sticky {
        top: 32px;
    }

    .awk-header-inner {
        min-height: 80px;
    }

    .awk-site-logo,
    .custom-logo-link {
        max-width: 190px;
    }

    .awk-site-logo img,
    .custom-logo-link img,
    .custom-logo {
        max-height: 64px;
    }

    .awk-header-order {
        display: inline-flex;
    }

    .awk-mobile-nav {
        width: min(420px, 80vw);
    }
}


/* ==========================================================
   DESKTOP
   ========================================================== */

@media (min-width: 1024px) {

    .awk-site-header,
    .ast-primary-header-bar {
        min-height: var(--header-height);
    }

    .awk-header-inner {
        min-height: var(--header-height);
    }

    .awk-primary-nav,
    .main-header-menu {
        display: flex;
    }

    .awk-menu-toggle,
    .menu-toggle,
    .ast-mobile-menu-trigger-minimal {
        display: none;
    }

    .awk-header-actions {
        gap: var(--space-md);
    }

    .awk-site-logo,
    .custom-logo-link {
        max-width: 210px;
    }

    .awk-site-logo img,
    .custom-logo-link img,
    .custom-logo {
        max-height: 70px;
    }

    .awk-mobile-nav,
    .awk-menu-overlay {
        display: none;
    }
}


/* ==========================================================
   LARGE DESKTOP
   ========================================================== */

@media (min-width: 1280px) {

    .awk-primary-nav > ul,
    .main-header-menu {
        gap: 0.4rem;
    }

    .awk-primary-nav a,
    .main-header-menu > li > a {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .awk-primary-nav a,
    .main-header-menu a,
    .awk-header-icon,
    .awk-menu-toggle,
    .awk-mobile-nav,
    .awk-menu-overlay,
    .awk-search-panel {
        transition: none;
    }

    .awk-header-icon:hover,
    .awk-header-icon:focus {
        transform: none;
    }
}

/* ==========================================================
   ASTRA MOBILE NAVIGATION FIX
   Built by CloudMita Technologies LTD
   ========================================================== */

@media (max-width: 1023px) {

    /* Ensure Astra's hamburger button is visible */

    .ast-header-break-point .ast-mobile-menu-trigger-minimal,
    .ast-header-break-point .menu-toggle,
    .ast-header-break-point .main-header-menu-toggle,
    .ast-header-break-point .ast-button-wrap {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Astra uses this same menu class on mobile.
       It must not inherit the desktop display:none rule. */

    .ast-header-break-point .ast-mobile-header-content .main-header-menu,
    .ast-header-break-point .ast-mobile-header-content .main-navigation,
    .ast-header-break-point .ast-mobile-header-content nav,
    .ast-header-break-point .main-navigation .main-header-menu {
        display: block !important;
    }

    /* Mobile dropdown container */

    .ast-header-break-point .ast-mobile-header-content {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: var(--z-dropdown);
        width: 100%;
        max-height: calc(100vh - 82px);
        overflow-y: auto;
        background:
            linear-gradient(
                135deg,
                rgba(14, 9, 9, 0.99) 0%,
                rgba(5, 29, 19, 0.99) 100%
            );
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
    }

    /* Menu list */

    .ast-header-break-point .ast-mobile-header-content .main-header-menu {
        width: 100%;
        margin: 0;
        padding: 0.75rem 1rem 1.25rem;
        background: transparent;
    }

    .ast-header-break-point .ast-mobile-header-content .main-header-menu > li {
        display: block;
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ast-header-break-point .ast-mobile-header-content .main-header-menu > li:last-child {
        border-bottom: 0;
    }

    /* Mobile menu links */

    .ast-header-break-point
    .ast-mobile-header-content
    .main-header-menu
    .menu-link {
        display: flex !important;
        align-items: center;
        width: 100%;
        min-height: 54px;
        padding: 0.85rem 0.5rem;
        color: rgba(255, 255, 255, 0.9) !important;
        font-family: var(--font-heading);
        font-size: var(--font-size-base);
        font-weight: var(--fw-semibold);
        background: transparent !important;
        border: 0;
        border-radius: 0;
    }

    .ast-header-break-point
    .ast-mobile-header-content
    .main-header-menu
    .menu-link:hover,
    .ast-header-break-point
    .ast-mobile-header-content
    .main-header-menu
    .menu-link:focus {
        color: var(--color-accent-light) !important;
    }

    .ast-header-break-point
    .ast-mobile-header-content
    .main-header-menu
    .current-menu-item
    > .menu-link,
    .ast-header-break-point
    .ast-mobile-header-content
    .main-header-menu
    .current_page_item
    > .menu-link {
        color: var(--color-accent-light) !important;
    }

    /* Hamburger appearance on the dark header */

    .awk-front-page .ast-mobile-menu-trigger-minimal,
    .awk-front-page .main-header-menu-toggle,
    .awk-front-page .menu-toggle {
        width: 46px;
        min-width: 46px;
        height: 46px;
        padding: 0;
        color: var(--color-white) !important;
        background-color: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 50%;
    }

    .awk-front-page .ast-mobile-menu-trigger-minimal:hover,
    .awk-front-page .ast-mobile-menu-trigger-minimal:focus,
    .awk-front-page .main-header-menu-toggle:hover,
    .awk-front-page .main-header-menu-toggle:focus,
    .awk-front-page .menu-toggle:hover,
    .awk-front-page .menu-toggle:focus {
        color: var(--color-white) !important;
        background-color: var(--color-secondary) !important;
        border-color: var(--color-secondary) !important;
    }

    /* Prevent the desktop active underline from appearing
       incorrectly inside the mobile menu */

    .awk-front-page
    .ast-mobile-header-content
    .main-header-menu
    .current-menu-item
    > a::after,
    .awk-front-page
    .ast-mobile-header-content
    .main-header-menu
    .current_page_item
    > a::after {
        display: none;
    }
}
/* ==========================================================
   FORCE MOBILE TOGGLE ON NARROW VIEWPORTS
   Including phone browsers using "Desktop site"
   Built by CloudMita Technologies LTD
   ========================================================== */

@media (max-width: 1023px) {

    /* Hide the full desktop navigation on narrow screens. */
    .main-header-menu,
    .ast-desktop-header-content,
    .site-header-primary-section-right .ast-builder-menu {
        display: none !important;
    }

    /* Keep the mobile/off-canvas trigger available. */
    .ast-mobile-header-wrap,
    .ast-mobile-header-content,
    .ast-button-wrap,
    .menu-toggle,
    .main-header-menu-toggle,
    .ast-mobile-menu-trigger-minimal {
        visibility: visible !important;
    }

    .ast-button-wrap,
    .menu-toggle,
    .main-header-menu-toggle,
    .ast-mobile-menu-trigger-minimal {
        display: inline-flex !important;
        opacity: 1 !important;
    }
}

/* ==========================================================
   SHARED PREMIUM HEADER FOR ALL CUSTOM PAGES
   Built by CloudMita Technologies LTD
   ========================================================== */

/*
 * Apply the same premium header treatment to:
 * Home, Menu, About, Bulk Orders, Delivery, Contact and Blog views.
 */

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: var(--z-header);
    width: 100%;
    background: transparent;
}


/* Header background and height */

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .ast-primary-header-bar {
    min-height: 104px;
    background:
        linear-gradient(
            90deg,
            rgba(16, 8, 8, 0.92) 0%,
            rgba(5, 22, 15, 0.90) 100%
        );
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .ast-builder-grid-row {
    min-height: 104px;
}


/* ==========================================================
   ROUNDED LOGO
   ========================================================== */

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 132px;
    padding: 5px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 24px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .custom-logo-link img,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .custom-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 82px;
    object-fit: contain;
    border-radius: 18px;
}


/* Hide Astra title and tagline beside the logo */

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .site-title,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .site-description,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .ast-site-title-wrap {
    display: none;
}


/* ==========================================================
   NAVIGATION LINKS
   ========================================================== */

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu > li {
    position: relative;
}

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu > li > a,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu > li > .menu-link {
    position: relative;
    color: rgba(255, 255, 255, 0.88);
    background-color: transparent;
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast);
}

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu > li > a:hover,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu > li > a:focus,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu > li > .menu-link:hover,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu > li > .menu-link:focus {
    color: var(--color-accent-light);
    background-color: rgba(255, 255, 255, 0.05);
}


/* ==========================================================
   YELLOW ACTIVE-PAGE UNDERLINE
   ========================================================== */

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu .current-menu-item > a,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu .current_page_item > a,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu .current-menu-ancestor > a {
    color: var(--color-accent-light);
    background-color: transparent;
}

body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu .current-menu-item > a::after,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu .current_page_item > a::after,
body:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .main-header-menu .current-menu-ancestor > a::after {
    position: absolute;
    right: 1rem;
    bottom: 7px;
    left: 1rem;
    height: 3px;
    content: "";
    background-color: var(--color-accent);
    border-radius: var(--radius-pill);
}


/* WordPress admin bar adjustment */

.admin-bar:is(
    .awk-front-page,
    .awk-menu-page-active,
    .awk-about-page-active,
    .awk-bulk-page-active,
    .awk-delivery-page-active,
    .awk-contact-page-active,
    .awk-blog-page-active,
    .awk-blog-archive-active,
    .awk-single-post-active,
    .awk-post-search-active
) .site-header {
    top: 32px;
}


/* ==========================================================
   TABLET AND MOBILE
   ========================================================== */

@media (max-width: 1023px) {

    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .ast-primary-header-bar,
    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .ast-builder-grid-row {
        min-height: 82px;
    }

    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .custom-logo-link {
        max-width: 84px;
        padding: 4px;
        border-radius: 18px;
    }

    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .custom-logo-link img,
    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .custom-logo {
        max-height: 62px;
        border-radius: 14px;
    }

    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .ast-mobile-menu-trigger-minimal,
    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .main-header-menu-toggle,
    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .menu-toggle {
        width: 46px;
        min-width: 46px;
        height: 46px;
        padding: 0;
        color: var(--color-white) !important;
        background-color: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 50%;
    }

    /*
     * Do not show the desktop yellow underline inside
     * the mobile off-canvas navigation.
     */

    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .ast-mobile-header-content
    .current-menu-item
    > a::after,
    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .ast-mobile-header-content
    .current_page_item
    > a::after {
        display: none;
    }
}

@media (max-width: 782px) {

    .admin-bar:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .site-header {
        top: 46px;
    }
}

@media (max-width: 480px) {

    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .custom-logo-link {
        max-width: 74px;
    }

    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .custom-logo-link img,
    body:is(
        .awk-front-page,
        .awk-menu-page-active,
        .awk-about-page-active,
        .awk-bulk-page-active,
        .awk-delivery-page-active,
        .awk-contact-page-active,
        .awk-blog-page-active,
        .awk-blog-archive-active,
        .awk-single-post-active,
        .awk-post-search-active
    ) .custom-logo {
        max-height: 54px;
    }
}
