/* =========================================================
   Suelos Smart Header v1.1.0
   ========================================================= */

:root {
    --ssh-green: #17372c;
    --ssh-green-2: #10281f;
    --ssh-yellow: #ead900;
    --ssh-yellow-hover: #f1df00;
    --ssh-ink: #16241f;
    --ssh-muted: #68746f;
    --ssh-line: #e8ece9;
    --ssh-white: #ffffff;
    --ssh-width: 1460px;
    --ssh-shadow: 0 8px 28px rgba(13, 40, 29, .08);
}

/* ---------------------------------------------------------
   Scoate complet header-ul Jevelin + orice spațiu rezervat
   --------------------------------------------------------- */

body.ssh-active #page-container > [role="banner"],
body.ssh-active header.primary-desktop,
body.ssh-active header.primary-mobile,
body.ssh-active .primary-desktop,
body.ssh-active .primary-mobile,
body.ssh-active .sh-header,
body.ssh-active #header-mobile,
body.ssh-active .sh-header-mobile,
body.ssh-active .sh-header-mobile-navigation,
body.ssh-active .sh-header-height,
body.ssh-active .sh-header-placeholder,
body.ssh-active .sh-header-template,
body.ssh-active .sh-header-builder {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.ssh-active #page-container,
body.ssh-active #wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

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

.suelos-smart-header,
.suelos-smart-header *,
.ssh-mobile-drawer,
.ssh-mobile-drawer * {
    box-sizing: border-box;
}

.suelos-smart-header {
    display: block !important;
    position: relative !important;
    z-index: 99990 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit;
    background: #fff;
}

.ssh-wrap {
    width: min(var(--ssh-width), calc(100% - 56px));
    margin: 0 auto;
}

/* ---------------------------------------------------------
   Contact strip
   --------------------------------------------------------- */

.ssh-contact-strip {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-height: 35px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--ssh-green-2) !important;
    color: #fff !important;
}

.ssh-contact-strip__inner {
    min-height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
}

.ssh-contact-strip__copy {
    color: rgba(255,255,255,.72) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 650 !important;
    letter-spacing: .045em !important;
}

.ssh-contact-strip__actions {
    display: flex !important;
    align-items: center !important;
    gap: 21px !important;
}

.ssh-contact-strip__link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 35px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
}

.ssh-contact-strip__link strong {
    font-weight: 800 !important;
}

.ssh-contact-strip__link:hover {
    color: var(--ssh-yellow) !important;
}

.ssh-contact-strip__link svg {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
    flex: 0 0 auto !important;
}

/* ---------------------------------------------------------
   Main bar
   --------------------------------------------------------- */

.ssh-mainbar {
    display: block !important;
    width: 100% !important;
    background: rgba(255,255,255,.985) !important;
    border-bottom: 1px solid var(--ssh-line) !important;
    box-shadow: var(--ssh-shadow) !important;
}

.ssh-mainbar__inner {
    min-height: 72px !important;
    display: grid !important;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 24px !important;
}

/* ---------------------------------------------------------
   Brand
   --------------------------------------------------------- */

.ssh-brand {
    min-width: 0 !important;
}

.ssh-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    max-width: 310px !important;
    color: var(--ssh-ink) !important;
    text-decoration: none !important;
}

.ssh-logo__image {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f3f5f3 !important;
}

.ssh-logo__image img,
.ssh-logo img,
.ssh-logo-img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    object-fit: cover !important;
    display: block !important;
}

