/**
 * Supplier hotels index - Avia Nova.
 */

body.avia-nova-theme .nova-hotels-index-supplier {
    --nova-hotels-primary: #2095AE;
    --nova-hotels-navy: #0F2454;
    --nova-hotels-text: #676977;
    --nova-hotels-line: #E6E8EE;
    background: var(--nova-smoke);
}

body.avia-nova-theme:has(.nova-hotels-index-supplier) .nova-site-header {
    position: absolute;
}

body.avia-nova-theme .nova-hotels-index-supplier .container.th-container {
    max-width: min(1140px, calc(100% - 32px)) !important;
    margin-inline: auto;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-hero {
    padding: 155px 0 86px;
    background:
        linear-gradient(135deg, rgba(15, 36, 84, 0.94), rgba(15, 36, 84, 0.78)),
        radial-gradient(circle at 18% 20%, rgba(32, 149, 174, 0.34), transparent 34%),
        var(--nova-hotels-navy);
    color: #fff;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-hero__head {
    margin-bottom: 34px;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-hero__title {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-hero__subtitle {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.7;
}

body.avia-nova-theme .nova-hotels-index-supplier #search-form {
    scroll-margin-top: 110px;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__form {
    margin: 0;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__desktop {
    display: none;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
    align-items: stretch;
    border: 1px solid var(--nova-hotels-line);
    background: #fff;
}

@media (min-width: 992px) {
    body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__desktop {
        display: grid;
    }
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__field {
    position: relative;
    min-width: 0;
    padding: 18px;
    border-right: 1px solid var(--nova-hotels-line);
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__label {
    display: block;
    margin-bottom: 8px;
    color: var(--nova-hotels-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__input,
body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__select,
body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__guests-trigger {
    width: 100%;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--nova-hotels-navy);
    font-size: 16px;
    font-weight: 700;
    box-shadow: none;
    outline: none;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__guests-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__submit-wrap {
    display: flex;
    align-items: center;
    padding: 12px;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__submit,
body.avia-nova-theme .nova-hotels-index-supplier .stay-card__cta,
body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__guests-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    border: 0;
    background: var(--nova-hotels-primary);
    color: #fff !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(32, 149, 174, 0.22);
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__submit:hover,
body.avia-nova-theme .nova-hotels-index-supplier .stay-card__cta:hover,
body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__guests-done:hover {
    background: var(--nova-hotels-navy);
    color: #fff !important;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__suggest,
body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__guests-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 40;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--nova-hotels-line);
    background: #fff;
    box-shadow: 0 18px 35px rgba(15, 36, 84, 0.14);
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 15px;
    border: 0;
    border-bottom: 1px solid var(--nova-hotels-line);
    background: #fff;
    color: var(--nova-hotels-navy);
    text-align: left;
    font-weight: 700;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__suggest-item:hover {
    background: rgba(32, 149, 174, 0.1);
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__suggest-item i {
    color: var(--nova-hotels-primary);
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__suggest-empty {
    padding: 14px 16px;
    color: var(--nova-hotels-text);
    text-align: center;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__guests-panel {
    padding: 16px;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--nova-hotels-navy);
    font-weight: 700;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__guest-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__guest-stepper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--nova-hotels-line);
    border-radius: 50%;
    background: #fff;
    color: var(--nova-hotels-navy);
    font-weight: 800;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__guest-stepper span {
    min-width: 20px;
    color: var(--nova-hotels-navy);
    text-align: center;
    font-weight: 800;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__mobile {
    display: grid;
    gap: 16px;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__mobile .th-hotels-search__input,
body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__mobile .th-hotels-search__select {
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--nova-hotels-line);
    background: #F8FAFC;
}

@media (min-width: 992px) {
    body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search__mobile {
        display: none !important;
    }
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-destinations,
body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-properties {
    padding: 92px 0 100px;
    background:
        radial-gradient(circle at top left, rgba(32, 149, 174, 0.08), transparent 34%),
        var(--nova-smoke);
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-destinations {
    background: #fff;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-destinations .title-area {
    margin-bottom: 44px;
}

body.avia-nova-theme .nova-hotels-index-supplier .title-area {
    margin-bottom: 34px;
}

body.avia-nova-theme .nova-hotels-index-supplier .sec-title {
    margin: 0 0 10px;
    color: var(--nova-hotels-navy);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 600;
    letter-spacing: -0.04em;
}

body.avia-nova-theme .nova-hotels-index-supplier .sec-text {
    color: var(--nova-hotels-text);
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card {
    position: relative;
    display: block;
    min-height: 460px;
    overflow: hidden;
    background: var(--nova-hotels-navy);
    box-shadow: none;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card__media,
body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card__media img {
    display: block;
    width: 100%;
    height: 100%;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card__media {
    position: absolute;
    inset: 0;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card__media img {
    object-fit: cover;
    opacity: 1;
    transition: transform 0.45s ease;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card:hover .th-hotels-dest-card__media img {
    transform: scale(1.06);
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card__body {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 0 28px 34px;
    background: linear-gradient(180deg, rgba(15, 36, 84, 0), rgba(15, 36, 84, 0.55));
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card__city {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: var(--nova-font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card__city i {
    flex: 0 0 auto;
    color: #fff;
    font-size: 28px;
    font-weight: 400;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card__count {
    display: block;
    margin-top: 8px;
    padding-left: 36px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 600;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-properties__grid {
    align-items: stretch;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--nova-hotels-line);
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 36, 84, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 58px rgba(15, 36, 84, 0.14);
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #F5F7FB;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card:hover .stay-card__media img {
    transform: scale(1.06);
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 36, 84, 0.15), transparent 45%, rgba(15, 36, 84, 0.62));
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__media-top {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__type-pill,
body.avia-nova-theme .nova-hotels-index-supplier .stay-card__stars-pill,
body.avia-nova-theme .nova-hotels-index-supplier .stay-card__featured {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--nova-hotels-navy);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__type-pill i,
body.avia-nova-theme .nova-hotels-index-supplier .stay-card__facts i,
body.avia-nova-theme .nova-hotels-index-supplier .stay-card__location i,
body.avia-nova-theme .nova-hotels-index-supplier .stay-card__perk i {
    color: var(--nova-hotels-primary);
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__stars-pill i {
    color: #FF9C00;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__featured {
    position: absolute;
    top: 54px;
    left: 14px;
    z-index: 2;
    background: var(--nova-hotels-primary);
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__price-pill {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 10px 14px;
    background: rgba(15, 36, 84, 0.9);
    color: #fff;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__price-amount {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__price-unit {
    font-size: 13px;
    opacity: 0.88;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__title {
    margin: 0;
    color: var(--nova-hotels-navy);
    font-size: 22px;
    line-height: 1.25;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__title a {
    color: inherit;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--nova-hotels-text);
    font-size: 14px;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__facts,
body.avia-nova-theme .nova-hotels-index-supplier .stay-card__perks {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__facts li,
body.avia-nova-theme .nova-hotels-index-supplier .stay-card__perk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nova-hotels-text);
    font-size: 13px;
    font-weight: 700;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__perk {
    padding: 6px 10px;
    background: rgba(32, 149, 174, 0.09);
    color: var(--nova-hotels-navy);
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__footer {
    display: grid;
    gap: 14px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--nova-hotels-line);
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--nova-hotels-text);
    font-size: 13px;
    font-weight: 700;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 28px;
    background: var(--nova-hotels-navy);
    color: #fff;
    font-weight: 800;
}

body.avia-nova-theme .nova-hotels-index-supplier .stay-card__cta {
    width: 100%;
    min-height: 50px;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-empty {
    padding: 56px 24px;
    border: 1px dashed var(--nova-hotels-line);
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 36, 84, 0.08);
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-empty i {
    display: block;
    margin-bottom: 14px;
    color: var(--nova-hotels-primary);
    font-size: 54px;
}

body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-pagination {
    margin-top: 36px;
}

@media (max-width: 991.98px) {
    body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-hero {
        padding: 132px 0 72px;
    }
}

@media (max-width: 767.98px) {
    body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-hero {
        padding: 120px 0 62px;
    }

    body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-search {
        padding: 20px 16px;
    }

    body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-destinations,
    body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-properties {
        padding: 64px 0 78px;
    }
}

@media (max-width: 575.98px) {
    body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-index-hero__title {
        font-size: 38px;
    }

    body.avia-nova-theme .nova-hotels-index-supplier .th-hotels-dest-card {
        min-height: 360px;
    }
}
