/* ═══════════════════════════════════════════════════════════════
   RIAD DAR MAMOUNI — Confirmation de réservation v3.8.3
═══════════════════════════════════════════════════════════════ */

.rl-confirm-page {
    background: var(--lux-cream);
    min-height: 100vh;
    padding-bottom: 60px;
}

/* HERO CONFIRMATION */
.rl-confirm-hero {
    background:
        linear-gradient(135deg, rgba(62, 107, 87, 0.08) 0%, rgba(201, 163, 78, 0.08) 100%),
        var(--lux-cream-warm);
    padding: 130px var(--lux-gutter) 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.rl-confirm-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><g fill='none' stroke='%23A85B3A' stroke-width='0.4' opacity='0.05'><path d='M40 5 L48 25 L68 25 L52 40 L60 60 L40 50 L20 60 L28 40 L12 25 L32 25 Z'/></g></svg>");
    background-size: 80px;
    pointer-events: none;
}
.rl-confirm-hero__inner {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    z-index: 1;
}
.rl-confirm-status {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #FFFFFF;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 24px rgba(62, 107, 87, 0.15);
    color: var(--lux-emerald);
}
.rl-confirm-status--pending { color: var(--lux-gold); }
.rl-confirm-status--refused { color: #C44; }
.rl-confirm-hero h1 {
    font-family: var(--lux-font-display);
    font-size: clamp(34px, 4vw, 48px);
    color: var(--lux-charcoal);
    margin: 0 0 12px;
    line-height: 1.1;
}
.rl-confirm-hero__lead {
    color: var(--lux-charcoal-l);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto 20px;
    max-width: 580px;
}
.rl-confirm-hero__num {
    display: inline-block;
    background: var(--lux-charcoal);
    color: var(--lux-gold);
    padding: 8px 20px;
    border-radius: 100px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* BODY : 2 colonnes */
.rl-confirm-body {
    padding: 50px var(--lux-gutter) 0;
}
.rl-confirm-body__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .rl-confirm-body__inner {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.rl-confirm-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
    border: 1px solid rgba(43, 24, 16, 0.06);
    box-shadow: 0 4px 14px rgba(43, 24, 16, 0.04);
}
.rl-confirm-card h2 {
    font-family: var(--lux-font-display);
    font-size: 22px;
    color: var(--lux-charcoal);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rl-confirm-card h2 .lux-icon {
    color: var(--lux-terracotta);
}

/* Récap chambre */
.rl-confirm-room {
    display: flex;
    gap: 18px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(43, 24, 16, 0.08);
}
.rl-confirm-room__img {
    flex: 0 0 130px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
}
.rl-confirm-room__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rl-confirm-room__info h3 {
    font-family: var(--lux-font-display);
    font-size: 22px;
    margin: 0 0 6px;
    color: var(--lux-charcoal);
    font-weight: 500;
}
.rl-confirm-room__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lux-charcoal-soft);
    font-size: 13px;
    margin-bottom: 8px;
}
.rl-confirm-room__link {
    font-size: 12px;
    color: var(--lux-terracotta);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Dates */
.rl-confirm-dates {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
}
.rl-confirm-dates > div:not(.rl-confirm-dates__nights) {
    text-align: center;
}
.rl-confirm-dates__label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--lux-charcoal-soft);
    margin-bottom: 4px;
}
.rl-confirm-dates strong {
    display: block;
    font-family: var(--lux-font-display);
    font-size: 20px;
    color: var(--lux-charcoal);
    font-weight: 500;
    margin-bottom: 2px;
}
.rl-confirm-dates small {
    display: block;
    font-size: 11px;
    color: var(--lux-charcoal-soft);
}
.rl-confirm-dates__nights {
    background: var(--lux-cream-warm);
    color: var(--lux-terracotta-dark);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

/* Liste générique */
.rl-confirm-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rl-confirm-list > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(43, 24, 16, 0.06);
    font-size: 14px;
}
.rl-confirm-list > div:last-child { border: none; padding-bottom: 0; }
.rl-confirm-list span { color: var(--lux-charcoal-soft); }
.rl-confirm-list strong { color: var(--lux-charcoal); font-weight: 600; }
.rl-confirm-list__total {
    font-size: 17px !important;
    padding-top: 12px;
    border-top: 2px solid var(--lux-terracotta) !important;
    border-bottom: none !important;
}
.rl-confirm-list__total strong {
    color: var(--lux-terracotta-dark) !important;
    font-family: var(--lux-font-display);
    font-size: 22px;
}

