/* ── PBR Booking Modal ── */
#pbr-checkout-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 18, 35, 0.72);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#pbr-checkout-overlay.open {
  display: flex;
  animation: pbrFadeIn 0.25s ease;
}
@keyframes pbrFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#pbr-checkout-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28);
  animation: pbrSlideUp 0.3s ease;
}
@keyframes pbrSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
#pbr-checkout-modal .pbr-modal-header {
  background: #0d1f3c;
  border-radius: 16px 16px 0 0;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#pbr-checkout-modal .pbr-modal-header img {
  height: 36px;
  width: auto;
}
#pbr-checkout-modal .pbr-modal-header h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}
#pbr-checkout-modal .pbr-modal-header p {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin: 3px 0 0;
}
#pbr-modal-close {
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
#pbr-modal-close:hover { background: rgba(245,131,42,0.7); }

/* Resumen */
.pbr-modal-summary {
  background: #f9f5ef;
  padding: 16px 28px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.pbr-modal-summary .pbr-sum-info { font-size: 13px; color: #5a6478; line-height: 1.65; }
.pbr-modal-summary .pbr-sum-info strong { color: #0d1f3c; display: block; font-size: 14px; font-weight: 700; }
.pbr-modal-summary .pbr-sum-total { text-align: right; }
.pbr-modal-summary .pbr-sum-total .label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #5a6478; }
.pbr-modal-summary .pbr-sum-total .amount { font-size: 26px; font-weight: 700; color: #0d1f3c; font-family: 'Montserrat', sans-serif; line-height: 1; }

/* Checkout embed */
#pbr-wc-checkout-wrap {
  padding: 24px 28px;
}
#pbr-wc-checkout-wrap .woocommerce { margin: 0; }

/* Spinner */
.pbr-loading {
  text-align: center;
  padding: 48px 28px;
  color: #5a6478;
  font-size: 15px;
}
.pbr-spinner {
  width: 40px; height: 40px;
  border: 3px solid #e4ddd3;
  border-top-color: #f5832a;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: pbrSpin 0.8s linear infinite;
}
@keyframes pbrSpin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  #pbr-checkout-modal { border-radius: 14px; }
  .pbr-modal-summary { flex-direction: column; }
}
