/* Scoped styles for booking lists only */
.booking-lists {
    display: grid;
    gap: 40px;
}

/* Grid for WHOLE + ROOM cards */
.booking-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width:1200px) {
    .booking-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:900px) {
    .booking-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:600px) {
    .booking-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

.offer-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    transition: .2s box-shadow, .2s border-color;
}

.offer-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    border-color: #e0e0e0;
}

.offer-card img.main {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.offer-media {
    position: relative;
}

.offer-flag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    padding: 6px 12px;
    border-radius: 26px;
    font-size: .55rem;
    font-weight: 600;
    letter-spacing: .6px;
    color: #222;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    text-transform: uppercase;
}

.offer-flag:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(120deg, #b8860b, #f3dc85);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .7);
}

.offer-body {
    padding: 14px 15px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.offer-body h3 {
    margin: 0;
    font-size: 1rem;
    font-family: var(--font-family-heading);
    line-height: 1.25;
    color: #222;
}

.offer-meta {
    font-size: .72rem;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.2;
}

.offer-meta .badge {
    background: #f0f2f5;
    color: #333;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: .6rem;
    letter-spacing: .5px;
}

.offer-note {
    font-size: .63rem;
    line-height: 1.25;
    color: #555;
    margin-top: 4px;
    white-space: normal;
}

.offer-note:empty {
    display: none;
}

.price-line {
    font-size: .85rem;
    font-weight: 600;
    color: #111;
}

.price-line span.alt {
    color: #777;
    font-weight: 400;
}

.offer-footer {
    padding: 0 15px 14px;
}

.offer-footer .btn {
    width: 100%;
}

/* Horizontal COMBO full-width row spans all columns */
.combo-row {
    grid-column: 1/-1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 320px 1fr 180px;
    gap: 24px;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .06);
}

.combo-row:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    border-color: #e0e0e0;
}

/* Split variant: image left, details right */
.combo-row.split {
    grid-template-columns: 360px 1fr;
    grid-template-rows: auto;
    gap: 0;
}

.combo-left {
    padding: 16px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.combo-left img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    background: #f4f4f4;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .07);
}

.combo-right {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.combo-actions {
    margin-top: 6px;
}

.combo-actions .btn {
    width: 100%;
}

.combo-right h3 {
    margin: 0;
    font-size: 1.05rem;
    font-family: var(--font-family-heading);
    line-height: 1.25;
    color: #222;
}

.combo-items-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.combo-item-line {
    font-size: .9rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.combo-item-line i {
    color: #b8860b;
    font-size: .8rem;
}

.combo-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    background: #f6f6f6;
}

.combo-images.single {
    display: block;
}

.combo-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.combo-images.grid-3 img:first-child {
    grid-row: 1 / span 2;
    grid-column: 1;
}

.combo-body {
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.combo-body h3 {
    margin: 0;
    font-size: 1.05rem;
    font-family: var(--font-family-heading);
    line-height: 1.25;
}

.combo-meta {
    font-size: .75rem;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.combo-meta .badge {
    background: #f0f2f5;
    color: #333;
    padding: 4px 10px;
    border-radius: 18px;
    font-size: .6rem;
}

/* Combo images grid */
.combo-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Enhanced COMBO badge */
.combo-meta .badge-combo {
    background: linear-gradient(125deg, #b8860b, #d6b246 55%, #f3dc85);
    color: #fff;
    padding: 7px 18px 7px;
    border-radius: 34px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .9px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px -2px rgba(184, 134, 11, .55), 0 2px 6px rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .35);
}

.combo-meta .badge-combo i {
    font-size: .7rem;
    line-height: 1;
}

.combo-meta .badge-combo:after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(70deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    animation: badgeShine 4s ease-in-out infinite;
}

@keyframes badgeShine {
    0% {
        left: -40%;
    }

    55% {
        left: 140%;
    }

    100% {
        left: 140%;
    }
}

.combo-price {
    font-size: .9rem;
    font-weight: 600;
    color: #111;
}

/* Flag on combo component image */
.combo-item-media {
    position: relative;
}

.combo-item-flag {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 4px 10px;
    border-radius: 18px;
    font-size: .5rem;
    font-weight: 600;
    letter-spacing: .5px;
    color: #222;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.combo-item-flag:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(120deg, #b8860b, #f3dc85);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .7);
}

/* Top line (badge / note / price) */
.combo-topline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin: 0 0 10px;
}

.combo-topline .combo-meta {
    justify-self: start;
}

.combo-topline .combo-note {
    font-size: .7rem;
    line-height: 1.35;
    color: #555;
    overflow-wrap: break-word;
    justify-self: center;
    text-align: center;
}

.combo-topline .combo-note:empty {
    visibility: hidden;
}

.combo-topline .combo-price {
    justify-self: end;
}

@media (max-width:640px) {
    .combo-topline {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 6px;
    }

    .combo-topline .combo-meta,
    .combo-topline .combo-note,
    .combo-topline .combo-price {
        justify-self: start;
        text-align: left;
    }

    .combo-topline .combo-note:empty {
        display: none;
    }
}

.combo-footer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px;
}

.combo-footer .btn {
    width: 100%;
}

/* Group separator line (for combo section) */
.group-separator {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0 24px;
    position: relative;
}

.group-separator:before,
.group-separator:after {
    content: "";
    flex: 1;
    height: 2px;
    background: #e4e9f1;
}

/* Simplified group label (no oval) */
.group-separator .group-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e4fb8;
    font-family: var(--font-family-heading);
    letter-spacing: .8px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    position: relative;
}

.group-separator .group-label i {
    color: #1e4fb8;
    font-size: .9rem;
}

@media (max-width:640px) {
    .group-separator {
        margin: 22px 0 18px;
        gap: 12px;
    }

    .group-separator .group-label {
        padding: 6px 20px 7px;
        font-size: .85rem;
    }

    /* Stack combo images vertically on small screens */
    .combo-list {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .combo-list>div {
        gap: 10px;
    }
}

@media (max-width:900px) {
    .combo-row {
        grid-template-columns: 260px 1fr;
        grid-template-rows: auto auto;
    }

    .combo-row.split {
        grid-template-columns: 1fr;
    }

    .combo-footer {
        grid-column: 1/-1;
        padding-top: 0;
    }
}

@media (max-width:640px) {
    .combo-row {
        grid-template-columns: 1fr;
    }

    .combo-body {
        padding: 14px 16px;
    }

    .combo-right {
        padding: 14px 16px;
    }

    .combo-footer {
        padding: 0 16px 16px;
    }
}

.section-title {
    font-family: var(--font-family-heading);
    font-size: 1.4rem;
    margin: 10px 0;
    color: var(--primary-color);
}

/* mobile fine-tune already handled above */
/* Tiny room thumbs above combo button */
.room-thumbs {
    display: flex;
    gap: 8px;
    margin: 8px 0 10px;
    flex-wrap: wrap;
}

.room-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    background: #f4f4f4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    border: 1px solid #eee;
}

@media (max-width:640px) {
    .room-thumbs img {
        width: 64px;
        height: 64px;
    }
}