:root {
    --xr-bg: #f6f3ec;
    --xr-card: rgba(255,255,255,0.94);
    --xr-text: #252827;
    --xr-muted: #747873;
    --xr-accent: #c29a45;
    --xr-accent-dark: #9f7a2d;
    --xr-border: #e9e4da;
    --xr-soft: #f2eee5;
    --xr-shadow:
        0 18px 50px rgba(46, 42, 32, 0.08);
}


.xr-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at top left,
            rgba(194,154,69,0.15),
            transparent 36%
        ),
        linear-gradient(
            180deg,
            #fbfaf7 0%,
            var(--xr-bg) 100%
        );
    padding: 42px 20px 60px;
}


.xr-shell {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.xr-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}


.xr-brand-mark {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            var(--xr-accent),
            var(--xr-accent-dark)
        );

    color: #fff;

    font-size: 27px;
    font-weight: 800;

    box-shadow:
        0 12px 28px rgba(159,122,45,0.25);
}


.xr-eyebrow {
    margin-bottom: 2px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--xr-accent-dark);
}


.xr-title {
    margin: 0;

    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    font-weight: 800;

    color: var(--xr-text);
}


.xr-location {
    margin-top: 6px;
    font-size: 14px;
    color: var(--xr-muted);
}


/* =========================================================
   SUMMARY
   ========================================================= */

.xr-summary {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 18px;
    padding: 12px 18px;

    background: rgba(255,255,255,0.72);

    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 999px;

    backdrop-filter: blur(12px);

    box-shadow:
        0 8px 24px rgba(46,42,32,0.05);
}


.xr-summary-item {
    display: flex;
    align-items: center;
    gap: 7px;
}


.xr-summary-label {
    color: var(--xr-muted);
    font-size: 13px;
}


.xr-summary-item strong {
    color: var(--xr-text);
    font-size: 14px;
}


.xr-summary-divider {
    width: 1px;
    height: 20px;
    background: var(--xr-border);
}


/* =========================================================
   CARDS
   ========================================================= */

.xr-card {
    margin-bottom: 18px;
    padding: 28px;

    border: 1px solid rgba(233,228,218,0.85);
    border-radius: 24px;

    background: var(--xr-card);

    box-shadow: var(--xr-shadow);

    animation:
        xrAppear 0.28s ease-out;
}


@keyframes xrAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.xr-step-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin-bottom: 24px;
}


.xr-step-number {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    border-radius: 50%;

    background: var(--xr-text);
    color: #fff;

    font-size: 14px;
    font-weight: 800;
}


.xr-step-head h2 {
    margin: 0 0 3px;

    color: var(--xr-text);

    font-size: 22px;
    font-weight: 800;
}


.xr-step-head p {
    margin: 0;

    color: var(--xr-muted);
    font-size: 14px;
}


/* =========================================================
   PAX
   ========================================================= */

.xr-pax-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
    gap: 12px;
    margin-top: 22px;
}


.xr-pax-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 68px;

    padding: 10px;

    border: 2px solid #e4e1da;
    border-radius: 16px;

    background: #ffffff;

    color: #3f4448;

    font-size: 22px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}


.xr-pax-btn:hover {
    border-color: #d0a646;

    background: #faf8f1;

    color: #3f4448;

    transform: translateY(-2px);

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.08);
}


.xr-pax-btn.is-selected {
    border-color: #d0a646;

    background: #d0a646;

    color: #ffffff;

    box-shadow:
        0 6px 16px rgba(208, 166, 70, 0.25);
}


.xr-pax-btn.is-selected:hover {
    background: #d0a646;
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Móvil
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .xr-pax-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }


    .xr-pax-btn {
        min-height: 62px;

        border-radius: 14px;

        font-size: 21px;
    }
}


/* =========================================================
   INFO
   ========================================================= */

.xr-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 18px;
    padding: 14px 16px;

    border-radius: 14px;

    background: #f7f1e3;

    color: #65552e;

    font-size: 14px;
    line-height: 1.5;
}


