/* Premium Harvestime header — styles the existing Nest header without replacing its functionality. */
#header_contents,
#header_contents *,
.mobile_header,
.mobile_header * {
    box-sizing: border-box;
}

#header_contents {
    position: relative;
    z-index: 50;
    background: #fff;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

#header_contents .header-area {
    border: 0;
    background: #fff;
}

#header_contents .header-top {
    min-height: 40px;
    padding: 0 !important;
    border: 0 !important;
    background: #0b3026 !important;
}

#header_contents .header-top .auto-container,
#header_contents .header-middle .auto-container {
    width: min(100% - 48px, 1280px);
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 0 !important;
}

#header_contents .header-top .row {
    min-height: 40px;
}

#header_contents .header-top li,
#header_contents .header-top a,
#header_contents .header-top .text-brand,
#header_contents .header-top .news-flash a {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 12px !important;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

#header_contents .header-top a:hover,
#header_contents .header-top a:focus-visible {
    color: #c7e998 !important;
}

#header_contents .header-info-right {
    text-align: right;
}

#header_contents .header-middle {
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
}

#header_contents .header-middle .header-wrap {
    display: flex;
    min-height: 116px;
    gap: clamp(28px, 4vw, 58px);
    padding: 24px 0 !important;
    align-items: center;
}

#header_contents .header-middle .logo-width-1 {
    width: 220px !important;
    max-width: 220px !important;
    flex: 0 0 220px;
}

#header_contents .header-middle .logo img {
    display: block;
    width: 100% !important;
    max-width: 205px !important;
    height: auto !important;
    max-height: 68px;
    object-fit: contain;
}

#header_contents .header-middle .header-right {
    display: flex;
    min-width: 0;
    gap: clamp(22px, 3vw, 42px);
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
}

#header_contents .header-middle .search-style-2 {
    width: auto !important;
    min-width: 300px;
    max-width: 650px;
    flex: 1 1 540px;
}

#header_contents .box-header-search {
    height: 54px;
    overflow: visible;
    border: 1px solid #d9e6de !important;
    border-radius: 14px !important;
    background: #f8faf8 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

#header_contents .box-header-search:focus-within {
    border-color: #65ae82 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(47, 118, 87, 0.1);
}

#header_contents .box-header-search .form-search {
    display: flex;
    height: 100%;
    align-items: center;
}

#header_contents .box-header-search .select2-container,
#header_contents .box-header-search .select2-selection,
#header_contents .box-header-search .select2-selection__rendered,
#header_contents .box-header-search input.search {
    height: 52px !important;
    border: 0 !important;
    background: transparent !important;
    color: #27483e !important;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 52px !important;
}

#header_contents .box-header-search .select2-container {
    min-width: 128px;
    border-right: 1px solid #dfe9e2;
}

#header_contents .box-header-search .select2-selection {
    padding-left: 15px !important;
}

#header_contents .box-header-search .search-wrapper {
    min-width: 0;
    flex: 1 1 auto;
}

#header_contents .box-header-search input.search {
    width: 100%;
    padding: 0 52px 0 18px !important;
}

#header_contents .box-header-search input.search::placeholder {
    color: #87958f;
    opacity: 1;
}

/* Centred with auto block margins rather than a top percentage: the search
   box is 54px and the button 40px, so `top: 0; bottom: 0; margin: auto 0`
   always splits the remaining 14px evenly, whatever the box height becomes.
   A stale cached copy of this file was serving `top: 75%`, which dropped the
   button below centre — a value that can no longer exist here. */
#header_contents .box-header-search .csearchbtn {
    position: absolute;
    top: 0 !important;
    bottom: 0 !important;
    right: 7px;
    display: grid;
    width: 40px;
    height: 40px;
    margin: auto 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 11px;
    place-items: center;
    background: #0e3b2e !important;
    color: #fff !important;
    transform: none !important;
}

#header_contents .header-middle .header-action-right {
    width: auto !important;
    flex: 0 0 auto;
}

