.tv-offer-list {
    --tv-accent: #99668D;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    scroll-margin-top: 110px;
}

.tv-offer-list .tv-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tv-offer-list .tv-offer-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 255px;
    aspect-ratio: 550 / 335;
    padding: 8px 6px 28px;
    overflow: hidden;
    border-radius: 30px;
    background: #177f91;
    box-sizing: border-box;
}

.tv-offer-list .tv-offer-card__image {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    object-fit: cover;
    object-position: center;
}

.tv-offer-list .tv-offer-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
}

.tv-offer-list .tv-offer-card__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-top: 16px;
}

.tv-offer-list .tv-offer-card__pill {
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 999px;
    padding: 9px 11px;
    margin: 0;
    color: var(--tv-accent);
    background: #fff;
    box-shadow: 0 2px 10px rgb(0 0 0 / 32%);
    font-family: "Source Sans Pro", sans-serif;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-decoration: none;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.tv-offer-list .tv-offer-card__price {
    margin-inline-start: auto;
    color: #d60000;
}

.tv-offer-list .tv-offer-card__link:hover,
.tv-offer-list .tv-offer-card__link:focus-visible,
.tv-offer-list .tv-offer-pages a:hover,
.tv-offer-list .tv-offer-pages a:focus-visible,
.tv-offer-list .tv-offer-pages .tv-page-current {
    background: var(--tv-accent);
    color: #fff;
}

.tv-offer-list a:focus-visible {
    outline: 2px solid #182438;
    outline-offset: 2px;
}

.tv-offer-list .tv-offer-pages ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.tv-offer-list .tv-offer-pages li {
    padding: 0;
    margin: 0;
}

.tv-offer-list .tv-offer-pages .tv-page-list li > .tv-page-control {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    place-items: center;
    padding: 6px 12px;
    border: 1px solid var(--tv-accent);
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.tv-offer-list .tv-offer-pages a,
.tv-offer-list .tv-offer-pages .tv-page-dots {
    background: #fff;
    color: var(--tv-accent);
}

.tv-offer-list .tv-screen-reader {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.tv-offer-list--latest > .tv-latest-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.tv-offer-list--latest > .tv-latest-offers-action {
    display: flex;
    justify-content: center;
    padding: 20px 0 0;
}

.tv-offer-list--latest > .tv-latest-offers-action > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--tv-accent);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

.tv-offer-list--latest > .tv-latest-offers-action > a:hover,
.tv-offer-list--latest > .tv-latest-offers-action > a:focus-visible {
    background: #75456a;
    color: #fff;
}

.tv-offer-list .tv-offer-card--compact {
    justify-content: center;
    align-items: flex-start;
    min-height: 170px;
    aspect-ratio: 3 / 2;
    padding: 0 12px 0 0;
    box-shadow: 0 1px 5px rgb(0 0 0 / 30%);
    text-decoration: none;
}

.tv-offer-list .tv-offer-card--compact .tv-offer-card__title {
    border-radius: 0 999px 999px 0;
}

.tv-offer-list .tv-offer-card--compact:focus-visible .tv-offer-card__title {
    background: var(--tv-accent);
    color: #fff;
}

@media (hover: hover) {
    .tv-offer-list .tv-offer-card--compact:hover .tv-offer-card__title {
        background: var(--tv-accent);
        color: #fff;
    }
}

.tv-offer-list .tv-offer-filter-panel {
    margin: 0 0 24px;
    border: 1px solid #e9dce5;
    border-radius: 18px;
    background: #faf6f9;
    color: #282129;
}

.tv-offer-list .tv-offer-filter-toggle {
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

.tv-offer-list .tv-offer-filter-toggle::marker {
    color: var(--tv-accent, #99668d);
}

.tv-offer-list .tv-offer-filter-toggle:focus-visible {
    outline: 2px solid var(--tv-accent, #99668d);
    outline-offset: 2px;
}

.tv-offer-list .tv-offer-filter-count:not(:empty) {
    margin-inline-start: 8px;
    color: #734769;
    font-size: 13px;
}

.tv-offer-list .tv-offer-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    padding: 16px;
    margin: 0;
    border-top: 1px solid #e9dce5;
}

.tv-offer-list .tv-offer-filters label {
    display: grid;
    gap: 5px;
    min-width: 0;
    margin: 0;
    font-weight: 700;
}

.tv-offer-list .tv-offer-filters select,
.tv-offer-list .tv-offer-filters input[type="search"],
.tv-offer-list .tv-offer-filters input[type="date"],
.tv-offer-list .tv-offer-filters input[type="number"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: 6px 9px;
    margin: 0;
    border: 1px solid #bba4b5;
    border-radius: 10px;
    background-color: #fff;
    color: #282129;
    font: inherit;
    font-weight: 400;
}

.tv-offer-list .tv-offer-filters__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tv-offer-list .tv-offer-filters button {
    min-height: 44px;
    padding: 7px 14px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: var(--tv-accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-transform: none;
    cursor: pointer;
}

.tv-offer-list .tv-offer-filters button:hover {
    background: #75456a;
}

.tv-offer-list .tv-offer-filters__actions a {
    color: #75456a;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .tv-offer-list .tv-offer-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .tv-offer-list--latest > .tv-latest-offers-grid {
        gap: 12px;
    }

    .tv-offer-list--latest .tv-offer-card--compact {
        min-height: 150px;
        border-radius: 20px;
    }

    .tv-offer-list--latest .tv-offer-card--compact .tv-offer-card__title {
        padding: 7px 9px;
        font-size: 15px;
        line-height: 1.25;
    }
}

.tv-offer-list .tv-offer-empty {
    margin: 24px 0 0;
    padding: 36px 22px;
    border-radius: 18px;
    background: linear-gradient(110deg, #99668d, #b5769d);
    color: #fff;
    text-align: center;
}

.tv-offer-list .tv-offer-empty h2 {
    margin: 0 0 16px;
    color: #242124;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.tv-offer-list .tv-offer-empty p {
    margin: 0 0 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.tv-offer-list .tv-offer-empty a {
    display: inline-block;
    padding: 15px 26px;
    border-radius: 10px;
    background: #fff;
    color: #8b537e;
    font-weight: 700;
    text-decoration: none;
}

.tv-offer-list .tv-offer-empty a:hover,
.tv-offer-list .tv-offer-empty a:focus-visible {
    background: #f9eef6;
    color: #6d3f64;
}

.tv-offer-list .tv-offer-empty a:focus-visible {
    outline: 2px solid #242124;
    outline-offset: 3px;
}


@media (max-width: 640px) {
    .tv-offer-list .tv-offer-pages ul {
        gap: 5px;
        margin-top: 20px;
    }

    .tv-offer-list .tv-offer-pages .tv-page-list li > .tv-page-control {
        min-width: 34px;
        min-height: 36px;
        padding: 3px 7px;
        font-size: 14px;
        line-height: 1.2;
    }

    .tv-offer-list .tv-offer-pages .tv-page-list li > .tv-page-prev,
    .tv-offer-list .tv-offer-pages .tv-page-list li > .tv-page-next {
        position: relative;
        font-size: 0;
    }

    .tv-offer-list .tv-page-prev::before,
    .tv-offer-list .tv-page-next::before {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        font-size: 16px;
        line-height: 1;
    }

    .tv-offer-list .tv-page-prev::before {
        content: "←";
    }

    .tv-offer-list .tv-page-next::before {
        content: "→";
    }

    .tv-offer-list .tv-offer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .tv-offer-list .tv-offer-card {
        min-height: 210px;
        padding: 9px 9px 14px;
        border-radius: 22px;
    }

    .tv-offer-list--latest > .tv-latest-offers-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding-bottom: 16px;
    }

    .tv-offer-list--latest > .tv-latest-offers-action {
        padding-top: 4px;
    }

    .tv-offer-list--latest > .tv-latest-offers-action > a {
        font-size: 16px;
    }

    .tv-offer-list--latest > .tv-latest-offers-grid > .tv-offer-card--compact {
        flex: none;
        width: 100%;
        height: auto;
        min-height: 170px;
        aspect-ratio: 16 / 10;
        margin: 0;
        padding: 0 12px 0 0;
    }

    .tv-offer-list .tv-offer-card__bottom {
        gap: 8px;
        padding-top: 12px;
    }

    .tv-offer-list .tv-offer-card__pill {
        padding: 7px 10px;
        font-size: 15px;
        line-height: 1.3;
    }

    .tv-offer-list .tv-offer-card__link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .tv-offer-list .tv-offer-filter-panel {
        margin-bottom: 18px;
    }

    .tv-offer-list .tv-offer-filters {
        align-items: start;
        gap: 12px 10px;
        padding: 12px;
    }

    .tv-offer-list .tv-offer-filters label {
        grid-template-columns: minmax(0, 1fr);
        font-size: 15px;
        line-height: 1.25;
    }

    .tv-offer-list .tv-offer-filters label > select,
    .tv-offer-list .tv-offer-filters label > input[type="search"],
    .tv-offer-list .tv-offer-filters label > input[type="date"],
    .tv-offer-list .tv-offer-filters label > input[type="number"] {
        display: block;
        inline-size: 100%;
        min-inline-size: 0;
        max-inline-size: 100%;
        height: 44px;
        padding-inline: 7px;
        font-size: 16px;
    }

    .tv-offer-list .tv-offer-filters .tv-offer-filter-date,
    .tv-offer-list .tv-offer-filters .tv-meal-plan-filter {
        grid-column: 1 / -1;
    }

    .tv-offer-list .tv-offer-filters .tv-offer-filter-date > input[type="date"] {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .tv-offer-list .tv-offer-filters input[type="date"]::-webkit-date-and-time-value {
        min-inline-size: 0;
        margin: 0;
        text-align: start;
    }

    .tv-offer-list .tv-offer-filters__actions {
        justify-content: center;
    }

    .tv-offer-list .tv-offer-filters button {
        width: 100%;
        font-size: 15px;
        letter-spacing: normal;
    }

    .tv-offer-list .tv-offer-filters__actions a {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
    }

    .tv-offer-list .tv-offer-empty {
        padding: 26px 15px;
    }

    .tv-offer-list .tv-offer-empty h2 {
        font-size: 19px;
    }

    .tv-offer-list .tv-offer-empty p,
    .tv-offer-list .tv-offer-empty a {
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .tv-offer-list .tv-offer-filters {
        grid-template-columns: minmax(0, 1fr);
    }
}


.tv-offer-list .tv-offer-loading[hidden],
.tv-offer-list .tv-offer-loading:not(.is-loading) .tv-loading-orbit {
    display: none;
}

.tv-offer-list .tv-offer-loading.is-loading:not([hidden]) {
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 13px;
    width: max-content;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    margin: 0;
    padding: 22px;
    transform: translate(-50%, -50%);
    border: 1px solid #ecdde8;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 36px rgb(50 28 45 / 20%);
    color: #75456a;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    pointer-events: none;
}

.tv-offer-list .tv-loading-orbit {
    position: relative;
    width: 46px;
    height: 46px;
    box-sizing: border-box;
    border: 2px dashed #dcbfd3;
    border-radius: 50%;
    animation: tv-loading-flight 1.4s linear infinite;
}

.tv-offer-list .tv-loading-orbit > span {
    position: absolute;
    top: -11px;
    left: 50%;
    color: #75456a;
    font-size: 22px;
    line-height: 1;
    transform: translateX(-50%) rotate(35deg);
}

@keyframes tv-loading-flight {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tv-offer-list .tv-loading-orbit {
        animation: none;
    }
}

.tv-offer-list .tv-departure-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: 5px;
    font-weight: 700;
}

.tv-offer-list .tv-departure-picker {
    min-width: 0;
    margin: 0;
    border: 1px solid #bba4b5;
    border-radius: 10px;
    background: #fff;
    color: #282129;
    font-weight: 400;
}

.tv-offer-list .tv-departure-picker > summary {
    min-height: 42px;
    box-sizing: border-box;
    padding: 9px;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
}

.tv-offer-list .tv-departure-options {
    max-height: 230px;
    overflow-y: auto;
    padding: 3px 8px 8px;
    border-top: 1px solid #e9dce5;
}

.tv-offer-list .tv-offer-filters .tv-departure-options label {
    display: flex;
    align-items: center;
    min-height: 36px;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.tv-offer-list .tv-departure-options input {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--tv-accent);
}

@media (max-width: 640px) {
    .tv-offer-list .tv-departure-filter {
        font-size: 15px;
        line-height: 1.25;
    }
}


.tv-offer-list .tv-offer-filters .tv-destination-filter {
    grid-column: 1 / -1;
}