.xr-info-icon {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--xr-accent);
    color: white;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   DATES
   ========================================================= */

.xr-date-strip {
    display: flex;
    gap: 10px;

    overflow-x: auto;

    padding: 4px 2px 8px;

    scrollbar-width: thin;
}


.xr-date-btn {
    min-width: 84px;
    padding: 13px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;

    border: 1px solid var(--xr-border);
    border-radius: 18px;

    background: white;

    text-decoration: none;

    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease;
}


.xr-date-btn:hover {
    transform: translateY(-2px);
    border-color: var(--xr-accent);
}


.xr-date-btn strong {
    margin: 2px 0;

    font-size: 27px;
    line-height: 1;

    color: var(--xr-text);
}


.xr-date-weekday {
    font-size: 11px;
    font-weight: 800;

    color: var(--xr-muted);

    letter-spacing: .08em;
}


.xr-date-month {
    font-size: 12px;
    color: var(--xr-muted);
}


.xr-date-btn.is-selected {
    border-color: var(--xr-accent);
    background: var(--xr-text);

    box-shadow:
        0 10px 24px rgba(37,40,39,0.18);
}


.xr-date-btn.is-selected strong,
.xr-date-btn.is-selected .xr-date-weekday,
.xr-date-btn.is-selected .xr-date-month {
    color: white;
}


/* =========================================================
   TIMES
   ========================================================= */

.xr-time-groups {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 24px;
}


.xr-time-label {
    margin-bottom: 10px;

    font-size: 13px;
    font-weight: 800;

    color: var(--xr-muted);

    text-transform: uppercase;
    letter-spacing: .08em;
}


.xr-time-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 9px;
}


.xr-time-btn {
    min-height: 49px;

    border: 1px solid var(--xr-border);
    border-radius: 13px;

    background: white;

    color: var(--xr-text);

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        color .16s ease;
}


.xr-time-btn:hover {
    transform: translateY(-1px);

    border-color: var(--xr-accent);

    background: var(--xr-accent);
    color: white;
}


/* =========================================================
   EMPTY
   ========================================================= */

.xr-empty {
    padding: 20px;

    border-radius: 16px;

    background: var(--xr-soft);

    color: var(--xr-muted);

    text-align: center;
}


/* =========================================================
   FOOTER
   ========================================================= */

.xr-footer {
    padding: 20px;

    text-align: center;

    color: #92948f;

    font-size: 12px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .xr-page {
        padding: 22px 12px 40px;
    }


    .xr-hero {
        margin-bottom: 20px;
    }


    .xr-brand-mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;

        border-radius: 15px;

        font-size: 22px;
    }


    .xr-card {
        padding: 21px 17px;

        border-radius: 20px;
    }


    .xr-step-head h2 {
        font-size: 20px;
    }


    .xr-pax-grid {
        grid-template-columns:
            repeat(5, 1fr);
    }


    .xr-pax-btn {
        min-height: 54px;
        border-radius: 14px;
    }


    .xr-time-groups {
        grid-template-columns: 1fr;
    }


    .xr-time-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }


    .xr-summary {
        display: flex;
        width: 100%;

        justify-content: center;

        border-radius: 17px;
    }

}


@media (max-width: 390px) {

    .xr-pax-grid {
        grid-template-columns:
            repeat(4, 1fr);
    }


    .xr-time-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}
.xr-space-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}


.xr-space-card {
    display: block;

    padding: 22px;

    border: 2px solid #e4e1da;
    border-radius: 18px;

    background: #ffffff;

    color: #3f4448;
    text-decoration: none;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}


.xr-space-card:hover {
    border-color: #d0a646;
    background: #faf8f1;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.08);
}


.xr-space-name {
    font-size: 20px;
    font-weight: 700;

    margin-bottom: 8px;
}


.xr-space-meta {
    color: #6b7074;
    font-size: 14px;

    margin-bottom: 14px;
}


