/**
 * Header Reshape - responsive header / mega menu / mobile drill-down.
 *
 * Vanilla CSS. Uses Custom Properties, CSS Grid and Flexbox.
 * Design tokens derived from the Figma "Menu Reshape" file.
 *
 * Breakpoints:
 *   < 1024px  => mobile / tablet: burger + offcanvas drill-down
 *   >= 1024px => desktop: horizontal bar + mega menu panel
 *
 * @package PPC\HeaderReshape
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
.header-reshape {
    --reshape-color-primary: #0d0d0d;
    --reshape-color-secondary: #ffffff;
    --reshape-color-surface: #ffffff;
    --reshape-color-muted: #f2f3f5;
    --reshape-color-border: rgba(13, 13, 13, 0.1);
    --reshape-color-text: #0d0d0d;
    --reshape-color-text-invert: #ffffff;
    --reshape-color-text-soft: rgba(13, 13, 13, 0.62);

    --reshape-spacing-xs: 4px;
    --reshape-spacing-sm: 8px;
    --reshape-spacing-md: 16px;
    --reshape-spacing-lg: 24px;

    /* Header heights (desktop default, will override on mobile) */
    --reshape-header-height: 90px;
    --reshape-spacing-xl: 32px;

    --reshape-radius-sm: 8px;
    --reshape-radius-md: 12px;
    --reshape-radius-pill: 999px;

    --reshape-font: "Ping L", "Helvetica Neue", Arial, sans-serif;
    --reshape-fs-sm: 14px;
    --reshape-fs-md: 16px;
    --reshape-lh-sm: 20px;
    --reshape-lh-md: 24px;

    --reshape-transition: 0.3s ease;
    --reshape-topbar-h: 90px;
    --reshape-navbar-h: 90px;
    --reshape-col-l2: 350px;
    --reshape-z: 1000;

    position: relative;
    z-index: var(--reshape-z);
    font-family: var(--reshape-font);
    color: var(--reshape-color-text);
    
}
.wp-site-blocks header.headroom--not-top {
    padding-top:0px;
    padding-bottom:0px;
}
.header-reshape *,
.header-reshape *::before,
.header-reshape *::after {
    box-sizing: border-box;
}

.header-reshape__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* WordPress screen-reader helper (in case the theme lacks it). */
.header-reshape .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-reshape a {
    color: inherit;
    text-decoration: none;
}

.header-reshape button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

/* focus vizibil doar la tastatura (logo, search, telefon, limba, myPPC, meniu) */
.header-reshape :focus-visible:not(input) {
    outline: 2px solid var(--button--bg-focus, #506FEE);
    outline-offset: 0; /* anuleaza si offset-ul implicit al browserului pe link-uri (1px in Chrome) */
}
/* L1: .header-reshape__menu are overflow ascuns si inaltimea link-ului,
   un outline exterior e taiat -> inelul se deseneaza in interiorul link-ului */
.header-reshape__item--1 > .header-reshape__link:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--button--bg-focus, #506FEE);
    border-radius: 8px;
}
/* L2: acelasi model (inel interior, coltul item-ului); lista L2 are overflow, un outline exterior e taiat.
   L2 cu focus e si selectat (fundal albastru) -> margine albastra + inel alb, vizibil pe ambele fundaluri */
.header-reshape__item--2 > .header-reshape__link:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--button--bg-focus, #506FEE), inset 0 0 0 4px #ffffff;
    border-radius: 8px;
}
.header-reshape span.header-reshape__toggle {
    cursor: pointer;
}
.header-reshape button.mobile-menu-item-btn {
    color: #0D0D0D;
    background-color: #fff;
    padding: 12px 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    border-radius:8px;
}
.header-reshape button.mobile-menu-item-btn:focus,
.header-reshape button.mobile-menu-item-btn:hover { 
    background-color:#0d0d0d;
    color:#fff;
    -webkit-tap-highlight-color: transparent
}
.header-reshape .mobilemenu-lvl1 .mobile-menu-item-wrapper > .mobile-menu-link-box > .mobile-menu-item-link ,
.header-reshape .mobilemenu-lvl2 .mobile-menu-item-wrapper > .mobile-menu-link-box > .mobile-menu-item-link {
    color: #0D0D0D;
    background-color: #fff;
    padding: 12px 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    border-radius:8px;
    font-weight:400;
    -webkit-tap-highlight-color: transparent;
    margin-bottom:12px;
}
.header-reshape .mobilemenu-lvl1 .mobile-menu-item-wrapper > .mobile-menu-link-box > .mobile-menu-item-link:focus-visible, 
.header-reshape .mobilemenu-lvl2 .mobile-menu-item-wrapper > .mobile-menu-link-box > .mobile-menu-item-link:focus-visible {
     background-color:#0d0d0d;
    color:#fff;
    -webkit-tap-highlight-color: transparent
}
.header-reshape .mobilemenu-lvl3 .mobile-menu-item-wrapper > .mobile-menu-link-box > .mobile-menu-item-link{

}
.header-reshape .mobilemenu-lvl3 .mobile-menu-item-wrapper > .mobile-menu-link-box > .mobile-menu-item-link {
    color: #0D0D0D;
    background-color: transparent;
    padding: 12px 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    border-radius:8px;
    font-weight:700;
    margin-bottom:4px;
    -webkit-tap-highlight-color: transparent
}
.header-reshape .mobilemenu-lvl4 .mobile-menu-item-wrapper > .mobile-menu-link-box > .mobile-menu-item-link {
    font-weight:400;
}
.header-reshape .mobilemenu-lvl1,
.header-reshape .mobilemenu-lvl2,
.header-reshape .mobilemenu-lvl3 {
    overflow-y: scroll;
}
.header-reshape .mobilemenu-lvl4 .mobile-menu-link-box > .mobile-menu-item-link {
    color: #0D0D0D;
    background-color: transparent;
    padding: 12px 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    border-radius:8px;
    font-weight:400;
    margin-bottom:4px;
    -webkit-tap-highlight-color: transparent
}
.header-reshape button.mobile-menu-item-btn .trigger-icon {
    margin-left: auto;
    font-size:24px;
}

/* Language selector: show code by default (desktop), hide full name */
.header-reshape__lang-current.short {
    display: inline;
}
.header-reshape__lang-current.long {
    display: none;
}
/* ==========================================================================
   2. Chevron primitive
   ========================================================================== */
.header-reshape__chevron {
    display: inline-block;
    width: 17px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg); /* points down by default */
    transition: transform var(--reshape-transition);
}

.header-reshape__chevron--down {
    transform: rotate(45deg);
}

.header-reshape__chevron--back {
    transform: rotate(135deg); /* points left */
}

/* ==========================================================================
   3. Top bar
   ========================================================================== */
