/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 2.2.0
Text Domain: hello-elementor-child
*/

/* =========================================================
   CSS VÁLTOZÓ FALLBACKEK
   (A tényleges értékeket a Customizer inline CSS-ből írja felül.)
   ========================================================= */
:root {
    --hc-header-bg: #ffffff;
    --hc-header-bg-sticky: #ffffff;
    --hc-menu-link: #000000;
    --hc-menu-link-hover: #222222;
    --hc-submenu-bg: #141414;
    --hc-submenu-link: #ffffff;
    --hc-submenu-hover-bg: #262626;
    --hc-cta-bg: #222222;
    --hc-cta-color: #ffffff;
    --hc-cta-hover-bg: #000000;
    --hc-cta-hover-color: #ffffff;
    --hc-cta-bg-sticky: #222222;
    --hc-cta-color-sticky: #ffffff;
    --hc-cta-radius: 4px;
    --hc-cta-padding-y: 10px;
    --hc-cta-padding-x: 24px;
    --hc-header-radius: 20px;
    --hc-header-max-width: 1300px;
    --hc-header-offset: 20px;
    --hc-content-offset: 0px;
    --hc-sidebar-bg: #131313;
    --hc-sidebar-color: #ffffff;
    --hc-sidebar-hover: #ffffff;
    --hc-menu-font-size: 16px !important;
    --hc-cta-font-size: 16px !important;
    --hc-logo-height: 50px;
    --hc-logo-height-mobile: 40px;
}

/* =========================================================
   TARTALOM ELTOLÁS – a fejléc alatti rés (behúzás a menü alá)
   ========================================================= */
/*
   FONTOS: `overflow-x: hidden` helyett `overflow-x: clip` kell!
   CSS spec szerint ha az egyik tengely `hidden` (vagy bármi nem-visible),
   a másik tengely `visible` értéke `auto`-ra számítódik át → az elem
   scroll-konténerré válik, és plusz függőleges scrollbar jelenhet meg.
   A `clip` érték CSAK levágja a túllógó tartalmat, de NEM tesz scroll-konténert,
   így az `overflow-y` megmarad `visible`-nek. Ezért nincs plusz scrollbar.
   Fallback a régi böngészőkhöz: előbb `hidden`, aztán `clip`.
*/


/* =========================================================
   BASE HEADER STYLES
   ========================================================= */

/* A teljes fejléc befoglalója */
.custom-header-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    background: var(--hc-header-bg) !important;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    pointer-events: none;
    box-sizing: border-box;
    overflow: visible !important;
    transition: all 0.3s ease;
}

/* ---------------------------------------------------------
   TOP BAR STYLES
   --------------------------------------------------------- */
.custom-header-top-bar {
    width: 100%;
    background: transparent;
    padding: 10px 0;
    pointer-events: auto;
    position: relative;
    z-index: 1000;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 5px 0px;
    box-sizing: border-box;
}

.top-bar-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-contact li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    transition: color 0.3s;
}

.top-bar-contact li a:hover {
    color: #ffffff;
}

.top-bar-social .header-grid {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #fff !important;
    border-radius: 50%;
    transition: all 0.3s;
}

.top-bar-social a:hover {
    background: #fff;
}

.top-bar-social svg {
    width: 18px;
    height: 18px;
}

.top-bar-social path {
    transition: fill 0.3s;
}

.custom-header-wrapper.header-on-light .top-bar-contact li a {
    color: #1C191A;
}

.custom-header-wrapper.header-on-light .top-bar-social a {
    background: #fff;
}

.header-divider {
    width: 100%;
    max-width: 1300px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    transition: background-color 0.3s;
}

.custom-header-wrapper.header-on-light .header-divider {
    background-color: #fff;
}

/* ---------------------------------------------------------
   HEADER INNER
   --------------------------------------------------------- */
.custom-header-inner {
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 !important;
    height: var(--hc-header-height);
    border-radius: 0;
    padding: 0 40px;
    box-sizing: border-box;
    background: transparent;
    transition: background 0.3s ease, max-width 0.3s ease, border-radius 0.3s ease, height 0.3s ease;
}