.xr-space-availability {
    padding-top: 12px;

    border-top: 1px solid #ecebe7;

    color: #6b7074;
    font-size: 13px;
}


.xr-space-availability strong {
    color: #3f4448;
}


@media (max-width: 700px) {

    .xr-space-grid {
        grid-template-columns: 1fr;
    }


    .xr-space-card {
        padding: 18px;
    }
}
/* =========================================================
   CALENDARIO DE RESERVAS
   ========================================================= */

.xr-calendar {
    width: 100%;
    max-width: 620px;

    margin: 26px auto 0;

    padding: 22px;

    border: 1px solid #e9e6df;
    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fdfcf9 100%
        );

    box-shadow:
        0 12px 35px rgba(63, 68, 72, 0.07);
}


/* =========================================================
   CABECERA MES
   ========================================================= */

.xr-calendar-header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;
}


.xr-calendar-title {
    text-align: center;

    color: #3f4448;

    font-size: 21px;
    font-weight: 800;

    letter-spacing: -0.3px;
}


.xr-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 1px solid #ddd8cc;
    border-radius: 14px;

    background: #ffffff;

    color: #3f4448;

    font-size: 27px;
    font-weight: 400;
    line-height: 1;

    text-decoration: none;

    box-shadow:
        0 3px 10px rgba(63, 68, 72, 0.05);

    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


.xr-calendar-nav:hover {
    border-color: #d0a646;

    background: #faf8f1;

    color: #a9822e;

    transform: translateY(-1px);

    box-shadow:
        0 5px 12px rgba(63, 68, 72, 0.08);
}


/* =========================================================
   DÍAS DE LA SEMANA
   ========================================================= */

.xr-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;

    margin-bottom: 10px;

    text-align: center;
}


.xr-calendar-weekdays span {
    padding: 7px 0;

    color: #686d70;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.3px;
}


/* =========================================================
   CUADRÍCULA
   ========================================================= */

.xr-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}


.xr-calendar-empty {
    aspect-ratio: 1 / 1;
}


.xr-calendar-day {
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    font-size: 15px;
    font-weight: 750;

    text-decoration: none;

    user-select: none;
}


/* =========================================================
   DÍA DISPONIBLE
   ========================================================= */

.xr-calendar-day.is-available {
    border: 1px solid #b9ddc2;

    background: #edf8f0;

    color: #347044;

    cursor: pointer;

    box-shadow:
        0 2px 5px rgba(52, 112, 68, 0.05);

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}


.xr-calendar-day.is-available:hover {
    border-color: #78ba88;

    background: #dff2e4;

    color: #285c36;

    transform: translateY(-2px);

    box-shadow:
        0 5px 12px rgba(52, 112, 68, 0.13);
}


/* =========================================================
   DÍA NO DISPONIBLE
   ========================================================= */

.xr-calendar-day.is-disabled {
    border: 1px solid #ead2d0;

    background: #fbefee;

    color: #b06d68;

    cursor: default;

    opacity: 0.78;
}


/* =========================================================
   FECHA SELECCIONADA
   ========================================================= */

.xr-calendar-day.is-available.is-selected {
    border-color: #d0a646;

    background: #d0a646;

    color: #ffffff;

    box-shadow:
        0 6px 16px rgba(208, 166, 70, 0.28);

    transform: translateY(-2px);
}


/* =========================================================
   RESUMEN DE FECHA ELEGIDA
   ========================================================= */

.xr-calendar-selection {
    max-width: 620px;

    margin: 18px auto 0;

    padding: 14px 18px;

    border: 1px solid #ede4ca;
    border-radius: 13px;

    background: #faf7ed;

    color: #727578;

    text-align: center;

    font-size: 14px;
}