.header-reshape__topbar {
    position: relative;
    z-index: 2;
    background: var(--reshape-color-secondary);
   
}
.header-reshape,
.header-reshape__topbar,
.header-reshape__topbar-inner {
    -webkit-border-top-left-radius: 16px;
    -webkit-border-top-right-radius: 16px;
    -moz-border-radius-topleft: 16px;
    -moz-border-radius-topright: 16px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.header-reshape__topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--reshape-spacing-xl);
    min-height: 60px;
     -webkit-border-top-left-radius: 16px;
    -webkit-border-top-right-radius: 16px;
    -moz-border-radius-topleft: 16px;
    -moz-border-radius-topright: 16px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.header-reshape__logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.header-reshape__logo-img {
    display: block;
    max-height: 40px;
    width: auto;
}

.header-reshape__logo-img.logo_mobile {
    display: none;
}

.header-reshape__logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--reshape-color-primary);
}

.header-reshape__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-reshape__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 24px;
    min-height: 24px;
    padding: 8px;
    box-sizing:border-box;
    border-radius: 8px;
    color: var(--reshape-color-primary);
    transition: background var(--reshape-transition), color var(--reshape-transition);
}

.header-reshape__action:hover,
.header-reshape__action:focus-visible {
    background: var(--reshape-color-muted);
}

.header-reshape__icon {
    display: block;
    flex: 0 0 auto;
}

/* Custom-link CTA (e.g. myPPC) */
.header-reshape__cta {
    border: 1px solid #0D0D0D;
    margin-left:6px;
}

.header-reshape__cta-text {
    font-size: 14px;
    font-weight: 400;
    color:#0D0D0D;
    line-height: 1;
    font-family: 'PingLCG';
}
.header-reshape__action .theme-icon {
    font-size:16px;
}

/* Language switcher (markup + styling only) */
.header-reshape__lang {
    position: relative;
    padding-right:1px;
}
.header-reshape__lang .header-reshape__lang-toggle:hover,
.header-reshape__lang .header-reshape__lang-toggle:focus-visible{
    
    background: var(--reshape-color-muted);
    border-radius: 8px;
    transition: background 0.3s ease-in-out;
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    -o-transition: background 0.3s ease-in-out;
}

.header-reshape__lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--reshape-spacing-sm);
    height: 40px;
    padding: 5px !important;
    border: 1px solid var(--reshape-color-border);
    border-radius: var(--reshape-radius-pill);
    font-size: var(--reshape-fs-sm);
    font-weight: 500;
}
.header-reshape__lang-toggle .theme-icon {
    font-size:12px;
}

.header-reshape__lang-list {
    list-style: none;
    margin: 0;
    padding: var(--reshape-spacing-xs);
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 120px;
    background: var(--reshape-color-surface);
    border: 1px solid var(--reshape-color-border);
    border-radius: var(--reshape-radius-md);
    box-shadow: 0 12px 32px rgba(13, 13, 13, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--reshape-transition), transform var(--reshape-transition), visibility var(--reshape-transition);
    z-index: 2;
}

/* Reveal on hover/focus (styling only - no JS wiring for the top bar) */
.header-reshape__lang.is-open .header-reshape__lang-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header-reshape__lang .header-reshape__lang-toggle .header-reshape__lang-current {
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    border-radius: 999px;
    border: 1px solid #0D0D0D;
    padding: 8px;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    font-weight: 700;
    font-family: 'PingLCG';
    align-items: center;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0px;

}
.header-reshape__lang .header-reshape__lang-toggle .header-reshape__lang-current.long {display:none;}
.header-reshape__lang.is-open .header-reshape__lang-toggle .theme-icon {
    transform: rotate(-180deg);
}

.header-reshape__lang-list a {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    font-size: var(--reshape-fs-sm);
}

.header-reshape__lang-list a:hover,
.header-reshape__lang-list a:focus-visible {
    background: var(--reshape-color-muted);
}

.header-reshape__lang-code {
    font-weight: 600;
    min-width: 24px;
}

.header-reshape__lang-name {
    color: #0D0D0D;
}

.header-reshape__lang-item.is-current a {
    font-weight: 600;
}

/* Burger (mobile only) */
.header-reshape__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
}

.header-reshape__burger-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--reshape-color-primary);
    border-radius: 2px;
    transition: transform var(--reshape-transition), opacity var(--reshape-transition);
 
}

/* ==========================================================================
   4. Navigation shell
   ========================================================================== */
.header-reshape.is-open .header-reshape__navigation {
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.header-reshape__navigation {
    background: var(--reshape-color-primary);
    color: var(--reshape-color-text-invert);
       -webkit-border-bottom-right-radius: 16px;
    -webkit-border-bottom-left-radius: 16px;
    -moz-border-radius-bottomright: 16px;
    -moz-border-radius-bottomleft: 16px;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
}

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

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

.header-reshape__link {
    display: inline-flex;
    align-items: center;
}

.header-reshape__notice {
    padding: var(--reshape-spacing-md) 0;
    color: var(--reshape-color-text-invert);
    font-size: var(--reshape-fs-sm);
}

.header-reshape__notice a {
    text-decoration: underline;
}

/* Elements that only make sense on mobile. */
.header-reshape__mobile-head,
.header-reshape__mobile-foot {
    display: none;
}

.header-reshape__overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.5);
    opacity: 0;
    transition: opacity var(--reshape-transition);
    /* Sits above the page (the whole .header-reshape is a z-index:1000 stacking
       context) but below the top bar / navigation, which get z-index: 2. */
    z-index: 1;
}

.header-reshape__overlay:not([hidden]) {
    opacity: 1;
}

.header-reshape__action--phone { }
.header-reshape__action--phone .theme-icon {
    font-size:24px;
}
.header-reshape__action--search { 
    padding:8px !important;
    /* margin-right:-10px !important; */
}
.header-reshape__action--search .theme-icon {
    font-size:24px;
}
/* ==========================================================================
   5. DESKTOP (>= 1024px): horizontal bar + mega menu
   ========================================================================== */
