body {
    background-image: linear-gradient(180deg, #1f2f76 0%, #4ea4cf 50%, #f5f8fc 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

header {
    min-height: 56px;
    margin-bottom: 16px;
    position: sticky;
    z-index: 1001;
    top: 0;
    background-color: #1e2662;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: box-shadow .2s ease, margin-bottom .2s ease;
}

main {
    min-height: calc(100vh - 160px);
}

.navbar-brand {
    width: 96px;
    height: 40px;
    background: url('/static/images/logo-aquacoupon.png') center/contain no-repeat;
}

.header_login {
    color: #fff;
    display: inline-flex;
    align-items: center;
}

.header_login svg {
    width: 28px;
    height: 28px;
}

#site-header,
.compact-navbar,
.navbar-brand,
.header-actions,
#navbarSupportedContent {
    transform: translateZ(0);
    backface-visibility: hidden;
}

body.header-scrolled header {
    margin-bottom: 4px;
    background-color: #1e2662;
    box-shadow: 0 10px 25px rgba(8, 15, 45, .22);
}

.offer-block,
.travel-section,
.travel-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(13, 24, 58, .15);
}

.offer-block,
.travel-section {
    background: #fff;
}

.travel-card {
    background: #fff;
}

.travel-card__image-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.travel-card__image {
    width: 100%;
    height: 228px;
    object-fit: cover;
    display: block;
}

.travel-card__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #ff6c4a;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(255, 108, 74, .28);
}

.travel-card__body {
    padding: 18px;
}

.travel-card__title {
    font-size: 24px;
    line-height: 1.18;
    font-weight: 800;
    color: #1c2659;
    margin-bottom: 10px;
}

.travel-card__desc {
    font-size: 15px;
    line-height: 1.5;
    color: #5f6788;
    margin-bottom: 16px;
}

.travel-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.travel-card__meta-item {
    background: #f3f7ff;
    border-radius: 16px;
    padding: 10px 12px;
}

.travel-card__meta-label {
    display: block;
    color: #7a84a7;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.travel-card__meta-value {
    color: #17204a;
    font-size: 18px;
    font-weight: 800;
}

.travel-card__cta,
.btn-action,
.travel-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f7cf0 0%, #2dc0ff 100%);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    padding: 0 28px;
    border: none;
    box-shadow: 0 14px 28px rgba(31, 124, 240, .24);
}

.travel-card__cta:hover,
.btn-action:hover,
.travel-hero__cta:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

.travel-card__cta--small {
    min-height: 46px;
    padding: 0 22px;
}

.travel-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 18px;
    align-items: stretch;
}

.travel-hero__media,
.travel-hero__content {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(13, 24, 58, .16);
}

.travel-hero__media .carousel,
.travel-hero__media .carousel-inner {
    height: 100%;
    min-height: 420px;
}

.travel-hero__media .carousel-item {
    height: 100%;
    min-height: 420px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.travel-hero__media .carousel-indicators {
    margin-bottom: 16px;
}

.travel-hero__content {
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.travel-hero__eyebrow {
    color: #1f7cf0;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}

.travel-hero__title {
    color: #1c2659;
    font-size: 36px;
    line-height: 1.08;
    font-weight: 900;
    margin-bottom: 12px;
}

.travel-hero__subtitle {
    color: #5f6788;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.travel-hero__pricebox {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.travel-hero__price-item {
    background: #f5f8ff;
    border-radius: 18px;
    padding: 14px 16px;
}

.travel-hero__label {
    display: block;
    color: #7a84a7;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.travel-hero__value {
    color: #17204a;
    font-size: 26px;
    font-weight: 900;
}

.travel-section {
    padding: 22px 24px;
}

.travel-section__title {
    color: #1c2659;
    font-size: 26px;
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 14px;
}

.travel-copy,
.travel-copy p {
    color: #525a79;
    font-size: 15px;
    line-height: 1.6;
}

.travel-copy p:last-child {
    margin-bottom: 0;
}

.travel-terms {
    padding-left: 20px;
    margin: 0;
}

.travel-terms li {
    color: #525a79;
    line-height: 1.55;
    margin-bottom: 8px;
}

.travel-section--offers {
    padding-bottom: 10px;
}

.travel-offer-row {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 200px 150px;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #ebeff8;
}

.travel-offer-row:last-child {
    border-bottom: none;
}

.travel-offer-row__title {
    color: #1c2659;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 6px;
}

.travel-offer-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #667094;
    font-size: 14px;
}

.travel-offer-row__old {
    display: block;
    text-decoration: line-through;
    color: #98a0ba;
    font-size: 16px;
    margin-bottom: 4px;
}

.travel-offer-row__new {
    display: block;
    color: #17204a;
    font-size: 26px;
    font-weight: 900;
}

.offers-modal-body {
    max-height: 72vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
}

.offers-modal-body .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.offers-modal-popup .swal2-actions {
    margin-top: 1rem !important;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.offers-modal-popup .swal2-confirm,
.offers-modal-popup .swal2-cancel {
    min-width: 180px;
}

footer {
    background: transparent;
}

.footer_bg {
    height: 90px;
}

@media (max-width: 1199px) {
    .travel-hero {
        grid-template-columns: 1fr;
    }

    .travel-offer-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .travel-hero__media .carousel,
    .travel-hero__media .carousel-inner,
    .travel-hero__media .carousel-item {
        min-height: 240px;
    }

    .travel-card__image {
        height: 200px;
    }

    .travel-card__title {
        font-size: 22px;
    }

    .travel-card__desc {
        font-size: 14px;
    }

    .travel-card__meta {
        grid-template-columns: 1fr;
    }

    .travel-hero__content,
    .travel-section,
    .travel-card__body {
        padding: 18px 16px;
    }

    .travel-hero__title {
        font-size: 30px;
    }

    .travel-hero__subtitle {
        font-size: 15px;
    }

    .travel-hero__pricebox {
        grid-template-columns: 1fr;
    }

    .travel-section__title {
        font-size: 23px;
    }

    .travel-offer-row__title {
        font-size: 19px;
    }

    .travel-offer-row__new {
        font-size: 24px;
    }

    .offers-modal-popup .swal2-confirm,
    .offers-modal-popup .swal2-cancel {
        width: 100%;
        min-width: 0;
        margin: 0 !important;
    }
}
