.sg-mapa-booking-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100000;
}

.sg-mapa-booking-modal--visible {
  display: block;
}

.sg-mapa-booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.sg-mapa-booking-modal__panel {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  padding: 18px;
  border-radius: 12px;
  background: #ffffff;
  overflow: auto;
}

.sg-mapa-booking-modal__panel--chooser {
  width: min(620px, calc(100% - 32px));
}

.sg-mapa-booking-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.sg-mapa-booking-modal__copy {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 8px;
  background: #f2f7f5;
  text-align: center;
}

.sg-mapa-booking-modal__product-title {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.15;
  text-align: center;
}

.sg-mapa-booking-modal__line {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.45;
}

.sg-mapa-booking-modal__line:last-child {
  margin-bottom: 0;
}

.sg-mapa-booking-modal__calendar {
  max-width: 760px;
  margin: 0 auto;
}

.sg-membership-chooser__title {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.2;
}

.sg-membership-chooser__intro {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: #232421;
}

.sg-membership-chooser__group {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.sg-membership-chooser__label {
  margin: 0 0 10px;
  font-weight: 700;
}

.sg-membership-chooser__option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.sg-membership-chooser__submit {
  margin-top: 6px;
}

.sg-mapa-booking-modal__iframe {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  opacity: 1;
  transition: opacity 0.08s linear;
}

.sg-mapa-booking-modal--loading .sg-mapa-booking-modal__iframe {
  opacity: 0;
}

.sg-mapa-booking-modal__loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 160px;
  padding: 20px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
  color: #232421;
  font-size: 15px;
}

.sg-mapa-booking-modal__loading-text {
  display: inline;
}

.sg-mapa-booking-modal__loading-text--redirect {
  display: none;
}

.sg-mapa-booking-modal--loading .sg-mapa-booking-modal__loading {
  display: flex;
}

.sg-mapa-booking-modal--redirecting .sg-mapa-booking-modal__loading-text--calendar {
  display: none;
}

.sg-mapa-booking-modal--redirecting .sg-mapa-booking-modal__loading-text--redirect {
  display: inline;
}

.sg-mapa-booking-modal__spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #d9d9d9;
  border-top-color: #5ebb95;
  border-radius: 50%;
  animation: sg-mapa-booking-spin 0.8s linear infinite;
}

@keyframes sg-mapa-booking-spin {
  to {
    transform: rotate(360deg);
  }
}

.sg-mapa-booking-modal-open {
  overflow: hidden;
}

/* Wizard «Mapa + Membresía» (pasos 1–2) */
.sg-bundle-wizard__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.sg-bundle-wizard__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.35rem 1.25rem;
  border: 2px solid #5db493;
  border-radius: 999px;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.sg-bundle-wizard__back:hover {
  background: #f2faf6;
}

.sg-bundle-booking__choices {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e8e8e8;
}

.sg-bundle-booking__choices .sg-membership-chooser__group + .sg-membership-chooser__group {
  margin-top: 1rem;
}

.sg-bundle-booking__apply-choices {
  margin-top: 1rem;
}
