/* Scoped to the native hotel checkout shortcode; no header, footer or POS rules. */
.gl-hotel-checkout-layout {
    box-sizing: border-box;
    display: flow-root;
    width: calc(100% - 48px);
    max-width: 960px;
    margin: 48px auto 72px;
    padding: 0;
    text-align: left;
    color: var(--gl-ink, #17352b);
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.gl-hotel-checkout-layout *,
.gl-hotel-checkout-layout *::before,
.gl-hotel-checkout-layout *::after { box-sizing: border-box; }
.gl-hotel-checkout-layout .mphb_sc_checkout-wrapper,
.gl-hotel-checkout-layout .mphb_sc_checkout-form {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
}
.gl-hotel-checkout-layout .mphb-checkout-section {
    float: none;
    clear: both;
    width: 100%;
    margin: 24px 0;
    padding: 28px 32px;
    border: 1px solid var(--gl-line, #dce2d7);
    border-radius: 12px;
    background: #fff;
}
body .gl-hotel-checkout-layout h2,
body .gl-hotel-checkout-layout h3,
body .gl-hotel-checkout-layout h4 {
    margin: 0 0 20px;
    line-height: 1.25;
    font-size: clamp(24px, 2.5vw, 32px);
}
body .gl-hotel-checkout-layout .mphb-room-number {
    margin-top: 28px;
    font-size: 24px;
}
.gl-hotel-checkout-layout p { margin: 0 0 20px; }
.gl-hotel-checkout-layout label:not(.mphb-checkbox-label):not(.mphb-radio-label) {
    display: inline-block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
}
body .gl-hotel-checkout-layout input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body .gl-hotel-checkout-layout select,
body .gl-hotel-checkout-layout textarea {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cad5c6;
    border-radius: 6px;
    background: #fff;
    color: #17352b;
    font: inherit;
}
body .gl-hotel-checkout-layout textarea { min-height: 120px; resize: vertical; }
body .gl-hotel-checkout-layout input[type="checkbox"],
body .gl-hotel-checkout-layout input[type="radio"] {
    width: auto;
    min-height: 0;
    margin-right: 8px;
    vertical-align: middle;
}
body .gl-hotel-checkout-layout .mphb_sc_checkout-service-quantity,
body .gl-hotel-checkout-layout .mphb_sc_checkout-service-adults {
    width: 100px !important;
    max-width: 100%;
}
.gl-hotel-checkout-layout table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.gl-hotel-checkout-layout th,
.gl-hotel-checkout-layout td {
    padding: 12px 10px;
    border-bottom: 1px solid #dce2d7;
    text-align: left;
    vertical-align: top;
}
.gl-hotel-checkout-layout td:last-child,
.gl-hotel-checkout-layout th:last-child { text-align: right; }
.gl-hotel-checkout-layout .mphb-price-breakdown-total td {
    background: #eef5e4;
    font-weight: 700;
}
body .gl-hotel-checkout-layout input[type="submit"],
body .gl-hotel-checkout-layout button[type="submit"],
body .gl-hotel-checkout-layout .mphb-apply-coupon-code-button {
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--gl-lime, #b8e75d);
    color: #17352b;
    font: 700 15px/1.5 system-ui, sans-serif;
    cursor: pointer;
}
.gl-hotel-checkout-layout .mphb-errors-wrapper,
.gl-hotel-checkout-layout .mphb-error {
    padding: 12px 16px;
    border-left: 3px solid #aa3028;
    background: #fff0ed;
    color: #84241e;
}
.gl-hotel-checkout-layout :focus-visible {
    outline: 3px solid #7aa32a;
    outline-offset: 3px;
}
@media (max-width: 600px) {
    .gl-hotel-checkout-layout {
        width: calc(100% - 32px);
        margin: 28px auto 44px;
    }
    .gl-hotel-checkout-layout .mphb-checkout-section {
        padding: 20px 16px;
        margin: 18px 0;
    }
    .gl-hotel-checkout-layout th,
    .gl-hotel-checkout-layout td { padding: 10px 6px; font-size: 13px; }
    body .gl-hotel-checkout-layout input[type="submit"],
    body .gl-hotel-checkout-layout button[type="submit"] { width: 100%; }
}