html.overflow-hidden,
body.overflow-hidden {
    overflow: hidden;
}
.header-reshape__search-top-mobile {
    display:none;
}
.header-reshape__search-inner .search-field:focus-visible {
	border-color: var(--input--border-active, #163FE8);
	box-shadow: 0 0 0 2px var(--input--focus-ring, #506FEE);
}

.header-reshape__search-inner .search-field:focus-visible input::placeholder {
	color: var(--input--label, #555C5F);
}
/* Mobile scroll behavior */
.header-reshape .header-reshape__lang-panel-list {
    padding: 16px;
    box-sizing: border-box;
    background-color: #F2F3F5;
    overflow-y: auto;
}

.header-reshape a.header-reshape__lang-panel-item {
    color: #0D0D0D;
    background-color: #fff;

    padding: 12px 16px;
    box-sizing: border-box;

    width: 100%;
    max-width: 100%;

    display: flex;
    align-items: center;
    gap: 12px;

    border-radius: 8px;

    font-size: 16px;
    line-height: 24px;
    font-weight: 400;

    margin-bottom: 12px;

    -webkit-tap-highlight-color: transparent;
}
.header-reshape a.header-reshape__lang-panel-item:hover,
.header-reshape a.header-reshape__lang-panel-item:focus-visible {}
.header-reshape a.header-reshape__lang-panel-item.active {
    background-color: #0D0D0D;
    color: #fff;
}
.header-reshape a.header-reshape__lang-panel-item.active .trigger-icon{
    color:#fff;
}
.header-reshape .header-reshape__lang-panel-flag {
    display: block;
    width: 24px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 auto;
}

.header-reshape .header-reshape__lang-panel-name {
    flex: 1 1 auto;
}

.header-reshape .header-reshape__lang-panel-item .trigger-icon {
    margin-left: auto;
    flex: 0 0 auto;
}
.header-reshape.is-mobile-open button.header-reshape__lang-panel-close,
.header-reshape.is-open button.header-reshape__close__search {
    padding:8px;
    background-color:#0D0D0D;
    color:#fff;
    border-radius:8px;
}
.header-reshape.is-mobile-open button.header-reshape__lang-panel-close .theme-icon,
.header-reshape.is-open button.header-reshape__close__search .theme-icon{
    color:#fff;
    font-size:25px;
}
@media (min-width: 1024px) {
    /* Desktop: hide mobile menu */
    .header-reshape__menu-mobile {
        display: none !important;
    }

    /* Keep the bar + mega panel above the dimming overlay. */
    .header-reshape__navigation {
        position: relative;
        z-index: 2;
    }
    .header-reshape.lang_opened .header-reshape__navigation {
        z-index: initial;
    }
    

    .header-reshape__nav-inner {
        position: relative;
    }

    .header-reshape__menu {
        display: flex;
        align-items: stretch;
        gap: 24px;
        min-height: 48px;
        padding-left:10px;
        box-sizing:border-box;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
    }

    /* Hide scrollbar but keep scrolling */
    .header-reshape__menu::-webkit-scrollbar {
        display: none;
    }
    .header-reshape__menu {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .header-reshape__item--1 {
        display: flex;
        align-items: center;
        min-width:fit-content;
    }

    .header-reshape__item--1 > .header-reshape__link {
        height: 48px;
    }

    /* A Level 1 entry: link + chevron behave as one visual pill. */
    .header-reshape__item--1 > .header-reshape__link {
        box-sizing:border-box;
        padding:12px 16px 12px 16px;
        font-size: var(--reshape-fs-md);
        font-weight: 400;
    
        color: var(--reshape-color-text-invert);
        font-size:16px;
        line-height:24px;
    }

    .header-reshape__item--1.header-reshape__item--has-children > .header-reshape__link {
        
        box-sizing:border-box;
        /* chevron-ul e in link: spatiul de 8px text-sageata trece pe chevron */
        padding:12px 0 12px 16px;
    }

    .header-reshape__item--1:not(.header-reshape__item--has-children) > .header-reshape__link {
        padding-right: var(--reshape-spacing-md);
    }

    .header-reshape__item--1 > .header-reshape__link > .header-reshape__toggle {
        display: inline-flex;
        align-items: center;
        color: var(--reshape-color-text-invert);
        padding-left:8px;
        padding-right:16px;
        box-sizing:border-box;
    }
    .header-reshape__item--1 > .header-reshape__link > .header-reshape__toggle > span.theme-icon{
        font-size:23px;
    }

    /* Hover / open state on Level 1 -> white pill (Figma "Magazin" active) */
    .header-reshape__item--1:hover,
    .header-reshape__item--1.is-opened,
    .header-reshape__item--1.current-menu-item,
    .header-reshape__item--1.current-menu-parent,
    .header-reshape__item--1.current-menu-ancestor {
        background: var(--reshape-color-secondary);
        border-radius: var(--reshape-radius-sm);
    }

    .header-reshape__item--1:hover > .header-reshape__link,
    .header-reshape__item--1:hover > .header-reshape__link > .header-reshape__toggle,
    .header-reshape__item--1.is-opened > .header-reshape__link,
    .header-reshape__item--1.is-opened > .header-reshape__link > .header-reshape__toggle,
    .header-reshape__item--1.current-menu-item > .header-reshape__link,
    .header-reshape__item--1.current-menu-parent > .header-reshape__link,
    .header-reshape__item--1.current-menu-ancestor > .header-reshape__link {
        color: var(--reshape-color-primary);
    }
    .header-reshape__item--1:hover > .header-reshape__link > .header-reshape__toggle,
    .header-reshape__item--1.is-opened > .header-reshape__link > .header-reshape__toggle,
    .header-reshape__item--1.current-menu-item > .header-reshape__link > .header-reshape__toggle,
    .header-reshape__item--1.current-menu-parent > .header-reshape__link > .header-reshape__toggle,
    .header-reshape__item--1.current-menu-ancestor > .header-reshape__link > .header-reshape__toggle {
        color: var(--reshape-color-primary);
    }

    .header-reshape__item--1.is-opened > .header-reshape__link > .header-reshape__toggle > span.theme-icon{
        transform: rotate(-180deg); 
    }

    /* ---- Mega panel (Level 2 container) ---- */
    .header-reshape__panel {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--reshape-color-surface);
        color: var(--reshape-color-text);
        border-radius: 0 0 var(--reshape-radius-md) var(--reshape-radius-md);
        box-shadow: 0 24px 48px rgba(13, 13, 13, 0.16);
        overflow: hidden;
        border: 1px solid rgba(13, 13, 13, 0.10);
        border-top: 0px solid transparent;
    }

    .header-reshape__item--1.is-opened > .header-reshape__panel {
        display: block;
    }

    .header-reshape__panel-inner {
        position: relative;
        display: grid;
        grid-template-columns: var(--reshape-col-l2) 1fr;
        min-height: 320px;
        max-height: min(70vh, 640px);
        overflow: hidden;
    }

    /* ---- Level 2: left column list ---- */
    .header-reshape__level--2 {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 16px;
        box-sizing: border-box;
        background: #ffffff;
        border-right: 1px solid rgba(13, 13, 13, 0.10);

        max-height: min(70vh, 640px);
        overflow-y: scroll;
        overflow-x: hidden;
        overscroll-behavior: contain;

        scrollbar-width: thin;
        scrollbar-color: #94989B #E6E7EA;
    }

    .header-reshape__level--2::-webkit-scrollbar {
        width: 6px;
    }

    .header-reshape__level--2::-webkit-scrollbar-track {
        background: #E6E7EA;
        border-radius: 999px;
    }

    .header-reshape__level--2::-webkit-scrollbar-thumb {
        background: #94989B;
        border-radius: 999px;
    }

    .header-reshape__level--2::-webkit-scrollbar-thumb:hover {
        background: #0D0D0D;
    }

    .header-reshape__item--2 {
        display: flex;
        align-items: center;
        border-radius: 8px;
        background:transparent;
        transition: background var(--reshape-transition), color var(--reshape-transition);
    }

    .header-reshape__item--2 > .header-reshape__link {
        flex: 1 1 auto;
        padding: 8px 8px 8px 16px;
        font-size: 16px;
        font-weight: 400;
        line-height:24px;
        transition: none;
    }

    /* chevron-ul e in link: impins la dreapta, aceeasi distanta si inaltime ca inainte */
    .header-reshape__item--2.header-reshape__item--has-children > .header-reshape__link {
        padding-right: 0;
    }

    .header-reshape__item--2 > .header-reshape__link > .header-reshape__toggle {
        display: inline-flex;
        align-items: center;
        height: 24px;
        margin-left: auto;
        padding: 0 16px 0 24px;
        color: inherit;
    }

    .header-reshape__item--2 > .header-reshape__link > .header-reshape__toggle .theme-icon {
        transform: rotate(-90deg); /* points right */
        font-size:25px;
    }

    .header-reshape__item--2:hover,
    .header-reshape__item--2.is-selected {
        background: #163FE8;
        color: #fff;
    }

    /* ---- Level 3 grid (shown for the selected Level 2) ---- */
    .header-reshape__grid {
        display: none;
        position: absolute;
        top: 0;
        left: var(--reshape-col-l2);
        right: 0;
        bottom: 0;
        background-color:#F2F3F5;
        padding: 20px 16px;
        box-sizing:border-box;
        overflow-y: scroll;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #94989B #E6E7EA;
    }

    /* main.css ascunde global scrollbar-ul (width: 0) - aici îl facem vizibil tot timpul */
    .header-reshape__grid::-webkit-scrollbar {
        width: 6px;
    }

    .header-reshape__grid::-webkit-scrollbar-track {
        background: #E6E7EA;
        border-radius: 999px;
    }

    .header-reshape__grid::-webkit-scrollbar-thumb {
        background: #94989B;
        border-radius: 999px;
    }

    .header-reshape__grid::-webkit-scrollbar-thumb:hover {
        background: #0d0d0d;
    }

    .header-reshape__item--2.is-selected > .header-reshape__grid {
        display: block;
    }

    .header-reshape__level--3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .header-reshape__item--3 {
        display: block;
    }

    /* Level 3 acts as a (bold) column heading. */
    .header-reshape__item--3 > .header-reshape__link > .header-reshape__toggle {
        display: none; /* no drill-down on desktop; L4 is shown inline */
    }

    .header-reshape__item--3 > .header-reshape__heading {
        display: block;
        margin-bottom: 12px;
        font-size: var(--reshape-fs-md);
        font-weight: 700;
        color: var(--reshape-color-text);
    }
    
    .header-reshape__item--3.current_page_item > .header-reshape__heading .header-reshape__text {
        color:#163FE8;
    }
    .header-reshape__item--4.current_page_item > .header-reshape__link .header-reshape__text{
        color:#163FE8
    }
  

    .header-reshape__item--3 > .header-reshape__heading:hover,
    .header-reshape__item--3 > .header-reshape__heading:focus-visible {
        
        color: #163FE8;
    }

    /* ---- Level 4: links under a heading ---- */
    .header-reshape__level--4 {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .header-reshape__item--4 > .header-reshape__link {
        display: block;
        padding: 0;
        font-size: 16px;
        line-height: 24px;
        color: #0d0d0d;
        transition: color var(--reshape-transition);
    }

    .header-reshape__item--4 > .header-reshape__link:hover,
    .header-reshape__item--4 > .header-reshape__link:focus-visible,
    .header-reshape__item--4.current-menu-item > .header-reshape__link {
        color: #163FE8;
    }

    /* The offcanvas chrome never shows on desktop. */
    .header-reshape__burger {
        display: none;
    }

    .header-reshape__levels {
        padding: 12px 0px;
        box-sizing:border-box;
    }

    /* Search box */
    #search-box {
        position: absolute;
        top: 250px;
        background: #F2F3F5;
        width: 100%;
        height: 0;
        z-index: 999;
        left: 0;
        opacity: 0;
        /* transition: height 0.2s ease-in-out, opacity 0.2s ease-in-out; */
        box-sizing: border-box;
        overflow: hidden;
        border-top: 1px solid rgba(13, 13, 13, 0.10);
    }

    #search-box.active {
        height: 560px;
        opacity: 1;
        padding: 30px 332px;
        -webkit-border-bottom-right-radius: 16px;
        -webkit-border-bottom-left-radius: 16px;
        -moz-border-radius-bottomright: 16px;
        -moz-border-radius-bottomleft: 16px;
        border-bottom-right-radius: 16px;
        border-bottom-left-radius: 16px;
    }

    .header-reshape__search-inner {
        display: flex;
        width: 100%;
        flex-direction:column;
        gap: 8px;
    }

    .header-reshape__search-inner .wp-block-search,
    .header-reshape__search-inner form {
        flex: 1 1 auto;
        position: relative;
    }

    .header-reshape__search-inner .wp-block-search__input,
    .header-reshape__search-inner .search-field {
        width: 100%;
        height: 128px;
        line-height: 128px;
        padding: 0 144px;
        box-sizing: border-box;
        border-radius: 16px;
        border: 2px solid #000;
        color: #000;
        font-size: 36px;
        font-weight: 700;
        background-color: transparent;
    }

    .header-reshape__search-inner .wp-block-search__label {
        position: absolute;
        height: 128px;
        display: flex;
        align-items: center;
        left: 24px;
        top: 0;
    }

    .header-reshape__search-inner .wp-block-search__button,
    .header-reshape__search-inner .search-submit {
        position: absolute;
        left: auto;
        right:0px;
        top: 0;
        width: 48px;
        height: 100%;
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .header-reshape__search-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 128px;
        height: 128px;
        flex: 0 0 auto;
        color: var(--reshape-color-primary);
        background: transparent;
        border: 2px solid #000;
        border-radius: 16px;
        cursor: pointer;
        margin-left: 24px;
        transition: all 0.5s ease;
        position: relative;
    }

    .header-reshape__search-close svg {
        width: 36px;
        height: 36px;
    }

    .header-reshape__search-close:hover {
        color: #163FE8;
    }

    /* Search icon (label:before) - on the right */
    .header-reshape__search-inner .search-form label::before {
        content: "";
        position: absolute;
        right: 72px;
        top: 8px;
        width: 48px;
        height: 48px;
        background: url(./../../assets/icons/blocks/search.svg) no-repeat center;
        background-size: contain;
        cursor: pointer;
    }

    /* Adjust input padding: left for label, right for icon + submit */
    .header-reshape__search-inner .search-field {
        padding: 0 144px 0 24px !important;
        background-color: #ffffff !important;
        border-color: #555C5F !important;
    }
    .search-title {
        font-size:32px;
        line-height:40px;
        font-weight:700;
        color:#0D0D0D;
    }
    .sugestions-title {
        font-size:24px;
        line-height:32px;
        font-weight:700;
        color:#0D0D0D;
        margin-bottom:8px;
        flex:0 0 100%
    }
    .header-reshape__search .search-sugestions {
        display: flex;
        flex-wrap: wrap;
    }

    .header-reshape__search .search-sugestions .sugestion {

        margin-bottom: 12px;
        background: transparent;
        border: 1px solid #0D0D0D;
        padding: 8px;
        box-sizing:border-box;
        margin-right: 12px;
        border-radius:8px;
        font-size:16px;
        font-weight:400;
        line-height:24px;
    }
    .header-reshape__search .search-sugestions .sugestion:focus-visible,
    .header-reshape__search .search-sugestions .sugestion:hover {
        background:  #D0D9FA;
        border-color:  #D0D9FA;
    }
    /* .header-reshape__search .search-sugestions .sugestion:focus-visible {
        background: transparent;
        border-color:  #163FE8;
        color:  #0D0D0D;
        outline: none;
    } */
}

/* ==========================================================================
   Mobile drill-down menu (GLOBAL - outside media query, like PPC)
   ========================================================================== */

/* ==========================================================================
   6. MOBILE / TABLET (< 1024px): offcanvas drill-down
   ========================================================================== */
@media (max-width: 1200px) {
    /* Mobile: hide desktop menu, show mobile menu */
    .header-reshape__menu {
        display: none !important;
    }

    .header-reshape__menu-mobile {
        display: block !important;
        position: relative;
        height: 100%;
    }

    /* Hide CTA from topbar when mobile menu is open, show in footer */
    .header-reshape.is-mobile-open .header-reshape__topbar .header-reshape__cta {
        display: none !important;
    }

    /* Language switcher: hide shortcode on mobile, show lang button */
    .header-reshape__lang-shortcode {
        display: none !important;
    }

    .header-reshape__lang-button {
        display: flex;
        align-items: center;
        background: #ffffff;
        color: #0d0d0d;
        border-radius: 8px;
        font-weight: 400;
        font-size:16px;
        cursor: pointer;
        transition: 0.3s ease;
        padding: 5px 15px !important;
        box-sizing: border-box;
        gap: 9px;
        font-family: 'PingLCG';
    }

    .header-reshape__lang-button:hover,
    .header-reshape__lang-button:focus-visible {
        background: #0d0d0d;
        color: #ffffff;
        
    }

    .header-reshape {
        transition: transform 0.3s ease;
    }

    .header-reshape.scrolled {
        transform: translateY(0px);
    }
    .header-reshape__logo-img.logo_desktop {
        display: none;
    }
    .header-reshape__logo-img.logo_mobile {
        display: block;
        filter: brightness(0) invert(1);
    }
    .header-reshape__topbar {
        background-color:transparent;
    }
    
    .header-reshape,
    .header-reshape__topbar,
    .header-reshape__topbar-inner {
         -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
    }
    .header-reshape__topbar-inner {
        background-color:#0D0D0D;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
    }
   
    .header-reshape__action--search {
        color:#fff !important;
        order:1;
    }
   
    .header-reshape__actions .header-reshape__lang {
        display:none;
    }
    .header-reshape__cta {
        display:inline-flex !important;
        order:2;
        border-color:#fff;
        color:#fff;
    }
    .header-reshape__cta-text,
    .header-reshape__action .theme-icon {
        color:#fff;
    }
    .header-reshape__burger-bar {
        
    }
    .header-reshape__burger {
        background-color:#fff !important;
        padding:8px !important;
        box-sizing:border-box;
        order:3;
        
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
    }
    .header-reshape__burger .mobile_border {
        gap: 3px;
        display: inline-flex;
        flex-direction: column;
        border: 1px solid #fff;
        border-radius: 9999px;
        padding: 0px;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
    }
    .header-reshape.is-mobile-open .mobile_border {
        padding:5px;
    }
    .header-reshape.is-mobile-open .mobile_border .header-reshape__burger-bar {
        height:1px;
    }
    .header-reshape__topbar-inner{
        padding-left:12px;
        padding-right:12px;
       
    }
    .header-reshape__logo-img.logo_mobile {
        display: block;
    }
    .header-reshape__burger {
        display: inline-flex;
    }

    /* Collapse the desktop-only top-bar actions. */
    
    .header-reshape__lang,
    .header-reshape__cta {
        display: none;
    }
    .header-reshape__mobile-foot .header-reshape__lang {
        display:flex;
    }
    .header-reshape__mobile-foot .header-reshape__lang.is-open .header-reshape__lang-list {
        bottom: calc(100% + 6px);
        left:0px;
        right:auto;
        top:auto;
    }
    .header-reshape__mobile-foot .header-reshape__lang .header-reshape__lang-toggle {
        border:1px solid #0D0D0D;
    }
    .header-reshape__mobile-foot .header-reshape__lang .header-reshape__lang-toggle .header-reshape__lang-current.short {
        display:none;
    }
    .header-reshape__mobile-foot .header-reshape__cta{
        margin-left:auto;
    }
    .header-reshape__mobile-foot .header-reshape__lang .header-reshape__lang-toggle .header-reshape__lang-current.long {
        display:flex;
        width: auto;
        border: 0px;
        
        
    }
    .header-reshape__navigation {
        border-radius:0px;
    }
    .header-reshape__mobile-foot .header-reshape__lang .header-reshape__lang-toggle {
        border-radius:8px;
    }
    body.hr-no-scroll {
        overflow: hidden;
    }

    /* Offcanvas panel - full width on mobile */
    .header-reshape__navigation {
        position: fixed;
        top: 76px;
        right: 0;
        left: 0;
        bottom: 0;
        background: var(--reshape-color-secondary);
        color: var(--reshape-color-text);
        transform: translateX(100%);
        transition: transform var(--reshape-transition);
        z-index: var(--reshape-z);
        visibility: hidden;
    }
    /* Default: top fără admin bar */
    .headroom--top .header-reshape__navigation {
        top: 84px;
    }
    .headroom--not-top .header-reshape__navigation {
        top: 60px;
    }
    .headroom--top #search-box.active {
        top:84px;
    }
    .headroom--not-top  #search-box.active {
        top:60px;
    }
    .header-reshape.is-open .header-reshape__topbar{
        background-color:#fff;
    }
    

    /* Top cu admin bar */
    body.admin-bar .headroom--top .header-reshape__navigation {
        top: 116px;
    }
    body.admin-bar .headroom--not-top .header-reshape__navigation {
        top:92px;
    }
    /* Headroom pinned fără admin bar */
    .wp-site-blocks header.headroom--pinned ~ .header-reshape__navigation {
        top: 60px;
    }

    /* Headroom pinned cu admin bar */
    


    .header-reshape{
        position: sticky;
        width: 100%;
        z-index: 999;
    }
    .header-reshape.is-mobile-open .header-reshape__navigation {
        transform: translateX(0);
        visibility: visible;
        z-index:10;
    }

    .header-reshape__nav-inner {
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 0;
        overflow: hidden;
    }

    /* Mobile head: back + title + close */
    .header-reshape__mobile-head {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        display: none;
        align-items: center;
        gap: var(--reshape-spacing-sm);
        min-height: 70px;
        padding: 0 var(--reshape-spacing-md);
        background: #fff;
        border-bottom: 1px solid var(--reshape-color-border);
        z-index: 4;
    }
    .header-reshape__mobile-head.active {
        display: flex;
        top:-84px;
        min-height:84px;
    }
    .headroom--not-top .header-reshape__mobile-head.active {
        top:-59px;
        min-height:60px;
    }
    .header-reshape button.header-reshape__back {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0;
        font-size: 16px;
        font-weight: 500;
        padding: 0px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        border-radius: 8px;
        -webkit-tap-highlight-color: transparent;
    }
    .header-reshape button.header-reshape__back:focus-visible {
        background-color: #0d0d0d;
        color: #fff;
        -webkit-tap-highlight-color: transparent;
    }
    .header-reshape button.header-reshape__back:focus-visible .theme-icon  {
        color:#fff;
    }

    .header-reshape__back[hidden] {
        display: none;
    }

    .header-reshape__mobile-title {
        flex: 1 1 auto;
        font-size: var(--reshape-fs-md);
        font-weight: 600;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .header-reshape .theme-icon.icon-back-arrow {
        font-size:16px;
    }
    .header-reshape__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-left: auto;
        flex: 0 0 auto;
    }

    /* The stack of screens lives in this scroll region. */
    .header-reshape__levels {
        position: relative;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .header-reshape__menu {
        position: relative;
        height: 100%;
        overflow-y: auto;
    }

    /* Every list is a stacked, full-size sliding screen. */
    .header-reshape__level {
        display: flex;
        flex-direction: column;
    }

    .header-reshape__panel,
    .header-reshape__grid,
    .header-reshape__level--4 {
        position: absolute;
        inset: 0;
        background: var(--reshape-color-secondary);
        transform: translateX(100%);
        transition: transform var(--reshape-transition);
        overflow-y: auto;
        z-index: 1;
    }

    .header-reshape__panel.is-active,
    .header-reshape__grid.is-active,
    .header-reshape__level--4.is-active {
        transform: translateX(0);
    }

    .header-reshape__panel-inner {
        display: block;
        min-height: 100%;
    }

    /* Rows */
    .header-reshape__item {
        display: flex;
        align-items: center;
        border-bottom: 1px solid var(--reshape-color-border);
    }

    .header-reshape__item > .header-reshape__link {
        flex: 1 1 auto;
        display: block;
        padding: var(--reshape-spacing-md);
        font-size: var(--reshape-fs-md);
    }

    .header-reshape__item--4 > .header-reshape__link {
        color: var(--reshape-color-text-soft);
    }

    .header-reshape__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        align-self: stretch;
        border-left: 1px solid var(--reshape-color-border);
        color: var(--reshape-color-primary);
    }

    .header-reshape__toggle .header-reshape__chevron {
        transform: rotate(-45deg); /* points right */
    }

    .header-reshape__item.current-menu-item > .header-reshape__link,
    .header-reshape__item.current-menu-ancestor > .header-reshape__link {
        font-weight: 600;
        color: var(--reshape-color-primary);
    }

    /* Padding wrappers inside the sliding screens. */
    .header-reshape__level--2,
    .header-reshape__level--3,
    .header-reshape__level--4 {
        padding: 0;
    }

    /* Mobile footer (phone + CTA) */
    .header-reshape__mobile-foot {
        display: flex;
        
        gap: var(--reshape-spacing-sm);
        padding: var(--reshape-spacing-md);
        border-top: 1px solid var(--reshape-color-border);
        flex: 0 0 auto;
    }

    .header-reshape__foot-link {
        font-size: var(--reshape-fs-md);
        font-weight: 500;
    }

    .header-reshape__foot-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 48px;
        border-radius: var(--reshape-radius-pill);
        background: var(--reshape-color-primary);
        color: var(--reshape-color-text-invert);
        font-weight: 500;
    }

    /* Burger -> X animation when open */
    .header-reshape.is-mobile-open .header-reshape__burger-bar {
        width:80%;
    }
    .header-reshape.is-mobile-open .header-reshape__burger-bar:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }

    .header-reshape.is-mobile-open .header-reshape__burger-bar:nth-child(2) {
        opacity: 0;
    }

    .header-reshape.is-mobile-open .header-reshape__burger-bar:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
    .wp-site-blocks header {
        padding-top:0px !important;
        padding-bottom:0px !important;
    }
    .header-reshape__cta:hover .header-reshape__cta-text,
    .header-reshape__action:hover .theme-icon,
    .header-reshape__action--search:hover span,
    .header-reshape__cta:focus-visible .header-reshape__cta-text,
    .header-reshape__action:focus-visible .theme-icon,
    .header-reshape__action--search:focus-visible span {
        color:#0D0D0D;
    }
    .header-reshape .header-reshape__topbar{ 
        padding:12px 0;
        box-sizing:border-box;
    }
    .headroom--not-top .header-reshape .header-reshape__topbar {
        padding-top:0px;
        padding-bottom:0px;
    }
    .header-reshape.is-mobile-open .header-reshape__topbar {
        background-color:#fff;
        
    }
    
    .header-reshape.is-open .header-reshape__topbar .header-reshape__topbar-inner,
    .header-reshape.is-mobile-open .header-reshape__topbar .header-reshape__topbar-inner{ 
        background-color:#fff;     
        
    }
    
    .header-reshape.is-open .header-reshape__logo-img.logo_mobile ,
    .header-reshape.is-mobile-open .header-reshape__logo-img.logo_mobile {
       filter: brightness(0) invert(0); 
    }
    .header-reshape.is-open .header-reshape__cta ,
    .header-reshape.is-mobile-open .header-reshape__cta {
        border-color:#0D0D0D;
        transition: none;
    }
    .header-reshape .header-reshape__cta .header-reshape__cta-text,
    .header-reshape .theme-icon {
        transition: none;
    }
    .header-reshape.is-open .header-reshape__burger-bar ,
    .header-reshape.is-mobile-open .header-reshape__burger-bar {
        background-color:#fff !important;
    }
    .header-reshape.is-open .header-reshape__burger ,
    .header-reshape.is-mobile-open .header-reshape__burger {
        background-color:#0D0D0D !important;
    }
    .header-reshape.is-open .header-reshape__cta .header-reshape__cta-text,
    .header-reshape.is-open .theme-icon ,
    .header-reshape.is-mobile-open .header-reshape__cta .header-reshape__cta-text,
    .header-reshape.is-mobile-open .theme-icon {
        color:#0D0D0D;
        
    }
    .header-reshape__close {
        display:none;
    }
    .header-reshape__levels{
        background-color:#F2F3F5;
        flex: 1;
        position: relative;
        overflow: hidden;
    }
    .header-reshape__level {
        padding:16px !important;
        box-sizing:border-box;
    }
    .header-reshape__item--4 > .header-reshape__link, .header-reshape__item--3 > .header-reshape__heading, .header-reshape__item--2 > .header-reshape__link, .header-reshape__item--1 > .header-reshape__link {
        font-size:16px;
        line-height:24px;
    }
    .header-reshape__menu .header-reshape__toggle .icon-arrow-down {
        -webkit-mask-image: url(./../../assets/icons/blocks/arrow-right.svg);
        mask-image: url(./../../assets/icons/blocks/arrow-right.svg);
    }
    .header-reshape__item--1 > .header-reshape__link > .header-reshape__toggle {
        
    }
    .header-reshape__item--1 > .header-reshape__link {
        color:#0D0D0D;
    }
    .header-reshape__item--1 {
        background-color:#fff;
        border:0px solid transparent;
        border-radius:8px;
    }
    .wp-block-template-part.headroom.headroom--top.headroom--not-bottom:has(.header-reshape__search.active),
    .wp-block-template-part.headroom.headroom--top.headroom--not-bottom:has(.is-mobile-open) {
        padding-left:0px;
        padding-right:0px;
    }
}

