/* ========== Titre + badge Sold out ========== */
.offre-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.badge-sold-out {
    display: inline-block;
    padding: 10px 28px;
    background: #d20000;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ========== Date passée ========== */
.date.is-past .date-text {
    display: inline-block;
    padding: 2px 10px;
    background: #e4e4e4;
    color: #8c8c8c;
}

/* ========== Bloc réservation Sold out ========== */
.reservation-wrap {
    position: relative;
}

.is-sold-out .reservation-wrap::before {
    content: "";
    background: rgba(200, 200, 200, 0.35);
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.reservation.is-sold-out .reservation-inner {
    filter: grayscale(1) blur(7px);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
}

.sold-out-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px;
    text-align: center;
    height: max-content;
    top: 160px;
    background: white;
    width: 88%;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.sold-out-overlay__title {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: #27b4b4;
}

.sold-out-overlay__text {
    margin-top: 12px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    color: #404040;
    with: 90%;
}

/* ========== Mobile ========== */
@media (max-width: 767px) {
    .offre-head {
        gap: 12px;
    }

    .badge-sold-out {
        font-size: 18px;
        padding: 8px 18px;
    }

    .sold-out-overlay__title {
        font-size: 22px;
    }

    .sold-out-overlay__text {
        font-size: 16px;
    }
}
