/*
 * Main stylesheet for TurinconNatural.
 *
 * Defines the colour palette, typography and layouts for the
 * application. Uses a natural green scheme to evoke calm and
 * wellbeing.
 */

:root {
  --bg: #f0fdf4;
  --bg2: #d1fae5;
  --card: #ffffff;
  --accent: #2f855a;
  --accent-light: #68d391;
  --text: #0f172a;
  --muted: #475569;
  --radius: 8px;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg), var(--bg2));
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--card);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text);
}

.nav-link:hover {
  color: var(--accent);
}

.selectors {
  display: flex;
  gap: 0.5rem;
}

.selectors select {
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--muted);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Split home page */
.split-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  min-height: 60vh;
  overflow: hidden;
}

.split {
  position: relative;
  flex: 1 1 50%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split .overlay {
  background: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 80%;
  text-align: center;
}

.split h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.split p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--accent-light);
  color: #fff;
}

/* Decorative rayo divider */
.rayo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-image: linear-gradient(45deg, var(--accent) 25%, transparent 25%, transparent 50%, var(--accent) 50%, var(--accent) 75%, transparent 75%, transparent);
  background-size: 10px 10px;
  transform: skewY(-10deg);
}

/* Contact section */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  max-width: 820px;   /* ancho cómodo centrado dentro de main */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  /* quitamos el límite que encoge columnas y descoloca el botón */
  max-width: none;
}

.contact-form input[name="name"] { grid-column: 1; }
.contact-form input[name="email"] { grid-column: 2; }

.contact-form textarea {
  grid-column: 1 / -1; /* el textarea ocupa todo el ancho */
  min-height: 160px;
}