/* ==========================================================================
   7. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .header-reshape *,
    .header-reshape *::before,
    .header-reshape *::after {
        transition-duration: 0.01ms !important;
    }
}



/* Mobile menu link box */
.header-reshape .mobile-menu-link-box {
    display: flex;
    margin-bottom: 24px;
    max-width:100%;
    width:100%;
}

/* Mobile menu all levels (L2-L4) - GLOBAL */
.header-reshape .mobilemain-menu .mobile-menu-all {
    position: absolute;
    top: 0;
    left: -100vw;
    width: 100vw;
    background: #efefef;
    z-index: 2;
    box-sizing: border-box;
    flex-direction: column;
    display: none;
    transition: 0.5s;
    padding: 40px 5vw;
}
.header-reshape .mobilemain-menu .mobile-menu-all.active {
    left: 0;
    display: flex;
}

/* Hide inactive wrapper items */
.header-reshape .mobile-menu-item-wrapper.inactive {
    display: none;
}

/* Show active wrapper items */
.header-reshape .mobile-menu-item-wrapper.active {
    display: flex;
}

/* Default: show L1 wrappers, hide L2+ unless marked */
.header-reshape .mobilemenu-lvl2 .mobile-menu-item-wrapper,
.header-reshape .mobilemenu-lvl3 .mobile-menu-item-wrapper,
.header-reshape .mobilemenu-lvl4 .mobile-menu-item-wrapper {
    display: none;
}