.xr-calendar-selection strong {
    color: #3f4448;

    font-weight: 800;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .xr-calendar {
        max-width: 560px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .xr-calendar {
        max-width: none;

        margin-top: 20px;

        padding: 14px;

        border-radius: 18px;
    }


    .xr-calendar-header {
        grid-template-columns: 40px 1fr 40px;

        margin-bottom: 17px;
    }


    .xr-calendar-nav {
        width: 40px;
        height: 40px;

        border-radius: 12px;

        font-size: 25px;
    }


    .xr-calendar-title {
        font-size: 18px;
    }


    .xr-calendar-weekdays,
    .xr-calendar-grid {
        gap: 5px;
    }


    .xr-calendar-weekdays span {
        padding: 4px 0;

        font-size: 12px;
    }


    .xr-calendar-day {
        border-radius: 10px;

        font-size: 14px;
    }


    .xr-calendar-selection {
        margin-top: 14px;

        padding: 12px;

        font-size: 13px;
    }

}
/* =========================================================
   HORAS DISPONIBLES
   ========================================================= */

.xr-time-groups {
    display: flex;
    flex-direction: column;
    gap: 24px;

    margin-top: 24px;
}


.xr-time-group {
    padding: 18px;

    border: 1px solid #e9e6df;
    border-radius: 18px;

    background: #fdfcf9;
}


.xr-time-label {
    margin-bottom: 14px;

    color: #3f4448;

    font-size: 15px;
    font-weight: 800;
}


.xr-time-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(92px, 1fr)
        );

    gap: 10px;
}


.xr-time-btn {
    min-height: 48px;

    border: 1px solid #b9ddc2;
    border-radius: 13px;

    background: #edf8f0;

    color: #347044;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}


.xr-time-btn:hover {
    border-color: #78ba88;

    background: #dff2e4;

    color: #285c36;

    transform: translateY(-2px);

    box-shadow:
        0 5px 12px rgba(52, 112, 68, 0.13);
}


@media (max-width: 600px) {

    .xr-time-group {
        padding: 14px;
    }


    .xr-time-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap: 8px;
    }


    .xr-time-btn {
        min-height: 46px;

        font-size: 15px;

        border-radius: 11px;
    }

}
.xr-time-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}


.xr-time-btn.is-selected {
    border-color: #d0a646;

    background: #d0a646;

    color: #ffffff;

    box-shadow:
        0 6px 16px rgba(208, 166, 70, 0.28);

    transform: translateY(-2px);
}


.xr-time-btn.is-selected:hover {
    border-color: #d0a646;

    background: #d0a646;

    color: #ffffff;
}


.xr-time-selection {
    margin-top: 18px;

    padding: 14px 18px;

    border: 1px solid #ede4ca;
    border-radius: 13px;

    background: #faf7ed;

    color: #727578;

    text-align: center;

    font-size: 14px;
}


.xr-time-selection strong {
    color: #3f4448;

    font-weight: 800;
}
/* =========================================================
   OPCIONES DE RESERVA
   ========================================================= */

.xr-options-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin-top: 24px;
}


/* =========================================================
   CAMPOS
   ========================================================= */

.xr-option-field {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 18px;

    border: 1px solid #e9e6df;
    border-radius: 16px;

    background: #fdfcf9;
}


.xr-option-field label {
    color: #3f4448;

    font-size: 14px;
    font-weight: 800;
}


.xr-option-field input,
.xr-option-field textarea {
    width: 100%;

    border: 1px solid #dcd8ce;
    border-radius: 12px;

    background: #ffffff;

    color: #3f4448;

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}


.xr-option-field input {
    min-height: 48px;

    padding: 0 14px;
}


.xr-option-field textarea {
    min-height: 92px;

    padding: 12px 14px;

    resize: vertical;
}


.xr-option-field input:focus,
.xr-option-field textarea:focus {
    border-color: #d0a646;

    background: #fffdf8;

    box-shadow:
        0 0 0 3px rgba(208, 166, 70, 0.12);
}


.xr-option-text {
    grid-column: span 2;
}


.xr-required {
    color: #b45c56;
}


/* =========================================================
   CHECKBOX VISUAL
   ========================================================= */