.contact-form button {
  grid-column: 1;       /* botón alineado al comienzo */
  justify-self: start;
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.contact-form .form-ok,
.contact-form .form-error {
  grid-column: 1 / -1;  /* mensajes alineados al ancho completo */
}

/* honeypot */
.contact-form input.hp {
  display: none !important;
}

.contact-form input:not(.hp),
.contact-form textarea {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Responsive: en pantallas pequeñas el formulario en una columna */
@media (max-width: 640px) {
  .contact-form {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .contact-form input[name="name"],
  .contact-form input[name="email"],
  .contact-form textarea,
  .contact-form .form-ok,
  .contact-form .form-error {
    grid-column: 1;
  }
  .contact-form button {
    width: 100%;        /* CTA ancho completo en móvil */
    justify-self: stretch;
  }
}

/* Footer */
.site-footer {
  background: var(--card);
  border-top: 1px solid #e2e8f0;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h3 {
  margin-top: 0;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}

.newsletter-form .consent-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.newsletter-form button {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Legal pages */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-top: 0;
}

/* Maintenance page */
.maintenance-page {
  text-align: center;
  padding: 5rem 1rem;
}

.countdown {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 1rem;
}

/* Shop components */
.shop-page .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  text-align: center;
}

.product-card img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}

.product-card .price {
  font-weight: 600;
  margin: 0.5rem 0;
}

/* Cart */
.cart-page table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.cart-page th,
.cart-page td {
  border: 1px solid #e2e8f0;
  padding: 0.5rem;
  text-align: left;
}

.cart-page .btn {
  margin-top: 1rem;
}

/* Checkout */
.checkout-page .checkout-form fieldset {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.checkout-page .checkout-form legend {
  font-weight: 600;
}

.checkout-page .checkout-form input,
.checkout-page .checkout-form select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
}

.checkout-page .checkout-form button {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Blog */
.blog-page .blog-excerpt {
  margin-bottom: 2rem;
}

.blog-page .blog-excerpt h2 {
  margin-bottom: 0.25rem;
}

.blog-page .blog-excerpt .date {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.blog-page .blog-excerpt .excerpt {
  margin-bottom: 0.5rem;
}

.blog-page .btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
}

.blog-post h1 {
  margin-top: 0;
}

.blog-post .date {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.blog-post .blog-content {
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .split-container {
    flex-direction: column;
  }
  .split {
    min-height: 200px;
  }
  .rayo {
    display: none;
  }
}

/* --- Bienestar (Wellness) pages --- */

/* Promotional banner */
.bienestar-banner {
  background: var(--accent);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 2rem;
}
.bienestar-banner h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}
.bienestar-banner p {
  margin: 0.25rem 0;
  font-size: 1.1rem;
}
.bienestar-banner .note {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Index layout */
.bienestar-index-layout {
  display: flex;
  gap: 2rem;
}
.bienestar-index-nav {
  flex: 0 0 200px;
  position: sticky;
  top: 5rem;
  align-self: flex-start;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
  overflow: hidden;
}
.bienestar-index-nav .drawer-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  color: var(--accent);
  width: 100%;
  text-align: left;
}
.bienestar-index-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bienestar-index-nav li {
  margin: 0;
}
.bienestar-index-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  border-left: 4px solid transparent;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.bienestar-index-nav a.active {
  background: var(--bg2);
  border-color: var(--accent);
}
.bienestar-index-nav a:hover {
  background: var(--bg2);
}

@media (max-width: 768px) {
  .bienestar-index-layout {
    flex-direction: column;
  }
  .bienestar-index-nav {
    display: none !important; /* Ocultar de momento */
    position: relative;
    top: auto;
    flex: 1 1 auto;
    margin-bottom: 1rem;
  }
  .bienestar-index-nav ul {
    display: none;
  }
  .bienestar-index-nav.open ul {
    display: block;
  }
  .bienestar-index-nav .drawer-toggle {
    display: block;
  }
}

/* Service sections */
.service-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}
.service-image {
  position: relative;
  flex: 1 1 40%;
  min-width: 280px;
}
.service-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.55);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  color: #ffffff;
}
.service-overlay h3 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}
.service-overlay p {
  margin: 0;
  font-size: 0.875rem;
}
.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  animation: breathe 2s infinite alternate;
}
/* Colour tiers for discount badges */
.discount-badge.badge1 { background: #68d391; }
.discount-badge.badge2 { background: #fcbf49; }
.discount-badge.badge3 { background: #f9844a; }
.discount-badge.badge4 { background: #9b5de5; }

/* Breathing animation for badges */
@keyframes breathe {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.service-info {
  flex: 1 1 55%;
  min-width: 280px;
}
.service-info h3 {
  margin-top: 0;
  font-size: 1.75rem;
}
.service-info .description {
  margin: 1rem 0;
  line-height: 1.6;
}
.service-info .btn {
  margin-top: 0.5rem;
}

/* Reservation wizard */
.bienestar-reserva h1 {
  margin-top: 0;
  margin-bottom: 1rem;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.card {
  perspective: 1000px;
  position: relative;
  height: 350px;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.card.flip .card-inner {
  transform: rotateY(180deg);
}
.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.card-front {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
}
.card-front .overlay {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.55);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
.card-back {
  background: var(--card);
  color: var(--text);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.card-back h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.card-back .summary {
  flex: 1 1 auto;
  overflow-y: auto;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
}
.card-back .btn {
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.modal-overlay .modal {
  background: var(--card);
  color: var(--text);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-overlay .modal .close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent);
}
.modal-overlay .modal h3 {
  margin-top: 0;
}
.modal-overlay .modal h4 {
  margin-top: 1rem;
}
.modal-overlay .modal .btn {
  margin-top: 1rem;
}

/* Bundle grid */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* === Badge de descuento dentro de tarjetas de bono === */
.bienestar-reserva .bundle-card {
  position: relative;
  overflow: visible;
}

.bienestar-reserva .bundle-card .discount-badge {
  position: absolute !important;
  top: 12px;
  left: 12px;
  right: auto !important;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  width: auto;
  height: auto;

  
  color: #0f5132 !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}


.bienestar-reserva .bundle-card.is-promo .discount-badge {
  left: 12px !important;
  top: 12px !important;
  right: auto !important;
  z-index: 6;
}

.bundle-card .sessions {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.bundle-card .price-total {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.bundle-card .price-per {
  font-size: 0.875rem;
  color: var(--muted);
}
.bundle-card .btn {
  margin-top: 0.5rem;
}

/* Service slug page */
.bienestar-service-page .service-detail {
  max-width: 800px;
  margin: 0 auto;
}
.service-image-full img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.bienestar-service-page .cta-group {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}
.bienestar-service-page .btn-secondary {
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--accent);
}
.bienestar-service-page .btn-secondary:hover {
  background: var(--accent-light);
  color: #fff;
}

.legal-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===== Calendario Paso 3 (cal3) ===== */
.cal3 { display: grid; gap: 14px; }

/* Cabecera */
.cal3-toolbar { display:flex; align-items:center; gap:12px; justify-content:flex-start; }
.cal3-service-title { font-weight: 600; }
.cal3-service-meta { font-size: .9rem; opacity: .8; }

/* Barra de días (próximos 14) */
.cal3-datebar {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(56px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding: 6px 4px 2px;
  scroll-snap-type: x mandatory;
}
.cal3-datebar::-webkit-scrollbar { height: 8px; }
.cal3-datebar::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 10px; }

.cal3-datebtn {
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  outline: none;
}
.cal3-datebtn .dow { font-size: .75rem; opacity: .8; text-transform: uppercase; }
.cal3-datebtn .dom { font-size: 1rem; line-height: 1; }
.cal3-datebtn.is-available { background:#e6f4ea; border-color:#c6e6cf; }  /* verde */
.cal3-datebtn.is-full { background:#fde8e8; border-color:#f7c6c6; opacity:.9; } /* rojo */
.cal3-datebtn:is(:hover, :focus-visible) { filter:brightness(1.03); transform: translateY(-1px); }
.cal3-datebtn.is-current {
  box-shadow: 0 0 0 3px rgba(24,119,242,.15);
  border-color: rgba(24,119,242,.45);
  background: #eef6ff;
}

/* Carrusel de días con horas */
.cal3-days-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(280px, 86vw);
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 12px;
  scroll-snap-type: x mandatory;
}
.cal3-days-scroll::-webkit-scrollbar { height: 10px; }
.cal3-days-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 10px; }

.cal3-day-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  padding: 12px;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 220px;
}
.cal3-day-header { padding: 4px 2px 10px; }
.cal3-day-name { font-weight: 600; }

.cal3-slots {
  display: grid;
  grid-auto-rows: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 4px;
  row-gap: 24px;
  align-items: stretch;
}
@media (max-width: 520px) {
  .cal3-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.slot-btn {
  display: inline-flex;
  height: 100%;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  justify-content: center;
  align-items: center;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #f7fafc;
  text-decoration: none;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.04);
  outline: none;
}
.slot-btn:hover, .slot-btn:focus { background:#eef6ff; border-color: rgba(24,119,242,.3); }
.slot-btn[aria-selected="true"] {
  background:#e7f0ff;
  border-color: rgba(24,119,242,.5);
  box-shadow: 0 0 0 3px rgba(24,119,242,.15);
}

/* Barra de confirmación */
.cal3-booking-bar {
  position: sticky;
  bottom: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.cal3-booking-title { font-weight: 700; }
.cal3-booking-when { font-size: .95rem; opacity: .9; }
.cal3-cta {
  padding: 10px 14px;
  border-radius: 12px;
  background: #1877f2;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.cal3-cta:hover { filter: brightness(1.05); }

/* Estado desactivado del CTA */
.cal3-cta.is-disabled,
.cal3-cta[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  filter: none; /* anula hover */
}

/* ====== Booking / Checkout (Bienestar) ====== */
:root {
  --cta: #1877f2;        /* azul CTA */
  --cta-hover: #2f855a;  /* hover en verde de la marca */
}

.bienestar-booking {
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 20px;
}
@media (max-width: 860px) {
  .booking-grid { grid-template-columns: 1fr; }
}

.box-card {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 16px 18px;
}

.booking-summary-card h2,
.payment-box h3 {
  margin: 0 0 .5rem 0;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.summary-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid rgba(24,119,242,.25);
  color: #0f3d8f;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}
.price-row .label { color: var(--muted); }
.price-row .value { font-weight: 700; font-size: 1.1rem; }

.bundle-note {
  margin-top: 8px;
  background: #fff8e6;
  border: 1px solid #ffe4a3;
  color: #995c00;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .9rem;
}

.payment-box .radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fafcff;
  width: fit-content;
}



/* Sticky CTA bottom */
.checkout-cta {
  position: sticky;
  bottom: 10px;
  z-index: 10;
  background: #ffffffcc;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-cta {
  display: inline-block;
  background: var(--cta);
  color: #fff !important;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  transition: background .15s ease, transform .05s ease;
}
.btn-cta:hover { background: var(--cta-hover); }
.btn-cta:active { transform: translateY(1px); }
.btn-cta[disabled],
.btn-cta[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: var(--text);
  padding: .6rem .9rem;
  border-radius: 10px;
  font-weight: 600;
}
.btn-ghost:hover { background: #f8fafc; }

/* === Bienestar: Booking / Checkout === */
:root {
  --cta: #1877f2;
  --cta-hover: #2f855a; /* pedido por el cliente */
}

.bienestar-booking h1 { margin-top: 0; margin-bottom: 1rem; }

.booking-summary-card {
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 1rem 1rem 0.5rem;
  margin-bottom: 1rem;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: space-between;
  margin-bottom: .25rem;
}
.summary-title {
  font-weight: 700;
  font-size: 1.15rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.1);
  background: #f7fafc;
}
.pill-bundle { background: #e6f4ea; border-color: #c6e6cf; }
.pill-countdown { background: #eef6ff; border-color: rgba(24,119,242,.35); }

.bundle-note {
  font-size: .95rem;
  color: var(--muted);
  margin: .25rem 0 .5rem;
}

.summary-content { 
  display: grid; 
  gap: .25rem; 
  margin-top: .25rem; 
}
.summary-content .price-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .25rem; margin-top: .25rem;
  border-top: 1px dashed rgba(0,0,0,.12);
  font-weight: 700;
}
.summary-actions { display: flex; justify-content: flex-end; margin-top: .5rem; }

.payment-box {
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 1rem;
}
.payment-box .radio { display: flex; align-items: center; gap:.5rem; margin: .25rem 0 .5rem; }
.payment-box .hint { color: var(--muted); font-size: .95rem; margin: .25rem 0 .75rem; }

.btn-primary {
  background: var(--cta);
  color: #fff;
}
.btn-primary:hover { background: var(--cta-hover); color: #fff; }

/* === Booking polish === */
.booking-summary-card {
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.08);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.summary-header {
  display:flex; align-items:center; justify-content:space-between;
  gap:.75rem; margin-bottom:.5rem;
}
.summary-header .title {
  display:flex; align-items:center; gap:.5rem; font-weight:700; font-size:1.125rem;
}
.summary-header .badge {
  background:#eef2ff; color:#1e3a8a; border:1px solid rgba(0,0,0,.06);
  padding:.15rem .5rem; border-radius:999px; font-size:.75rem; font-weight:700;
}

.countdown-pill {
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.25rem .5rem; border-radius:999px;
  background:#fff7ed; border:1px solid #fed7aa; font-weight:600; font-size:.875rem;
}

.note-banner {
  background:#fff7ed; border:1px solid #fed7aa; color:#7c2d12;
  border-radius:12px; padding:.75rem .75rem; margin-bottom:.75rem;
}

.when-row {
  display:flex; align-items:center; justify-content:space-between;
  gap: .75rem; margin:.25rem 0 .75rem 0;
  font-size:.95rem;
}

.price-and-coupon { display:grid; grid-template-columns: 1fr auto; gap:.75rem; align-items:center; }
.price-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.price-row .label { color: var(--muted); }
.price-row .value { font-weight:700; font-size:1.125rem; }

.coupon {
  display:flex; align-items:center; gap:.5rem;
}
.coupon input {
  border:1px solid #e2e8f0; border-radius:10px; padding:.45rem .6rem;
  min-width: 180px;
}

/* CTA azul con hover verde (pedido) */
.btn-cta {
  background:#1877f2 !important;
  color:#fff !important;
}
.btn-cta:hover {
  background:#2f855a !important;
  color:#fff !important;
}

/* Botón corregir fecha: discreto */
.btn-subtle {
  background: #f1f5f9; color: var(--text);
  border: 1px solid #e2e8f0;
  padding: .35rem .6rem;
  border-radius: 10px;
  font-size: .9rem;
}
.btn-subtle:hover { filter: brightness(0.98); }

/* Mensajes */
.msg {
  margin-top: 8px;
  font-size: .92rem;
  min-height: 1.2em;
}

.msg.is-error { color:#b91c1c; }
.msg.is-ok { color:#166534; }
.msg.is-info { color:#334155; }

/* Utilidad accesible */
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* =========================
   Auth (login/registro)
   ========================= */

/* Botón del header: discreto */
.btn-link,
.btn-auth {
  background: transparent;
  border: 1px solid #e2e8f0;
  padding: .40rem .65rem;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
}
.btn-link:hover,
.btn-auth:hover { background: #f1f5f9; }

/* Contenedor de botones del header */
.auth-area { display: flex; align-items: center; gap: .5rem; }

/* -------- Modal: formulario -------- */
.auth-form { display: grid; gap: .75rem; }
.field .label {
  display:block; font-size:.85rem; color: var(--muted); margin-bottom: .25rem;
}

.input {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease;
  font-size: 1rem;
}
.input:focus {
  outline: none;
  border-color: rgba(24,119,242,.35);
  box-shadow: 0 0 0 3px rgba(24,119,242,.15);
}

/* Campo con icono (mostrar/ocultar) */
.input-with-icon { position: relative; }
.input-with-icon .input { padding-right: 44px; }

.icon-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; padding: 0; cursor: pointer;
}

/* SVG del ojo: líneas limpias y centradas */
.icon-btn svg { width: 22px; height: 22px; display: block; }
.icon-btn svg .eye { fill: none; stroke: var(--accent); stroke-width: 1.8; }
.icon-btn svg .slash { fill: none; stroke: var(--accent); stroke-width: 1.8; display: none; }

/* Cuando el botón está "on" (aria-pressed="true") mostramos la barra */
/* (estado: mostrando texto) */
.toggle-pass[aria-pressed="true"] svg .slash { display: inline; }
.toggle-pass[aria-pressed="true"] svg .eye { stroke: var(--accent); }

/* Efecto hover del icono */
.icon-btn:hover svg .eye,
.icon-btn:hover svg .slash { stroke: #1a6e44; }

/* Mensajes de feedback */
#auth-modal .msg { min-height: 1.2em; margin-top: .25rem; }
#auth-modal .msg.is-error { color: #b42318; }
#auth-modal .msg.is-ok    { color: #027a48; }

.actions-row { margin-top: .2rem; }
.actions-row .link { font-size:.9rem; color: var(--accent); text-decoration: none; }
.actions-row .link:hover { text-decoration: underline; }

/* Botón principal del modal (menos “azul”) */
.btn.full { width: 100%; }
.btn.btn-primary { background: var(--accent); color:#fff; border: 0; border-radius: 10px; padding:.7rem 1rem; }
.btn.btn-primary:hover { background: var(--accent-light); }

/* Modal caja */
#auth-modal .modal { max-width: 440px; border-radius: 14px; }
#auth-modal h3 { margin-top: 0; margin-bottom: .25rem; }
#auth-modal .note { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
#auth-modal .auth-switch { margin-top: .25rem; font-size: .95rem; }

/* =========================
   Header: menú de cuenta
   ========================= */
.account-wrap { position: relative; }

/* El menú existe en el DOM pero va oculto con [hidden] por JS */
.account-wrap .account-menu[hidden] { display: none !important; }

.account-wrap .account-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  min-width: 220px; padding: 6px;
  z-index: 1000;
}

/* Items del menú */
.account-item {
  display: block;
  padding: .55rem .7rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.account-item:hover { background: var(--bg2); }
.account-item.danger {
  color: #b42318; background: transparent; border: 0;
  width: 100%; text-align: left; cursor: pointer;
}
.account-item.danger:hover { background: #fee2e2; }

/* El botón de auth cambia de copia con la sesión */
#btn-open-auth[data-auth-state="logged-out"] { border-color:#e2e8f0; }
#btn-open-auth[data-auth-state="logged-in"]  { border-color:#e2e8f0; }

/* =========================
   Overrides/resets antiguos
   ========================= */
/* Eliminamos pseudo-iconos previos que dibujaban “una barra” */
.toggle-pass::before { content: none !important; }
/* Compatibilidad con reglas antiguas basadas en .show/.hide */
.icon-btn svg .show,
.icon-btn svg .hide { display: none !important; }

/* =========================
   Email Verify / Reset pages
   ========================= */

.auth-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
}

.auth-card {
  background: var(--card);
  color: var(--text);
  width: min(560px, 92vw);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 1.25rem 1.1rem;
}

.auth-title {
  margin: 0 0 .25rem 0;
  font-size: 1.6rem;
}

.auth-subtitle {
  margin: 0 0 .75rem 0;
  color: var(--muted);
}

.auth-footnote {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .9rem;
}

.hint {
  font-size: .9rem;
  color: var(--muted);
  margin-top: .25rem;
}

.badge {
  display: inline-block;
  margin-left: .4rem;
  font-size: .75rem;
  font-weight: 700;
  color: #1e3a8a;
  background: #eef2ff;
  border: 1px solid rgba(24,119,242,.25);
  padding: .15rem .5rem;
  border-radius: 999px;
}

/* Reusar estilos existentes */
.auth-form .label { color: var(--muted); }
.auth-form .input { background: #fff; }

/* CTA azul (atención) con hover verde (marca) */
.btn-cta {
  background: var(--cta) !important;   /* azul para llamar atención */
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: .7rem 1rem;
  font-weight: 700;
}
.btn-cta:hover {
  background: var(--cta-hover) !important; /* verde marca en hover */
}

/* Header: botón hamburguesa + drawer */
.site-header .menu-toggle {
  display: none !important; /* forzamos oculto en desktop */
  color: var(--text);            /* define color del icono */
  flex-direction: column;        /* barras apiladas */
  align-items: center;
  justify-content: center;
  gap: 4px;                      /* separación entre barras */
  height: 40px;
  padding: 6px 10px;
}

.site-header .menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;      /* hereda color -> contraste garantizado */
}

/* foco/hover accesibles */
.site-header .menu-toggle:hover { color: var(--accent); }
.site-header .menu-toggle:focus-visible {
  outline: 3px solid rgba(24,119,242,.35);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .site-header .menu-toggle { display: inline-flex !important; }
  .site-header .site-nav,
  .site-header .selectors { display: none !important; }
}

/* Drawer lateral */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1190;
}
.mobile-drawer {
  position: fixed; top: 0; bottom: 0; right: -100%;
  width: 80vw;
  max-width: 360px;
  background: var(--card);
  box-shadow: -10px 0 30px rgba(0,0,0,.15);
  padding: 12px;
  gap: 0.75rem;
  transition: right .25s ease;
  z-index: 1200;
  display: grid; gap: 1rem;
}
.mobile-drawer .mobile-nav {
  display: grid; gap: .5rem;
}
.mobile-drawer .mobile-nav .nav-link {
  display: flex;               /* evita que crezcan en altura */
  align-items: center;         /* centra verticalmente el texto */
  gap: .5rem;
  padding: 12px 14px;          /* compacto */
  font-size: 1rem;
  line-height: 1.25;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}
.mobile-drawer .mobile-nav .nav-link:hover {
  background: var(--bg2);
}
.mobile-drawer .mobile-selectors {
  display: grid;
  gap: .5rem;
}
.mobile-drawer .mobile-selectors form { margin: 0; }
.mobile-drawer .mobile-selectors select {
  display: block;
  width: 100%;
  height: 44px;
  font-size: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 .6rem;
  background: #fff;
}

/* Botón "Iniciar sesión" consistente y full-width */
.mobile-drawer .btn-auth {
  width: 100%;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}
.mobile-drawer .btn-auth:hover {
  background: #f8fafc;
}

/* Estado abierto */
.drawer-open .mobile-drawer { right: 0; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }

/* saneamiento global del box model */
*, *::before, *::after { box-sizing: border-box; }

#contacto { scroll-margin-top: 90px; }

/* === PROMO CARD – estilos especiales === */
.bundle-card.is-promo {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--accent);
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease;
  isolation: isolate; /* para que la cinta se apile bien */
}

.bundle-card.is-promo:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

/* Cinta diagonal en esquina */
.bundle-card.is-promo .promo-ribbon {
  position: absolute;
  top: 14px;
  right: -44px; /* desplazar para cruzar la esquina */
  transform: rotate(45deg);
  z-index: 2;
  display: inline-block;
  padding: 8px 72px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  background: var(--ribbon-bg, #e11d48); /* fallback rojo */
  color: var(--ribbon-fg, #fff);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* Badge de descuento en promo: arriba-izquierda para no chocar con la cinta */
.bundle-card.is-promo .discount-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
}

/* Contenido de la tarjeta promo */
.bundle-card.is-promo .sessions {
  font-size: 1.05rem;
  opacity: .95;
}

.bundle-card.is-promo .price-total {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 6px;
}

.bundle-card.is-promo .price-per {
  opacity: .85;
}

.bundle-card.is-promo .promo-note {
  margin-top: 8px;
  font-size: .9rem;
  opacity: .9;
}

/* Fondo decorativo suave por tema */
.bundle-card.is-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .14;                 /* patrón sutil */
  background-size: 22px 22px;
  background-blend-mode: multiply;
}

/* Capa base para color de la tarjeta (debajo del contenido) */
.bundle-card.is-promo {
  background: var(--promo-bg, linear-gradient(135deg, #fffbeb, #fef3c7));
  color: var(--promo-fg, var(--text));
}

/* Eleva el contenido por encima de pseudo-elementos */
.bundle-card.is-promo > * {
  position: relative;
  z-index: 1;
}

/* ---------------- Temas ---------------- */

/* Navidad */
.theme-xmas.bundle-card.is-promo {
  --promo-bg: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 48%, #bbf7d0 100%);
  --promo-fg: #064e3b;
  --ribbon-bg: #16a34a; /* verde */
  --ribbon-fg: #ffffff;
  border-color: #16a34a;
}
.theme-xmas.bundle-card.is-promo::before {
  /* copos como puntitos */
  background-image:
    radial-gradient(currentColor 1px, transparent 1px),
    radial-gradient(currentColor 1px, transparent 1px);
  background-position: 0 0, 11px 11px;
  color: #065f46;
}

/* Halloween */
.theme-halloween.bundle-card.is-promo {
  --promo-bg: linear-gradient(135deg, #fff7ed 0%, #ffedd5 48%, #fed7aa 100%);
  --promo-fg: #3d1d00;
  --ribbon-bg: #f97316; /* naranja */
  --ribbon-fg: #1a0b00;
  border-color: #f97316;
}
.theme-halloween.bundle-card.is-promo::before {
  /* “murciélagos” abstractos: rombos */
  background-image:
    linear-gradient(45deg, currentColor 12%, transparent 12%),
    linear-gradient(-45deg, currentColor 12%, transparent 12%);
  color: #7c2d12;
}

/* Primavera */
.theme-spring.bundle-card.is-promo {
  --promo-bg: linear-gradient(135deg, #eef2ff, #e9d5ff);
  --promo-fg: #312e81;
  --ribbon-bg: #8b5cf6;
  --ribbon-fg: #fff;
  border-color: #8b5cf6;
}
.theme-spring.bundle-card.is-promo::before {
  background-image:
    radial-gradient(currentColor 1px, transparent 1px),
    radial-gradient(currentColor 1px, transparent 1px);
  background-position: 0 0, 11px 11px;
  color: #6d28d9;
}

/* Verano */
.theme-summer.bundle-card.is-promo {
  --promo-bg: linear-gradient(135deg, #ecfeff, #cffafe);
  --promo-fg: #083344;
  --ribbon-bg: #06b6d4;
  --ribbon-fg: #002b36;
  border-color: #06b6d4;
}
.theme-summer.bundle-card.is-promo::before {
  background-image:
    repeating-linear-gradient(45deg, currentColor 0 2px, transparent 2px 8px);
  color: #0e7490;
}

/* Limpio (sin patrón) */
.theme-clean.bundle-card.is-promo {
  --promo-bg: #ffffff;
  --promo-fg: var(--text);
  --ribbon-bg: var(--accent);
  --ribbon-fg: #fff;
  border-color: var(--accent);
}
.theme-clean.bundle-card.is-promo::before { background: none; }

/* Botón dentro de promo mejora contraste */
.bundle-card.is-promo .btn {
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 18px;
}

.bundle-card.is-promo:hover::before {
  animation: promoFloat 6s linear infinite;
}
@keyframes promoFloat {
  from { background-position: 0 0, 11px 11px; }
  to   { background-position: 22px 22px, 33px 33px; }
}

/* Contenedor con icono dentro del input */
.input-with-icon{
  position: relative;
}
.input-with-icon .input{
  padding-right: 44px; /* deja sitio al botón */
}

/* === Toggle password con texto === */
.input-with-icon { position: relative; }
.input-with-icon .input { padding-right: 90px; } /* espacio para el botón */

.text-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: .2rem .35rem;
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
}
.text-toggle:hover { text-decoration: underline; }

/* Limpia estilos del botón antiguo con SVG */
.icon-btn svg, .icon-btn .show, .icon-btn .hide { display: none !important; }

/* en tu style.css */
.btn-link{
  background: none; border: 0; color: var(--accent, #2F7D32);
  cursor: pointer; padding: 0 .25rem; font-weight: 600;
}
.btn-link:hover{ text-decoration: underline; }

/* Tarjetas de bono */
.bundle-card {
  position: relative;
  overflow: visible; /* importante para que el ribbon no se corte */
  border-radius: 12px;
}

/* Intensidades (opcional si ya existían) */
.badge1 { background: rgba(16, 116, 78, 0.12); }
.badge2 { background: rgba(16, 116, 78, 0.18); }
.badge3 { background: rgba(16, 116, 78, 0.24); }

/* Ribbon diagonal mejorado (esquina superior derecha) */
.bundle-card.has-ribbon .promo-ribbon {
  position: absolute;
  top: 16px;
  right: -56px;               /* desplaza hacia fuera para que quepa el texto */
  width: 260px;               /* ancho suficiente para textos largos */
  text-align: center;
  padding: 10px 0;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  transform: rotate(45deg);
  background: #2F8D5E;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-radius: 6px;
  pointer-events: none;       /* no interfiere con el botón */
}

/* Ajustes responsive para móvil */
@media (max-width: 600px) {
  .bundle-card.has-ribbon .promo-ribbon {
    right: -48px;
    width: 220px;
    padding: 8px 0;
    font-size: 0.85rem;
  }
  .bundle-card .discount-badge {
    font-size: 0.8rem;
    padding: 6px 8px;
  }
}

/* ===== FIX DESCUENTOS EN TARJETAS DE BONO (posición + contraste) ===== */
.bienestar-reserva .bundle-card { 
  position: relative !important; 
  overflow: visible !important; 
}

.bienestar-reserva .bundle-card .discount-badge {
  position: absolute !important;
  /* esquina superior izquierda consistente en todas las tarjetas */
  top: 10px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;

  z-index: 20 !important;          /* por encima del contenido */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;

  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  font-size: 0.82rem !important;

  /* contraste garantizado (independiente del tema) */
  background: #e6f4ea !important;
  color: #0f5132 !important;
  border: 1px solid #a3cfbb !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.08) !important;

  text-shadow: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  pointer-events: none; /* no molesta al click en móvil */
}

/* Mantener el badge por encima del ribbon diagonal si coincide */
.bienestar-reserva .bundle-card.has-ribbon .promo-ribbon { 
  z-index: 10 !important; 
}
.bienestar-reserva .bundle-card.is-promo .discount-badge { 
  z-index: 20 !important; 
}

/* Ajuste responsivo: badge algo más compacto en móviles */
@media (max-width: 600px) {
  .bienestar-reserva .bundle-card .discount-badge {
    font-size: 0.78rem !important;
    padding: 5px 8px !important;
    top: 8px !important;
    left: 10px !important;
  }
}

/* ===== FIX: Centrado de contenido en tarjetas de bono ===== */
.bienestar-reserva .bundle-card {
  /* layout vertical centrado para el contenido */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;

  /* un poco de padding para respirar y no chocar con el badge */
  padding: 16px 18px 14px !important;
  gap: 6px !important;

  /* que el ribbon/badge (absolutos) no se vean afectados */
  position: relative !important;
  overflow: visible !important;
}

/* Forzamos centrado de cada bloque textual dentro de la tarjeta */
.bienestar-reserva .bundle-card .sessions,
.bienestar-reserva .bundle-card .price-total,
.bienestar-reserva .bundle-card .price-per {
  width: 100%;
  text-align: center !important;
  margin: 0 auto !important;
}

/* El botón “Reservar” centrado */
.bienestar-reserva .bundle-card .btn {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* La tarjeta promo hereda el mismo centrado, mantenemos z-index del ribbon/badge */
.bienestar-reserva .bundle-card.has-ribbon .promo-ribbon { z-index: 10 !important; }
.bienestar-reserva .bundle-card.is-promo .discount-badge { z-index: 20 !important; }

/* En móviles mantenemos todo centrado y compacto */
@media (max-width: 600px) {
  .bienestar-reserva .bundle-card {
    padding: 14px 14px 12px !important;
    gap: 5px !important;
  }
}

.not-found .nf-wrap { max-width: 760px; margin: 3rem auto; text-align: center; padding: 2rem; }
.not-found h1 { font-size: clamp(3rem, 8vw, 5rem); margin: 0 0 .5rem; }
.not-found .hint { color: #64748b; margin-bottom: 1rem; }
.not-found .btn { display:inline-block; padding:.6rem 1rem; border:1px solid #2F7D32; border-radius: 8px; text-decoration:none; margin:.25rem; }

