/* EUROSPACE single header menu v2 */

@media (min-width: 992px) {
    .eurospace-demo-header .header_top-panel {
        position: relative;
        z-index: 120;
        overflow: visible !important;
    }

    .eurospace-demo-header .header_top-panel .container,
    .eurospace-demo-header .header_top-panel .row,
    .eurospace-demo-header .header_top-panel [class*="col-"] {
        overflow: visible !important;
    }

    .eurospace-demo-header .header_top-panel .row {
        align-items: center;
    }

    .eurospace-demo-header .header_top-panel .col-md-7 {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }

    .eurospace-demo-header .header_top-panel .es-single-top-contact {
        display: flex !important;
        flex: 0 0 auto;
        width: auto !important;
        max-width: none !important;
        align-items: center;
        justify-content: flex-end;
        padding-left: 24px;
    }

    .eurospace-demo-header .es-single-top-menu {
        display: flex !important;
        align-items: stretch;
        justify-content: flex-start;
        gap: clamp(22px, 2.1vw, 46px);
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .eurospace-demo-header .es-single-top-menu__item {
        position: relative;
        display: flex;
        align-items: center;
        margin: 0 !important;
        padding: 0 !important;
    }

    .eurospace-demo-header .es-single-top-menu__link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 56px;
        color: #52291c;
        text-decoration: none;
        white-space: nowrap;
    }

    .eurospace-demo-header .es-single-top-menu__chevron {
        position: relative;
        top: -1px;
        font-size: .78em;
        line-height: 1;
    }

    .eurospace-demo-header .es-single-top-menu__dropdown {
        position: absolute;
        z-index: 1300;
        top: calc(100% - 1px);
        left: -14px;
        display: grid;
        min-width: 310px;
        margin: 0;
        padding: 9px;
        list-style: none;
        border: 1px solid rgba(82, 41, 28, .15);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 18px 48px rgba(54, 29, 20, .16);
        opacity: 0;
        visibility: hidden;
        transform: translateY(7px);
        transition:
            opacity .16s ease,
            transform .16s ease,
            visibility .16s ease;
    }

    .eurospace-demo-header .es-single-top-menu__dropdown li {
        margin: 0;
        padding: 0;
    }

    .eurospace-demo-header .es-single-top-menu__dropdown a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
        color: #52291c;
        text-decoration: none;
        line-height: 1.25;
        white-space: nowrap;
    }

    .eurospace-demo-header .es-single-top-menu__dropdown a:hover,
    .eurospace-demo-header .es-single-top-menu__dropdown a:focus-visible {
        background: #f5efeb;
    }

    .eurospace-demo-header
    .es-single-top-menu__dropdown li:last-child {
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid #eadfd9;
    }

    .eurospace-demo-header
    .es-single-top-menu__item--dropdown:hover
    .es-single-top-menu__dropdown,
    .eurospace-demo-header
    .es-single-top-menu__item--dropdown:focus-within
    .es-single-top-menu__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .eurospace-demo-header .es-single-top-phone {
        display: inline-flex !important;
        align-items: center;
        margin: 0 !important;
        color: #52291c;
        text-decoration: none;
        white-space: nowrap;
    }

    .eurospace-demo-header
    .header_right-column
    .head_phone-number:not(:first-of-type) {
        display: none !important;
    }

    .eurospace-demo-header .es-single-catalog-cta {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 0 !important;
        margin-left: auto;
    }

    .eurospace-demo-header .es-single-catalog-cta__link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 48px;
        padding: 0 22px;
        border: 1px solid #6d321f;
        border-radius: 8px;
        color: #6d321f;
        background: #fff;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        transition:
            background .15s ease,
            color .15s ease;
    }

    .eurospace-demo-header .es-single-catalog-cta__link:hover,
    .eurospace-demo-header .es-single-catalog-cta__link:focus-visible {
        color: #fff;
        background: #6d321f;
    }
}

.es-single-footer-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 68px);
    width: 100%;
}

.es-single-footer-column {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}

.es-single-footer-column .footer-menu {
    display: grid;
    gap: 8px;
}

.es-single-mobile-nav__children {
    display: grid;
    gap: 4px;
    margin: 7px 0 12px;
    padding: 0 0 0 16px;
    list-style: none;
}

.es-single-mobile-nav__children a {
    font-size: .94em;
    opacity: .92;
}

@media (max-width: 1240px) and (min-width: 992px) {
    .eurospace-demo-header .es-single-top-menu {
        gap: 18px;
    }

    .eurospace-demo-header .es-single-top-menu__link {
        font-size: 14px;
    }

    .eurospace-demo-header .es-single-catalog-cta__link {
        padding-inline: 16px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .eurospace-demo-header .es-single-catalog-cta {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .es-single-footer-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