.ssh-logo-mark {
    width: 44px !important;
    height: 44px !important;
    display: block !important;
    background:
        radial-gradient(circle at 28% 30%, rgba(255,255,255,.17), transparent 34%),
        linear-gradient(135deg, #4c6258, #17372c) !important;
}

.ssh-site-name {
    display: block !important;
    color: var(--ssh-ink) !important;
    font-size: 14px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: -.01em !important;
    max-width: 205px !important;
}

/* ---------------------------------------------------------
   Desktop nav
   --------------------------------------------------------- */

.ssh-desktop-nav {
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

.ssh-menu,
.ssh-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ssh-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
}

.ssh-menu > li {
    position: relative !important;
}

.ssh-menu > li > a {
    min-height: 72px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    color: var(--ssh-ink) !important;
    text-decoration: none !important;
    font-size: 13.2px !important;
    line-height: 1.2 !important;
    font-weight: 720 !important;
    white-space: nowrap !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.ssh-menu > li > a:hover,
.ssh-menu > li.current-menu-item > a,
.ssh-menu > li.current-menu-ancestor > a {
    color: #958900 !important;
}

.ssh-menu > li.menu-item-has-children > a::after {
    content: "" !important;
    width: 6px !important;
    height: 6px !important;
    margin-left: 8px !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) translateY(-2px) !important;
    opacity: .55 !important;
}

.ssh-menu .sub-menu {
    position: absolute !important;
    z-index: 99999 !important;
    top: calc(100% - 7px) !important;
    left: 0 !important;
    min-width: 225px !important;
    display: block !important;
    padding: 8px !important;
    background: #fff !important;
    border: 1px solid var(--ssh-line) !important;
    border-radius: 13px !important;
    box-shadow: 0 18px 44px rgba(14, 37, 28, .14) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(7px) !important;
    transition: opacity .17s ease, transform .17s ease, visibility .17s ease !important;
}

.ssh-menu li:hover > .sub-menu,
.ssh-menu li:focus-within > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.ssh-menu .sub-menu a {
    display: block !important;
    padding: 11px 13px !important;
    border-radius: 8px !important;
    color: var(--ssh-ink) !important;
    background: transparent !important;
    text-decoration: none !important;
    text-transform: none !important;
    font-size: 13.5px !important;
    line-height: 1.25 !important;
    font-weight: 650 !important;
}

.ssh-menu .sub-menu a:hover {
    color: #8d8200 !important;
    background: #f5f7f5 !important;
}

.ssh-menu .sub-menu .sub-menu {
    left: calc(100% + 5px) !important;
    top: -8px !important;
}

/* ---------------------------------------------------------
   CTA desktop
   --------------------------------------------------------- */

.ssh-header-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 19px !important;
    border-radius: 999px !important;
    background: var(--ssh-yellow) !important;
    color: #15221d !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
    box-shadow: 0 7px 19px rgba(181, 166, 0, .18) !important;
}

.ssh-header-cta:hover {
    background: var(--ssh-yellow-hover) !important;
    transform: translateY(-1px) !important;
}

/* ---------------------------------------------------------
   Mobile trigger
   --------------------------------------------------------- */

.ssh-menu-toggle {
    display: none !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 11px !important;
    padding: 0 !important;
    background: #f2f5f3 !important;
    color: var(--ssh-green-2) !important;
    cursor: pointer !important;
}

.ssh-menu-toggle svg {
    width: 23px !important;
    height: 23px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
}

/* ---------------------------------------------------------
   Mobile drawer
   --------------------------------------------------------- */

.ssh-mobile-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99996 !important;
    background: rgba(8, 25, 18, .55) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .24s ease, visibility .24s ease !important;
}

.ssh-mobile-overlay.is-open {
    opacity: 1 !important;
    visibility: visible !important;
}

.ssh-mobile-drawer {
    position: fixed !important;
    z-index: 99997 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(390px, 92vw) !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    box-shadow: -18px 0 50px rgba(11, 31, 23, .20) !important;
    transform: translateX(102%) !important;
    transition: transform .27s cubic-bezier(.4,0,.2,1) !important;
}

.ssh-mobile-drawer.is-open {
    transform: translateX(0) !important;
}

.ssh-drawer__head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    padding: 14px 17px !important;
    border-bottom: 1px solid var(--ssh-line) !important;
}

.ssh-drawer__head .ssh-logo__image {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
}

.ssh-drawer__head .ssh-logo__image img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
}

.ssh-drawer__head .ssh-site-name {
    font-size: 13px !important;
}

.ssh-drawer__close {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #f2f5f3 !important;
    color: var(--ssh-green-2) !important;
    cursor: pointer !important;
}

.ssh-drawer__close svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
}

.ssh-mobile-nav {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding: 8px 17px 20px !important;
}

.ssh-mobile-menu,
.ssh-mobile-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ssh-mobile-menu > li {
    position: relative !important;
    border-bottom: 1px solid #edf0ee !important;
}

.ssh-mobile-menu > li > a {
    display: block !important;
    padding: 15px 44px 15px 2px !important;
    color: var(--ssh-ink) !important;
    text-decoration: none !important;
    text-transform: none !important;
    font-size: 15.5px !important;
    line-height: 1.3 !important;
    font-weight: 760 !important;
}

.ssh-mobile-menu .sub-menu {
    display: none !important;
    padding: 0 0 11px 11px !important;
}

.ssh-mobile-menu li.is-open > .sub-menu {
    display: block !important;
}

.ssh-mobile-menu .sub-menu li {
    border-left: 1px solid #e4e9e6 !important;
}

.ssh-mobile-menu .sub-menu a {
    display: block !important;
    padding: 10px 12px 10px 14px !important;
    color: var(--ssh-muted) !important;
    text-decoration: none !important;
    text-transform: none !important;
    font-size: 14px !important;
    font-weight: 650 !important;
}

.ssh-mobile-menu .current-menu-item > a,
.ssh-mobile-menu .current-menu-ancestor > a {
    color: #8d8200 !important;
}

