/* ============================================================
   Hotel Customizer
   ============================================================ */

/* ═══════════════════════════════════════════════════════════
   RESULTADOS DE BÚSQUEDA [mphb_search_results]
   ═══════════════════════════════════════════════════════════ */

.hc-results-container {
    width: 100%;
    box-sizing: border-box;
    padding: 80px 24px;
    background: #fbfbf9;
}

.mphb_sc_search_results-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 8px;
    align-items: baseline;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 1199px) { .mphb_sc_search_results-wrapper { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .mphb_sc_search_results-wrapper { grid-template-columns: 1fr; } }

/* Ocultar carrito dentro del grid */
.mphb_sc_search_results-wrapper > #mphb-reservation-cart,
.mphb_sc_search_results-wrapper > .mphb_sc_search_results-info { display: none; }

/* Neutralizar margin-top nativo de MotoPress en tarjetas */
.mphb_sc_search_results-wrapper .mphb-room-type:not(:first-of-type) { margin-top: 0; }

/* Cabecera fuera del grid, inyectada por JS antes del wrapper */
.hc-results-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 32px 0 40px;
    border-top: 1px solid #e4dbc7;
    flex-wrap: wrap;
}
.hc-results-title {
    font-size: 32px;
    font-weight: 400;
    color: #6A040F;
    font-family: "Rhetorik Serif", sans-serif;
    line-height: 1.2;
    margin: 0;
}
.hc-results-info {
    font-size: 13px;
    color: #6A040F;
    font-family: area-normal, sans-serif;
    text-align: right;
}
@media (max-width: 767px) {
    .hc-results-header { flex-direction: column; gap: 8px; }
    .hc-results-info { text-align: left; }
}

/* Tarjeta */
.mphb_sc_search_results-wrapper .mphb-room-type {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
}

/* Ocultar: descripción, h2, precio nativo, mensaje */
.mphb_sc_search_results-wrapper .mphb-room-type > p,
.mphb_sc_search_results-wrapper .mphb-room-type-title,
.mphb_sc_search_results-wrapper .mphb-rooms-reservation-message-wrapper,
.mphb_sc_search_results-wrapper .mphb-regular-price { display: none; }

/* Imagen cuadrada */
.mphb_sc_search_results-wrapper .mphb-room-type .hc-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
}
.mphb_sc_search_results-wrapper .mphb-room-type .hc-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: none;
}
.mphb_sc_search_results-wrapper .hc-card__image-link {
    position: absolute; inset: 0; z-index: 2;
}
.mphb_sc_search_results-wrapper .hc-card__image-title {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 12px 12px;
    background: linear-gradient(transparent, rgba(30,6,6,0.65));
    pointer-events: none; z-index: 3;
}
.mphb_sc_search_results-wrapper .hc-card__image-title span {
    color: #FBFBF9; font-size: 18px;
    font-family: area-normal, sans-serif;
    font-weight: 400; display: block;
}
.mphb_sc_search_results-wrapper .hc-capacity-badge {
    position: absolute; top: 10px; right: 10px;
    display: flex; align-items: center; gap: 4px;
    background: rgba(106,4,15,.85); color: #fff;
    font-size: 11px; padding: 3px 7px;
    border-radius: 3px; z-index: 2;
}

/* Cuerpo */
.mphb_sc_search_results-wrapper .hc-card__body { padding: 10px 0 0; flex: 1; }

/* Specs */
.mphb_sc_search_results-wrapper .hc-card__specs {
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: center;
    gap: 4px 10px; font-size: 12px;
    color: #6A040F; font-family: area-normal, sans-serif;
    margin-bottom: 8px; border-bottom: none; padding-bottom: 0;
}
.mphb_sc_search_results-wrapper .hc-card__specs span { display: flex; align-items: center; gap: 3px; }

