.melia-hero {
    position: relative;
    margin-bottom: 108px;
}

.melia-hero-swiper {
    height: auto;
    background: #16324a;
}

.melia-hero-swiper .swiper-slide,
.melia-hero-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.melia-hero-swiper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 16, 28, .28) 0%, rgba(8, 16, 28, 0) 28%, rgba(8, 16, 28, .08) 58%, rgba(8, 16, 28, .62) 100%);
}

.melia-hero .swiper-horizontal > .swiper-pagination-bullets,
.melia-hero .swiper-pagination {
    z-index: 3;
    bottom: 130px;
    right: 36px;
    left: auto;
    width: auto;
}

.melia-hero .swiper-pagination-bullet {
    background-color: transparent;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .7) 0 4px, transparent 4.5px);
    opacity: 1;
}

.melia-hero .swiper-pagination-bullet-active {
    background-color: transparent;
    background-image: radial-gradient(circle, #fff 0 5px, transparent 5.5px);
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    opacity: 1;
    background-color: transparent;
}

.swiper-pagination-bullet {
    background-image: radial-gradient(circle, rgba(0, 0, 0, .35) 0 4px, transparent 4.5px);
}

.swiper-pagination-bullet-active {
    background-image: radial-gradient(circle, var(--color-site-1) 0 5px, transparent 5.5px);
}

.melia-dock {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 4;
    width: min(1240px, calc(100% - 48px));
    transform: translate(-50%, 50%);
}

.melia-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 -1px 18px;
    padding: 7px 8px 7px 16px;
    overflow-x: auto;
    background: #1c2836;
    border-radius: 12px 12px 0 0;
    scrollbar-width: none;
}

.melia-tabs::-webkit-scrollbar {
    display: none;
}

.melia-tabs-label {
    flex: 0 0 auto;
    margin-right: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.melia-tab {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.melia-tab:hover,
.melia-tab:focus {
    background: #f3f4f6;
    color: #1c2430;
    text-decoration: none;
}

.melia-tab.is-active {
    background: #f3f4f6;
    color: #1c2430;
}

.melia-bar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(10, 20, 40, .16);
}

.melia-form {
    display: flex;
    align-items: stretch;
    min-height: 94px;
    margin: 0;
}

.melia-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1.25 1 0;
    min-width: 0;
    padding: 16px 18px;
}

.melia-field-rooms {
    flex: 1.45 1 0;
}

.melia-field + .melia-field,
.melia-dates .melia-field + .melia-field,
.melia-dates + .melia-field,
.melia-field-nights + .melia-field {
    box-shadow: inset 1px 0 0 #e6e8ec;
}

.melia-dates {
    position: relative;
    display: flex;
    flex: 2.1 1 0;
    min-width: 0;
}

.melia-dates .melia-field {
    flex: 1 1 0;
}

.melia-daterange-proxy {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
}

.melia-field-nights {
    flex: 0.72 1 0;
}

.melia-ico {
    flex: 0 0 auto;
    color: #8b919a;
}

.melia-field-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.melia-label {
    color: #8b919a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.melia-value,
.melia-input,
.melia-field .typeahead__query input {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    color: #1c2430;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.melia-input {
    cursor: pointer;
    text-overflow: ellipsis;
}

.melia-field .typeahead__container,
.melia-field .typeahead__field,
.melia-field .typeahead__query {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.melia-field .typeahead__result {
    z-index: 30;
}

.melia-clear {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9aa1ab;
    cursor: pointer;
}

.melia-nuitees-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.melia-search-btn {
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 58px;
    margin-right: 12px;
    border: 0;
    border-radius: var(--border-radius);
    background: var(--color-site-1);
    color: #fff;
    cursor: pointer;
}

.melia-search-btn:hover {
    background: color-mix(in srgb, var(--color-site-1), black 12%);
}

.melia-notes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 8px 0;
    color: #1c2836;
    font-size: 13px;
}

.melia-notes-left {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.melia-notes-left span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.melia-notes-legal {
    margin: 0;
    color: #626568;
    font-size: 12px;
    text-align: right;
}

@media (max-width: 1199px) {
    .melia-field {
        padding: 16px 12px;
    }

    .melia-value,
    .melia-input,
    .melia-field .typeahead__query input {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .melia-hero {
        margin-bottom: 1.5rem;
    }

    .melia-hero .swiper-horizontal > .swiper-pagination-bullets,
    .melia-hero .swiper-pagination {
        bottom: 16px;
        right: 16px;
    }

    .melia-dock {
        position: relative;
        left: auto;
        bottom: auto;
        width: auto;
        margin: -28px 12px 0;
        transform: none;
    }

    .melia-notes,
    .melia-notes-legal {
        color: #1c2836;
        text-shadow: none;
    }

    .melia-tabs {
        margin-left: 0;
        border-radius: 12px 12px 0 0;
    }

    .melia-form {
        flex-direction: column;
        min-height: 0;
    }

    .melia-field,
    .melia-dates,
    .melia-field-nights {
        flex: 1 1 auto;
        width: 100%;
    }

    .melia-field-nights {
        display: none;
    }

    .melia-field + .melia-field,
    .melia-dates .melia-field + .melia-field,
    .melia-dates + .melia-field,
    .melia-field-nights + .melia-field {
        box-shadow: inset 0 1px 0 #e6e8ec;
    }

    .melia-search-btn {
        width: calc(100% - 24px);
        margin: 4px 12px 14px;
    }

    .melia-notes {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 8px;
    }

    .melia-notes-legal {
        text-align: left;
    }
}