#header_contents .header-middle .header-action-2 {
    gap: 18px;
    align-items: center;
}

#header_contents .header-middle .button_text .btn {
    display: inline-flex;
    min-height: 48px;
    gap: 18px;
    padding: 12px 20px !important;
    border: 1px solid #0e3b2e !important;
    border-radius: 999px !important;
    align-items: center;
    justify-content: center;
    background: #0e3b2e !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(14, 59, 46, 0.14);
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

#header_contents .header-middle .button_text .btn:hover,
#header_contents .header-middle .button_text .btn:focus-visible {
    border-color: #2f7657 !important;
    background: #2f7657 !important;
    color: #fff !important;
}

#header_contents .header-action-icon-2 {
    margin: 0 !important;
}

#header_contents .header-action-icon-2 > a {
    color: #17372e !important;
    font-size: 13px;
    font-weight: 600;
}

#header_contents .header-action-icon-2 svg {
    width: 23px;
    height: 23px;
}

#header_contents .header-action-icon-2 svg path {
    fill: #17372e;
}

#header_contents .header-action-icon-2 .pro-count {
    display: grid;
    width: 19px;
    min-width: 19px;
    height: 19px;
    border: 2px solid #fff;
    border-radius: 50%;
    place-items: center;
    background: #8ec653 !important;
    color: #0b3026 !important;
    font-size: 9px;
    font-weight: 700;
}

#header_contents > .elementor,
#header_contents .elementor-545,
#header_contents .elementor-element-9747291 {
    background: #fff !important;
}

#header_contents .elementor-element-9376418 {
    padding: 0 !important;
}

#header_contents .elementor-element-9747291 {
    border-top: 1px solid #e8eee9;
    border-bottom: 1px solid #dfe8e2;
    box-shadow: 0 8px 28px rgba(14, 59, 46, 0.05);
}

#header_contents .cat_menu_box {
    width: min(100% - 48px, 1280px);
    max-width: 1280px;
    min-height: 62px;
    margin-inline: auto;
    padding: 0 !important;
    background: transparent !important;
}

#header_contents .cat_menu_box .cat_listed {
    display: flex;
    min-height: 62px;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
}

#header_contents .cat_menu_box .cat_menu_item {
    margin: 0 !important;
}

#header_contents .cat_menu_box .m_link {
    display: inline-flex;
    min-height: 46px;
    gap: 10px;
    padding: 10px 18px !important;
    border-radius: 12px;
    align-items: center;
    color: #17372e !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease;
}

#header_contents .cat_menu_box .m_link > div {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

#header_contents .cat_menu_box .m_link img {
    display: none !important;
}

#header_contents .cat_menu_box .cat_menu_item:hover > .m_link,
#header_contents .cat_menu_box .m_link:focus-visible {
    background: #edf5f0 !important;
    color: #0e6b49 !important;
}

#header_contents .cat_menu_box .dropdown_menu {
    overflow: hidden;
    border: 1px solid #dfe8e2 !important;
    border-radius: 0 0 18px 18px !important;
    background: #fff !important;
    box-shadow: 0 28px 70px rgba(14, 59, 46, 0.15) !important;
}

.sticky_header_area {
    border-bottom: 1px solid #dfe8e2;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 12px 35px rgba(14, 59, 46, 0.1) !important;
    backdrop-filter: blur(12px);
}

.sticky_header_area .elementor-1660,
.sticky_header_area .elementor-element-6ca39b1,
.sticky_header_area .elementor-element-6ca39b1 > .e-con-inner,
.sticky_header_area .elementor-widget-container,
.sticky_header_area .cat_menu_box {
    background: transparent !important;
}

.sticky_header_area,
.sticky_header_area .elementor-1660,
.sticky_header_area .elementor-element-6ca39b1 {
    height: 66px !important;
    min-height: 66px;
    max-height: 66px;
    padding: 0 !important;
}