.xr-option-check {
    display: flex;
    align-items: center;

    gap: 14px;

    min-height: 72px;

    padding: 16px 18px;

    border: 1px solid #e9e6df;
    border-radius: 16px;

    background: #fdfcf9;

    cursor: pointer;

    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


.xr-option-check:hover {
    border-color: #d0a646;

    background: #faf8f1;

    transform: translateY(-1px);

    box-shadow:
        0 5px 14px rgba(63, 68, 72, 0.06);
}


.xr-option-check input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.xr-option-check-box {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 2px solid #d5d1c7;
    border-radius: 10px;

    background: #ffffff;

    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}


.xr-option-check-mark {
    opacity: 0;

    color: #ffffff;

    font-size: 17px;
    font-weight: 900;

    transform: scale(0.7);

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}


.xr-option-check input:checked
+
.xr-option-check-box {
    border-color: #d0a646;

    background: #d0a646;

    box-shadow:
        0 4px 10px rgba(208, 166, 70, 0.22);
}


.xr-option-check input:checked
+
.xr-option-check-box
.xr-option-check-mark {
    opacity: 1;

    transform: scale(1);
}


.xr-option-check-text {
    color: #3f4448;

    font-size: 15px;
    font-weight: 750;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .xr-options-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .xr-option-text {
        grid-column: auto;
    }


    .xr-option-field {
        padding: 15px;
    }


    .xr-option-check {
        min-height: 64px;

        padding: 14px 15px;
    }

}
/* =========================================================
   ESPACIO SELECCIONADO
   ========================================================= */

.xr-space-card.is-selected {
    border-color: #d0a646 !important;

    background: #d0a646 !important;

    color: #ffffff !important;

    box-shadow:
        0 7px 18px rgba(208, 166, 70, 0.25);
}


.xr-space-card.is-selected .xr-space-name,
.xr-space-card.is-selected .xr-space-meta,
.xr-space-card.is-selected .xr-space-availability,
.xr-space-card.is-selected .xr-space-availability strong {
    color: #ffffff !important;
}


/* =========================================================
   DATOS DEL COMENSAL
   ========================================================= */

.xr-customer-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin-top: 24px;
}


.xr-customer-field {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.xr-customer-field-wide {
    grid-column: span 2;
}


.xr-customer-field label {
    color: #3f4448;

    font-size: 14px;
    font-weight: 800;
}


.xr-customer-field input {
    width: 100%;

    min-height: 50px;

    box-sizing: border-box;

    padding: 0 14px;

    border: 1px solid #dcd8ce;
    border-radius: 12px;

    background: #ffffff;

    color: #3f4448;

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}


.xr-customer-field input:focus {
    border-color: #d0a646;

    background: #fffdf8;

    box-shadow:
        0 0 0 3px rgba(208, 166, 70, 0.12);
}


/* =========================================================
   PREFERENCIA DE CONTACTO
   ========================================================= */

.xr-contact-block {
    margin-top: 26px;
}


.xr-contact-title {
    margin-bottom: 12px;

    color: #3f4448;

    font-size: 14px;
    font-weight: 800;
}


.xr-contact-options {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}


.xr-contact-option {
    position: relative;

    cursor: pointer;
}


.xr-contact-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.xr-contact-option span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 8px 12px;

    border: 1px solid #b9ddc2;
    border-radius: 13px;

    background: #edf8f0;

    color: #347044;

    font-size: 14px;
    font-weight: 800;

    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}


.xr-contact-option input:checked + span {
    border-color: #d0a646;

    background: #d0a646;

    color: #ffffff;

    box-shadow:
        0 5px 13px rgba(208, 166, 70, 0.23);
}


.xr-contact-option.is-disabled {
    cursor: not-allowed;

    opacity: 0.42;
}


.xr-contact-help {
    margin-top: 9px;

    color: #85898c;

    font-size: 12px;
}


/* =========================================================
   PRIVACIDAD
   ========================================================= */

