/**
 * NF Site Header — .nf-site-header only (not Elementor).
 * Max width: CSS variable --nf-sh-container-max from settings (inline on header).
 * Bootstrap row gy-* vertical gutters are left as default (no margin-top overrides).
 */

/*
 * Hide the theme / Elementor header shell — but not when it wraps our NF header.
 * Many themes call wp_body_open() inside #masthead; hiding #masthead used to hide
 * .nf-site-header entirely (including the logo).
 */
body.nf-site-header-active header[data-elementor-type="header"]:not(:has(.nf-site-header)),
body.nf-site-header-active .elementor-location-header:not(:has(.nf-site-header)),
body.nf-site-header-active #masthead:not(:has(.nf-site-header)),
body.nf-site-header-active header#masthead:not(:has(.nf-site-header)),
body.nf-site-header-active #site-header:not(:has(.nf-site-header)),
body.nf-site-header-active header#site-header:not(:has(.nf-site-header)),
body.nf-site-header-active header.site-header:not(:has(.nf-site-header)),
body.nf-site-header-active .wp-site-blocks > header:not(:has(.nf-site-header)) {
    display: none !important;
}

/* When both theme branding and NF exist inside #masthead, hide the classic block (not NF). */
body.nf-site-header-active #masthead:has(.nf-site-header) .site-branding:not(:has(.nf-site-header)) {
    display: none !important;
}

/* Reserve top space for fixed NF header (height set in site-header.js). */
body.nf-site-header-active:has(.nf-site-header) {
    padding-top: var(--nf-site-header-layout-padding, 120px);
}

/* Landing post types / templates: no NF header on small screens (see Settings::shouldHideSiteHeaderOnMobileLanding). */
@media (max-width: 991px) {
    body.nf-site-header-active.nf-site-header--hide-on-mobile-landing:has(.nf-site-header) {
        padding-top: 0 !important;
        --nf-site-header-layout-padding: 0px;
    }

    body.nf-site-header--hide-on-mobile-landing .nf-site-header {
        display: none !important;
    }
}

.nf-site-header {
    --nf-sh-green-fallback: #2d6b4f;
    --nf-sh-text-on-top: #fff;
    --nf-sh-main-bg: #fff;
    --nf-sh-border: rgba(0, 0, 0, 0.08);
    --nf-sh-mega-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    /* Mobile mega panel starts below header (set via JS from measured height). */
    --nf-sh-mega-top: 120px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    z-index: 200;
    background: var(--nf-sh-main-bg);
    font-family: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: transform 0.28s ease;
    /* Do not set will-change: transform here — it makes fixed descendants use this header as their
       containing block, so mobile mega inset (viewport px from JS) is misread and the sheet stays off-screen. */
}

body.admin-bar .nf-site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .nf-site-header {
        top: 46px;
    }
}

/* Hide on scroll down, show on scroll up (see site-header.js). */
.nf-site-header.nf-site-header--scroll-hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

body.elementor-menu-cart--shown .nf-site-header.nf-site-header--scroll-hidden,
.nf-site-header.nf-site-header--mega-open.nf-site-header--scroll-hidden {
    transform: none;
    pointer-events: auto;
}

.nf-site-header *,
.nf-site-header *::before,
.nf-site-header *::after {
    box-sizing: border-box;
}

/*
 * Many themes style all buttons :hover / :focus (e.g. red background or link color).
 * Neutralize inside the NF header only; more specific rules below restore icons / affordances.
 */
.nf-site-header button:hover,
.nf-site-header button:focus,
.nf-site-header button:focus-visible,
.nf-site-header button:active,
.nf-site-header input[type="button"]:hover,
.nf-site-header input[type="button"]:focus,
.nf-site-header input[type="button"]:focus-visible,
.nf-site-header input[type="button"]:active,
.nf-site-header input[type="submit"]:hover,
.nf-site-header input[type="submit"]:focus,
.nf-site-header input[type="submit"]:focus-visible,
.nf-site-header input[type="submit"]:active {
    background-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}

.nf-site-header .nf-site-header__contain {
    width: 100%;
    max-width: var(--nf-sh-container-max, 1140px);
    margin-left: auto;
    margin-right: auto;
}