.sticky_header_area .elementor-element-6ca39b1 > .e-con-inner {
    height: 66px !important;
    min-height: 66px;
    max-height: 66px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center;
}

.sticky_header_area .cat_menu_box {
    width: min(100% - 48px, 1280px);
    max-width: 1280px;
    height: 66px !important;
    min-height: 66px !important;
    margin-inline: auto;
    background: transparent !important;
}

.sticky_header_area .cat_menu_box .cat_listed {
    display: flex !important;
    height: 66px !important;
    min-height: 66px !important;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

.sticky_header_area .cat_menu_box .cat_menu_item {
    height: auto !important;
    margin: 0 !important;
}

.sticky_header_area .cat_menu_box .m_link {
    display: inline-flex;
    width: auto !important;
    min-height: 42px;
    gap: 10px;
    padding: 8px 16px !important;
    border-radius: 11px;
    align-items: center;
    color: #17372e !important;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.sticky_header_area .cat_menu_box .m_link > div,
.sticky_header_area .cat_menu_box .m_link i {
    color: #17372e !important;
    white-space: nowrap !important;
}

.sticky_header_area .cat_menu_box .m_link img {
    display: none !important;
}

.sticky_header_area .cat_menu_box .cat_menu_item:hover > .m_link,
.sticky_header_area .cat_menu_box .m_link:focus-visible {
    background: #edf5f0 !important;
    color: #0e6b49 !important;
}

.mobile_header.style_one {
    border-bottom: 1px solid #dfe8e2;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(14, 59, 46, 0.08);
}

.mobile_header .mobile_midbar_content {
    padding: 14px 18px !important;
}

.mobile_header .mobile_midbar_content > .d-flex {
    min-height: 56px;
    align-items: center !important;
    justify-content: space-between;
}

.mobile_header .logo {
    width: auto !important;
    max-width: 176px;
}

.mobile_header .logo img {
    display: block;
    width: 164px !important;
    max-width: 100% !important;
    height: auto !important;
}

.mobile_header .right_content {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile_header .cart_mb,
.mobile_header .menu_bar {
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    border: 1px solid #dce7e0;
    border-radius: 13px;
    place-items: center;
    background: #f6f9f7;
}

.mobile_header .menu_bar {
    border-color: #0e3b2e;
    background: #0e3b2e;
}

.mobile_header .cart_mb svg {
    width: 22px;
    height: 22px;
}

.mobile_header .cart_mb svg path {
    fill: #17372e;
}

.mobile_header .burger-icon {
    position: relative !important;
    display: flex !important;
    width: 22px !important;
    height: 18px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    background:
        linear-gradient(#fff, #fff) left top / 22px 2px no-repeat,
        linear-gradient(#fff, #fff) left center / 22px 2px no-repeat,
        linear-gradient(#fff, #fff) left bottom / 22px 2px no-repeat !important;
    opacity: 1 !important;
}

.mobile_header .burger-icon span {
    position: static !important;
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    min-height: 2px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 99px;
    background: transparent !important;
    opacity: 0 !important;
    visibility: visible !important;
    transform: none !important;
}

.mobile_header .mobile_search_bar {
    padding: 0 18px 16px !important;
    background: #fff !important;
}

.mobile_header .box-header-search {
    height: 48px;
    overflow: hidden;
    border: 1px solid #d9e6de !important;
    border-radius: 13px !important;
    background: #f7faf8 !important;
}

.mobile_header .box-header-search .form-search,
.mobile_header .box-header-search .search-wrapper,
.mobile_header .box-header-search input.search {
    height: 46px !important;
}

.mobile_header .box-header-search input.search {
    padding: 0 50px 0 16px !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 14px !important;
}

.mobile_header .box-header-search .csearchbtn {
    position: absolute;
    top: 0 !important;
    bottom: 0 !important;
    right: 5px;
    display: grid;
    width: 38px;
    height: 38px;
    margin: auto 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px;
    place-items: center;
    background: #0e3b2e !important;
    color: #fff !important;
    transform: none !important;
}

.mobile-header-active {
    width: min(90vw, 370px) !important;
    background: #fff !important;
    box-shadow: 28px 0 70px rgba(8, 38, 28, 0.2) !important;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif !important;
}

.mobile-header-active .mobile-header-top {
    position: relative;
    display: flex;
    min-height: 72px;
    padding: 0 26px !important;
    border: 0 !important;
    align-items: center;
    background: #0b3026 !important;
}

.mobile-header-active .mobile-header-top::before {
    color: #fff;
    content: "HARVESTIME";
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.mobile-header-active .mobile-menu-close {
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    margin: 0 !important;
    transform: translateY(-50%);
}

.mobile-header-active .mobile-menu-close .close-style {
    display: block;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08) !important;
}

.mobile-header-active .mobile-menu-close .icon-top,
.mobile-header-active .mobile-menu-close .icon-bottom {
    background: #fff !important;
}

.mobile-header-active .mobile-header-content-area {
    padding: 28px 24px 36px !important;
}

.mobile-header-active .mobile-search {
    margin: 0 0 24px !important;
    padding: 0 0 24px !important;
}

.mobile-header-active .mobile-search form {
    position: relative;
}

.mobile-header-active .mobile-search input.search {
    width: 100%;
    height: 50px;
    padding: 0 48px 0 16px !important;
    border: 1px solid #dce7e0 !important;
    border-radius: 12px !important;
    background: #f7faf8 !important;
    color: #17372e !important;
    font-size: 14px !important;
}

.mobile-header-active .mobile-search .sch_btn {
    position: absolute;
    top: 50%;
    right: 5px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px;
    place-items: center;
    background: #0e3b2e !important;
    color: #fff !important;
    transform: translateY(-50%);
}

.mobile-header-active .mobile-menu-wrap,
.mobile-header-active .mobile-header-info-wrap {
    border-color: #e1eae4 !important;
}

.mobile-header-active .mobile-menu-wrap {
    margin-bottom: 22px !important;
    padding-bottom: 22px !important;
}

.mobile-header-active .menu_cat_tab .nav-tabs {
    margin-bottom: 10px !important;
    border: 0 !important;
}

.mobile-header-active .menu_cat_tab .cat_m_link {
    min-width: 116px;
    padding: 10px 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #eaf4ed !important;
    color: #1f674b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-header-active .mobile-menu li > a {
    display: flex;
    min-height: 52px;
    padding: 14px 0 !important;
    border-bottom: 1px solid #e8eee9;
    align-items: center;
    justify-content: space-between;
    color: #17372e !important;
    font-size: 15px;
    font-weight: 600 !important;
}

.mobile-header-active .mobile-menu li > a:hover,
.mobile-header-active .mobile-menu li > a:focus-visible {
    color: #2f7657 !important;
}

.mobile-header-active .mobile-header-info-wrap {
    margin-top: 0 !important;
    padding: 18px !important;
    border: 1px solid #dfe8e2 !important;
    border-radius: 14px;
    background: #f7faf8;
}

.mobile-header-active .single-mobile-header-info {
    padding: 7px 0 !important;
    border: 0 !important;
}

.mobile-header-active .single-mobile-header-info a {
    color: #1f674b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.mobile-header-active .site-copyright {
    display: none !important;
}

/*
 * Keep the full desktop header comfortable on smaller laptop screens.
 * Below 1200px Nest changes its Bootstrap columns and the logo, account
 * controls and search can overlap, so that range uses the complete mobile
 * header instead (including its responsive search field).
 */
@media (max-width: 1320px) and (min-width: 1201px) {
    #header_contents .header-middle .logo-width-1 {
        width: 190px !important;
        max-width: 190px !important;
        flex-basis: 190px;
    }

    #header_contents .header-middle .logo img {
        max-width: 185px !important;
    }

    #header_contents .header-middle .header-wrap {
        gap: 26px;
    }

    #header_contents .header-middle .header-right {
        gap: 18px;
    }

    #header_contents .header-middle .search-style-2 {
        min-width: 280px;
        flex-basis: 430px;
    }

    #header_contents .header-middle .button_text .btn {
        gap: 12px;
        padding-inline: 18px !important;
    }

    #header_contents .header-middle .header-action-2 {
        gap: 13px;
    }
}