.custom-header-wrapper.header-on-light .custom-header-inner {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-image: none;
}

/* STICKY állapot */
.custom-header-inner.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--hc-header-bg-sticky) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-bottom: none;
}

/* ---------------------------------------------------------
   HEADER CONTAINER
   --------------------------------------------------------- */
.custom-header-container {
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* ---------------------------------------------------------
   LOGO
   --------------------------------------------------------- */
.custom-header-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 0;
    z-index: 10;
}

.submenu-toggle-link::after {
    margin-left: 8px !important;
    margin-right: unset !important;
}

.custom-header-sidebar ::marker {
    font-size: 0px !important;
}

.custom-header-sidebar-logo img {
    display: none !important;
}

.custom-header-logo img {
    max-height: var(--hc-logo-height) !important;
    width: auto !important;
    height: auto !important;
    display: block;
    filter: none;
    transition: filter 0.3s ease;
    object-fit: contain;
}

.custom-header-logo a {
    display: flex;
}

.custom-header-wrapper.header-on-light .custom-header-logo img {
    filter: invert(1) brightness(0);
}

.custom-header-inner.is-sticky .custom-header-logo img {
    filter: none !important;
}

/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */
.custom-header-nav-desktop {
    display: block;
}

/* A fő (jobb oldali) menü alapból jobbra van tolva */
.custom-header-nav-right {
    margin-left: auto;
}

/* =========================================================
   DESKTOP LANG SWITCHER
   ========================================================= */