.ssh-submenu-toggle {
    position: absolute !important;
    top: 8px !important;
    right: 0 !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--ssh-green-2) !important;
    cursor: pointer !important;
}

.ssh-submenu-toggle::before {
    content: "" !important;
    position: absolute !important;
    left: 15px !important;
    top: 13px !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) !important;
    transition: transform .18s ease !important;
}

.ssh-mobile-menu li.is-open > .ssh-submenu-toggle::before {
    transform: rotate(225deg) !important;
}

.ssh-drawer__footer {
    flex: 0 0 auto !important;
    padding: 15px 17px 19px !important;
    border-top: 1px solid var(--ssh-line) !important;
    background: #fafcfb !important;
}

.ssh-drawer__cta {
    width: 100% !important;
    min-height: 49px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    border-radius: 11px !important;
    background: var(--ssh-yellow) !important;
    color: #15221d !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 850 !important;
}

.ssh-drawer__contact {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
}

.ssh-drawer__contact a {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 1px solid var(--ssh-line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--ssh-green-2) !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 760 !important;
}

.ssh-drawer__contact svg {
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
}

.ssh-drawer__contact .ssh-drawer__wa {
    border-color: var(--ssh-green) !important;
    background: var(--ssh-green) !important;
    color: #fff !important;
}

/* ---------------------------------------------------------
   Admin bar
   --------------------------------------------------------- */

body.admin-bar .ssh-mobile-drawer {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .ssh-mobile-drawer {
        top: 46px !important;
    }
}

/* ---------------------------------------------------------
   Responsive desktop
   --------------------------------------------------------- */

@media (max-width: 1320px) and (min-width: 1101px) {
    .ssh-wrap {
        width: calc(100% - 32px) !important;
    }

    .ssh-mainbar__inner {
        grid-template-columns: 205px minmax(0, 1fr) auto !important;
        gap: 13px !important;
    }

    .ssh-site-name {
        font-size: 12.5px !important;
        max-width: 145px !important;
    }

    .ssh-logo__image,
    .ssh-logo__image img,
    .ssh-logo img,
    .ssh-logo-img {
        width: 39px !important;
        height: 39px !important;
        max-width: 39px !important;
        max-height: 39px !important;
    }

    .ssh-logo__image {
        flex-basis: 39px !important;
    }

    .ssh-menu > li > a {
        padding: 0 7px !important;
        font-size: 12.4px !important;
    }

    .ssh-header-cta {
        padding: 0 15px !important;
        font-size: 12.8px !important;
    }
}

/* ---------------------------------------------------------
   Mobile / tablet
   --------------------------------------------------------- */

@media (max-width: 1100px) {
    .ssh-wrap {
        width: min(100% - 30px, var(--ssh-width)) !important;
    }

    .ssh-contact-strip__copy {
        display: none !important;
    }

    .ssh-contact-strip__inner {
        justify-content: flex-end !important;
    }

    .ssh-desktop-nav,
    .ssh-header-cta {
        display: none !important;
    }

    .ssh-mainbar__inner {
        min-height: 64px !important;
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .ssh-brand {
        flex: 1 1 auto !important;
    }

    .ssh-menu-toggle {
        display: inline-flex !important;
        margin-left: auto !important;
    }
}

@media (max-width: 720px) {
    .ssh-wrap {
        width: calc(100% - 24px) !important;
    }

    /* Două acțiuni 50/50, ca un mini contact header. */
    .ssh-contact-strip {
        min-height: 42px !important;
    }

    .ssh-contact-strip__inner {
        width: 100% !important;
        min-height: 42px !important;
        padding: 0 !important;
    }

    .ssh-contact-strip__actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 !important;
    }

    .ssh-contact-strip__link {
        min-height: 42px !important;
        justify-content: center !important;
        font-size: 12px !important;
    }

    .ssh-contact-strip__link + .ssh-contact-strip__link {
        border-left: 1px solid rgba(255,255,255,.14) !important;
    }

    .ssh-mainbar__inner {
        min-height: 61px !important;
    }

    .ssh-logo {
        gap: 9px !important;
        max-width: calc(100vw - 88px) !important;
    }

    .ssh-logo__image,
    .ssh-logo__image img,
    .ssh-logo img,
    .ssh-logo-img {
        width: 38px !important;
        height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
    }

    .ssh-logo__image {
        flex: 0 0 38px !important;
    }

    .ssh-site-name {
        font-size: 12.5px !important;
        line-height: 1.12 !important;
        max-width: 170px !important;
    }

    .ssh-menu-toggle {
        width: 42px !important;
        height: 42px !important;
    }
}

@media (max-width: 390px) {
    .ssh-site-name {
        max-width: 135px !important;
        font-size: 11.8px !important;
    }

    .ssh-contact-strip__link {
        font-size: 11.5px !important;
    }
}
