/* =============================================================================
   Paso 5: elegir sin distracciones + cotización en la web (reservas-quote.js)
   ============================================================================= */

/* Mientras el huésped no elige (formalizar / cotizar / probar), el resumen de abajo queda
   difuminado: se intuye, pero no compite con las tres opciones. Al elegir «formalizar»
   vuelve a verse nítido y el flujo sigue como siempre. */
html body .confirm-layout > :not(#intent-block) {
    transition: filter .45s ease, opacity .45s ease;
}
html body .confirm-layout.is-intent-pending > :not(#intent-block) {
    filter: blur(4px) saturate(.6); opacity: .45; pointer-events: none; user-select: none;
}
html body .confirm-layout.is-intent-pending > :not(#intent-block) * { pointer-events: none !important; }
@media (prefers-reduced-motion: reduce) {
    html body .confirm-layout > :not(#intent-block) { transition: none; }
}

/* ---------------------------------------------------------------- cotización */
html body .intent-result.rq-host { display: block !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.rq { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.rq-head strong { display: block; font-size: 1.05rem; color: var(--hotel-primary, #0d3226); }
.rq-head p { margin: 4px 0 0; font-size: .86rem; color: #5f6b66; }
.rq-doc {
    background: #ffffff; color: #1f2623; border: 1px solid rgba(0, 0, 0, .1); border-radius: var(--ux-radius, 10px);
    padding: 22px 22px 18px; box-shadow: 0 14px 30px -24px rgba(0, 0, 0, .5);
    font-size: 13.5px; line-height: 1.45;
}
.rq-doc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid var(--hotel-primary, #0d3226); }
.rq-doc__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rq-doc__brand strong { font-size: 15px; line-height: 1.25; color: var(--hotel-primary, #0d3226); }
.rq-doc__logo { height: 46px; width: auto; max-width: 150px; object-fit: contain; flex: 0 0 auto; }
.rq-eq { display: block; margin-top: 2px; }
.rq-doc__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: #5f6b66; text-align: right; }
.rq-doc__kind { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hotel-primary, #0d3226); }
.rq-doc__for { margin: 0 0 10px; font-weight: 600; }
.rq-doc__for span { font-weight: 400; color: #5f6b66; }
.rq-table { width: 100%; border-collapse: collapse; margin: 0 0 10px; }
.rq-table th, .rq-table td { padding: 7px 0; border-bottom: 1px solid rgba(0, 0, 0, .07); vertical-align: top; }
.rq-table th { text-align: left; font-weight: 500; color: #5f6b66; padding-right: 12px; }
.rq-table td { text-align: right; font-weight: 600; }
.rq-table--money { margin-top: 6px; }
.rq-table .rq-total th, .rq-table .rq-total td { border-top: 2px solid var(--hotel-primary, #0d3226); border-bottom: 0; padding-top: 10px; font-size: 16px; color: var(--hotel-primary, #0d3226); font-weight: 700; }
.rq-table .rq-bs th, .rq-table .rq-bs td { font-size: 12px; font-weight: 500; color: #5f6b66; border-bottom: 0; }
.rq-muted { color: #6b7672; font-weight: 400; font-size: 12px; }
.rq-doc__note { margin: 12px 0 0; padding: 10px 12px; background: rgba(0, 0, 0, .035); border-radius: var(--ux-radius-sm, 6px); font-size: 12px; color: #4b5552; }
.rq-doc__foot { margin: 12px 0 0; font-size: 11.5px; color: #7a8581; text-align: center; }
.rq-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rq-actions .btn { flex: 1 1 180px; justify-content: center; }
@media (max-width: 480px) {
    .rq-doc { padding: 16px 14px 14px; font-size: 13px; }
    .rq-doc__top { flex-direction: column; align-items: flex-start; gap: 8px; }
    .rq-doc__meta { align-items: flex-start; text-align: left; }
    .rq-actions .btn { flex-basis: 100%; }
}

/* Respaldo sin librería de PDF: al imprimir solo sale la cotización. */
@media print {
    html.rq-printing body * { visibility: hidden !important; }
    html.rq-printing .rq-doc, html.rq-printing .rq-doc * { visibility: visible !important; }
    html.rq-printing .rq-doc { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; }
}