.custom-header-lang-wrapper {
    display: flex;
    align-items: center;
    margin-left: 25px;
    z-index: 1002;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.custom-header-lang-wrapper .pll-switch {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 6px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 10px 14px;
    line-height: 1;
    transition: all 0.3s ease;
}

.custom-header-lang-wrapper .pll-switch img {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 999px;
}

.custom-header-lang-wrapper .pll-switch__code {
    line-height: 1;
    font-size: 22px;
    color: #ffffff;
    font-weight: 400;
    font-family: inherit;
    transition: color 0.3s ease;
}

.custom-header-wrapper.header-on-light .custom-header-lang-wrapper .pll-switch__code {
    color: #1C191A;
}

.custom-header-lang-wrapper.is-sticky .pll-switch__code {
    color: #ffffff !important;
}

.custom-header-lang-wrapper.is-sticky .pll-switch {
    background: rgba(19, 19, 19, 0.9);
}

@media(max-width: 1350px) {
    .custom-header-lang-wrapper {
        display: none;
    }

    .custom-header-top-bar {
        display: none;
    }

    .header-divider {
        display: none;
    }

    .custom-header-nav-desktop {
        display: none;
    }
}

/* =========================================================
   DESKTOP STYLES (Min-width: 1201px)
   ========================================================= */
@media (min-width: 1201px) {
    .custom-header-menu-list {
        display: flex;
        gap: 25px;
        list-style: none;
        margin: 0;
        padding: 0;
        align-items: center;
        justify-content: flex-end;
    }

    .custom-header-menu-list>li {
        position: relative;
    }

    .custom-header-menu-list>li::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
        pointer-events: auto;
    }

    .custom-header-menu-list li a {
        text-decoration: none;
        color: var(--hc-menu-link);
        font-weight: var(--hc-menu-font-weight) !important;
        font-style: var(--hc-menu-font-style) !important;
        font-size: var(--hc-menu-font-size) !important;
        transition: color 0.3s, background-color 0.3s, transform 0.2s;
        font-family: inherit !important;
		text-transform: uppercase !important;
        white-space: nowrap;
    }

    .custom-header-wrapper.header-on-light .custom-header-menu-list li a {
        color: var(--hc-menu-link);
    }

    /* Sticky módban a normál menüpontok (nem CTA) a menu-link színét kapják. */
    .custom-header-inner.is-sticky .custom-header-menu-list li:not(.CTA) a {
        color: #e5d0ac !important;
    }

    /* Sticky módban a CTA gomb saját (külön állítható) háttér- és szövegszínt kap. */
    .custom-header-inner.is-sticky .custom-header-menu-list li.CTA a {
        background-color: var(--hc-cta-bg-sticky) !important;
        color: #1a1b10 !important;
    }

    /* Sticky CTA hover – továbbra is a közös hover színeket használja. */
    .custom-header-inner.is-sticky .custom-header-menu-list li.CTA a:hover,
    .custom-header-inner.is-sticky .custom-header-menu-list li.CTA:hover>a,
    .custom-header-inner.is-sticky .custom-header-menu-list li.CTA:focus-within>a {
        background-color: var(--hc-cta-hover-bg) !important;
        color: var(--hc-cta-hover-color) !important;
    }

    .custom-header-inner.is-sticky .custom-header-menu-list .sub-menu a {
        color: var(--hc-submenu-link) !important;
    }

    .custom-header-inner.is-sticky .custom-header-menu-list .sub-menu a:hover,
    .custom-header-inner.is-sticky .custom-header-menu-list .sub-menu a:focus {
        color: var(--hc-submenu-link) !important;
    }

    .custom-header-menu-list li a:hover,
    .custom-header-menu-list li:hover>a,
    .custom-header-menu-list li:focus-within>a {
        color: var(--hc-menu-link-hover) !important;
    }

    /* -----------------------------------------------------
       CTA (gomb) menüpont
       ----------------------------------------------------- */
    .custom-header-menu-list li.CTA a {
        background-color: var(--hc-cta-bg) !important;
        color: var(--hc-cta-color) !important;
        padding: var(--hc-cta-padding-y) var(--hc-cta-padding-x) !important;
        border-radius: var(--hc-cta-radius);
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        font-weight: var(--hc-cta-font-weight) !important;
        font-style: var(--hc-cta-font-style) !important;
        font-size: var(--hc-cta-font-size) !important;
        line-height: 1;
        text-transform: uppercase;
        font-family: inherit !important;
        transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    }

    .custom-header-menu-list li.CTA a:hover,
    .custom-header-menu-list li.CTA:hover>a,
    .custom-header-menu-list li.CTA:focus-within>a {
        transform: translateY(-3px);
        background-color: var(--hc-cta-hover-bg) !important;
        color: var(--hc-cta-hover-color) !important;
    }

    /* Almenü */
    .custom-header-menu-list li .sub-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        min-width: 220px;
        padding: 8px;
        margin: 0;
        list-style: none;
        background: var(--hc-submenu-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: none;
        border-radius: 12px;
        box-shadow: 0 20px 25px -5px rgba(19, 19, 19, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.98);
        transform-origin: top left;
        pointer-events: none;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
    }

    .custom-header-menu-list li:hover>.sub-menu,
    .custom-header-menu-list li:focus-within>.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .custom-header-menu-list li .sub-menu li {
        margin: 0;
        padding: 0;
        position: relative;
    }

    .custom-header-menu-list li .sub-menu li::after {
        display: none;
    }

    .custom-header-menu-list li .sub-menu li+li {
        margin-top: 2px;
    }

    .custom-header-menu-list li .sub-menu a {
        display: block;
        padding: 8px 12px;
        border-radius: 8px;
        text-transform: none !important;
        font-size: var(--hc-submenu-font-size) !important;
        font-weight: 400;
        color: var(--hc-submenu-link) !important;
        transition: all 0.2s ease;
        white-space: nowrap;
        background: transparent !important;
    }

    .custom-header-menu-list li .sub-menu a:hover,
    .custom-header-menu-list li .sub-menu a:focus {
        background: var(--hc-submenu-hover-bg) !important;
        color: var(--hc-submenu-link) !important;
        transform: translateX(4px);
        outline: none;
    }

    /* Második szint */
    .custom-header-menu-list li .sub-menu li .sub-menu {
        top: 0;
        left: 100%;
        transform: translateX(10px) scale(0.98);
        transform-origin: top left;
    }

    .custom-header-menu-list li .sub-menu li:hover>.sub-menu,
    .custom-header-menu-list li .sub-menu li:focus-within>.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) scale(1);
        pointer-events: auto;
    }

    .custom-header-mobile-toggle {
        display: none;
    }

    /* KOSÁR IKON – Desktop */
    .custom-header-cart {
        display: flex;
        align-items: center;
        margin-left: 20px;
        pointer-events: auto;
    }

    /* Extra shortcode doboz – a menü és a kosár között */
    .custom-header-extra {
        display: flex;
        align-items: center;
        margin-left: 20px;
        pointer-events: auto;
    }
}