/* Expériences liées */
.rl-confirm-linked {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rl-confirm-linked li {
    padding: 14px 18px;
    background: var(--lux-cream-warm);
    border-left: 3px solid var(--lux-gold);
    border-radius: 6px;
    margin-bottom: 10px;
}
.rl-confirm-linked strong {
    display: block;
    font-family: var(--lux-font-display);
    font-size: 16px;
    color: var(--lux-charcoal);
    margin-bottom: 4px;
}
.rl-confirm-linked small {
    color: var(--lux-charcoal-soft);
    font-size: 12px;
}

/* Right : actions */
.rl-confirm-actions {
    position: sticky;
    top: 110px;
    align-self: start;
}
.rl-confirm-actions__card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(43, 24, 16, 0.06);
    box-shadow: 0 4px 14px rgba(43, 24, 16, 0.04);
    margin-bottom: 18px;
}
.rl-confirm-actions__card h3 {
    font-family: var(--lux-font-display);
    font-size: 18px;
    color: var(--lux-charcoal);
    margin: 0 0 18px;
    font-weight: 500;
}
.rl-confirm-action {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 18px !important;
    margin-bottom: 10px !important;
    font-size: 13px !important;
    font-weight: 600;
    border-radius: 10px !important;
}
.rl-confirm-action--whatsapp {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border: none;
}
.rl-confirm-action--whatsapp:hover { background: #1FAB54 !important; }
.rl-confirm-action--ghost {
    background: transparent !important;
    color: var(--lux-charcoal) !important;
    border: 1px solid rgba(43, 24, 16, 0.15) !important;
}
.rl-confirm-action--ghost:hover {
    background: var(--lux-cream-warm) !important;
    border-color: var(--lux-terracotta) !important;
    color: var(--lux-terracotta-dark) !important;
}

/* Help block */
.rl-confirm-help {
    background: var(--lux-cream-warm);
    border-radius: 12px;
    padding: 18px;
}
.rl-confirm-help h4 {
    font-family: var(--lux-font-display);
    font-size: 15px;
    color: var(--lux-terracotta-dark);
    margin: 0 0 6px;
}
.rl-confirm-help p {
    font-size: 12px;
    color: var(--lux-charcoal-soft);
    margin: 0 0 12px;
    line-height: 1.5;
}
.rl-confirm-help a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--lux-charcoal);
    font-size: 13px;
    padding: 6px 0;
    text-decoration: none;
}
.rl-confirm-help a:hover { color: var(--lux-terracotta); }
.rl-confirm-help .lux-icon { color: var(--lux-terracotta); }

/* UPSELLS */
.rl-confirm-upsells {
    padding: 60px var(--lux-gutter);
    background:
        linear-gradient(180deg, var(--lux-cream) 0%, var(--lux-cream-warm) 100%);
}
.rl-confirm-upsells__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.rl-confirm-upsells header {
    text-align: center;
    margin-bottom: 40px;
}
.rl-confirm-upsells h2 {
    font-family: var(--lux-font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--lux-charcoal);
    margin: 0 0 8px;
}
.rl-confirm-upsells p {
    color: var(--lux-charcoal-soft);
    font-size: 15px;
    max-width: 540px;
    margin: 0 auto;
}
.rl-confirm-upsells__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .rl-confirm-upsells__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .rl-confirm-upsells__grid { grid-template-columns: 1fr; }
}

.rl-confirm-upsell {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(43, 24, 16, 0.06);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.rl-confirm-upsell:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(43, 24, 16, 0.12);
    border-color: rgba(201, 163, 78, 0.4);
}
.rl-confirm-upsell__img {
    aspect-ratio: 16 / 10;
    background: var(--lux-sand);
    overflow: hidden;
}
.rl-confirm-upsell__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.rl-confirm-upsell:hover .rl-confirm-upsell__img img {
    transform: scale(1.05);
}
.rl-confirm-upsell__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.rl-confirm-upsell__body h3 {
    font-family: var(--lux-font-display);
    font-size: 20px;
    color: var(--lux-charcoal);
    margin: 0 0 6px;
    font-weight: 500;
}
.rl-confirm-upsell__duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--lux-terracotta);
    margin-bottom: 10px;
}
.rl-confirm-upsell__body p {
    font-size: 13px;
    color: var(--lux-charcoal-soft);
    line-height: 1.5;
    margin: 0 0 14px;
    flex: 1;
}
.rl-confirm-upsell__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(43, 24, 16, 0.06);
}
.rl-confirm-upsell__footer strong {
    font-family: var(--lux-font-display);
    font-size: 18px;
    color: var(--lux-terracotta-dark);
}
.rl-confirm-upsell__footer span {
    font-size: 12px;
    font-weight: 600;
    color: var(--lux-terracotta);
    letter-spacing: 0.06em;
}