/*
 * Nest reflows the desktop header at 1200px. Switching the complete header
 * at the same point prevents logo/action overlap and preserves search on
 * laptops viewed at browser zoom, tablets and all smaller devices.
 */
@media (max-width: 1200px) {
    #header_contents {
        display: none !important;
    }

    .sticky_header_area {
        display: none !important;
    }

    .mobile_header,
    .mobile_header.style_one {
        display: block !important;
    }

    .mobile_header .mobile_midbar_content,
    .mobile_header .mobile_search_bar {
        width: 100%;
        max-width: 100%;
    }

    .mobile_header .mobile_midbar_content > .d-flex,
    .mobile_header .mobile_search_bar .box-header-search,
    .mobile_header .mobile_search_bar form,
    .mobile_header .mobile_search_bar .search-wrapper {
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .mobile_header .logo {
        max-width: 150px;
    }

    .mobile_header .logo img {
        width: 145px !important;
    }

    .mobile_header .box-header-search .select2-container,
    .mobile_header .box-header-search > form > select.category {
        display: none !important;
    }

    .mobile_header .box-header-search .search-wrapper {
        width: 100%;
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #header_contents .box-header-search,
    #header_contents .cat_menu_box .m_link {
        transition: none;
    }
}

/* =========================================================================
   v2.0.0 — premium menu & header refinements
   ========================================================================= */