/* Show wrappers that are explicitly marked as active */
.header-reshape .mobile-menu-all.active .mobile-menu-item-wrapper.active {
    display: flex;
    flex-direction:column;
}

/* L4 only: inline display, not fixed positioning */
.header-reshape .mobilemenu-lvl4.mobile-menu-all {
    position: static;
    top: auto;
    height: auto;
    left: auto;
    width: auto;
    padding: 0;
    display: flex;
    background: transparent;
    transition: none;
    z-index: auto;
}
.header-reshape .mobilemenu-lvl4.mobile-menu-all.active {
    left: auto;
}

/* Mobile scroll container */
.header-reshape .mobile-scroll {
    overflow-y: scroll;
    height: 100%;
    padding: 16px;
    box-sizing:border-box;
}
.header-reshape__action_search {
    display:none;
}
 .header-reshape__search-inner .wp-block-search__input,
.header-reshape__search-inner .search-field {
    
    font-family: 'PingLCG';
    
}
.header-reshape__search-inner .search-field::placeholder {
    
    font-family: 'PingLCG';
}
.header-reshape__lang-flag,
.header-reshape__lang-panel-icon {
    display: block;
    width: 24px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}
/* Tablet/Medium screens (1200px - 3000px) */
@media only screen and (max-width: 3000px) and (min-width: 1201px) {
    #search-box {
        top: 60px;
    }

    #search-box.active {
        height: 400px;;
        padding: 40px 32px;
    }
    .header-reshape__search-inner {
        margin-bottom:32px;
    }
    .header-reshape__search-inner .wp-block-search__input,
    .header-reshape__search-inner .search-field {
        height: 64px;
        line-height: 64px;
        padding: 0 72px;
        border-radius: 16px;
        border: 1px solid #000;
        font-size: 25px;
        font-weight:400;
        font-family: 'PingLCG';
        line-height:40px;
    }
    .header-reshape__search-inner .search-field::placeholder {
        font-size: 25px;
        font-weight:400;
        font-family: 'PingLCG';
    }
    

    .header-reshape__search-inner .wp-block-search__button,
    .header-reshape__search-inner .search-submit {
        width: 48px;
        height: 100%;
    }

    .header-reshape__search-close {
        width: 64px;
        height: 64px;
        border-radius: 8px;
        border: 1px solid #000;
        margin-left: 24px;
    }

    .header-reshape__search-close svg {
        width: 18px;
        height: 18px;
    }

    /* Search icon on tablet */
    .header-reshape__search-inner .search-form label::before {
        width: 24px;
        height: 24px;
        right: 16px;
        top: 20px;
    }

    /* Adjust input padding on tablet */
    .header-reshape__search-inner .search-field {
        padding: 0 72px 0 16px !important;
        background-color: #ffffff !important;
        border-color: #555C5F !important;
    }
}


