/* ═══════════════════════════════════════════════
   Bookinest — Buenas Noches — Estilos
   Prefijo: bk- (framework compartido) / bkbn- (propio)
   ═══════════════════════════════════════════════ */

:root {
  --bn-blue:       #1a56a0;
  --bn-blue-dark:  #154589;
  --bn-blue-light: #c5d8f0;
  --bn-bg:         #f7faff;
  --bn-text:       #2b4a7a;
  --bn-muted:      #90a8c8;
}

.woocommerce-js div.product div.summary .woocommerce-product-details__short-description :last-child {
  margin-bottom: 0 !important;
}

/* Fila/columna de acciones del ítem del carrito: (x) quitar + Editar.
   Mobile: uno al lado del otro. Desktop: en columna, (x) arriba, Editar abajo. */
.bkbn-cart-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
}
@media (min-width: 769px) {
  .bkbn-cart-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
}
.bkbn-cart-edit-btn {
  padding: 7px 10px !important;
  border: 1px solid #bababc !important;
  border-radius: 100px !important;
  background: #ffffff !important;
  color: #b3b3b4 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
@media (min-width: 769px) {
  .bkbn-cart-edit-btn { margin-top: 15px; }
}
.bkbn-cart-edit-btn:hover {
  border: 1px solid #000000 !important;
}

#bookinest-bn-app,
#bookinest-bn-app-m {
  font-family: 'Nunito', sans-serif;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#bookinest-bn-app *,
#bookinest-bn-app-m * { box-sizing: border-box; }

/* El formulario mobile no existe visualmente en desktop (se prende solo
   dentro del media query de mobile, más abajo). El popup de desktop ya
   arranca oculto por defecto (.bk-overlay { display:none }) y en mobile
   lo forzamos oculto también, para que nunca se puedan ver los dos. */
#bkbn-mobile-form-slot { display: none; }

/* El CTA "Personalizar" solo existe en mobile; en desktop elegir la tapa abre el popup directo. */
@media (min-width: 769px) {
  .bkbn-tapa-trigger { display: none !important; }
}

@media (max-width: 768px) {
  #bookinest-bn-overlay { display: none !important; }
}

/* ── Overlay ──────────────────────────────────────────────────────────────── */
.bk-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
}
.bk-overlay.bk-overlay--open { display: flex; }

.bk-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.bk-overlay-inner {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  max-width: 800px;
  width: 80vw;
  max-height: 90vh;
  padding: 24px 16px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
  animation: bk-in 0.22s ease;
}

@keyframes bk-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.bk-overlay-close {
  position: fixed !important;
  top: 16px !important;
  right: 20px !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 2.6rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  color: #fff !important;
  transition: color 0.15s !important;
  padding: 0 !important;
  z-index: 1000000 !important;
}
.bk-overlay-close:hover {
  background: none !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ── Steps ────────────────────────────────────────────────────────────────── */
.bk-step { display: none; }
.bk-step.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  flex: 1;
  overflow: auto;
}

/* ── Card ─────────────────────────────────────────────────────────────────── */
.bk-card {
  background: white;
  border-radius: 16px;
  box-shadow: none;
  padding: 28px 24px;
  width: 100%;
  max-width: 460px;
}
.bk-card-title {
  font-family: 'Dongle', 'Nunito', sans-serif;
  font-size: 2.4rem;
  color: var(--bn-blue);
  text-align: center;
  line-height: 1;
  margin-bottom: 4px;
}
.bk-card-sub {
  text-align: center;
  color: var(--bn-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  font-family: 'Nunito', sans-serif;
}

/* ── Labels e inputs ─────────────────────────────────────────────────────── */
.bk-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--bn-text);
  margin: 16px 0 8px;
  font-family: 'Nunito', sans-serif;
}
.bk-optional { font-weight: 400; color: var(--bn-muted); }

.bk-input,
.bk-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--bn-blue-light);
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  background: var(--bn-bg);
  outline: none;
  transition: border 0.2s;
  box-sizing: border-box;
}
.bk-input:focus,
.bk-textarea:focus { border-color: var(--bn-blue); }
.bk-textarea { height: 80px; resize: vertical; }

/* ── Género (toggle hombre/mujer) ────────────────────────────────────────── */
.bkbn-gender-row {
  display: flex;
  width: 100%;
  gap: 10px;
  margin-top: 4px;
}
.bkbn-gender-btn {
  flex: 1;
  padding: 13px 0;
  border-radius: 100px;
  cursor: pointer;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--bn-blue-light);
  background: white;
  color: #5580b0;
  transition: all 0.15s;
  user-select: none;
}
.bkbn-gender-btn:hover,
.bkbn-gender-btn.sel {
  background: var(--bn-blue-dark) !important;
  color: #fff !important;
  border-color: var(--bn-blue-dark) !important;
}

