/* ================= Hotels – Clean Card ================= */
#hotels {
    --bg: #fff;
    --bd: #e8eef5;
    --ink: #0f172a;
    --muted: #6b7280;
    --red: #dc3545;
    --red-d: #bf2e3b;
    --blue: #0d6efd;
    --shadow: 0 10px 24px rgba(15, 23, 42, .08);

    --thumb: 236px;
    /* kapak */
    --title-min: 48px;
    /* 2 satır başlık */
    --price-min: 110px;
    /* fiyat/puan alanı */
    --g: .6rem;
}

/* satırdaki sütunları esnet */
#hotels .row.cards-row>[class^="col-"],
#hotels .row.cards-row>[class*=" col-"] {
    display: flex;
}

#hotels .pop-touritem {
    display: flex;
    width: 100%;
}

#hotels .btn-light-primary {
    height: 46px;
    line-height: 46px;
    border-radius: 14px;
    background: var(--red);
    border: 1px solid var(--red-d);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(220, 53, 69, .14);
}

#hotels .btn-light-success {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #effaf3;
    color: #2f9e67;
    border: 1px solid #cfe0d8;
}

/* kart */
#hotels .uz-hotel-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: var(--bg);
    border: 1px solid var(--bd);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .2s ease;
}

#hotels .uz-hotel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, .10);
}

/* kapak + yıldız overlay */
#hotels .uz-thumb {
    height: var(--thumb);
    position: relative;
    overflow: hidden;
}

#hotels .uz-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#hotels .stars-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(120%) blur(2px);
    border: 1px solid rgba(15, 23, 42, .06);
    color: #f7b500;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    z-index: 2;
}

/* gövde → 3 satırlı grid: title / price / CTA */
#hotels .uz-body {
    padding: 14px 16px;
    display: grid;
    row-gap: var(--g);
    min-height: 0;
    grid-template-rows: minmax(var(--title-min), auto) minmax(var(--price-min), auto) auto;
}

/* başlık (2 satır) */
#hotels .uz-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.2px;
    color: var(--ink);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(2 * 1.3em);
    margin: 0;
}

/* fiyat/puan */
#hotels .uz-price-wrap {
    border-top: 1px solid #eef2f7;
    padding-top: .5rem;
}

#hotels .deal-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    height: 28px;
    padding: 0 .65rem;
    border-radius: 999px;
    background: #ffe3e6;
    color: var(--red);
    font-weight: 800;
    font-size: 12px;
    border: 1px solid #ffd3d7;
}

#hotels .price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: .2rem;
}

#hotels .prefix {
    font-weight: 700;
    color: #6b7280;
}

#hotels .amount {
    font-weight: 900;
    font-size: 24px;
    color: var(--red);
    font-variant-numeric: tabular-nums;
}

#hotels .currency {
    font-weight: 800;
    color: var(--red);
}

#hotels .old-price {
    color: #9aa4b2;
    text-decoration: line-through;
    font-weight: 600;
}

#hotels .note {
    color: var(--muted);
    font-size: 12px;
    margin-top: .35rem;
}

#hotels .rating-chip {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18), 0 4px 12px rgba(13, 110, 253, .18);
}

/* CTA */
#hotels .booking-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
}

#hotels .booking-actions>* {
    margin: 0 !important;
}

#hotels .uz-offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    height: 46px;
    line-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    background: var(--red);
    border: 1px solid var(--red-d);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    flex: 1 1 auto;
    box-shadow: 0 10px 18px rgba(220, 53, 69, .14);
}

#hotels .btn-heart {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfe0d8;
    background: #effaf3;
    color: #2f9e67;
}

/* mobil rötuşlar */
@media (max-width:576px) {
    #hotels .uz-thumb {
        height: 200px;
    }

    #hotels .stars-chip {
        top: 8px;
        left: 8px;
        padding: 5px 10px;
        font-size: 12px;
    }

    #hotels .uz-title {
        font-size: 17px;
    }

    #hotels .amount {
        font-size: 22px;
    }

    #hotels .uz-offer-btn {
        height: 44px;
        line-height: 44px;
    }
}

/* ================= Frühbucher Hotels – Clean Card ================= */
#early-hotels {
    --bg: #fff;
    --bd: #e8eef5;
    --ink: #0f172a;
    --muted: #6b7280;
    --red: #dc3545;
    --red-d: #bf2e3b;
    --blue: #0d6efd;
    --shadow: 0 10px 24px rgba(15, 23, 42, .08);

    /* eş-yükseklik referansları */
    --thumb: 236px;
    /* kapak yüksekliği */
    --title-min: 48px;
    /* 2 satır başlık */
    --features-min: 150px;
    /* özellik listesi alanı */
    --price-min: 110px;
    /* fiyat/puan alanı */
    --g: .6rem;
    /* grid aralığı */
}

