#be-reputation-widget {
    width: 100%;
    max-width: 170px;
    margin: 20px auto
}

#be-reviews-widget {
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    z-index: 0;
}

#be-booking-form {
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
}

#tl-booking-cart {
    z-index: 1 !important;
}

.block-search-wrapper,
.block-reputation-wrapper {
    position: relative;
}

#block-search,
#block-search * {
    box-sizing: border-box;
}

#block-search {
    background: #010f2a;
    border-width: 1px 0 1px 0;
    border-style: solid;
    border-color: #b5a191;
}

.be-container {
    max-width: 1132px;
    margin: 0 auto;
    padding: 0 30px;
}

.booking {
    display: none;
}

body:has(#be-booking-form) .header__logo,
body:has(#be-booking-form) .header__slogan,
body:has(#be-booking-form) .Ust-datepicker,
body:has(#be-booking-form) .be-socials,
body:has(#be-booking-form) #modify-cancel-booking,
body:has(#be-reviews-widget) .header__logo,
body:has(#be-reviews-widget) .header__slogan,
body:has(#be-reviews-widget) .Ust-datepicker {
    display: none !important;
}

body:has(#be-booking-form) .nav.js-nav-primary,
body:has(#be-reviews-widget) .nav.js-nav-primary {
    display: none !important;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    top: 50px !important;
    height: calc(100vh - 50px) !important;
}

body:has(#be-booking-form) .nav.js-nav-primary.is-opening,
body:has(#be-reviews-widget) .nav.js-nav-primary.is-opening {
    display: block !important;
    transform: translateX(0);
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999;
}

body:has(#be-booking-form) .header__nav-icon-wrapper,
body:has(#be-reviews-widget) .header__nav-icon-wrapper{
    display: block !important;
    opacity: 1;
    transform: none;
}

body:has(#be-booking-form) .header,
body:has(#be-reviews-widget) .header {
    height: 50px !important;
    min-height: 50px !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
}

body:has(#be-booking-form) #main,
body:has(#be-reviews-widget) #main{
    margin-top: 50px;
}

.be-booking-btn {
    display: flex;
    justify-content: center;
    margin: 0 auto 50px;
    padding: 12px 16px;
    width: 100%;
    max-width: 200px;

    background-color: #b5a191;
    border-radius: 0;
    color: #010f2a;
    font-family: Lato, Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
}

.be-booking-btn:hover {
    background-color: #c5b6a9;
    color: #010f2a;
    text-decoration: none;
}

@media screen and (min-width: 1280px) and (min-height: 600px) {
    #block-search {
        position: absolute;
        z-index: 1041;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1142px;
        margin: 0 auto;
        border: 1px solid #b5a191;
    }

    .booking {
        display: block;
    }

    #formBooking {
        visibility: hidden;
        pointer-events: none;
    }

    .reviewpro {
        bottom: 20px;
        right: -100px;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1629px) and (min-height: 600px) {
    .booking {
        background: none;
    }
}

@media screen and (min-width: 1630px) and (min-height: 600px) {
    #be-reputation-widget {
        position: absolute !important;
        z-index: 1041;
        right: 50px;
        bottom: 50px;
    }
}

@media screen and (min-width: 1630px) and (min-height: 830px) {
    #be-reputation-widget {
        top: calc(-100vh + 620px);
        bottom: unset;
    }
}