/* ================================================
   Listing Booking Card — Widget de réservation
   ================================================ */

.listing-booking-card {
    width: 100%;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius-base);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ── Dates ── */
.listing-booking-card__dates {
    display: flex;
    gap: 5px;
}

.listing-booking-card__date-field {
    flex: 1;
    padding: 16px;
    background: var(--white);
    border-radius: 8px;
    border: 0.5px solid var(--dark5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.listing-booking-card__date-label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.listing-booking-card__date-label i {
    font-size: 18px;
    color: var(--dark-brown);
}

.listing-booking-card__date-label span {
    color: var(--dark-brown);
    font-family: var(--font-helvetica);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-button);
}

.listing-booking-card__date-value {
    color: var(--dark3);
    font-family: var(--font-rubik);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    text-align: center;
}

/* ── Sale price block ── */
.listing-booking-card__sale-price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    background: var(--light2);
    border-radius: 10px;
    border: 1px solid var(--dark5);
    text-align: center;
}

.listing-booking-card__sale-price-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark3);
    font-family: var(--font-rubik);
    font-size: 13px;
    font-weight: var(--font-weight-regular);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.listing-booking-card__sale-price-label i {
    font-size: 15px;
    color: var(--main-color-orange);
}

.listing-booking-card__sale-price-amount {
    color: var(--dark1);
    font-family: var(--font-helvetica);
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: -0.02em;
}

.listing-booking-card__sale-price-currency {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--dark1);
}

.listing-booking-card__sale-price-on-request {
    color: var(--dark3);
    font-family: var(--font-rubik);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    font-style: italic;
}

/* ── Travelers ── */
.listing-booking-card__travelers {
    padding: 8px 16px;
    border-radius: 8px;
    border: 0.5px solid var(--dark5);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.listing-booking-card__travelers-label {
    color: var(--dark-brown);
    font-family: var(--font-helvetica);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-button);
}

.listing-booking-card__travelers-value {
    color: var(--dark3);
    font-family: var(--font-rubik);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
}

/* ── Prix ── */
.listing-booking-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 16px;
    background: var(--light2);
    border-radius: 8px;
}

.listing-booking-card__price--promo {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: linear-gradient(135deg, #fff8f0 0%, var(--light2) 100%);
    border: 1px solid var(--main-color-orange);
}

.listing-booking-card__price-lm-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--main-color-orange);
    font-family: var(--font-rubik);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.listing-booking-card__price-lm-badge i {
    font-size: 10px;
}

.listing-booking-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.listing-booking-card__price-value {
    color: var(--dark1);
    font-family: var(--font-helvetica);
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.listing-booking-card__price-value--promo {
    color: var(--main-color-orange);
}

.listing-booking-card__price-original {
    color: var(--gray2);
    font-family: var(--font-rubik);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    text-decoration: line-through;
}

.listing-booking-card__price-period {
    color: var(--dark3);
    font-family: var(--font-rubik);
    font-size: 13px;
    font-weight: var(--font-weight-regular);
}

/* ── Location pour toute la saison (legacy tarifsaison parity) ──
   Rendered as a <button>: the season prices ARE the contact trigger, like the
   legacy seasonal contact button. Structured like the sibling date-field cards
   (white, hairline dark5 border, 8px radius) with a warm header band and a
   tinted pill CTA so the whole card reads as one actionable unit. */
.listing-booking-card__season {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    background: var(--white);
    border-radius: 8px;
    border: 0.5px solid var(--dark5);
    font: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.listing-booking-card__season:hover {
    border-color: var(--main-color);
    box-shadow: 0 6px 18px rgba(250, 171, 87, 0.28);
    transform: translateY(-1px);
}

/* Header band — warm tint, icon in a white circular badge */
.listing-booking-card__season-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--light-warm);
    color: var(--dark-brown);
    font-family: var(--font-helvetica);
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-button);
}

.listing-booking-card__season-label i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-circle);
    font-size: 14px;
    color: var(--main-color-orange);
}

.listing-booking-card__season-rows {
    display: flex;
    flex-direction: column;
    padding: 4px 16px;
}

.listing-booking-card__season-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 10px 0;
}

.listing-booking-card__season-row + .listing-booking-card__season-row {
    border-top: 1px solid var(--light1);
}

.listing-booking-card__season-name {
    color: var(--dark3);
    font-family: var(--font-rubik);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
}

.listing-booking-card__season-price {
    color: var(--dark1);
    font-family: var(--font-helvetica);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.01em;
}

/* CTA pill — tinted at rest, fills orange when the card is hovered */
.listing-booking-card__season-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 12px 12px;
    padding: 10px 14px;
    background: rgba(250, 171, 87, 0.14);
    border-radius: 8px;
    color: var(--main-color-orange);
    font-family: var(--font-rubik);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    transition: background 0.2s ease, color 0.2s ease;
}

.listing-booking-card__season:hover .listing-booking-card__season-cta {
    background: var(--main-color-orange);
    color: var(--white);
}

/* ── CTA ── */
.listing-booking-card__cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.listing-booking-card__cta {
    width: 100%;
    min-height: 48px;
    padding: 8px 16px;
    background: var(--main-color);
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-helvetica);
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.listing-booking-card__cta:hover {
    background: var(--main-color-orange);
    transform: translateY(-1px);
}

.listing-booking-card__note {
    color: var(--dark4);
    font-family: var(--font-rubik);
    font-size: 10px;
    font-weight: var(--font-weight-regular);
    text-align: center;
    margin: 0;
}

/* Réassurance économie sous le CTA : prix direct propriétaire */
.listing-booking-card__savings {
    margin: 8px 0 0;
    text-align: center;
    font-family: var(--font-rubik);
    font-size: 11px;
    color: var(--dark4);
}

.listing-booking-card__savings i {
    color: var(--main-color-orange);
    margin-right: 4px;
    font-size: 10px;
}

.listing-booking-card__savings a {
    display: block;
    margin-top: 2px;
    color: var(--main-color-orange);
    font-weight: var(--font-weight-semibold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.listing-booking-card__savings a:hover {
    filter: brightness(0.9);
}