/* =========================================================
   LOGO-CENTER ELRENDEZÉS (Desktop)
   Bal menü | Logó | Jobb menü  (kosár nem látszik, szimmetria miatt)
   ========================================================= */
@media (min-width: 1201px) {
    body.hc-layout-logo-center .custom-header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 20px;
    }

    body.hc-layout-logo-center .custom-header-nav-left {
        grid-column: 1;
        justify-self: start;
        margin-left: 0;
    }

    body.hc-layout-logo-center .custom-header-logo {
        grid-column: 2;
        justify-self: center;
    }

    body.hc-layout-logo-center .custom-header-nav-right {
        grid-column: 3;
        justify-self: end;
        margin-left: 0;
    }

    body.hc-layout-logo-center .custom-header-nav-left .custom-header-menu-list {
        justify-content: flex-start;
    }

    body.hc-layout-logo-center .custom-header-nav-right .custom-header-menu-list {
        justify-content: flex-end;
    }

    /* A kosárikont és az extra shortcode-ot elrejtjük a középre igazított logó
       melletti szimmetrikus elrendezés megőrzése érdekében (mobilon így is látszanak). */
    body.hc-layout-logo-center .custom-header-cart,
    body.hc-layout-logo-center .custom-header-extra {
        display: none;
    }
}

/* =========================================================
   BOXED (keretes) MENÜSÁV – max. szélesség + lekerekítés
   ========================================================= */
@media (min-width: 1201px) {
    body.hc-width-boxed .custom-header-wrapper {
        background: transparent !important;
    }

    body.hc-width-boxed .custom-header-inner {
        max-width: var(--hc-header-max-width);
        margin: var(--hc-header-offset) auto 0 !important;
        border-radius: var(--hc-header-radius);
        background: var(--hc-header-bg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    body.hc-width-boxed .custom-header-inner.is-sticky {
        position: fixed;
        top: var(--hc-header-offset);
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: var(--hc-header-max-width);
        border-radius: var(--hc-header-radius);
        background: var(--hc-header-bg-sticky) !important;
    }
}

/* =========================================================
   MOBILE STYLES (Max-width: 1350px)
   ========================================================= */
@media (max-width: 1350px) {
    .custom-header-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        position: fixed;
        background: var(--hc-header-bg) !important;
    }

    /* Mobilon mindig teljes szélességű, a boxed beállítás csak desktopon számít */
    body.hc-width-boxed .custom-header-wrapper {
        background: var(--hc-header-bg) !important;
    }

    body.hc-width-boxed .custom-header-inner {
        max-width: 100%;
        margin: 0 !important;
        border-radius: 0;
        box-shadow: none;
    }

    .custom-header-inner {
        padding: 0 25px;
        border-radius: 0;
    }

    .custom-header-container {
        width: 100%;
        justify-content: space-between;
        display: flex !important;
        grid-template-columns: none !important;
    }

    .custom-header-logo {
        flex-grow: 0;
        order: 1;
        justify-self: start !important;
    }

    .custom-header-logo img {
        max-height: var(--hc-logo-height-mobile) !important;
        width: auto !important;
        height: auto !important;
    }

    /* Mobilon mindkét asztali menü el van rejtve */
    .custom-header-nav-desktop,
    .custom-header-nav-left,
    .custom-header-nav-right {
        display: none !important;
    }

    /* Mobilon a kosár mindig látszik */
    body.hc-layout-logo-center .custom-header-cart {
        display: flex;
    }

    .custom-header-cart {
        order: 2;
        margin-left: auto;
        margin-right: 8px;
        display: flex;
        align-items: center;
        pointer-events: auto;
    }

    /* Extra shortcode mobilon – a kosár elé kerül, ne tolja ki a hamburger-t */
    .custom-header-extra {
        order: 2;
        margin-left: auto;
        margin-right: 8px;
        display: flex;
        align-items: center;
        pointer-events: auto;
    }

    .custom-header-extra+.custom-header-cart {
        margin-left: 0;
    }

    .custom-header-mobile-toggle {
        order: 3;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 44px !important;
        height: 44px !important;
        background-color: transparent !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 1001;
        box-shadow: none !important;
        outline: none !important;
        border: none !important;
    }

    .custom-header-mobile-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background-color: var(--hc-menu-link) !important;
        border-radius: 2px !important;
        transition: all 0.3s ease;
        margin: 0 !important;
    }

    .custom-header-wrapper.header-on-light .custom-header-mobile-toggle span {
        background-color: var(--hc-menu-link) !important;
    }

    .custom-header-inner.is-sticky .custom-header-mobile-toggle span {
        background-color: var(--hc-menu-link) !important;
    }
}

