/* Tarjeta de reserva: dos botones */
.pwt-bookcard button.pwt-btn { cursor: pointer; }
.pwt-bookcard .pwt-btn--whatsapp { background: #1faf54; border-color: #1faf54; color: #fff; }
.pwt-bookcard .pwt-btn--whatsapp:hover { background: #178f43; border-color: #178f43; color: #fff; box-shadow: 0 10px 24px rgba(31, 175, 84, .4); }
.pwt-bookcard .pwt-btn--whatsapp svg:hover, .pwt-bookcard .pwt-btn--whatsapp:hover svg { transform: scale(1.12); }

/* Ventana de reserva */
.pwt-modal { position: fixed; inset: 0; z-index: 10040; display: grid; place-items: center; padding: 18px; opacity: 0; transition: opacity .3s; }
.pwt-modal[hidden] { display: none; }
.pwt-modal.is-open { opacity: 1; }
.pwt-modal__back { position: absolute; inset: 0; background: rgba(18, 12, 8, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pwt-modal__box { position: relative; display: flex; flex-direction: column; width: min(640px, 100%); max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); transform: translateY(24px) scale(.98); transition: transform .35s var(--ease); }
.pwt-modal.is-open .pwt-modal__box { transform: none; }
.pwt-modal__head { display: flex; justify-content: space-between; gap: 16px; padding: 20px 26px; background: #232323; color: #fff; border-bottom: 3px solid var(--o); }
.pwt-modal__head small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--o-light); }
.pwt-modal__head h2 { margin: 6px 0 0; font-family: var(--f-title); font-size: 21px; font-weight: 900; line-height: 1.2; color: #fff; }
.pwt-modal__head p { margin: 4px 0 0; font-size: 13px; color: rgba(255, 255, 255, .75); }
.pwt-modal__head strong { color: #fff; }
.pwt-modal__close { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.pwt-modal__close:hover { background: var(--o); border-color: var(--o); }
.pwt-modal__body { overflow-y: auto; overscroll-behavior: contain; padding: 22px 26px 24px; }
.pwt-bookform .ff-el-group { margin-bottom: 14px; }
.pwt-bookform .ff-el-form-control { padding: 11px 13px; border-radius: 8px; }
.pwt-bookform form fieldset { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.pwt-bookform form fieldset > * { min-width: 0; }
.pwt-bookform form fieldset > .ff-el-group:has(textarea), .pwt-bookform form fieldset > .ff-el-group:has(input[type="checkbox"]), .pwt-bookform form fieldset > .ff_submit_btn_wrapper, .pwt-bookform form fieldset > legend, .pwt-bookform form fieldset > .pwt-modal__actions { grid-column: 1 / -1; }
.pwt-modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.pwt-modal__actions .pwt-modal__send { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; margin: 0; padding: 12px 14px !important; border: 0; border-radius: 8px !important; font-family: var(--f-title); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; cursor: pointer; transition: background .25s, transform .25s var(--ease); }
.pwt-modal__actions .pwt-modal__send:hover { transform: translateY(-2px); color: #fff; }
.pwt-modal__send--mail { background: var(--o) !important; }
.pwt-modal__send--mail:hover { background: var(--o-hover) !important; }
.pwt-modal__send--wa { background: #1faf54; }
.pwt-modal__send--wa:hover { background: #178f43; }
.pwt-modal__error { margin: 6px 0 0; padding: 10px 14px; border-radius: 8px; background: #fdecea; color: #a1251b; font-size: 13px; }
.pwt-modal__error[hidden] { display: none; }
@media (max-width: 600px) {
	.pwt-modal { padding: 0; place-items: end stretch; }
	.pwt-modal__box { width: 100%; max-height: 94dvh; border-radius: 16px 16px 0 0; }
	.pwt-modal__head, .pwt-modal__body { padding-left: 18px; padding-right: 18px; }
	.pwt-bookform form fieldset, .pwt-modal__actions { grid-template-columns: 1fr; }
}

/* El mismo formulario dentro de la página Contact */
.pwt-formcard .pwt-bookform .ff-el-form-control { border-radius: 8px; }
.pwt-formcard .pwt-bookform .pwt-modal__send { padding: 12px 14px !important; }
@media (max-width: 600px) { .pwt-bookform form fieldset, .pwt-bookform .pwt-modal__actions { grid-template-columns: 1fr; } }