#header_contents .box-header-search,
.mobile_header .box-header-search {
    border-color: rgba(15, 46, 36, 0.14) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(15, 46, 36, 0.05);
}

#header_contents .box-header-search:focus-within,
.mobile_header .box-header-search:focus-within {
    border-color: #176b4a !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(47, 158, 110, 0.14);
}

#header_contents .box-header-search .csearchbtn,
.mobile_header .box-header-search .csearchbtn {
    border-radius: 12px;
    background: #0b3a2e !important;
    /* The parent theme dims the submit button to 50%, which reads as a
       disabled grey control. Keep it fully visible. */
    opacity: 1 !important;
}

#header_contents .box-header-search .select2-container {
    border-right-color: rgba(15, 46, 36, 0.1);
}

/* Primary navigation: confident weight, clear hover state. */
body .main-menu > ul > li > a,
body .main-menu > li > a {
    color: #0f2e24;
    font-weight: 700;
    letter-spacing: 0;
}

body .main-menu > ul > li > a:hover,
body .main-menu > ul > li > a:focus-visible,
body .main-menu > li > a:hover,
body .main-menu > li > a:focus-visible {
    color: #176b4a;
    text-decoration: underline;
    text-decoration-color: #c9e96f;
    text-decoration-thickness: 3px;
    text-underline-offset: 10px;
}

/* Off-canvas menu: match the v2.0 surface language. */
.mobile-header-active .menu_cat_tab .cat_m_link {
    border-radius: 12px !important;
}

.mobile-header-active .mobile-search input.search {
    border-color: rgba(15, 46, 36, 0.14) !important;
    border-radius: 14px !important;
    background: #fff !important;
}

/* v2.1.0 — native (Elementor-free) header chrome. The nest_footer hook is
   unhooked in functions.php, so its wrapper is always empty; the real footer
   renders on wp_footer as .harvestime-site-footer. */
.footer_area#footer_contents {
    display: none;
}

.sticky_header_area .ht-sticky-bar {
    display: flex;
    width: min(100% - 48px, 1280px);
    height: 66px;
    margin-inline: auto;
    align-items: center;
    gap: 28px;
}

.sticky_header_area .ht-sticky-bar__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.sticky_header_area .ht-sticky-bar__logo img {
    width: auto;
    height: 40px;
}