/* =========================================================
   MOBILE SIDEBAR (Off-canvas)
   ========================================================= */
.custom-header-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80vw;
    max-width: 350px;
    height: 100vh;
    background: var(--hc-sidebar-bg);
    backdrop-filter: blur(15px);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    padding: 20px 25px;
    overflow-y: auto;
}

.custom-header-sidebar.is-open {
    transform: translateX(0);
}

.custom-header-sidebar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-header-sidebar-logo img {
    max-height: 65px;
    width: auto !important;
    filter: none !important;
}

.custom-header-sidebar-close {
    background: transparent !important;
    border: none;
    color: var(--hc-sidebar-color) !important;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    width: auto;
    height: auto;
    padding: 5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-header-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-header-mobile-list>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-header-mobile-list li a {
    color: var(--hc-sidebar-color);
    text-decoration: none;
    font-size: var(--hc-menu-font-size) !important;
    font-weight: var(--hc-menu-font-weight) !important;
    font-style: var(--hc-menu-font-style) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-family: inherit !important;
    transition: color 0.2s;
}

.custom-header-mobile-list li a:hover,
.custom-header-mobile-list li a:focus {
    color: var(--hc-sidebar-hover);
}

.custom-header-mobile-list li.menu-item-has-children>a::after {
    content: '' !important;
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    border: 0 !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg);
    transition: transform 0.3s;
    margin-right: 5px;
}

.custom-header-mobile-list li.menu-item-has-children>a.is-active::after {
    transform: rotate(-135deg);
    margin-top: 5px;
}

/* =========================================================
   MOBILE SUBMENUS (Accordion)
   ========================================================= */
.custom-header-mobile-list .sub-menu {
    display: none;
    padding-left: 15px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    border-radius: 8px;
}

.custom-header-mobile-list .sub-menu.is-open {
    display: block;
    animation: fadeIn 0.3s ease;
}

.custom-header-mobile-list .sub-menu li {
    border: none;
    margin: 0;
}

.custom-header-mobile-list .sub-menu a {
    font-size: var(--hc-submenu-font-size) !important;
    padding: 10px 0;
    color: var(--hc-sidebar-color);
    opacity: 0.75;
    justify-content: flex-start;
}

.custom-header-mobile-list .sub-menu a:hover {
    opacity: 1;
    color: var(--hc-sidebar-hover);
}

.custom-header-mobile-list .sub-menu a::after {
    display: none !important;
}

.custom-header-mobile-list .sub-menu .sub-menu {
    padding-left: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 6px 6px 0;
    margin: 2px 0 6px 4px;
}

.custom-header-mobile-list .sub-menu .sub-menu a {
    font-size: 14px;
    opacity: 0.55;
    padding: 12px 0;
}

.custom-header-mobile-list .sub-menu .sub-menu li+li {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   OVERLAY
   ========================================================= */
.custom-header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 19, 19, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.custom-header-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .custom-header-inner {
        height: var(--hc-header-height);
        border-radius: 0;
    }
}