/* sütunları esnet */
#early-hotels .row.cards-row>[class^="col-"],
#early-hotels .row.cards-row>[class*=" col-"] {
    display: flex;
}

#early-hotels .pop-touritem {
    display: flex;
    width: 100%;
}

/* kart */
#early-hotels .eq-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: var(--bg);
    border: 1px solid var(--bd);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .2s ease;
}

#early-hotels .eq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, .10);
}

/* kapak + yıldız çipi overlay */
#early-hotels .flight-thumb-wrapper {
    height: var(--thumb);
    position: relative;
    overflow: hidden;
}

#early-hotels .flight-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#early-hotels .stars-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(120%) blur(2px);
    border: 1px solid rgba(15, 23, 42, .06);
    color: #f7b500;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    z-index: 20;
}

/* gövde → 4 satırlı grid: title / features / price / CTA */
#early-hotels .touritem-middle {
    padding: 14px 16px;
    display: grid;
    row-gap: var(--g);
    min-height: 0;
    grid-template-rows: minmax(var(--title-min), auto) 1fr minmax(var(--price-min), auto) auto;
}

#early-hotels .touritem-middle>* {
    margin: 0 !important;
}

/* Başlık (2 satır) */
#early-hotels .tour-title {
    font-size: 18px;
    line-height: 1.3;
    color: var(--ink);
    font-weight: 800;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(2 * 1.3em);
}

/* Özellik listesi – kompakt */
#early-hotels .feature-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    min-height: var(--features-min);
    max-height: var(--features-min);
    overflow: auto;
}

#early-hotels .feature-list__title {
    display: inline-block;
    padding: .35rem .6rem;
    border-radius: 10px;
    background: #eef5ff;
    border: 1px solid #deecff;
    color: #0b3b66;
    font: 800 12px/1 system-ui;
    margin-bottom: .4rem;
}

#early-hotels .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    color: #374151;
    font-size: 14px;
    line-height: 1.35;
    margin: .25rem 0;
}

/* Fiyat/puan alanı */
#early-hotels .price-section {
    min-height: var(--price-min);
    padding-top: .4rem;
    border-top: 1px solid #eef2f7;
}

#early-hotels .deal-pill {
    position: relative;
    top: -2px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    height: 28px;
    padding: 0 .65rem;
    border-radius: 999px;
    background: #ffe3e6;
    color: var(--red);
    font-weight: 800;
    font-size: 12px;
    border: 1px solid #ffd3d7;
}

#early-hotels .price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: .2rem;
}

#early-hotels .prefix {
    font-weight: 700;
    color: #6b7280;
}

#early-hotels .amount {
    font-weight: 900;
    font-size: 24px;
    color: var(--red);
    font-variant-numeric: tabular-nums;
}

#early-hotels .currency {
    font-weight: 800;
    color: var(--red);
}

#early-hotels .old-price {
    color: #9aa4b2;
    text-decoration: line-through;
    font-weight: 600;
}

#early-hotels .note {
    color: var(--muted);
    font-size: 12px;
    margin-top: .35rem;
}

#early-hotels .square--40 {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18), 0 4px 12px rgba(13, 110, 253, .18);
}

/* CTA */
#early-hotels .booking-wrapes {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: .6rem !important;
}

#early-hotels .booking-wrapes>* {
    margin: 0 !important;
}

#early-hotels .btn-light-primary {
    height: 46px;
    line-height: 46px;
    border-radius: 14px;
    background: var(--red);
    border: 1px solid var(--red-d);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(220, 53, 69, .14);
}

#early-hotels .btn-light-success {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #effaf3;
    color: #2f9e67;
    border: 1px solid #cfe0d8;
}

/* Yıldız kutusu framework ile uyumlu (başka yerlerde kullanırsan) */
#early-hotels .uz-stars {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Mobil rötuşlar */
@media (max-width:576px) {
    #early-hotels .flight-thumb-wrapper {
        height: 200px;
    }

    #early-hotels .stars-chip {
        top: 8px;
        left: 8px;
        padding: 5px 10px;
        font-size: 12px;
    }

    #early-hotels .tour-title {
        font-size: 17px;
    }

    #early-hotels .feature-list {
        min-height: 120px;
        max-height: 120px;
    }

    #early-hotels .amount {
        font-size: 22px;
    }

    #early-hotels .btn-light-primary {
        height: 44px;
        line-height: 44px;
    }
}