.xr-privacy-check {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 25px;

    padding: 16px;

    border: 1px solid #e9e6df;
    border-radius: 14px;

    background: #fdfcf9;

    color: #555b5f;

    font-size: 13px;

    cursor: pointer;
}


.xr-privacy-check input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.xr-privacy-box {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border: 2px solid #d5d1c7;
    border-radius: 8px;

    background: #ffffff;

    color: transparent;

    font-weight: 900;

    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease;
}


.xr-privacy-check input:checked
+
.xr-privacy-box {
    border-color: #d0a646;

    background: #d0a646;

    color: #ffffff;
}


/* =========================================================
   MENSAJES
   ========================================================= */

.xr-form-errors {
    margin-top: 20px;

    padding: 15px 17px;

    border: 1px solid #ead2d0;
    border-radius: 13px;

    background: #fbefee;

    color: #994f4a;

    font-size: 14px;
}


.xr-form-errors div + div {
    margin-top: 5px;
}


.xr-form-success {
    margin-top: 20px;

    padding: 15px 17px;

    border: 1px solid #b9ddc2;
    border-radius: 13px;

    background: #edf8f0;

    color: #347044;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   ACCIONES
   ========================================================= */

.xr-form-actions {
    display: flex;
    justify-content: flex-end;

    margin-top: 26px;
}


.xr-primary-btn {
    min-height: 52px;

    padding: 0 28px;

    border: 0;
    border-radius: 14px;

    background: #d0a646;

    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 6px 16px rgba(208, 166, 70, 0.25);
}


.xr-primary-btn:hover {
    filter: brightness(0.96);
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .xr-customer-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }


    .xr-customer-field-wide {
        grid-column: auto;
    }


    .xr-contact-options {
        grid-template-columns: 1fr;
    }


    .xr-form-actions {
        display: block;
    }


    .xr-primary-btn {
        width: 100%;
    }

}
/* =========================================================
   ENLACE POLÍTICA DE PRIVACIDAD
   ========================================================= */

.xr-privacy-text {
    line-height: 1.55;
}


.xr-privacy-link {
    display: inline;

    margin: 0 0 0 4px;
    padding: 0;

    border: 0;
    background: transparent;

    color: #a9822e;

    font-family: inherit;
    font-size: inherit;
    font-weight: 800;

    text-decoration: underline;
    text-underline-offset: 3px;

    cursor: pointer;
}


.xr-privacy-link:hover {
    color: #7f6422;
}


/* =========================================================
   MODAL POLÍTICA DE PRIVACIDAD
   ========================================================= */

.xr-privacy-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        rgba(35, 39, 42, 0.65);

    backdrop-filter:
        blur(4px);
}


.xr-privacy-modal-box {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 760px;

    max-height: 88vh;

    overflow: hidden;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);
}


/* CABECERA */

.xr-privacy-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding: 24px 26px 20px;

    border-bottom:
        1px solid #ece9e1;
}


.xr-privacy-modal-eyebrow {
    margin-bottom: 5px;

    color: #a9822e;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.8px;
}


.xr-privacy-modal-header h2 {
    margin: 0;

    color: #3f4448;

    font-size: 23px;
    font-weight: 800;
}


.xr-privacy-modal-close {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 1px solid #e1ddd4;
    border-radius: 12px;

    background: #ffffff;

    color: #6b7074;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;
}


.xr-privacy-modal-close:hover {
    border-color: #d0a646;

    background: #faf8f1;

    color: #a9822e;
}


/* CUERPO */

.xr-privacy-modal-body {
    overflow-y: auto;

    padding: 24px 26px;

    overscroll-behavior: contain;
}


.xr-privacy-responsable {
    margin-bottom: 20px;

    padding: 13px 15px;

    border: 1px solid #ede4ca;
    border-radius: 12px;

    background: #faf7ed;

    color: #686d70;

    font-size: 13px;
}


.xr-privacy-responsable strong {
    color: #3f4448;
}


