/* =========================================
   PÁGINA DE RESERVA
========================================= */

.reservation-page {
    min-height: 100vh;
    background:
        linear-gradient(
            180deg,
            #f6f9fc 0%,
            #ffffff 100%
        );
}

.reservation-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

.reservation-heading-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #fff0e8;
    color: #ff6f37;
    font-size: 13px;
    font-weight: 800;
}

.reservation-heading h1 {
    margin: 0 0 10px;
    color: #17202a;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
}

.reservation-heading p {
    margin: 0;
    color: #697784;
    font-size: 16px;
    line-height: 1.7;
}

.reservation-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        390px;
    gap: 30px;
    align-items: start;
}

.reservation-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.reservation-card {
    padding: 28px;
    border: 1px solid #e7edf3;
    border-radius: 23px;
    background: #ffffff;
    box-shadow:
        0 12px 34px rgba(35, 55, 75, 0.07);
}

.reservation-section-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.reservation-section-title > span {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff0e8;
    color: #ff6f37;
    font-size: 15px;
    font-weight: 900;
}

.reservation-section-title h2 {
    margin: 0 0 4px;
    color: #202a33;
    font-size: 21px;
    font-weight: 850;
}

.reservation-section-title p {
    margin: 0;
    color: #7b8894;
    font-size: 14px;
}

.reservation-user-alert,
.reservation-guest-alert {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 23px;
    padding: 15px 17px;
    border-radius: 15px;
}

.reservation-user-alert {
    border: 1px solid #bde9d6;
    background: #effbf6;
    color: #137f5d;
}

.reservation-guest-alert {
    border: 1px solid #cae3f5;
    background: #f0f8fd;
    color: #2375a7;
}

.reservation-user-alert i,
.reservation-guest-alert i {
    font-size: 21px;
}

.reservation-user-alert strong,
.reservation-guest-alert strong,
.reservation-user-alert span,
.reservation-guest-alert span {
    display: block;
}

.reservation-user-alert span,
.reservation-guest-alert span {
    margin-top: 2px;
    font-size: 13px;
    opacity: 0.85;
}

.reservation-input {
    min-height: 51px;
    border: 1px solid #dce5ec;
    border-radius: 13px;
    background: #fbfcfd;
}

.reservation-input:focus {
    border-color: #ff9f78;
    box-shadow:
        0 0 0 4px rgba(255, 111, 55, 0.11);
}

.reservation-input[readonly] {
    background: #f1f5f8;
}

.reservation-help {
    display: block;
    margin-top: 6px;
    color: #8995a0;
}

.reservation-input-icon {
    position: relative;
}

.reservation-input-icon > i {
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: #81909c;
}

.reservation-input-icon input {
    padding-left: 45px;
}

.reservation-registration-date {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 6px;
    padding: 15px 17px;
    border: 1px dashed #d7e0e7;
    border-radius: 15px;
    background: #f9fbfc;
}

.reservation-registration-date > span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eaf4fb;
    color: #327aa4;
}

.reservation-registration-date small,
.reservation-registration-date strong {
    display: block;
}

.reservation-registration-date small {
    margin-bottom: 3px;
    color: #84919c;
}

.reservation-registration-date strong {
    color: #27323b;
}

.reservation-price-options {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.reservation-price-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px;
    border: 1px solid #e0e7ed;
    border-radius: 17px;
    background: #fbfcfd;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.reservation-price-option:hover {
    transform: translateY(-1px);
    border-color: #ffad8a;
    box-shadow:
        0 8px 22px rgba(45, 63, 79, 0.07);
}

/* .reservation-price-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
} */

.reservation-price-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.reservation-price-check {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ccd7df;
    border-radius: 50%;
    color: transparent;
}

.reservation-price-option:has(input:checked) {
    border-color: #ff8b5d;
    background: #fff8f4;
    box-shadow:
        0 0 0 3px rgba(255, 111, 55, 0.08);
}

.reservation-price-option
input:checked
~ .reservation-price-check {
    border-color: #ff6f37;
    background: #ff6f37;
    color: #ffffff;
}

.reservation-price-info {
    flex: 1;
}

.reservation-price-info strong,
.reservation-price-info small {
    display: block;
}

.reservation-price-info strong {
    color: #253039;
    font-size: 16px;
}

.reservation-price-info small {
    margin-top: 3px;
    color: #8a97a2;
}

.reservation-price-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #11855e;
}

.reservation-price-value strong {
    font-size: 23px;
    font-weight: 900;
}

.reservation-free-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 19px;
    border: 1px solid #bfe8d6;
    border-radius: 17px;
    background: #effbf6;
}