.sticky_header_area .ht-sticky-bar__nav {
    flex: 1;
    min-width: 0;
}

.sticky_header_area .ht-sticky-bar__nav ul.navbar_nav {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 4px;
    list-style: none;
    flex-wrap: nowrap;
    align-items: center;
}

.sticky_header_area .ht-sticky-bar__nav ul.navbar_nav > li > a {
    display: inline-flex;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 11px;
    align-items: center;
    color: #17372e;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

.sticky_header_area .ht-sticky-bar__nav ul.navbar_nav > li > a:hover,
.sticky_header_area .ht-sticky-bar__nav ul.navbar_nav > li > a:focus-visible {
    background: #edf5f0;
    color: #0e6b49;
    text-decoration: none;
}

.sticky_header_area .ht-sticky-bar__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.sticky_header_area .ht-sticky-bar__actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #17372e;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.sticky_header_area .ht-sticky-bar__actions a:hover,
.sticky_header_area .ht-sticky-bar__actions a:focus-visible {
    color: #0e6b49;
}

@media (max-width: 991px) {
    .sticky_header_area .ht-sticky-bar__nav,
    .sticky_header_area .ht-sticky-bar__actions span {
        display: none;
    }
}

/* v2.1.1 — dropdown reveal for native (non-Elementor) submenus. The plugin
   CSS hides ul.sub-menu but only the old Elementor mega menu ever reopened
   it, so plain WordPress submenus need their own hover/focus rule. */
.main-menu > nav > ul > li:hover > ul.sub-menu,
.main-menu > nav > ul > li:focus-within > ul.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
    z-index: 40;
}

.main-menu > nav > ul > li ul.sub-menu {
    top: 100%;
    border: 1px solid #dfe8e2 !important;
    border-radius: 0 0 16px 16px !important;
    background: #fff !important;
    box-shadow: 0 28px 70px rgba(14, 59, 46, 0.15) !important;
}

.main-menu > nav > ul > li ul.sub-menu > li {
    margin-bottom: 0 !important;
}

.main-menu > nav > ul > li ul.sub-menu > li > a {
    display: block;
    padding: 10px 16px !important;
    border-radius: 10px;
    color: #17372e !important;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    white-space: nowrap;
}

.main-menu > nav > ul > li ul.sub-menu > li > a:hover,
.main-menu > nav > ul > li ul.sub-menu > li > a:focus-visible {
    background: #edf5f0 !important;
    color: #0e6b49 !important;
    text-decoration: none;
}

/* v2.1.2 — header-bottom nav: same container + pill styling the old
   Elementor menu bar had, applied to the native wp_nav_menu markup. */
#header_contents .header-bottom {
    padding: 0 !important;
    border-top: 1px solid #e8eee9 !important;
    border-bottom: 1px solid #dfe8e2 !important;
    background: #fff !important;
    box-shadow: 0 8px 28px rgba(14, 59, 46, 0.05);
}

#header_contents .header-bottom .auto-container {
    width: min(100% - 48px, 1280px);
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 0 !important;
}

#header_contents .header-bottom .main-menu > nav > ul {
    display: flex;
    min-height: 62px;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

#header_contents .header-bottom .main-menu > nav > ul > li {
    margin: 0 !important;
    padding: 0 !important;
}

#header_contents .header-bottom .main-menu > nav > ul > li > a {
    display: inline-flex;
    min-height: 46px;
    gap: 10px;
    padding: 10px 18px !important;
    border-radius: 12px;
    align-items: center;
    color: #17372e !important;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    line-height: 1.2 !important;
    white-space: nowrap;
    text-decoration: none !important;
}

#header_contents .header-bottom .main-menu > nav > ul > li:hover > a,
#header_contents .header-bottom .main-menu > nav > ul > li > a:focus-visible,
#header_contents .header-bottom .main-menu > nav > ul > li.current-menu-item > a {
    background: #edf5f0 !important;
    color: #0e6b49 !important;
}