@media only screen and (max-width: 3000px) {
    .header-reshape .mobile-menu-link-box {
        margin-bottom: 0px;
    }
    .mobile-menu-item-wrapper[data-has-children=true] {
        margin-bottom:12px;
    }
    .header-reshape .mobilemain-menu .mobile-menu-all:not(.mobilemenu-lvl4) {
        top: 0px;
        height: calc(100vh - 66px - 112px);
        left: -100vw;
        padding: 16px;
        box-sizing:border-box;
    }
    .header-reshape .mobilemain-menu .mobile-menu-all:not(.mobilemenu-lvl4).active {
        left: 0;
        display: flex;
    }
    
}
@media only screen and (max-width: 1500px) {
    .wp-site-blocks header {
        width: auto !important;
        padding-left: 5vw;
        padding-right: 5vw;
        box-sizing: border-box;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .header-reshape__menu {
        gap:13px;
    }
    .header-reshape__item--1 > .header-reshape__link > .header-reshape__toggle {
        padding-right:9px;
    }
}
@media only screen and (max-width: 1199px) {
    /* meniu mobile sau search deschis: header fără padding lateral */
    .wp-site-blocks header:has(.header-reshape.is-mobile-open),
    .wp-site-blocks header:has(.header-reshape__search.active) {
        padding-left: 0;
        padding-right: 0;
    }
}
@media only screen and (max-width: 1400px) {
	.wp-site-blocks header {
		width:100%;
		max-width:100%;
	}
    .header-reshape__item--1 > .header-reshape__link {
        font-size:15px;
    }
    .header-reshape__item--1 > .header-reshape__link > .header-reshape__toggle {
        padding-right:16px;
    }
    .header-reshape__menu {
        gap:10px;
        padding-left:0px;
    }
    
    .header-reshape__item--4 > .header-reshape__link,
    .header-reshape__item--3 > .header-reshape__heading,
	.header-reshape__item--2 > .header-reshape__link,
    .header-reshape__item--1 > .header-reshape__link {
        font-size:14px;
    }
    

}
@media only screen and (max-width: 1300px) {
    .header-reshape__item--1 > .header-reshape__link > .header-reshape__toggle {
        padding-right:0px;
    }
}

@media only screen and (max-width: 1200px) {
    .header-reshape__search-top-mobile {display:block;}
    .header-reshape {
        --reshape-header-height: 66px;
    }

    /* Language selector: show full name, hide code on mobile */
    .header-reshape__lang-current.short {
        display: none;
    }
    .header-reshape__lang-current.long {
        display: inline;
    }

    #search-box {
        top: 0;
        position: fixed;
    }

    #search-box.active {
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
        width: 100%;
        padding: 24px 24px;
        top: 60px;
        opacity:1;
        /* titlu + input fixe sus, sugestiile ocupa restul si fac scroll */
        display: flex;
        flex-direction: column;
    }
    #search-box.active .header-reshape__search-inner {
        flex: 0 0 auto;
    }
    #search-box.active .search-sugestions {
        flex: 1 1 auto;
        min-height: 0;
        align-content: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        /* spatiu jos: panoul poate iesi sub ecran (bara Safari inclusa in 100vh, admin bar) */
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
    body.admin-bar .headroom--top #search-box.active {
        top:84px;
    }
    body.admin-bar .headroom--not-top #search-box.active {
        top:60px;
    }

    .header-reshape__search-inner {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .header-reshape__search-inner .wp-block-search,
    .header-reshape__search-inner form {
        flex: 1 1 100%;
        position: relative;
        margin-bottom: 16px;
    }

    

    .header-reshape__search-close {
        display: none;
    }

    .header-reshape__levels {
        padding-top:0px;
        padding-bottom:0px;
    }
    #search-box {
        position: absolute;
        top: 250px;
        background: #F2F3F5;
        width: 100%;
        height: 0;
        z-index: 999;
        left: 0;
        opacity: 0;
        /* transition: height 0.2s ease-in-out, opacity 0.2s ease-in-out; */
        box-sizing: border-box;
        overflow: hidden;
        border-top: 1px solid rgba(13, 13, 13, 0.10);
    }
    .header-reshape__search-inner {
        display: flex;
        width: 100%;
        flex-direction:column;
        gap: 8px;
    }

    .header-reshape__search-inner .wp-block-search,
    .header-reshape__search-inner form {
        flex: 1 1 auto;
        position: relative;
    }

    .header-reshape__search-inner .wp-block-search__input,
    .header-reshape__search-inner .search-field {
        width: 100%;
        height: 48px;
        line-height: 48px;
        padding: 0 8px;
        box-sizing: border-box;
        border-radius: 8px;
        border: 1px solid #555C5F;
        color: #4E4E4E;
        font-size: 16px;
        font-weight: 400;
        background-color: #fff;
    }
    .header-reshape__search-inner .wp-block-search__input,
    .header-reshape__search-inner .search-field::placeholder {
        font-size:16px;
        color: #4E4E4E;
        font-size: 16px;
        font-weight: 400;
    }
    

    .header-reshape__search-inner .wp-block-search__label {
        position: absolute;
        height: 48px;
        display: flex;
        align-items: center;
        left: 24px;
        top: 0;
    }

    .header-reshape__search-inner .wp-block-search__button,
    .header-reshape__search-inner .search-submit {
        position: absolute;
        left: auto;
        top: 0;
        width: 45px;
        height: 100%;
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 0;
        right: 0px;
    }

    .header-reshape__search-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        
        flex: 0 0 auto;
        color: var(--reshape-color-primary);
        background: transparent;
        cursor: pointer;
        transition: all 0.5s ease;
        position: relative;

        width: 64px;
        height: 64px;
        border-radius: 8px;
        border: 1px solid #000;
        margin-left: 24px;
    }

    .header-reshape__search-close svg {
        width: 18px;
        height: 18px;
    }

    .header-reshape__search-close:hover {
        color: #163FE8;
    }

    /* Search icon (label:before) - on the right */
    .header-reshape__search-inner .search-form label::before {
        content: "";
        position: absolute;
        right: 10px;
        top: 12px;
        width: 24px;
        height: 24px;
        background: url(./../../assets/icons/blocks/search.svg) no-repeat center;
        background-size: contain;
        cursor: pointer;
    }

    /* Adjust input padding: left for label, right for icon + submit */
    .header-reshape__search-inner .search-field {
        padding: 0 72px 0 16px !important;
        border-radius:8px;
        background-color: #ffffff !important;
        border-color: #555C5F !important;
        font-family: 'PingLCG';
    }
    .search-title {
        font-size:32px;
        line-height:40px;
        font-weight:700;
        color:#0D0D0D;
    }
    .sugestions-title {
        font-size:24px;
        line-height:32px;
        font-weight:700;
        color:#0D0D0D;
        margin-bottom:8px;
        flex:0 0 100%
    }
    .header-reshape__search .search-sugestions {
        display: flex;
        flex-wrap: wrap;
    }

    .header-reshape__search .search-sugestions .sugestion {

        margin-bottom: 12px;
        background: transparent;
        border: 1px solid #0D0D0D;
        padding: 8px;
        box-sizing:border-box;
        margin-right: 12px;
        border-radius:8px;
        font-size:16px;
        font-weight:400;
        line-height:24px;
    }

    .header-reshape.is-open .header-reshape__actions{
        display:none;
    }
    .header-reshape.is-open .header-reshape__action_search {
        display:flex;
        margin-left:auto;
    }
    .header-reshape .mobilemain-menu .mobile-menu-all {
        width:100%;
    }
    .header-reshape__navigation {
        max-width: 360px;
        right: 0;
        left: auto;
        width:100%;
    }
}