.reservation-free-option > span {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #d8f5e8;
    color: #16865f;
    font-size: 20px;
}

.reservation-free-option small,
.reservation-free-option strong {
    display: block;
}

.reservation-free-option small {
    color: #6e847a;
}

.reservation-free-option strong {
    color: #13845e;
    font-size: 25px;
    font-weight: 900;
}

/* RESUMEN */

.reservation-summary-card {
    position: sticky;
    top: 20px;
    overflow: hidden;
    border: 1px solid #e6ecf1;
    border-radius: 23px;
    background: #ffffff;
    box-shadow:
        0 16px 42px rgba(33, 51, 69, 0.12);
}

.reservation-summary-image {
    height: 210px;
    background: #edf2f5;
}

.reservation-summary-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.reservation-image-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0adb7;
    font-size: 36px;
}

.reservation-summary-content {
    padding: 24px;
}

.reservation-summary-label {
    display: block;
    margin-bottom: 7px;
    color: #ff6f37;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.reservation-summary-content h3 {
    margin: 0 0 13px;
    color: #1e2831;
    font-size: 22px;
    font-weight: 900;
}

.reservation-summary-location {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #74818c;
    font-size: 13px;
    line-height: 1.5;
}

.reservation-summary-location i {
    margin-top: 3px;
    color: #ff7541;
}

.reservation-summary-divider {
    height: 1px;
    margin: 20px 0;
    background: #edf1f4;
}

.reservation-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
    color: #75818c;
    font-size: 14px;
}

.reservation-summary-row strong {
    color: #2f3942;
    text-align: right;
}

.reservation-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    padding: 18px 0;
    border-top: 1px solid #e8edf1;
    border-bottom: 1px solid #e8edf1;
}

.reservation-summary-total span {
    color: #34404a;
    font-size: 17px;
    font-weight: 800;
}

.reservation-summary-total strong {
    color: #11855e;
    font-size: 27px;
    font-weight: 950;
}

.reservation-submit-button {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            #ff7b44,
            #ff5f2d
        );
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    box-shadow:
        0 11px 26px rgba(255, 105, 51, 0.29);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.reservation-submit-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 31px rgba(255, 105, 51, 0.37);
}

.reservation-security {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    margin: 15px 0 0;
    color: #8996a0;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .reservation-layout {
        grid-template-columns: 1fr;
    }

    .reservation-summary {
        order: -1;
    }

    .reservation-summary-card {
        position: static;
    }

    .reservation-summary-image {
        height: 280px;
    }
}

@media (max-width: 575px) {

    .reservation-card {
        padding: 20px;
        border-radius: 18px;
    }

    .reservation-summary-content {
        padding: 20px;
    }

    .reservation-price-option {
        align-items: flex-start;
    }

    .reservation-price-value strong {
        font-size: 19px;
    }

    .reservation-summary-image {
        height: 210px;
    }
}

/* contador  */

.reservation-price-quantity {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 14px;
    align-items: center;
    cursor: default;
}

.reservation-price-quantity:hover {
    transform: none;
}

.reservation-quantity-control {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns:
        44px
        60px
        44px;
    justify-content: start;
    align-items: center;
    overflow: hidden;
    width: fit-content;
    border: 1px solid #dce5ec;
    border-radius: 13px;
    background: #ffffff;
}

.quantity-button {
    width: 44px;
    height: 42px;
    border: none;
    background: #f4f7f9;
    color: #34414b;
    font-size: 14px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.quantity-button:hover {
    background: #ff7640;
    color: #ffffff;
}

.quantity-input {
    width: 60px;
    height: 42px;
    border: none;
    border-right: 1px solid #e2e8ed;
    border-left: 1px solid #e2e8ed;
    background: #ffffff;
    color: #222d36;
    font-weight: 800;
    text-align: center;
    outline: none;
    appearance: textfield;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.reservation-item-subtotal {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px dashed #dce4ea;
    color: #788590;
    font-size: 14px;
}

.reservation-item-subtotal strong {
    color: #11855e;
    font-size: 16px;
}

/* numero  */

.quantity-input {
    display: block !important;
    width: 60px !important;
    min-width: 60px !important;
    height: 42px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-left: 1px solid #e2e8ed !important;
    border-right: 1px solid #e2e8ed !important;

    background: #ffffff !important;
    color: #1f2937 !important;

    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 42px !important;
    text-align: center !important;

    opacity: 1 !important;
    visibility: visible !important;

    -webkit-text-fill-color: #1f2937 !important;
    appearance: textfield;
}

.quantity-input[readonly] {
    background: #ffffff !important;
    color: #1f2937 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #1f2937 !important;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}