/* ── Avatares (grilla con tilde de selección) ────────────────────────────── */
.bkbn-avatar-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.bkbn-avatar-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2.5px solid var(--bn-blue-light);
  cursor: pointer;
  transition: all 0.15s;
  background: var(--bn-bg);
}
.bkbn-avatar-card:hover { border-color: var(--bn-blue); transform: translateY(-2px); }
.bkbn-avatar-card.sel   { border-color: var(--bn-blue); box-shadow: 0 4px 16px rgba(26,86,160,.25); }
.bkbn-avatar-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.bkbn-avatar-label {
  display: block;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #5580b0;
  padding: 4px 2px 6px;
  line-height: 1.15;
  transition: color 0.15s;
}
.bkbn-avatar-card.sel .bkbn-avatar-label { color: var(--bn-blue); }

.bkbn-check {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--bn-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(26, 86, 160, 0.4);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s, transform 0.15s;
}
.bkbn-avatar-card.sel .bkbn-check { opacity: 1; transform: scale(1); }

/* ── Botones principales ──────────────────────────────────────────────────── */
.bk-btn-main {
  width: 100%;
  margin-top: 0;
  padding: 14px;
  background: var(--bn-blue);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.bk-btn-main:hover { background: var(--bn-blue-dark) !important; color: #ffffff !important; }
.bk-btn-main:disabled { opacity: 0.35; cursor: not-allowed; }

.bk-ghost {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bn-blue);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
  border-radius: 100px;
  padding: 6px 16px;
  transition: background 0.2s, color 0.2s;
}
.bk-ghost:hover { background: var(--bn-blue-dark) !important; color: #fff !important; }

/* "← Cambiar tapa": solo tiene sentido en mobile (ahi el formulario
   reemplaza a las tarjetas en el mismo lugar); en desktop las tarjetas
   siguen visibles debajo, no hace falta volver a nada. */
.bkbn-back-tapa-btn {
  background: none;
  background-color: transparent;
  margin-bottom: 14px;
  cursor: pointer;
  color: var(--bn-blue-dark);
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  bottom: 50px;
  right: 44%;
}
.bkbn-back-tapa-btn:hover { background: none; }
@media (max-width: 768px) {
  .bkbn-back-tapa-btn { display: inline-block; }
}

/* ── Selector de tapa: tarjetas seleccionables + botón Personalizar ─────────── */
.bkbn-tapa-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.bkbn-tapa-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bn-text);
  background: #eef4fb;
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.bkbn-tapa-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bkbn-tapa-card {
  position: relative;
  cursor: pointer;
  padding: 30px 14px 32px;
  min-height: 90px;
  border-radius: 10px;
  border: 1px solid #cfd8e6;
  background: #ffffff;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.bkbn-tapa-card.sel {
  border: 2px solid #2761b3;
  background: #eef4fb;
  box-shadow: 0 2px 0 #2761b3;
}
.bkbn-tapa-card-eyebrow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #2761b3;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 999px;
}
.bkbn-tapa-card-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2761b3;
}
.bkbn-tapa-card-price {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1c1c1a;
  margin-top: 6px;
}
.bkbn-tapa-trigger {
  display: block;
  width: 100%;
  padding: 16px 10px !important;
  border-radius: 10px !important;
  border: none !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff !important;
  background: #2761b3 !important;
  cursor: pointer;
  transition: background 0.2s ease;
}
.bkbn-tapa-trigger:hover {
  background: #000000 !important;
  color: #ffffff !important;
}
.bkbn-tapa-trigger:disabled {
  background: #b9c3cc !important;
  color: #ffffff !important;
  cursor: not-allowed;
}

/* ── Hover global ─────────────────────────────────────────────────────────── */
.completar-formulario-btn:hover,
.wp-block-button__link:hover,
.uagb-button__wrapper .uagb-button__link:hover,
.wp-block-uagb-buttons .uagb-buttons-repeater .uagb-button__link:hover,
a.button:hover,
button:hover,
input[type="submit"]:hover {
  background-color: #80c0d8 !important;
  color: #ffffff !important;
}