@media only screen and (max-width: 782px) {
    #wpadminbar + .wp-site-blocks header.headroom--not-top{
        top:0px;
    }
    #wpadminbar + .wp-site-blocks header.headroom--not-top #search-box.active{
        height: calc(100vh - 60px);
    }
    
    body.admin-bar .header-reshape__navigation {
        top: 106px;
    }
    #search-box.active {
        height: calc(100vh - 76px);
        top: 76px;
    }
    body.admin-bar #search-box.active {
        top:108px;
    }
}
@media only screen and (max-width: 767px) {
    .wp-site-blocks header{

    }
    .block-slider-reshape.single {
        margin-left:0px;
        margin-right:0px;
        width:calc(100%);
    }
    .block-slider-reshape.single .hero-slide{ 
        margin:0px;
    }
    .block-slider-reshape:not(.single){
        margin-left:-5vw;
        margin-right:-5vw;
        width:calc(100% + 10vw);
    }
}
@media only screen and (max-width: 640px) {
    .header-reshape__actions {
        gap:14px;
    }
    .header-reshape__navigation {
        max-width:100%;
    }
    .header-reshape__search-inner .search-field { 
        padding: 0 44px 0 8px !important;
    }
    .header-reshape__search-inner form {
        margin-bottom:32px;
    }
     .header-reshape__search-inner .search-field {}
}
@media only screen and (max-width: 450px) {
    .header-reshape__action--phone {
        display:none;
    }
}