
.demo-wrap { max-width: 980px; margin: 24px auto; padding: 20px; background:#f2f4f2; border:1px solid #e0e0e0; border-radius:12px; }
.demo-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; gap:10px; }
.demo-title { font-weight:800; color:#1f4d1f; font-size:20px; text-align: center}
.demo-filters { display:flex; gap:8px; flex-wrap:wrap; }
.demo-select, .demo-btn { border:1px solid #cfcfcf; background:#fff; border-radius:8px; padding:8px 10px; font:inherit; }
.demo-btn { cursor:pointer; } .demo-btn:hover{ background:#fafafa; }

/* === Calendario (solo Disponible / Reservado) === */
.gh-cal { --gap:12px; --radius:10px; --fg:#1f4d1f; --sel:#1f4d1f10; font-family:system-ui,Segoe UI,Roboto,sans-serif; }
.gh-cal__header { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.gh-cal__title { font-weight:700; color:var(--fg); font-size:2rem; text-align:center;}
.gh-cal__nav { background:#fff; border:1px solid #d0d0d0; border-radius:8px; padding:6px 10px; cursor:pointer; }
.gh-cal__nav:hover { background:#f7f7f7; }
.gh-cal__grid { display:grid; gap: var(--gap); }
@media (min-width:480px){ .gh-cal__grid { grid-template-columns: repeat(7, minmax(0,1fr)); } }
@media (max-width:479.98px){ .gh-cal__grid { grid-template-columns: repeat(7, minmax(0,1fr)); gap:8px; } }

.gh-cal__cell { background:#f3f3f3; border-radius: var(--radius); min-height:64px; padding:6px; display:flex; flex-direction:column;     border-color: #5A6037;}
.gh-cal__cell--head { background:transparent; font-weight:600; color:var(--fg); min-height:auto; padding:4px 2px; }
.gh-cal__num { font-size:0.9rem; color:#2b2b2b; }
.gh-cal__status { margin-top:auto; font-size:0px; opacity:.8; }
.gh-cal__cell.is-out { opacity:.40; }
.gh-cal__cell.is-today { outline:2px solid var(--fg); outline-offset:2px; }

/* Estados */
.gh-cal__cell[data-state="available"] { background:#f6f7f6; }
.gh-cal__cell[data-state="booked"]    { background:#ffd6d6; }
.gh-cal__price{ font-size:.78rem; line-height:1; opacity:.9; }
.gh-cal__cell.is-out .gh-cal__price{ opacity:.4; }
.gh-cal__dot--booked-black {
    background: #000000;
}

/* Selección */
.gh-cal__cell.is-inrange { box-shadow: inset 0 0 0 2px var(--fg); background: var(--sel); }
.gh-cal__cell.is-start   { box-shadow: inset 0 0 0 2px var(--fg), inset 6px 0 0 var(--fg); }
.gh-cal__cell.is-end     { box-shadow: inset 0 0 0 2px var(--fg), inset -6px 0 0 var(--fg); }
.gh-cal__cell.ispast     { background: gray}

.gh-cal__legend { display:flex; gap:12px; flex-wrap:wrap; margin-top:10px; font-size:12px; color:#3a3a3a; }
.gh-cal__dot { display:inline-block; width:12px; height:12px; border-radius:50%; margin-right:6px; vertical-align:middle; }
.gh-cal__dot--available { background:#cfe8cf; }
.gh-cal__dot--booked    { background:#ff8f8f; }

.gh-cal__cell .gh-cal__status{
    color:black;
    /*font-size: 10px;*/
}
.fs-1{
    font-size: 1rem;
}




@media(max-width: 992px){

    .fs-1{
        font-size: 0px;
    }

}




.gh-cal__selection { margin-top:8px; font-size:14px; color:#333; min-height:1.2em; }
.gh-msg-error { color:#b00020; font-weight:600; }

.gh-cal__cell[data-state="past"] {
    background: #bdbdbd; /* gris más oscuro */
    color: #444;         /* texto más fuerte */
    opacity: 1;          /* quita la transparencia */
    pointer-events: none; /* mantiene que no se pueda seleccionar */
}

.gh-cal__cell.is-preview { outline: 1px dashed var(--fg); }

input[type=email]{
    width: 100%;!important;
}
input[type=email]{
    width: 100%;!important;
}

/* Aplica a todos los inputs de texto, email, número y teléfono */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"] {
    width: 100% !important;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #5A6037;
    border-radius: 6px;
    font: inherit;
}


/* Loader aislado */
.ghbk-loader .master-container {
    margin: 0;
    padding: 20px 40px;
    background-color: #636B2F;
    display: grid;
    border-radius: 13px;
    border: 1px solid #2c2d2e;
    transform: scale(0.7);
}
.ghbk-loader .container { max-width:300px; min-width:100px; width:100%; height:300px; position:relative; margin:auto; border-radius:50%; border:2px solid #fff; overflow:hidden; }
.ghbk-loader .crescent { position:relative; height:50px; width:50px; border-radius:50%; left:calc(50% - 25px); top:12px; overflow:hidden; animation: ghbk-rotate 3s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .crescent span:nth-child(2){ position:absolute; display:block; width:100%; height:100%; box-shadow: inset 0 0 0 2px #fff; border-radius:50%; }
.ghbk-loader .crescent span:nth-child(1){ background:#636B2F; position:absolute; left:40%; display:block; width:calc(70% - 6px); height:calc(70% - 6px); box-shadow: inset 0 0 0 2px #fff; border-radius:50%; z-index:9; }
.ghbk-loader .star, .ghbk-loader .small-star { position:absolute; overflow:hidden; border-radius:50%; }
.ghbk-loader .star{ height:20px; width:20px; } .ghbk-loader .small-star{ height:12px; width:12px; }

.ghbk-loader .star span:nth-child(1)::before{ content:""; border:2px solid #fff; height:50%; width:50%; border-top-color:transparent; border-left-color:transparent; border-radius:0 0 100% 10%; display:block; left:-3px; top:-3px; position:absolute; }
.ghbk-loader .star span:nth-child(1)::after { content:""; border:2px solid #fff; height:50%; width:50%; border-bottom-color:transparent; border-left-color:transparent; border-radius:0 100% 0 0; display:block; left:-3px; bottom:-3px; position:absolute; }
.ghbk-loader .star span:nth-child(2)::before{ content:""; border:2px solid #fff; height:50%; width:50%; border-top-color:transparent; border-right-color:transparent; border-radius:0 0 0 100%; display:block; right:-3px; top:-3px; position:absolute; }
.ghbk-loader .star span:nth-child(2)::after { content:""; border:2px solid #fff; height:50%; width:50%; border-bottom-color:transparent; border-right-color:transparent; border-radius:100% 0 0 0; display:block; right:-3px; bottom:-3px; position:absolute; }

.ghbk-loader .small-star span:nth-child(1)::before{ content:""; border:1.5px solid #fff; height:50%; width:50%; border-top-color:transparent; border-left-color:transparent; border-radius:0 0 100% 10%; display:block; left:-2px; top:-2px; position:absolute; }
.ghbk-loader .small-star span:nth-child(1)::after { content:""; border:1.5px solid #fff; height:50%; width:50%; border-bottom-color:transparent; border-left-color:transparent; border-radius:0 100% 0 0; display:block; left:-2px; bottom:-2px; position:absolute; }
.ghbk-loader .small-star span:nth-child(2)::before{ content:""; border:1.5px solid #fff; height:50%; width:50%; border-top-color:transparent; border-right-color:transparent; border-radius:0 0 0 100%; display:block; right:-2px; top:-2px; position:absolute; }
.ghbk-loader .small-star span:nth-child(2)::after { content:""; border:1.5px solid #fff; height:50%; width:50%; border-bottom-color:transparent; border-right-color:transparent; border-radius:100% 0 0 0; display:block; right:-2px; bottom:-2px; position:absolute; }

.ghbk-loader .s1{ left:60px; top:50px; animation: ghbk-glow 1.1s .9s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .s2{ right:35px; bottom:155px; animation: ghbk-glow 1.3s .5s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .s3{ left:calc(50% - 10px); top:75px; animation: ghbk-glow 1.5s .3s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .s4{ left:35px; bottom:155px; animation: ghbk-glow 3s .7s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .s5{ right:60px; top:50px; animation: ghbk-glow 2s 1.2s cubic-bezier(0.15,0.83,0.66,1) infinite; }

.ghbk-loader .ss1{ right:15px; bottom:130px; animation: ghbk-glow 2s 1s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .ss2{ left:15px; bottom:130px; animation: ghbk-glow 1s 0s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .ss3{ left:35px; bottom:195px; animation: ghbk-glow 1.9s .1s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .ss4{ right:35px; bottom:195px; animation: ghbk-glow 1.6s .9s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .ss5{ left:100px; bottom:180px; animation: ghbk-glow 1s .5s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .ss6{ right:100px; bottom:180px; animation: ghbk-glow 1.7s .6s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .ss7{ right:90px; top:30px; animation: ghbk-glow .8s .8s cubic-bezier(0.15,0.83,0.66,1) infinite; }
.ghbk-loader .ss8{ left:90px; top:30px; animation: ghbk-glow 1.8s .3s cubic-bezier(0.15,0.83,0.66,1) infinite; }

.ghbk-loader .hill{ display:block; width:140%; height:100%; border:2px solid #fff; border-radius:50%; bottom:-40%; position:relative; left:-20%; background-size:3%; background-repeat:repeat; opacity:.7; }
.ghbk-loader .fire-pit{ width:18px; height:30px; position:absolute; left:calc(50% - 9px); bottom:25px; z-index:99; }
.ghbk-loader .fire{ width:0; height:0; border:9px solid transparent; border-bottom:18px solid #fff; position:relative; top:-9px; }
.ghbk-loader .fire:after{ content:""; position:absolute; left:-9px; top:18px; width:0; height:0; border:9px solid transparent; border-top:9px solid #fff; }
.ghbk-loader .inner-fire{ width:0; height:0; border:4.5px solid transparent; border-bottom:9px solid #636B2F; top:4.5px; position:absolute; z-index:9; left:-4.5px; }
.ghbk-loader .inner-fire:after{ content:""; position:absolute; left:-4.5px; top:9px; width:0; height:0; border:4.5px solid transparent; border-top:6px solid #636B2F; }

.ghbk-loader .log1{ background:#fff; height:2px; transform:rotate(35deg); transform-origin:center; position:relative; left:-3px; bottom:-1.5px; }
.ghbk-loader .log2{ background:#fff; height:2px; transform:rotate(-35deg); transform-origin:center; left:3px; position:relative; bottom:0; }
.ghbk-loader .hut{ width:0; height:0; border-left:38px solid transparent; border-right:38px solid transparent; border-bottom:75px solid #636B2F; position:absolute; left:calc(50% - 37.6px); z-index:11; bottom:80px; transform:scale(1.3); }
.ghbk-loader .hut hr:nth-child(1){ height:0; position:absolute; width:75px; bottom:-75px; left:calc(50% - 37.6px); }
.ghbk-loader .hut hr:nth-child(2){ height:0; position:absolute; width:96px; bottom:-32px; left:-32px; transform:rotate(63.5deg); border:1px solid #fff; }
.ghbk-loader .hut hr:nth-child(3){ height:0; position:absolute; width:96px; bottom:-32px; right:-32px; transform:rotate(-63.5deg); border:1px solid #fff; }
.ghbk-loader .hut hr:nth-child(4){ height:0; position:absolute; width:60px; bottom:-60px; left:-30px; border:.5px solid #fff; }
.ghbk-loader .hut hr:nth-child(5){ height:0; position:absolute; width:55px; bottom:-55px; left:-27.5px; border:.5px solid #fff; }
.ghbk-loader .hut hr:nth-child(6){ height:0; position:absolute; width:50px; bottom:-50px; left:-25px; border:.5px solid #fff; }
.ghbk-loader .doorway{ width:0; height:0; border-left:22px solid transparent; border-right:22px solid transparent; border-bottom:42px solid #636B2F; position:relative; left:-22px; bottom:-32px; }
.ghbk-loader .doorway::before{ content:""; border-left:1px solid #fff; width:0; height:48px; display:inline-block; transform:rotate(-27deg); left:11px; position:absolute; bottom:-45px; }
.ghbk-loader .doorway::after { content:""; border-left:1px solid #fff; width:0; height:48px; display:inline-block; transform:rotate(27deg);  left:-11px; position:absolute; bottom:-45px; }
.ghbk-loader .doorway > hr.split { height:44px; width:1px; position:absolute; left:0; top:0; display:inline-block; background:#fff; border:0; }

/* Trees */
.ghbk-loader .tree{ position:absolute; width:25px; height:48px; z-index:21; transform:scale(1.3); }
.ghbk-loader .tree .trunc{ height:48px; width:1px; background:#fff; left:12.5px; position:absolute; margin-top:1.5px; }
.ghbk-loader .tree .leaves{ height:18px; width:18px; transform:rotate(45deg); border-left:1.5px solid #fff; border-top:1.5px solid #fff; border-bottom:0; border-right:0; margin-bottom:-15px; margin-top:5px; left:4px; position:relative; }
.ghbk-loader .one{ left:30px; bottom:90px; } .ghbk-loader .two{ right:30px; bottom:90px; } .ghbk-loader .three{ left:80px; bottom:115px; } .ghbk-loader .four{ right:80px; bottom:115px; }

.ghbk-loader .loading-text{ color:#fff; font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; display:block; text-align:center; padding:20px 0 0; opacity:.8; }

/* Animaciones (prefijadas) */
@keyframes ghbk-glow { 0%{transform:scale(0)} 50%{transform:scale(1)} 100%{transform:scale(0)} }
@keyframes ghbk-rotate { 0%{transform:rotate(0)} 50%{transform:rotate(10deg)} 100%{transform:rotate(0)} }

/* Estado visual del contenedor cuando carga */
.gh-cal.is-loading .gh-cal__grid { opacity:.35; pointer-events:none; }

/* === GH: FORMA ÚNICA (sin segunda columna) === */
.ghbk-booking {
    display: block;           /* no grid a 2 columnas */
    max-width: 860px;         /* ancho cómodo centrado */
    margin: 0 auto;
    position: relative;       /* mantiene overlay */
}

/* quita cualquier grid previo en breakpoints */
@media (min-width: 992px) {
    .ghbk-booking { display: block; }
}

/* la columna de form se comporta como bloque normal */
.ghbk-booking__col--form {
    position: static;
    top: auto;
}

/* ya no existe columna de calendario, aseguramos que no afecte */
.ghbk-booking__col--cal { display: none !important; }

/* el formulario al 100% y centrado */
.gh-cal__form {
    max-width: 800px;
    margin: 0 auto;
}

/* limpia órdenes/responsivo heredados de 2 columnas */
.ghbk-booking__col--cal,
.ghbk-booking__col--form {
    order: initial;
}

/* elimina el layout alterno en móvil que dependía de dos columnas */
@media (min-width: 992px){
    .ghbk-booking { grid-template-columns: none; }


}





.ghbk-booking__title { margin: 0 0 12px; font-size: 1.25rem; font-weight: 600; }

/* Form */
.gh-cal__form { display: grid; gap: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; }
.gh-cal__form .gh-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.gh-cal__form .gh-field input {
    width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; outline: none;
}
.gh-cal__form .gh-field input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

.gh-btn { cursor: pointer; border-radius: 999px; padding: 10px 16px; border: 1px solid transparent; }
.gh-btn--primary { background: #2563eb; color: #fff; }
.gh-btn--primary:hover { background: #1e40af; }

.gh-cal__form-msg { margin-top: 6px; font-size: .95rem; }
.gh-cal__form-msg.gh-ok { color: #15803d; }
.gh-cal__form-msg.gh-error { color: #b91c1c; }

/* Calendario contenedor loading state */
.gh-cal.is-loading .gh-cal__grid { opacity: .35; pointer-events: none; }

/* Modal */
.ghbk-modal[hidden] { display: none !important; }
.ghbk-modal { position: fixed; inset: 0; z-index: 9999; }
.ghbk-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.ghbk-modal__dialog {
    position: relative; z-index: 1; margin: 8vh auto 0; max-width: 520px;
    background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.ghbk-modal__title { margin: 0 0 10px; font-size: 1.2rem; font-weight: 700; }
.ghbk-modal__body { color: #111827; margin-bottom: 12px; }
.ghbk-modal__close { display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; border: 1px solid #d1d5db; background: #fff; padding: 8px 14px; cursor: pointer;
}
.ghbk-modal__close:hover { background: #f3f4f6; }

/* (Tu CSS de loader ya lo tienes; no lo repito) */

/* Heredamos el mismo verde del calendario */
.ghbk-booking { --fg: #1f4d1f; } /* tu verde principal */

.gh-row--dates {
    display: grid; gap: 12px;
}
@media (min-width: 640px){
    .gh-row--dates { grid-template-columns: repeat(3, 1fr); }
}

/* inputs readonly con fondo suave */
.gh-cal__form input[readonly]{
    background: #f9fafb;
    color: #374151;
}

/* Botón primario en verde */
.gh-btn--primary {
    background: var(--fg);
    border-color: var(--fg);
    color: #fff;
}
.gh-btn--primary:hover { filter: brightness(0.9); }
.gh-btn--primary:focus { outline: 3px solid rgba(31,77,31,.25); outline-offset: 2px; }

/* Como ya movimos el resumen al form, podemos ocultar el texto bajo el calendario si quieres */
.gh-cal__selection { display: none; }

/* Resumen de pago */
.gh-summary { background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:12px; }
.gh-summary__row { display:flex; justify-content:space-between; padding:6px 0; }
.gh-summary__row--total { font-size:1.1rem; font-weight:700; }

/* Amenidades */
.gh-amenities__grid{ display:grid; gap:12px; grid-template-columns:1fr; }
@media (min-width:640px){ .gh-amenities__grid{ grid-template-columns:repeat(2,1fr); } }
.gh-amenity{ display:block; }
.gh-amenity__card{
    display:flex; gap:10px; align-items:flex-start; padding:10px;
    border:1px solid #e5e7eb; border-radius:10px; background:#fff;
    transition: box-shadow .2s, border-color .2s;
}
.gh-amenity__card:hover{ box-shadow:0 4px 10px rgba(0,0,0,.05); border-color:#d1d5db; }
.gh-amenity__img{ width:64px; height:64px; object-fit:cover; border-radius:8px; background:#f3f4f6; }
.gh-amenity__name{ font-weight:600; }
.gh-amenity__desc{ font-size:.9rem; color:#6b7280; }
.gh-amenity__price{ margin-left:auto; white-space:nowrap; font-weight:600; }
.gh-btn[disabled]{ opacity:.6; cursor:not-allowed; }

/* === Checkboxes bonitos === */
.checkbox-wrapper-31 { position: relative; display:inline-block; width:28px; height:28px; }
.checkbox-wrapper-31 .background { fill:#ccc; transition: all .6s ease; }
.checkbox-wrapper-31 .stroke { fill:none; stroke:#fff; stroke-miterlimit:10; stroke-width:2px; stroke-dashoffset:100; stroke-dasharray:100; transition: all .6s ease; }
.checkbox-wrapper-31 .check { fill:none; stroke:#fff; stroke-linecap:round; stroke-linejoin:round; stroke-width:2px; stroke-dashoffset:22; stroke-dasharray:22; transition: all .6s ease; }
.checkbox-wrapper-31 input[type=checkbox]{ position:absolute; inset:0; margin:0; opacity:0; -webkit-appearance:none; appearance:none; }
.checkbox-wrapper-31 input[type=checkbox]:hover{ cursor:pointer; }
.checkbox-wrapper-31:hover .check { stroke-dashoffset:0; }
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .background{ fill:#6cbe45; }
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .stroke{ stroke-dashoffset:0; }
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .check{ stroke-dashoffset:0; }

/* Amenidad más compacta */
.gh-amenity__card{ display:flex; gap:10px; align-items:center; padding:10px; border:1px solid #e5e7eb; border-radius:10px; background:#fff; transition: box-shadow .2s, border-color .2s; min-height:auto; }
.gh-amenity__img{ width:48px; height:48px; object-fit:cover; border-radius:8px; background:#f3f4f6; }
.gh-amenity__info{ flex:1 1 auto; }
.gh-amenity__name{ font-weight:600; line-height:1.2; }
.gh-amenity__desc{ font-size:.9rem; color:#6b7280; line-height:1.3; }
.gh-amenity__meta{ display:flex; align-items:center; gap:10px; margin-left:auto; }
.gh-amenity__price{ white-space:nowrap; font-weight:600; }

/* Form 2 columnas cuando quepa */
.gh-fields-grid{ display:grid; gap:12px; }
@media (min-width: 680px){
    .gh-fields-grid{ grid-template-columns: repeat(1, minmax(0,1fr)); }
    .gh-fields-grid .span-2{ grid-column: 1 / -1; }
}
.gh-row--dates{ display:grid; gap:12px; }
@media (min-width: 680px){ .gh-row--dates{ grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* Orden en móvil: primero calendario, luego formulario */
.ghbk-booking__col--cal{ order:1; }
.ghbk-booking__col--form{ order:2; }
@media (min-width: 992px){
    .ghbk-booking{ grid-template-columns: 1fr 1fr; align-items:start; }
    .ghbk-booking__col--form{ order:1; position:sticky; top:16px; }
    .ghbk-booking__col--cal{ order:2; }
}

/* Botón verde consistente */
.ghbk-booking { --fg:#1f4d1f; }
.gh-btn--primary{ background:var(--fg); border-color:var(--fg); color:#fff; }
.gh-btn--primary:hover{ filter:brightness(.9); }
.gh-cal__form{
    max-width: 800px;
}
#ghbk-overlay{
    position:fixed; inset:0; background:rgba(255,255,255,.6);
    backdrop-filter:saturate(0.7) blur(2px); z-index:9999;
    cursor:progress;
}
.is-locked input, .is-locked select, .is-locked textarea, .is-locked button { opacity:.6 }

/* La tarjeta contenedora debe ser posicionada para que el overlay se “pegue” a ella */
.ghbk-booking { position: relative; }

/* Overlay de bloqueo */
#ghbk-overlay {
    position: absolute;
    inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
    background: #fff;
    opacity: .25;             /* velo */
    z-index: 40;
    display: none;
    pointer-events: auto;     /* bloquea clics debajo */
}

/* Estado bloqueado */
.ghbk-booking.is-locked #ghbk-overlay { display: block; }

/* …excepto la zona de checkout y el botón Modificar */
.ghbk-booking.is-locked .gh-checkout,
.ghbk-booking.is-locked #gh-modify {
    pointer-events: auto;
    position: relative;
    z-index: 50;              /* por encima del overlay */
}

/* La tarjeta contenedora debe ser posicionada para que el overlay se “pegue” a ella */
.ghbk-booking { position: relative; }

/* Overlay de bloqueo: tapa todo y capta clics */
#ghbk-overlay{
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: .25;
    z-index: 50;
    display: none;          /* oculto por defecto */
    pointer-events: auto;   /* captura los clics debajo */
}

/* Mostrar overlay cuando está bloqueado */
.ghbk-booking.is-locked #ghbk-overlay { display: block; }

/* Checkout por encima del overlay para que quede clickeable */
.gh-checkout { position: relative; z-index: 51; }

/* Si quieres atenuar visualmente el form bloqueado */
.is-locked input, .is-locked select, .is-locked textarea, .is-locked button {
    opacity: .6;
}

/* === PayPal Modal === */
.gh-ppm[hidden]{ display:none !important; }
.gh-ppm{ position:fixed; inset:0; z-index: 99999; display:grid; place-items:center; }
.gh-ppm__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.55); }
.gh-ppm__dialog{
    position:relative; z-index:1; width:min(640px, 92vw);
    background:#fff; border-radius:16px; box-shadow:0 20px 60px rgba(0,0,0,.35);
    padding:16px 16px 20px;
    max-height: 100vh;
    overflow: auto;

}
.gh-ppm__header{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.gh-ppm__close{
    border:1px solid #d1d5db; background:#fff; border-radius:999px; width:36px; height:36px; cursor:pointer; font-size:20px; line-height:1;
}
.gh-ppm__close:hover{ background:#f3f4f6; }
.gh-ppm__summary{ padding:10px; background:#f9fafb; border:1px solid #e5e7eb; border-radius:10px; margin-bottom:12px; }
.gh-ppm__buttons{ min-height:48px; }

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #636B2F;
    color: #fff;
    text-decoration: none;
}

.gh-btn--primary:hover {
    background: #636B2F;
}

/* Modal calendario */
#ghbk-cal-modal[hidden]{display:none!important}
#ghbk-cal-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center}
.ghbk-calm__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.ghbk-calm__dialog{position:relative;z-index:1;width:min(980px,94vw);background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.35);padding:14px 16px 16px;     max-height: 95vh;overflow: auto;}
.ghbk-calm__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.ghbk-calm__close{border:1px solid #d1d5db;background:#fff;border-radius:999px;width:36px;height:36px;cursor:pointer;font-size:18px}
.ghbk-calm__close:hover{background:#f3f4f6}
.ghbk-calm__actions{display:flex;gap:10px;justify-content:flex-end;margin-top:10px}
.ghbk-calm__actions .primary{background:var(--fg);border:1px solid var(--fg);color:#fff;border-radius:10px;padding:8px 12px}

/* ===== Amenidad: texto multilinea (2 líneas) y sin desbordes ===== */
.gh-amenity__info{ min-width:0; }
.gh-amenity__name,
.gh-amenity__desc{
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    white-space:normal;               /* <- ya NO nowrap */
}

/* ===== Amenidad responsive (rompe a 2 filas en móvil) ===== */
@media (max-width: 480px){
    .gh-amenity__card{
        display:flex;
        align-items:flex-start;
        gap:8px;
        flex-wrap:wrap;                 /* <- permite que meta pase abajo */
    }
    .gh-amenity__img{
        flex:0 0 44px;
        width:44px; height:44px; object-fit:cover;
    }
    .gh-amenity__info{
        flex:1 1 calc(100% - 52px);     /* texto ocupa el resto de la fila */
    }
    .gh-amenity__meta{
        flex:1 1 100%;                  /* baja a la 2ª fila */
        display:flex; align-items:center; justify-content:space-between;
        gap:10px; margin-left:0;
    }
    .gh-amenity__price{ white-space:nowrap; font-weight:700; }
    .checkbox-wrapper-31{ flex:0 0 28px; }
}

/* ===== Grid de amenidades fluido (1→2→3 columnas) ===== */
.gh-amenities__grid{ grid-template-columns:1fr; }
@media (min-width:640px){ .gh-amenities__grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px){ .gh-amenities__grid{ grid-template-columns:repeat(1,1fr); } }

/* ===== Resumen de pago flexible ===== */
.gh-summary__row{ display:grid; grid-template-columns: 1fr auto; gap:8px; }
@media (max-width: 420px){
    .gh-summary__row{ grid-template-columns:1fr; }
    .gh-summary__row strong{ justify-self:start; }
}

/* ===== Botones PayPal a ancho completo en móvil ===== */
#gh-paypal-buttons, #gh-ppm-buttons{ min-height:48px; }
#gh-paypal-buttons > div, #gh-ppm-buttons > div{ width:100% !important; }

/* ===== “respiro” por el flotante de WhatsApp ===== */
@media (max-width:480px){
    .gh-cal__form{ padding-bottom:84px; }
}