/* Features */
.mphb_sc_search_results-wrapper .hc-card__features {
    list-style: none;
    margin: 0;
    padding: 12px;
    font-size: 14.4px;
    color: #6A040F;
    font-family: area-normal, sans-serif;
    line-height: 1.7;
}
.mphb_sc_search_results-wrapper .hc-card__features li { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.mphb_sc_search_results-wrapper .hc-card__features svg { width: 24px; height: 24px; flex-shrink: 0; }

/* Botón */
.mphb_sc_search_results-wrapper .mphb-reserve-room-section {
    padding: 14px 0 0; margin-top: auto;
    display: flex; justify-content: center;
}
.mphb_sc_search_results-wrapper .mphb-book-button {
    background: #F7F3ED; border: none; border-radius: 4px;
    color: #6A040F; font-size: 12.8px;
    font-family: area-normal, sans-serif; font-weight: 400;
    text-transform: uppercase; letter-spacing: 1.2px;
    padding: 12px 16px; cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.mphb_sc_search_results-wrapper .mphb-book-button::after { content: " ›"; font-size: 16px; line-height: 0; }
.mphb_sc_search_results-wrapper .mphb-book-button:hover { background: #6A040F; color: #F7F3ED; }
.mphb_sc_search_results-wrapper .mphb-confirm-reservation { display: none; }


/* ═══════════════════════════════════════════════════════════
   CHECKOUT MOTOPRESS — Paso 1
   ═══════════════════════════════════════════════════════════ */

/* Ocultar en el checkout MotoPress paso 1 (ya están en la barra summary) */
.mphb_sc_checkout-form:not(.mphb_sc_payment_request_checkout-form) .mphb-booking-details-title,
.mphb_sc_checkout-form:not(.mphb_sc_payment_request_checkout-form) .mphb-check-in-date,
.mphb_sc_checkout-form:not(.mphb_sc_payment_request_checkout-form) .mphb-check-out-date,
.mphb_sc_checkout-form:not(.mphb_sc_payment_request_checkout-form) .mphb-guest-name-wrapper,
.mphb_sc_checkout-form:not(.mphb_sc_payment_request_checkout-form) .mphb-login-form-wrap { display: none !important; }

@media (min-width: 992px) {
    .mphb_sc_checkout-form {
        display: grid;
        grid-template-columns: 1fr 380px;
        column-gap: 32px;
        align-items: start;
    }
    .mphb_sc_checkout-form > #mphb-booking-details,
    .mphb_sc_checkout-form > #mphb-customer-details { grid-column: 1; }
    .mphb_sc_checkout-form > .hc-right-col {
        grid-column: 2; grid-row: 1 / 1000;
        align-self: start; position: sticky; top: 20px;
        background: #fff; border: 1px solid #ece6dc;
        border-radius: 8px; padding: 20px 22px;
        box-shadow: 0 2px 10px rgba(0,0,0,.04);
    }
    .hc-right-col > #mphb-price-details { background: transparent; padding: 0; margin: 0 0 16px; }
    .hc-right-col > .mphb-total-price { margin: 0 0 12px; }
    .hc-right-col > .mphb_sc_checkout-submit-wrapper { margin: 12px 0 0; }
    .hc-right-col > .mphb_sc_checkout-submit-wrapper .button { width: 100%; }
    .mphb_sc_checkout-form > input[type="hidden"] { display: none; }
    .mphb_sc_checkout-form .mphb-booking-details-title,
    .mphb_sc_checkout-form .mphb-customer-details-title,
    .mphb_sc_checkout-form .mphb-room-number,
    .mphb_sc_checkout-form .mphb-services-details-title { font-size: 20px; margin: 0 0 14px; }
    .mphb_sc_checkout-form label,
    .mphb_sc_checkout-form .mphb-control-description,
    .mphb_sc_checkout-form .mphb-required-fields-tip { font-size: 13px; }
    .mphb_sc_checkout-form input[type="text"],
    .mphb_sc_checkout-form input[type="email"],
    .mphb_sc_checkout-form input[type="tel"],
    .mphb_sc_checkout-form select,
    .mphb_sc_checkout-form textarea { font-size: 14px; padding: 8px 10px; }
    .mphb_sc_checkout-form .mphb-customer-details p { margin-bottom: 14px; }
}
@media (max-width: 991px) {
    .mphb_sc_checkout-form { display: flex; flex-direction: column; }
    .mphb_sc_checkout-form > #mphb-booking-details { order: 1; }
    .mphb_sc_checkout-form > #mphb-customer-details { order: 2; }
    .mphb_sc_checkout-form > .hc-right-col { order: 3; }
    .hc-right-col {
        background: #fff; border: 1px solid #ece6dc;
        border-radius: 8px; padding: 18px;
        box-shadow: 0 2px 10px rgba(0,0,0,.04); margin-top: 24px;
    }
    .hc-right-col > .mphb_sc_checkout-submit-wrapper .button { width: 100%; }
    .mphb_sc_checkout-form input[type="text"],
    .mphb_sc_checkout-form input[type="email"],
    .mphb_sc_checkout-form input[type="tel"],
    .mphb_sc_checkout-form select,
    .mphb_sc_checkout-form textarea { font-size: 16px; padding: 10px 12px; }
    .mphb_sc_checkout-form input[type="hidden"] { display: none; }
    .hc-booking-summary,
    .mphb_sc_checkout-wrapper { padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
}

/* Términos */
.mphb-checkout-terms-wrapper .mphb-terms-and-conditions { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 12px; border: 0; }
.mphb-checkout-terms-wrapper.hc-terms-open .mphb-terms-and-conditions { max-height: 300px; overflow-y: auto; border: 1px solid #e0d8cc; border-radius: 4px; padding: 12px; margin-bottom: 12px; font-size: 12px; }
.hc-terms-toggle { display: inline-block; cursor: pointer; color: #6A040F; font-weight: 600; font-size: 13px; margin-bottom: 8px; user-select: none; }
.hc-terms-toggle::before { content: "+ "; }
.mphb-checkout-terms-wrapper.hc-terms-open .hc-terms-toggle::before { content: "2 "; }

/* Políticas */
.hc-checkout-policies { margin: 16px 0; padding: 14px 16px; background: #F7F3ED; border-left: 3px solid #6A040F; border-radius: 4px; font-family: area-normal, sans-serif; }
.hc-policy__title { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #6A040F; font-weight: 700; margin: 0 0 5px; }
.hc-checkout-policies .hc-policy__title:not(:first-child) { margin-top: 12px; }
.hc-policy__list { margin: 0 0 3px; padding-left: 16px; font-size: 12px; line-height: 1.4; color: #333; }

/* Colores de marca */
.mphb_sc_checkout-form a, .mphb_sc_checkout-wrapper a { color: #6A040F; }
.mphb_sc_checkout-submit-wrapper .button,
.mphb_sc_checkout-form input[type="submit"] { background: #6A040F !important; border-color: #6A040F !important; color: #fff !important; }
.mphb_sc_checkout-submit-wrapper .button:hover,
.mphb_sc_checkout-form input[type="submit"]:hover { background: #520309 !important; border-color: #520309 !important; }

/* Desglose precios */
.hc-right-col #mphb-price-details .mphb-price-breakdown-title { font-size: 20px; margin: 0 0 10px; }
.hc-right-col #mphb-price-details table.mphb-price-breakdown { width: 100%; font-size: 12px; border-collapse: collapse; }
.hc-right-col #mphb-price-details table.mphb-price-breakdown td,
.hc-right-col #mphb-price-details table.mphb-price-breakdown th { padding: 4px 6px; border: 0; line-height: 1.3; vertical-align: top; }
.hc-right-col #mphb-price-details table.mphb-price-breakdown td:last-child,
.hc-right-col #mphb-price-details table.mphb-price-breakdown th:last-child { text-align: right; white-space: nowrap; width: 1%; }
.hc-right-col #mphb-price-details .mphb-price-breakdown-total th,
.hc-right-col #mphb-price-details tfoot .mphb-price-breakdown-total td { border-top: 1px solid #e0d8cc; padding-top: 8px; font-size: 13px; }


/* ═══════════════════════════════════════════════════════════
   SUMMARY BAR (shortcode hc_booking_summary)
   ═══════════════════════════════════════════════════════════ */

.hc-booking-summary { margin-bottom: 24px; }

.hc-summary__steps {
    display: flex; list-style: none;
    margin: 0 0 12px; padding: 0;
    font-family: area-normal, sans-serif;
}
.hc-summary__step {
    flex: 1; display: flex; align-items: center;
    justify-content: center; gap: 8px;
    position: relative; padding: 10px 12px;
}
.hc-summary__step > a, .hc-summary__step > span {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; color: inherit;
}
.hc-summary__step:not(:last-child)::after {
    content: ""; position: absolute;
    top: 50%; right: -1px; width: 24px; height: 1px; background: #ddd5cc;
}
.hc-summary__step-num {
    display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    font-size: 12px; font-weight: 700;
    border: 1.5px solid #ddd5cc; color: #b7ada0; background: #fff; flex-shrink: 0;
}
.hc-summary__step-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: #b7ada0; white-space: nowrap; }
.hc-summary__step.is-active .hc-summary__step-num { background: #6A040F; border-color: #6A040F; color: #fff; }
.hc-summary__step.is-active .hc-summary__step-label { color: #6A040F; }
.hc-summary__step.is-done .hc-summary__step-num { background: #fff; border-color: #6A040F; color: #6A040F; }
.hc-summary__step.is-done .hc-summary__step-label { color: #6A040F; }

.hc-booking-summary-bar {
    display: flex; align-items: stretch;
    background: #F7F3ED; border: 1px solid #ddd5cc;
    border-left: 4px solid #6A040F; border-radius: 4px;
    overflow: hidden; font-family: area-normal, sans-serif;
    font-size: 13px; line-height: 1.3;
}
.hc-summary__block {
    display: flex; flex-direction: column; justify-content: center;
    gap: 3px; padding: 12px 20px;
    border-right: 1px solid #ddd5cc; min-width: 0; flex: 1 1 0;
}
.hc-summary__label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #6A040F; font-weight: 700; white-space: nowrap; }
.hc-summary__value { color: #222; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-summary__value em { font-style: normal; color: #999; font-size: 11px; margin-left: 4px; }
.hc-summary__price {
    display: flex; flex-direction: column; justify-content: center;
    gap: 3px; padding: 12px 20px;
    background: #ede7df; border-left: 1px solid #ddd5cc; flex-shrink: 0; white-space: nowrap;
}
.hc-summary__price-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #6A040F; font-weight: 700; }
.hc-summary__price-value { font-size: 17px; font-weight: 700; color: #6A040F; font-family: "Rhetorik Serif", sans-serif; }

@media (max-width: 767px) {
    .hc-booking-summary-bar { flex-wrap: wrap; border-left: none; border-top: 4px solid #6A040F; }
    .hc-summary__block { border-right: none; border-bottom: 1px solid #ddd5cc; width: 100%; box-sizing: border-box; flex: 1 1 100%; }
    .hc-summary__price { margin-left: 0; width: 100%; border-left: none; box-sizing: border-box; }
}
@media (max-width: 991px) {
    .hc-summary__steps { padding: 0; }
    .hc-summary__step { flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; text-align: center; box-sizing: border-box; }
    .hc-summary__step > a, .hc-summary__step > span { flex-direction: column; align-items: center; gap: 5px; width: 100%; min-width: 0; }
    .hc-summary__step-num { width: 26px; height: 26px; min-width: 26px; max-width: 26px; flex: 0 0 26px; font-size: 12px; padding: 0; }
    .hc-summary__step-label { font-size: 9px; letter-spacing: .2px; white-space: normal; line-height: 1.25; }
    .hc-summary__step:not(:last-child)::after { display: none; }
}


/* ═══════════════════════════════════════════════════════════
   CHECKOUT WOOCOMMERCE — Paso 2
   ═══════════════════════════════════════════════════════════ */

.wc-block-checkout .wc-block-components-title,
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title { font-size: 20px !important; margin-bottom: 14px !important; }
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-select select,
.wc-block-checkout .wc-block-components-address-form input,
.wc-block-checkout .wc-block-components-checkout-step__description { font-size: 14px !important; }
.wp-block-woocommerce-checkout-order-summary-block { background: #fff !important; border: 1px solid #ece6dc !important; border-radius: 8px !important; padding: 20px 22px !important; box-shadow: 0 2px 10px rgba(0,0,0,.04) !important; }
.wc-block-components-order-summary-item__description,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value { font-size: 14px !important; }
.wc-block-components-totals-item__value { text-align: right !important; }
.wc-block-checkout .wc-block-components-totals-footer-item * { font-size: 18px !important; font-weight: 700 !important; }
.wc-block-checkout a { color: #6A040F !important; }
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-checkout-actions-block button { background: #6A040F !important; border-color: #6A040F !important; color: #fff !important; }
.wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-checkout-actions-block button:hover { background: #520309 !important; border-color: #520309 !important; }


/* ═══════════════════════════════════════════════════════════
   CONFIRMACIÓN DE RESERVA [mphb_booking_confirmation]
   ═══════════════════════════════════════════════════════════ */

.mphb_sc_booking_confirmation {
    font-family: area-normal, sans-serif;
}

/* Mensaje de éxito */
.mphb_sc_booking_confirmation .mphb-payment-messages p {
    font-size: 14px;
    color: #333;
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #f0f7f0;
    border-left: 3px solid #4a7c59;
    border-radius: 2px;
}

/* Secciones */
.mphb_sc_booking_confirmation .mphb-booking-details-section {
    margin-bottom: 16px;
    border: 1px solid #ddd5cc;
    border-radius: 4px;
    overflow: hidden;
}

/* Restaurar títulos ocultos por el checkout */
.mphb_sc_booking_confirmation .mphb-booking-details-title {
    display: block !important;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: #fff;
    background: #6A040F;
    margin: 0;
    padding: 8px 16px;
    font-family: area-normal, sans-serif;
}

/* Lista de detalles en fila */
.mphb_sc_booking_confirmation .mphb-booking-details {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.mphb_sc_booking_confirmation .mphb-booking-details li {
    flex: 1 1 120px;
    padding: 12px 16px;
    border-right: 1px dashed #ddd5cc;
}
.mphb_sc_booking_confirmation .mphb-booking-details li:first-child {
    padding-left: 16px;
}
.mphb_sc_booking_confirmation .mphb-booking-details li:last-child {
    border-right: none;
}
.mphb_sc_booking_confirmation .mphb-booking-details .label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6A040F;
    font-weight: 700;
    margin-bottom: 4px;
}
.mphb_sc_booking_confirmation .mphb-booking-details .value {
    display: block;
    font-size: 13px;
    color: #222;
    font-weight: 600;
}
.mphb_sc_booking_confirmation .mphb-booking-details .mphb-price {
    font-size: 15px;
    color: #6A040F;
    font-weight: 700;
}

/* Detalles alojamiento */
.mphb_sc_booking_confirmation .accommodations {
    padding: 10px 16px;
    border-top: 1px solid #ece6dc;
    font-size: 13px;
    background: #faf8f5;
}
.mphb_sc_booking_confirmation .accommodations-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6A040F;
    font-weight: 700;
    margin-right: 6px;
}
.mphb_sc_booking_confirmation .accommodations-list a {
    color: #6A040F;
    text-decoration: underline;
    font-size: 13px;
}

/* Quitar puntos decorativos bajo el asterisco de campos requeridos */
.mphb_sc_checkout-form abbr,
.mphb_sc_checkout-form abbr[title] {
    text-decoration: none;
    border-bottom: none;
    cursor: default;
}

/* Badge capacitat eliminat del template */
.hc-capacity-badge { display: none; }

/* Imagen alojamiento encima del item en resumen WooCommerce */
.hc-room-summary__inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ece6dc;
}
.hc-room-summary__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.hc-room-summary__name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    font-family: area-normal, sans-serif;
}

/* Miniatura 48x48 en la barra del summary */
.hc-summary__thumb {
    flex: 0 0 auto;
    padding: 0;
    width: 80px;
    min-width: 80px;
    overflow: hidden;
    border-right: 1px solid #ddd5cc;
}
.hc-summary__thumb img {
    width: 80px;
    height: 100%;
    min-height: 80px;
    object-fit: cover;
    display: block;
}

/* Eliminar altura mínima del widget de Elementor que envuelve el checkout WooCommerce */
.elementor-widget-text-editor:has(.wp-block-woocommerce-checkout) {
    min-height: 0 !important;
    height: auto !important;
}
.elementor-widget-text-editor:has(.wp-block-woocommerce-checkout) .elementor-widget-container {
    min-height: 0 !important;
    height: auto !important;
}

/* Colapsar espacio vacío del sidebar de WooCommerce Blocks en móvil */
.wc-block-checkout__sidebar,
.wc-block-components-sidebar {
    min-height: 0 !important;
    height: auto !important;
}
.wc-block-components-sidebar-layout.is-mobile .wc-block-checkout__sidebar {
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
}

/* ── SOLICITUD DE PAGO (mphb_sc_payment_request) ────────────────────────────── */

/* Ocultar secciones que no necesita el cliente */
.mphb_sc_payment_request_checkout-form #mphb-booking-details,
.mphb_sc_payment_request_checkout-form #mphb-payment-history,
.mphb_sc_payment_request_checkout-form #mphb-billing-details {
    display: none;
}

/* Desglose a ancho completo centrado */
.mphb_sc_payment_request_checkout-form.mphb_sc_checkout-form {
    display: block;
}
.mphb_sc_payment_request_checkout-form .hc-right-col {
    width: 100%;
    max-width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

/* Botón Emitir Pago */
.mphb_sc_payment_request_checkout-form input[type="submit"] {
    width: 100%;
    background: #6A040F;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 12px;
}
.mphb_sc_payment_request_checkout-form input[type="submit"]:hover {
    background: #520309;
}

/* Tabla historial de pagos */
.mphb-payments-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.mphb-payments-table th,
.mphb-payments-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #ece6dc;
    text-align: left;
}
.mphb-payments-table tfoot th {
    font-weight: 600;
    color: #6A040F;
}
/* Grid 2 columnas: izquierda contenido, derecha desglose */
@media (min-width: 992px) {
    .mphb_sc_payment_request_checkout-form.mphb_sc_checkout-form {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 40px;
        align-items: start;
        flex-direction: unset;
        flex-wrap: unset;
    }
    .mphb_sc_payment_request_checkout-form.mphb_sc_checkout-form .hc-right-col {
        grid-column: 2;
        grid-row: 1 / 10;
        position: sticky;
        top: 100px;
        background: #fff;
        border: 1px solid #ece6dc;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,.06);
    }
    .mphb_sc_payment_request_checkout-form.mphb_sc_checkout-form #mphb-booking-details,
    .mphb_sc_payment_request_checkout-form.mphb_sc_checkout-form #mphb-payment-history,
    .mphb_sc_payment_request_checkout-form.mphb_sc_checkout-form #mphb-billing-details {
        grid-column: 1;
    }
}

/* Tabla historial de pagos */
.mphb-payments-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.mphb-payments-table th,
.mphb-payments-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #ece6dc;
    text-align: left;
}
.mphb-payments-table tfoot th {
    font-weight: 600;
    color: #6A040F;
}

/* Botón Emitir Pago */
.mphb_sc_payment_request_checkout-form input[type="submit"] {
    width: 100%;
    background: #6A040F;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 12px;
}
.mphb_sc_payment_request_checkout-form input[type="submit"]:hover {
    background: #520309;
}