.xr-privacy-policy-text {
    color: #555b5f;

    font-size: 14px;
    line-height: 1.7;
}


/* PIE MODAL */

.xr-privacy-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 26px;

    border-top:
        1px solid #ece9e1;

    background: #fdfcf9;

    color: #8a8e91;

    font-size: 12px;
}


/* =========================================================
   BOTÓN DESHABILITADO
   ========================================================= */

.xr-primary-btn:disabled {
    opacity: 0.45;

    cursor: not-allowed;

    box-shadow: none;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .xr-privacy-modal {
        padding: 10px;
    }


    .xr-privacy-modal-box {
        max-height: 94vh;

        border-radius: 18px;
    }


    .xr-privacy-modal-header {
        padding: 18px;
    }


    .xr-privacy-modal-header h2 {
        font-size: 20px;
    }


    .xr-privacy-modal-body {
        padding: 18px;
    }


    .xr-privacy-modal-footer {
        padding: 14px 18px;
    }

}
/* =========================================================
   RESUMEN DE RESERVA
   ========================================================= */

.xr-summary-card {
    border:
        1px solid rgba(208, 166, 70, 0.40);

    box-shadow:
        0 10px 30px rgba(63, 68, 72, 0.07);
}


.xr-summary-main {
    margin-top: 24px;
}


.xr-summary-section {
    padding: 20px 0;

    border-bottom:
        1px solid #ece9e1;
}


.xr-summary-section:first-child {
    padding-top: 0;
}


.xr-summary-section-title {
    margin-bottom: 14px;

    color: #a9822e;

    font-size: 13px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.xr-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


.xr-summary-data {
    display: flex;
    flex-direction: column;

    gap: 4px;

    padding: 15px 16px;

    border:
        1px solid #e9e6df;

    border-radius: 13px;

    background:
        #fdfcf9;
}


.xr-summary-data span {
    color: #85898c;

    font-size: 12px;
}


.xr-summary-data strong {
    color: #3f4448;

    font-size: 15px;

    overflow-wrap: anywhere;
}


/* OPCIONES */

.xr-summary-options {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.xr-summary-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding: 12px 14px;

    border-radius: 11px;

    background: #faf8f1;
}


.xr-summary-option span {
    color: #6b7074;

    font-size: 13px;
}


.xr-summary-option strong {
    color: #3f4448;

    font-size: 13px;

    text-align: right;
}


/* PRIVACIDAD */

.xr-summary-privacy {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 20px;

    padding: 14px 16px;

    border:
        1px solid #b9ddc2;

    border-radius: 13px;

    background:
        #edf8f0;

    color: #347044;

    font-size: 13px;
}


.xr-summary-privacy span:not(.xr-summary-ok) {
    margin-left: 5px;

    color: #728078;

    font-size: 11???????e????†††††††????? †††††††????????????††††††††††???††††††††††††??????? †††††††††††?????????px;
}


.xr-summary-ok {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: #4c9660;

    color: white;

    font-weight: 900;
}


/* ACCIONES */

.xr-summary-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 12px;

    margin-top: 26px;
}


.xr-secondary-btn {
    min-height: 52px;

    padding: 0 24px;

    border:
        1px solid #d9d5ca;

    border-radius: 14px;

    background: #ffffff;

    color: #555b5f;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    cursor: pointer;
}


.xr-secondary-btn:hover {
    border-color: #d0a646;

    color: #a9822e;

    background: #faf8f1;
}


.xr-summary-next-note {
    margin-top: 13px;

    color: #909497;

    font-size: 12px;

    text-align: right;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .xr-summary-grid {
        grid-template-columns:
            1fr;
    }


    .xr-summary-option {
        flex-direction: column;

        gap: 4px;
    }


    .xr-summary-option strong {
        text-align: left;
    }


    .xr-summary-actions {
        flex-direction: column-reverse;

        align-items: stretch;
    }


    .xr-summary-actions
    .xr-primary-btn,
    .xr-summary-actions
    .xr-secondary-btn {
        width: 100%;
    }


    .xr-summary-next-note {
        text-align: center;
    }

}
/* ==========================================================
   RESERVA ONLINE - FLUJO DINÁMICO
   ========================================================== */