/* v2.1.6 — brands dropdown: horizontal panel, plain selectors only (no
   :has(), which CSS optimisers can strip). Brand columns run left to right,
   each with its ranges beneath; the panel caps at the viewport width and
   wraps on small screens. Also neutralises legacy li.mega_menu styles. */

#header_contents .header-bottom .main-menu > nav > ul > li {
    position: relative !important;
}

#header_contents .header-bottom .main-menu > nav > ul > li > ul.sub-menu {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 !important;
    padding: 22px 26px !important;
    gap: 4px 34px;
    flex-wrap: wrap;
    border: 1px solid #dfe8e2 !important;
    border-radius: 0 0 18px 18px !important;
    background: #fff !important;
    box-shadow: 0 28px 70px rgba(14, 59, 46, 0.15) !important;
    z-index: 45;
}

/* Brand columns. */
#header_contents .header-bottom .main-menu > nav > ul > li > ul.sub-menu > li {
    display: block !important;
    position: static !important;
    width: auto !important;
    min-width: 150px;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    flex: 0 0 auto;
}

/* Brand headings. */
#header_contents .header-bottom .main-menu > nav > ul > li > ul.sub-menu > li > a {
    display: block !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    color: #0f2e24 !important;
    font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.25 !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

/* Range lists: in flow, under their brand heading. */
#header_contents .header-bottom .main-menu > nav > ul > li > ul.sub-menu li ul.sub-menu,
#header_contents .header-bottom .main-menu > nav > ul > li > ul.sub-menu li ul {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    transition: none !important;
}

#header_contents .header-bottom .main-menu > nav > ul > li > ul.sub-menu li li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Range links. */
#header_contents .header-bottom .main-menu > nav > ul > li > ul.sub-menu li li > a {
    display: block !important;
    width: 100% !important;
    padding: 7px 10px !important;
    border-radius: 8px !important;
    color: #44615a !important;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

#header_contents .header-bottom .main-menu > nav > ul > li ul.sub-menu li > a:hover,
#header_contents .header-bottom .main-menu > nav > ul > li ul.sub-menu li > a:focus-visible {
    background: #edf5f0 !important;
    color: #0e6b49 !important;
    text-decoration: none !important;
}

/* Sticky bar: identical horizontal panel. */
.sticky_header_area .ht-sticky-bar__nav ul.navbar_nav > li {
    position: relative;
}

.sticky_header_area .ht-sticky-bar__nav ul.navbar_nav > li > ul.sub-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 18px 22px;
    gap: 4px 30px;
    flex-wrap: wrap;
    list-style: none;
    border: 1px solid #dfe8e2;
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(14, 59, 46, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, visibility 160ms ease;
    z-index: 60;
}

.sticky_header_area .ht-sticky-bar__nav ul.navbar_nav > li:hover > ul.sub-menu,
.sticky_header_area .ht-sticky-bar__nav ul.navbar_nav > li:focus-within > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sticky_header_area .ht-sticky-bar__nav ul.navbar_nav > li > ul.sub-menu > li {
    display: block;
    width: auto;
    min-width: 140px;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.sticky_header_area .ht-sticky-bar__nav ul.navbar_nav > li > ul.sub-menu > li > a {
    display: block;
    margin-bottom: 3px;
    padding: 7px 10px;
    border-radius: 10px;
    color: #0f2e24;
    font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    white-space: nowrap;
}

.sticky_header_area .ht-sticky-bar__nav ul.sub-menu li ul {
    display: block;
    position: static;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sticky_header_area .ht-sticky-bar__nav ul.sub-menu li li > a {
    display: block;
    padding: 6px 10px;
    border-radius: 8px;
    color: #44615a;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}

.sticky_header_area .ht-sticky-bar__nav ul.sub-menu li > a:hover,
.sticky_header_area .ht-sticky-bar__nav ul.sub-menu li > a:focus-visible {
    background: #edf5f0;
    color: #0e6b49;
    text-decoration: none;
}