/* Mobile: strip Bootstrap .row horizontal gutter only inside this header (gx-*, .row>* padding). */
@media (max-width: 991px) {
    .nf-site-header .row {
        --bs-gutter-x: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .nf-site-header .row > * {
        padding-left: 0 !important;
        padding-right: 10px !important;
    }
}

.nf-site-header--no-bootstrap .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.nf-site-header--no-bootstrap .nf-site-header__top .row {
    flex-wrap: nowrap;
}

.nf-site-header--no-bootstrap .row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

.nf-site-header--no-bootstrap .col-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

.nf-site-header--no-bootstrap .nf-site-header__col--shrink {
    min-width: 0;
}

/* Top bar: promo takes remaining space; contact stays on screen (long promos scroll). */
.nf-site-header .nf-site-header__top .row > .nf-site-header__top-promo-col {
    flex: 1 1 0%;
    min-width: 0;
    width: auto;
    max-width: 100%;
    overflow: hidden;
}

.nf-site-header--no-bootstrap .nf-site-header__top .row > .nf-site-header__top-promo-col {
    flex-shrink: 1;
}

.nf-site-header--no-bootstrap .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .nf-site-header--no-bootstrap .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.nf-site-header--no-bootstrap .order-1 { order: 1; }
.nf-site-header--no-bootstrap .order-2 { order: 2; }
.nf-site-header--no-bootstrap .order-3 { order: 3; }
.nf-site-header--no-bootstrap .text-center { text-align: center; }

.nf-site-header__top {
    background: var(--nf-sh-top-bg-custom, var(--nf-sh-green, var(--nf-sh-green-fallback)));
    color: var(--nf-sh-text-on-top);
    font-size: 14px;
    line-height: 1.4;
    padding-top: 5px;
    padding-bottom: 5px;
    overflow: hidden;
}

/* Bar 1 mobile ticker uses transform; clip the strip so the page does not gain horizontal scroll (WebKit). */
@media (max-width: 991px) {
    .nf-site-header__top {
        overflow-x: hidden;
    }

    .nf-site-header__top .nf-site-header__contain {
        max-width: 100%;
        overflow-x: hidden;
    }

    .nf-site-header__top .row {
        max-width: 100%;
    }
}

/* Top bar 2 variant: dark text/icons only when bar_2 preset is active. */
.nf-site-header__top--bar-2 {
    color: #111;
}

.nf-site-header__top--bar-2 .nf-site-header__promo-sep,
.nf-site-header__top--bar-2 .nf-site-header__sep {
    background: rgba(0, 0, 0, 0.3);
}

/* Bar 2: one visual baseline — ticker slices, icons, and contact share the same cross-axis center */
.nf-site-header__top--bar-2 .nf-site-header__promo-marquee {
    display: flex;
    align-items: center;
    /* Bar 2 uses a very wide flex child; keep this box strictly within the promo column (Safari/WebKit). */
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.nf-site-header__top--bar-2 .nf-site-header__promo-marquee-track {
    align-items: center;
}

.nf-site-header__top--bar-2 .nf-site-header__promo-marquee-track > .nf-site-header__promo-text {
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.nf-site-header__top--bar-2 .nf-site-header__promo-item-text a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.nf-site-header__top--bar-2 .nf-site-header__contact {
    align-items: center;
    min-height: 0;
}

.nf-site-header__top--bar-2 .nf-site-header__contact-label {
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
}

.nf-site-header__promo {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.nf-site-header__promo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    font-size: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

.nf-site-header__promo-icon-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nf-site-header__promo-icon-image-img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.nf-site-header__promo-sep {
    width: 1px;
    height: 14px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.35);
}

.nf-site-header__promo-text strong { font-weight: 700; }

/* Continuous horizontal ticker: padding-left 100% = message enters from the right; duplicate + -50% = loop. */
.nf-site-header__promo-marquee {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

/* Edge fade: only when mask is supported (avoids blank/glitched strips on some WebViews). */
@supports ((-webkit-mask-image: linear-gradient(red, red)) or (mask-image: linear-gradient(red, red))) {
    .nf-site-header__promo-marquee {
        -webkit-mask-image: linear-gradient(
            to right,
            transparent,
            #000 6px,
            #000 calc(100% - 6px),
            transparent
        );
        mask-image: linear-gradient(
            to right,
            transparent,
            #000 6px,
            #000 calc(100% - 6px),
            transparent
        );
    }
}

/* Bar 2: never use edge masks (they stack badly with the bar-2 ticker + transform on iOS / WebKit). */
.nf-site-header__top--bar-2 .nf-site-header__promo-marquee {
    mask-image: none;
    -webkit-mask-image: none;
}

.nf-site-header__promo-marquee-track {
    display: flex;
    width: max-content;
    box-sizing: content-box;
    padding-left: 100%;
    will-change: transform;
}

.nf-site-header__promo-marquee-track > .nf-site-header__promo-text {
    flex-shrink: 0;
    padding-right: 3rem;
    white-space: nowrap;
}

.nf-site-header__top--bar-2 .nf-site-header__promo-marquee-track {
    padding-left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.nf-site-header__top--bar-2 .nf-site-header__promo-marquee-track > .nf-site-header__promo-text {
    padding-right: 0;
}

@media (min-width: 992px) {
    .nf-site-header__top--bar-2 .nf-site-header__promo-marquee-track {
        animation: nf-sh-promo-marquee var(--nf-sh-top2-marquee-duration-desktop, 32s) linear infinite;
    }

    .nf-site-header__top--bar-2 .nf-site-header__promo-item {
        margin-right: var(--nf-sh-top2-ticker-item-gap-desktop, 12px);
    }
}

@media (max-width: 991px) {
    .nf-site-header__top--bar-2 .nf-site-header__promo {
        max-width: 100%;
        overflow-x: hidden;
    }

    .nf-site-header__top--bar-2 .nf-site-header__promo-marquee {
        overflow-x: hidden;
        contain: paint;
    }

    .nf-site-header__top--bar-2 .nf-site-header__promo-marquee-track {
        animation: nf-sh-promo-marquee var(--nf-sh-top2-marquee-duration-mobile, 32s) linear infinite;
    }

    .nf-site-header__top--bar-2 .nf-site-header__promo-item {
        margin-right: var(--nf-sh-top2-ticker-item-gap-mobile, 12px);
    }
}

.nf-site-header__top--bar-2 .nf-site-header__promo-marquee-track > .nf-site-header__promo-text:last-child .nf-site-header__promo-item {
    margin-right: 0;
}

.nf-site-header__promo-item {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.nf-site-header__promo-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nf-site-header__promo-item-icon-img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.nf-site-header__promo-item-text {
    white-space: nowrap;
}

@keyframes nf-sh-promo-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Top bar 1 mobile: horizontal ticker (duplicate spans + -50% loop). */
@media (max-width: 991px) {
    .nf-site-header__top--bar-1 .nf-site-header__promo {
        justify-content: flex-start;
        text-align: left;
        white-space: nowrap;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: hidden;
        margin-left: 5px;
    }

    .nf-site-header__top--bar-1 .nf-site-header__promo-marquee {
        text-align: left;
        mask-image: none;
        -webkit-mask-image: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
        /* Keeps transformed track from growing document scroll width in Safari. */
        contain: paint;
    }

    .nf-site-header__top--bar-1 .nf-site-header__promo-marquee-track {
        animation: nf-sh-promo-marquee var(--nf-sh-top1-marquee-duration-mobile, 32s) linear infinite;
        padding-left: 0;
        width: max-content;
        max-width: none;
        box-sizing: content-box;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .nf-site-header__top--bar-1 .nf-site-header__promo-marquee-track > .nf-site-header__promo-text {
        flex-shrink: 0;
        padding-right: var(--nf-sh-top1-ticker-gap-mobile, 48px);
        white-space: nowrap;
        text-align: left;
    }
}

/* Top bar 1 desktop: static single line, left-aligned. */
@media (min-width: 992px) {
    .nf-site-header__top--bar-1 .nf-site-header__promo {
        justify-content: center;
        text-align: center;
        white-space: normal;
        flex-wrap: wrap;
        gap: var(--nf-sh-top1-promo-inline-gap-desktop, 8px);
    }

    .nf-site-header__top--bar-1 .nf-site-header__promo-marquee {
        mask-image: none;
        -webkit-mask-image: none;
        overflow: visible;
        text-align: center;
    }

    .nf-site-header__top--bar-1 .nf-site-header__promo-marquee-track {
        animation: none;
        transform: none;
        padding-left: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center;
        will-change: auto;
        justify-content: flex-start;
    }

    .nf-site-header__top--bar-1 .nf-site-header__promo-marquee-track > .nf-site-header__promo-text[aria-hidden="true"] {
        display: none;
    }

    .nf-site-header__top--bar-1 .nf-site-header__promo-marquee-track > .nf-site-header__promo-text {
        padding-right: 0;
        white-space: normal;
        flex-shrink: 1;
        min-width: 0;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nf-site-header__promo-marquee {
        mask-image: none;
        -webkit-mask-image: none;
        /* Clip wrapped items to a single visible line so the top bar never blows out the viewport. */
        overflow: hidden;
        max-height: 1.4em;
    }

    .nf-site-header__promo-marquee-track {
        animation: none;
        transform: none;
        flex-wrap: nowrap;
        width: auto;
        max-width: 100%;
        padding-left: 0;
        box-sizing: border-box;
    }

    .nf-site-header__top--bar-1 .nf-site-header__promo-marquee-track {
        animation: none;
        transform: none;
        flex-wrap: nowrap;
        width: auto;
        max-width: 100%;
        padding-left: 0;
        box-sizing: border-box;
    }

    .nf-site-header__top--bar-2 .nf-site-header__promo-marquee-track {
        animation: none;
        transform: none;
        flex-wrap: nowrap;
        align-items: center;
        width: auto;
        max-width: 100%;
        padding-left: 0;
        box-sizing: border-box;
    }

    .nf-site-header__promo-marquee-track > .nf-site-header__promo-text {
        padding-right: 0;
        white-space: nowrap;
    }

    .nf-site-header__promo-marquee-track > .nf-site-header__promo-text[aria-hidden="true"] {
        display: none;
    }
}

.nf-site-header__contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 8px;
    white-space: nowrap;
}

.nf-site-header__contact-label { opacity: 0.95; }

@media (max-width: 991px) {
    .nf-site-header__top-contact-col {
        display: none !important;
    }
}

/* Mobile: flag-only store links on the right side of the top bar (main header switcher hidden when top bar is on). */
.nf-site-header__top-lang-col {
    display: none;
    align-items: center;
    flex-shrink: 0;
    padding-left: 2px;
}

@media (max-width: 991px) {
    .nf-site-header__top-lang-col {
        display: flex;
    }
}

@media (min-width: 992px) {
    .nf-site-header__top-lang-col {
        display: none !important;
    }
}

.nf-site-header__top-lang-flags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.nf-site-header__top-lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    border-radius: 2px;
    text-decoration: none;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
}

.nf-site-header__top-lang-flag:hover,
.nf-site-header__top-lang-flag:focus-visible {
    outline: none;
}

.nf-site-header__top-lang-flag-inner {
    display: flex;
    overflow: hidden;
    border-radius: 1px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.nf-site-header__top-lang-flag img {
    display: block;
    width: 20px;
    height: auto;
}

.nf-site-header__sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.35);
}

.nf-site-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    font-weight: 300;
}


.nf-site-header__phone:hover,
.nf-site-header__phone:focus-visible {
    text-decoration: none;
    color:white;
}

.nf-site-header__phone-icon {
    display: inline-flex;
    opacity: 0.9;
}

.nf-site-header__contact-email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    font-weight: 300;
}

.nf-site-header__top--bar-1 .nf-site-header__phone {
    color:white !important;
}

.nf-site-header__top--bar-1 .nf-site-header__contact a {
    color:white!important;
}

.nf-site-header__contact-email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.9;
}

.nf-site-header__contact-email-icon img {
    display: block;
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.nf-site-header__top--bar-1 .nf-site-header__phone,
.nf-site-header__top--bar-1 .nf-site-header__contact-email {
    color: #fff !important;
}

.nf-site-header__contact-email:hover,
.nf-site-header__contact-email:focus-visible {
    text-decoration: none;
    color: #fff;
}

.nf-site-header__main {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
    padding-bottom: 20px;
}
.nf-site-header__main-row {
    align-items: center;
    justify-content: center !important;
}
.nf-site-header__logo .custom-logo-link img {
    height:50px;
    max-height: 50px;
    padding-left:20px;
    width: 100%;
}
/* Desktop: true viewport-centered logo — equal space left/right (left & right blocks differ in width) */
@media (min-width: 992px) {
    .nf-site-header__main-row {
        display: flex;
        align-items: center;
        column-gap: 16px;
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
    }
}
@media (min-width: 992px) {
    .nf-site-header__left {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
    .px-md-4 {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }
    
}


@media (max-width: 1700px) {
    .nf-site-header__left {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
    .px-md-4 {
        padding-right: 1% !important;
        padding-left: 1% !important;
    }
    
}

.nf-site-header__quiz {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 20px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 300;
    color: #fff !important;
    background: var(--nf-sh-quiz-bg, var(--nf-sh-green, var(--nf-sh-green-fallback))) !important;
    text-decoration: none;
    white-space: nowrap;
}

.nf-site-header__quiz:hover,
.nf-site-header__quiz:focus-visible {
    color: #fff;
    filter: brightness(1.05);
    text-decoration: none;
}

/* Shop mega: hover must survive moving from label to panel (bridge + overlap; see .nf-site-header__mega). */
@media (min-width: 992px) {
    .nf-site-header__shop-wrap {
        position: relative;
        z-index: 202;
        align-self: stretch;
        display: flex;
        align-items: center;
    }

    /* Invisible strip below the label — covers main padding + diagonal move to panel */
    .nf-site-header__shop-wrap::after {
        content: "";
        position: absolute;
        left: -12px;
        right: -12px;
        top: 100%;
        height: 48px;
    }
}

.nf-site-header__shop-trigger {
    display: inline-block;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    text-align: inherit;
    cursor: pointer;
    position: relative;
    z-index: 1;
    appearance: none;
    -webkit-appearance: none;
}

.nf-site-header__shop-trigger:hover,
.nf-site-header__shop-trigger:focus-visible {
    color: var(--nf-sh-green, var(--nf-sh-green-fallback));
}

.nf-site-header__logo { 
    line-height: 0;
    text-align: center;
}

.nf-site-header__logo .custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.nf-site-header__logo .custom-logo-link img {
    display: block;
    max-height: 45px;
}

@media (min-width: 992px) {
    .nf-site-header__logo .custom-logo-link img 
    { 
        max-height: 45px; 
        width: 100%;
    }
}

.nf-site-header__logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

.nf-site-header__logo-text:hover,
.nf-site-header__logo-text:focus-visible {
    color: var(--nf-sh-green, var(--nf-sh-green-fallback));
}

.nf-site-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .nf-site-header__right {
        flex-wrap: nowrap;
        gap: 0;
        justify-content: flex-end;
        gap:20px;
    }
    .nf-site-header__main {
        border-bottom: 1px solid var(--nf-sh-border);
        padding-top: 20px;
        padding-bottom: 5px;
    }
}

@media (min-width: 992px) {
    .nf-site-header__right {
        gap: 20px;
        flex-wrap: nowrap;
    }
}


@media (max-width: 991px) {
    .nf-site-header--checkout-minimal .nf-site-header__checkout-brand .nf-site-header__logo .custom-logo-link img {
        max-height: none;
        height: auto;
    }

    .nf-site-header__main-row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        row-gap: 0;
        margin-left: 0;
        margin-right: 0;
        min-width: 0;
    }

    .nf-site-header__main-row > [class*="col-"] {
        flex: 0 0 auto;
        width: auto !important;
        max-width: none !important;
    }

    .nf-site-header:not(.nf-site-header--checkout-minimal) .nf-site-header__logo .custom-logo-link img {
        height:50px;
        max-height: 50px;
        padding-left:20px;
        width: 100%;
    }
}

.nf-site-header__suggest-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    color: #1a1a1a !important;
}

.nf-site-header__suggest-item:hover,
.nf-site-header__suggest-item:focus-visible {
    background: #f4f4f4;
}

.nf-site-header__suggest-thumb {
    width: 44px;
    height: 44px;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nf-site-header__suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nf-site-header__suggest-title {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 300;
    color: #6f6f6f;
}

.nf-site-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: none;
    background: #fff;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-tap-highlight-color: transparent;
}

.nf-site-header__icon:hover,
.nf-site-header__icon:focus,
.nf-site-header__icon:focus-visible,
.nf-site-header__icon:active {
    border-color: transparent;
    background-color: #fff;
    filter: none;
    opacity: 1;
    outline: none;
    box-shadow: none;
}

@media (max-width: 991px) {
    .nf-site-header--has-topbar-lang .nf-site-header__lang-slot--main {
        display: none !important;
    }
}


.nf-site-header__main {
box-shadow: 0px 15px 20px -10px rgba(0, 0, 0, 0.05);
}

/* One real column: the old 2-col grid had only a single <ul> child, so the second `fr`
   track stayed empty — huge gap between the divider and subcategories. */
.nf-site-header__catmega {
    display: block;
    position: relative;
    background: #fff;
    min-height: 360px;
    width: 100%;
}

.nf-site-header__catmega-main {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
    width: var(--nf-catmega-main-col);
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 12px;
    border-right: 1px solid #e9e9e9;
}

.nf-site-header__catmega-main-item {
    border-bottom: 0;
}

.nf-site-header__catmega-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

/* Shrink-wrap highlight so the pill does not stretch across the whole main column. */
.nf-site-header__catmega-main-link {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    max-width: 100%;
    padding: 6px 14px 6px 12px;
    font-size: 16px;
    font-weight: 300;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    align-self: center;
    margin-right: 0;
    box-sizing: border-box;
}

.nf-site-header__catmega-main-link:hover,
.nf-site-header__catmega-main-link:focus-visible,
.nf-site-header__catmega-main-item.has-children .nf-site-header__catmega-main-link.is-active {
    color: #000;
    font-weight: 500;
    background: #f7f8f8;
}

.nf-site-header__catmega-main-item.has-children .nf-site-header__catmega-main-link:hover::after,
.nf-site-header__catmega-main-item.has-children .nf-site-header__catmega-main-link:focus-visible::after,
.nf-site-header__catmega-main-item.has-children .nf-site-header__catmega-main-link.is-active::after {
    content: "›";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
    color: #666;
}

.nf-site-header__catmega-toggle {
    display: none;
    flex: 0 0 48px;
    align-items: center;
    justify-content: end;
    align-self: stretch;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 50px;
    -webkit-tap-highlight-color: transparent;
}

.nf-site-header__catmega-toggle:hover,
.nf-site-header__catmega-toggle:focus-visible {
    color: #000;
    background: transparent;
}

.nf-site-header__catmega-toggle:focus-visible {
    outline: 2px solid var(--nf-sh-green, var(--nf-sh-green-fallback));
    outline-offset: 2px;
}

/* SVG points right; closed = right, open = down (mobile accordion). */
.nf-site-header__catmega-toggle-icon {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("../../../images/header/header-catmega-arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px auto;
    transition: transform 0.2s ease;
    transform: rotate(0deg);
}

.nf-site-header__catmega-main-item.is-open .nf-site-header__catmega-toggle-icon {
    transform: rotate(90deg);
}

.nf-site-header__top--bar-2 .nf-site-header__phone:hover {
    color:black;
}

.nf-site-header__top--bar-2 .nf-site-header__contact-email:hover,
.nf-site-header__top--bar-2 .nf-site-header__contact-email:focus-visible {
    color: #000;
}

.nf-site-header__catmega-main-item > .nf-site-header__catmega-sub-list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nf-site-header__catmega-main-item > .nf-site-header__catmega-sub-list.is-active {
    display: block;
}

@media (min-width: 1100px) {
    .nf-site-header__catmega-toggle {
        display: none !important;
    }

    .nf-site-header__catmega-main-link {
        padding: 6px 28px 6px 14px;
    }

    .nf-site-header__catmega-main-item > .nf-site-header__catmega-sub-list {
        position: absolute;
        left: calc(var(--nf-catmega-main-col) + 13px);
        width: calc(100% - var(--nf-catmega-main-col) - 13px - 4px);
        top: 0;
        padding: 0;
        background: #fff;
        z-index: 2;
        box-sizing: border-box;
    }
}

.nf-site-header__catmega-sub-item a {
    display: block;
    padding: 8px 14px;
    color: #000;
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
}

.nf-site-header__catmega-sub-item a:hover,
.nf-site-header__catmega-sub-item a:focus-visible {
    color: #000;
    font-weight: 500;
}

@media (max-width: 1099px) {
    .nf-site-header__mega-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .nf-site-header__mega-main-right {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .nf-site-header__mega-right-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .nf-site-header__mega-dnk-wrap {
        width: 100%;
    }

    .nf-site-header__mega-col--promo {
        order: unset;
    }

    .nf-site-header__mega-col--nav {
        order: 3;
        padding-right: 0;
    }

    .nf-site-header__mega-col--slider {
        order: unset;
        display: none !important;
    }

    .nf-site-header__mega-col--nav,
    .nf-site-header__mega-col--promo,
    .nf-site-header__mega-col--slider {
        grid-column: unset;
        grid-row: unset;
    }

    .nf-site-header__mega-dnk-desktop {
        display: none !important;
    }

    .nf-site-header__mega-dnk-text {
        font-size: 15px;
    }

    .nf-site-header__mega-dnk-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nf-site-header__mega-section-title {
        margin: 0 0 10px;
        font-weight: 700;
        font-size: 17px;
        padding-left:18px;
    }

    /* One row: left column = title + text + CTA; right column = image (vertically centered vs left block) */
    .nf-site-header__mega-promo-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "stack";
        align-items: start;
        column-gap: 14px;
        row-gap: 0;
        min-height: 0;
        padding: 16px 18px;
        border-radius: 14px;
    }

    .nf-site-header__mega-promo-inner:has(.nf-site-header__mega-promo-media),
    .nf-site-header__mega-promo-inner--has-media {
        grid-template-columns: minmax(0, 1fr) minmax(96px, 25%);
        grid-template-areas: "stack media";
        grid-template-rows: auto;
        align-items: center;
    }

    .nf-site-header__mega-promo-stack {
        grid-area: stack;
    }

    .nf-site-header__mega-promo-media {
        grid-area: media;
        flex: unset;
        max-width: none;
        width: 100%;
        margin: 0;
        justify-self: end;
    }

    .nf-site-header__mega-promo-inner .nf-site-header__mega-promo-img {
        max-width: 100%;
        width: auto;
        max-height: 120px;
        margin-left: auto;
        display: block;
        object-fit: contain;
    }

    .nf-site-header__mega-promo-actions {
        width: auto;
        max-width: 100%;
        text-align: left;
    }

    .nf-site-header__mega-promo-actions .nf-site-header__mega-promo-btn,
    .nf-site-header__mega-promo-actions .nf-site-header__mega-promo-btn--static {
        align-self: flex-start;
    }

    .nf-site-header__mega-promo-title {
        font-size: 18px;
        line-height: 1.25;
    }

    .nf-site-header__menu > li {
        border-bottom: 0;
        margin-bottom: 2px;
    }

    .nf-site-header__menu > li > a {
        position: relative;
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 28px 12px 0;
        font-weight: 500;
    }

    .nf-site-header__menu > li > a::after {
        content: "›";
        position: absolute;
        right: 2px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        line-height: 1;
        color: #999;
        font-weight: 400;
    }

    .nf-site-header__catmega {
        grid-template-columns: 1fr;
    }

    .nf-site-header__catmega-main {
        width: 100%;
        max-width: none;
        padding-right: 0;
        border-right: 0;
        border-bottom: 0;
        max-height: none;
        overflow: visible;
    }

    /* Pin label left + arrow/toggle to the right (desktop used inline-block link + flex-start). */
    .nf-site-header__catmega-row {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .nf-site-header__catmega-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nf-site-header__catmega-main-link {
        padding: 6px 14px 6px 0;
        padding-left:18px;
    }

    .nf-site-header__catmega-main-item.has-children .nf-site-header__catmega-main-link {
        flex: 1 1 auto;
        min-width: 0;
        display: block;
    }

    .nf-site-header__catmega-main-item:not(.has-children) .nf-site-header__catmega-main-link {
        display: block;
        width: 100%;
    }

    .nf-site-header__catmega-main-item.has-children .nf-site-header__catmega-main-link:hover::after,
    .nf-site-header__catmega-main-item.has-children .nf-site-header__catmega-main-link:focus-visible::after,
    .nf-site-header__catmega-main-item.has-children .nf-site-header__catmega-main-link.is-active::after {
        content: none !important;
    }

    .nf-site-header__catmega-main-item > .nf-site-header__catmega-sub-list {
        position: static;
        left: auto;
        width: 100%;
        top: auto;
        padding: 4px 0 14px 16px;
        border-bottom: 0;
        background: transparent;
    }

    .nf-site-header__catmega-sub-item a {
        padding: 8px 12px;
        font-size: 15px;
    }
}

.nf-site-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nf-site-header__menu > li {
    border-bottom: 1px solid var(--nf-sh-border);
}

@media (max-width: 1099px) {
    .nf-site-header__mega .nf-site-header__menu > li {
        border-bottom: 0;
    }
    .nf-site-header__main .px-3 {
        padding-left: 0px !important;
    }
}

.nf-site-header__menu > li > a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.nf-site-header__menu > li > a:hover,
.nf-site-header__menu > li > a:focus-visible {
    color: var(--nf-sh-green, var(--nf-sh-green-fallback));
}

.nf-site-header__menu .sub-menu {
    list-style: none;
    margin: 0 0 10px;
    padding: 0 0 0 12px;
}

.nf-site-header__menu .sub-menu a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 400;
    color: #444;
    text-decoration: none;
}

.nf-site-header__menu .sub-menu a:hover,
.nf-site-header__menu .sub-menu a:focus-visible {
    color: var(--nf-sh-green, var(--nf-sh-green-fallback));
}

/* Shared shell; flex column is desktop-only so max-width rules are not overridden later in this file */
.nf-site-header__mega-promo-inner {
    background: var(--nf-sh-mega-promo-bg, #e8f5ea);
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    /* Flex/grid child: without min-width:0, long copy keeps min-content width and spills past the green panel. */
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

@media (min-width: 1100px) {
    .nf-site-header__mega-promo-inner {
        display: flex;
        flex-direction: column;
        gap: 12px;
        height: 100%;
        min-height: 200px;
        padding: 20px;
    }
}

.nf-site-header__mega-promo-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    width: 100%;
}

.nf-site-header__mega-promo-copy {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.nf-site-header__mega-promo-img {
    display: block;
    width: 100%;
    max-height: none;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.nf-site-header__mega-promo-title {
    margin: 0;
    font-weight: 700;
    color: #1a1a1a;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow-x: hidden;
}

@media (min-width: 1100px) {
    .nf-site-header__mega-promo-title {
        font-size: 30px;
        line-height: 1.2;
    }
}

.nf-site-header__mega-promo-text {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow-x: hidden;
}

.nf-site-header__mega-promo-actions {
    text-align: center;
}

.nf-site-header__mega-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 300;
    text-decoration: none;
    background: var(--nf-sh-green, var(--nf-sh-green-fallback));
    color: #fff !important;
}

.nf-site-header__mega-promo-btn:hover,
.nf-site-header__mega-promo-btn:focus-visible {
    filter: brightness(1.05);
}

.nf-site-header__mega-promo-btn--static {
    cursor: default;
    pointer-events: none;
}

.nf-site-header__mega-product-slider.nf-product-slider-mainmenu {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    flex: 1 1 auto;
}

.nf-site-header__mega-ps-arrow {
    flex-shrink: 0;
    width: 40px;
    height: auto;
    align-self: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.nf-site-header__mega-ps-arrow img {
    width: 30px;
    height: 30px;
    display: block;
    pointer-events: none;
}

.nf-site-header__mega-ps-arrow:hover {
    background: rgba(0, 0, 0, 0.06);
}

.nf-site-header__mega-ps-arrow:focus-visible {
    background: rgba(0, 0, 0, 0.06);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.nf-site-header__mega-ps-arrow:active {
    background: rgba(0, 0, 0, 0.06);
}

.nf-site-header__mega-ps-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.nf-site-header__mega-ps-track {
    display: flex;
    gap: 0;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 0;
    -webkit-overflow-scrolling: touch;
}

.nf-site-header__mega-ps-track::-webkit-scrollbar {
    display: none;
}

.nf-site-header__mega-ps-slide {
    flex: 0 0 auto;
    max-width: none;
    box-sizing: border-box;
}