.xr-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 24px 0;
    flex-wrap: wrap;
}

.xr-progress-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #F1F1EF;
    color: #8B8E90;
    font-size: 12px;
    font-weight: 700;
    transition: all .2s ease;
}

.xr-progress-item span {
    width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFFFFF;
    color: #7A7E81;
    font-size: 11px;
}

.xr-progress-item.is-active {
    background: #F6EED7;
    color: #967326;
}

.xr-progress-item.is-active span {
    background: #D0A646;
    color: #FFFFFF;
}

.xr-progress-item.is-complete {
    background: #EDF7EF;
    color: #347044;
}

.xr-progress-item.is-complete span {
    background: #347044;
    color: #FFFFFF;
}


/* Pasos */

.xr-live-step {
    transition:
        box-shadow .2s ease,
        opacity .2s ease;
}

.xr-live-step[hidden],
#zonaDatosReserva[hidden],
.xr-live-error[hidden] {
    display: none !important;
}


/* Cuando el paso está completado, ocultamos su contenido
   y mostramos únicamente el resumen compacto. */

.xr-live-step.is-complete > .xr-step-head,
.xr-live-step.is-complete > .xr-pax-grid,
.xr-live-step.is-complete > .xr-info,
.xr-live-step.is-complete > #contenidoEspacios,
.xr-live-step.is-complete > #contenidoCalendario,
.xr-live-step.is-complete > #contenidoHoras {
    display: none;
}


.xr-step-summary {
    width: 100%;
    border: 1px solid #E8DFC7;
    border-radius: 14px;
    background: #FAF7ED;
    padding: 15px 17px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #3F4448;
    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    text-align: left;
}

.xr-step-summary span {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #D0A646;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 900;
}

.xr-step-summary small {
    margin-left: auto;
    color: #9A7A31;
    font-size: 11px;
    font-weight: 700;
}

.xr-step-summary:hover {
    border-color: #D0A646;
}


/* Los anchors actuales pasan a poder ser buttons */

button.xr-pax-btn,
button.xr-space-card,
button.xr-calendar-day,
button.xr-time-btn,
button.xr-calendar-nav {
    font-family: inherit;
}


/* Tarjeta espacio como botón */

.xr-space-button {
    width: 100%;
    text-align: left;
    cursor: pointer;
}


/* Cargando */

.xr-live-loading {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #73787B;
    font-size: 14px;
}

.xr-live-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #E4E3DE;
    border-top-color: #D0A646;
    border-radius: 50%;
    animation: xr-spin .7s linear infinite;
}

@keyframes xr-spin {
    to {
        transform: rotate(360deg);
    }
}


/* Error general AJAX */

.xr-live-error {
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid #E9B9B9;
    border-radius: 14px;
    background: #FDF2F2;
    color: #9C3434;
    font-size: 14px;
    line-height: 1.5;
}


/* Calendario AJAX */

button.xr-calendar-day {
    appearance: none;
}

button.xr-calendar-nav {
    appearance: none;
    cursor: pointer;
}


/* Desktop un poco más fino */

@media (min-width: 900px) {

    .xr-progress {
        margin-bottom: 30px;
    }

    .xr-progress-item {
        padding: 8px 14px;
        font-size: 13px;
    }
}


/* Móvil */

@media (max-width: 640px) {

    .xr-progress {
        gap: 5px;
    }

    .xr-progress-item {
        padding: 6px 8px;
        font-size: 10px;
    }

    .xr-progress-item span {
        width: 19px;
        height: 19px;
    }

    .xr-progress-item {
        font-size: 0;
    }

    .xr-progress-item span {
        font-size: 10px;
    }

    .xr-progress-item.is-active {
        font-size: 10px;
    }

}