/* ── Book preview ─────────────────────────────────────────────────────────── */
.bk-preview-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.bk-pg-count {
  color: var(--bn-muted);
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}
.bk-page-box {
  width: 100%;
  background: transparent;
  position: relative;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.bk-page-box.sl { transform: translateX(-40px); opacity: 0; }
.bk-page-box.sr { transform: translateX(40px);  opacity: 0; }

.bk-cart-row {
  margin-top: 16px;
  margin-bottom: 40px;
}

.bk-error {
  margin-top: 10px;
  padding: 10px 14px;
  background: #fdecea;
  border-radius: 8px;
  color: #c0392b;
  font-size: 0.88rem;
  display: none;
}

/* ── Page layouts ─────────────────────────────────────────────────────────── */
.bk-ls {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .13);
}
.bk-ls img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
.bk-page-box .bk-ls img,
.bk-page-box .bk-ls img:hover {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  vertical-align: top !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Tapa: nombre superpuesto con tipografía Emmeline */
.bkbn-tapa-name {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 31%;
  font-family: 'Great Vibes', 'Brush Script MT', cursive;
  font-size: clamp(1.6rem, 7vw, 3.2rem);
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  line-height: 1.1;
  word-break: break-word;
  pointer-events: none;
}

/* Placeholder cuando falta el archivo de tapa */
.bkbn-tapa-missing {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f6ff 0%, #d8e4f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: #aac0da;
  text-align: center;
  padding: 16px;
}

/* ── Lock page ────────────────────────────────────────────────────────────── */
.bk-lock-page {
  width: 100%;
  min-height: 200px;
  max-height: 300px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f6ff 0%, #d8e4f7 100%);
  border-radius: 12px;
}
.bk-lock-content {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.bk-lock-icon  { font-size: 2.4rem; }
.bk-lock-title { font-family: 'Dongle', 'Nunito', sans-serif; font-size: 2.2rem; color: var(--bn-blue); line-height: 1; }
.bk-lock-sub   { font-family: 'Nunito', sans-serif; font-size: 0.85rem; color: #5580b0; text-align: center; max-width: 360px; line-height: 1.5; }

/* ── Navigation ───────────────────────────────────────────────────────────── */
.bk-nav-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.bk-nav-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: none !important;
  background: var(--bn-blue) !important;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: background 0.15s !important;
  padding: 0 !important;
  line-height: 1 !important;
  box-shadow: 0 2px 8px rgba(26, 86, 160, 0.35) !important;
}
.bk-nav-btn:hover:not(:disabled) { background: var(--bn-blue-dark) !important; color: #fff !important; }
.bk-nav-btn:disabled { opacity: 0.25 !important; cursor: not-allowed !important; }
.site-content .bk-nav-btn { width: 38px !important; height: 38px !important; }

.bk-dots {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 320px;
}
.bk-dot {
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  min-width: 9px !important;
  max-width: 9px !important;
  min-height: 9px !important;
  max-height: 9px !important;
  border-radius: 50% !important;
  background: #c8d8ee !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  outline: none !important;
  transition: background 0.15s, transform 0.15s;
}
.bk-dot:hover  { background: var(--bn-blue) !important; }
.bk-dot.active {
  background: var(--bn-blue) !important;
  transform: scale(1.4) !important;
  box-shadow: 0 0 0 3px rgba(26, 86, 160, 0.2) !important;
}

/* ── Nuevo popup modal (override de bk-overlay-inner) ────────────────────── */
.bk-popup-inner {
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  max-width: 520px !important;
  width: 92vw !important;
  padding: 28px 32px 32px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.bk-popup-inner.preview-mode { max-width: 760px !important; }

/* ── Upsell step ───────────────────────────────────────────────────────────── */
.bnpopup-upsell-sub {
  text-align: center;
  color: var(--bn-muted);
  font-size: 0.82rem;
  margin: 0 0 2px;
  font-family: 'Nunito', sans-serif;
}
.bnpopup-upsell-title {
  font-family: 'Dongle', 'Nunito', sans-serif;
  font-size: 2.4rem;
  color: var(--bn-blue);
  text-align: center;
  line-height: 1.1;
  margin: 0 0 6px;
}
.bnpopup-upsell-desc {
  text-align: center;
  color: #5580b0;
  font-size: 0.9rem;
  font-family: 'Nunito', sans-serif;
  margin: 0 0 22px;
}
.bnpopup-upsell-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
  min-width: 0;
  width: 100%;
}
.bnpopup-upsell-card {
  border: 2.5px solid var(--bn-blue-light);
  border-radius: 14px;
  padding: 20px 14px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
  background: #fff;
  position: relative;
}
.bnpopup-upsell-card:hover {
  border-color: var(--bn-blue-dark) !important;
  background: var(--bn-blue-dark) !important;
  color: #fff !important;
}
.bnpopup-upsell-card:hover .bnpopup-upsell-icon,
.bnpopup-upsell-card:hover .bnpopup-upsell-name,
.bnpopup-upsell-card:hover .bnpopup-upsell-price { color: #fff; }
.bnpopup-upsell-card.recommended {
  border-color: var(--bn-blue);
  background: var(--bn-bg);
}
.bnpopup-upsell-card.recommended:hover { background: var(--bn-blue-dark); }
.bnpopup-upsell-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--bn-blue);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.bnpopup-upsell-card.recommended:hover .bnpopup-upsell-badge {
  background: #fff;
  color: var(--bn-blue);
}
.bkbn-badge-star {
  color: #f5c518;
  font-size: calc(0.72rem + 2px);
  line-height: 1;
}
.bnpopup-upsell-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 3px;
  justify-content: center;
  margin-bottom: 8px;
  height: 2.4rem;
  overflow: hidden;
}
.bnpopup-upsell-icon img.emoji {
  width: 1.8rem !important;
  height: 1.8rem !important;
  max-width: 1.8rem !important;
  max-height: 1.8rem !important;
  margin: 0 !important;
  vertical-align: middle !important;
  display: inline-block !important;
  flex-shrink: 0;
}
.bnpopup-upsell-name {
  font-family: 'Roboto', 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--bn-text);
  display: block;
  margin-bottom: 6px;
  transition: color 0.18s;
}
.bnpopup-upsell-price {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bn-blue);
  display: block;
  transition: color 0.18s;
}
.bnpopup-upsell-back {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bn-muted);
  display: block;
  margin: 14px auto 0;
  padding: 6px 12px;
  border-radius: 100px;
  transition: all 0.15s;
}
.bnpopup-upsell-back:hover { background: var(--bn-blue-dark) !important; color: #fff !important; }
.bnpopup-error { color: #c0392b; font-size: 0.82rem; margin-top: 8px; text-align: center; }

/* ── Reset: emojis de WordPress (no tocar) ───────────────────────────────── */
img.emoji {
  all: revert !important;
  width: auto !important;
  height: 20px !important;
  display: inline !important;
  vertical-align: -0.1em !important;
  margin-block: auto !important;
  margin-inline: 0.05em !important;
  padding: 0 !important;
}

/* ── Reset: imágenes en la descripción del producto (WooCommerce) ─────────── */
.woocommerce-Tabs-panel--description img,
.woocommerce-Tabs-panel--description img:hover {
  all: revert !important;
  max-width: 100% !important;
}

/* ── Step upsell (paso 3) ─────────────────────────────────────────────────── */
#bkbn-s-upsell { display: none; margin: 0; padding: 32px 32px; width: 100%; box-sizing: border-box; }
#bkbn-s-upsell.active { display: block; }
.bk-overlay-inner:has(#bkbn-s-upsell.active) { width: unset !important; padding: 0 !important; }

/* ── Botón personalizar ──────────────────────────────────────────────────── */
.bk-btn-wrap {
    display: block;
    margin-top: 12px;
    text-align: left;
}
@media (max-width: 768px) {
    .bk-overlay {
        align-items: flex-start;
        overflow-y: auto;
        padding: 24px 0;
    }
    .bk-overlay-inner,
    #bookinest-bn-app {
        max-height: none;
    }
    .bk-btn-wrap {
        text-align: center;
    }
    /* Las tarjetas de tapa quedan en el flujo normal, debajo de la descripción.
       Solo el botón "Personalizar" flota fijo abajo. */
    .bkbn-tapa-trigger {
        position: fixed !important;
        bottom: 50px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 99999 !important;
        width: calc(100% - 40px) !important;
        max-width: 360px !important;
        white-space: nowrap !important;
        box-shadow: 0 4px 24px rgba(0,0,0,0.3) !important;
        transition: opacity 0.25s ease !important;
    }
    .bkbn-tapa-trigger.bk-float-hidden {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* El formulario "reemplaza" a las tarjetas en el mismo lugar */
    .bkbn-tapa-panel.bkbn-showing-form .bkbn-tapa-cards,
    .bkbn-tapa-panel.bkbn-showing-form .bkbn-tapa-trigger {
        display: none;
    }
    .bkbn-tapa-panel.bkbn-showing-form #bkbn-mobile-form-slot {
        display: block;
    }

    /* Instancia mobile: no vive dentro de ningún popup modal, le damos
       su propia "tarjeta" en vez de heredar el estilo de overlay */
    #bookinest-bn-app-m {
        height: auto;
        max-height: none;
        background: #ffffff;
        border-radius: 14px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
        padding: 24px 20px 28px;
    }
}
