/* ── Momentos Reservas · Public ─────────────────────────── */
/* Bloquear hover de Elementor en todos los botones del plugin */
.mr-wrap button:hover,
.mr-wrap button:focus {
  background-color: unset !important;
  color: unset !important;
  text-decoration: none !important;
}
.mr-btn-primary:hover,
.mr-btn-primary:focus {
  opacity: .82 !important;
  color: #fff !important;
}
.mr-btn-back:hover,
.mr-btn-back:focus {
  background: rgba(195,188,240,0.2) !important;
  color: #555 !important;
}
.mr-btn-nav:hover,
.mr-btn-nav:focus {
  background: #ebebeb !important;
  color: #555 !important;
}

.mr-wrap {
  max-width: 560px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

/* Steps */
.mr-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.5);
  border-radius: 40px;
  padding: 6px 14px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.mr-step {
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: .35;
  transition: opacity .2s;
}
.mr-step.active { opacity: 1; }
.mr-step.done   { opacity: .55; }
.mr-step-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  flex-shrink: 0;
}
.mr-step.active .mr-step-num,
.mr-step.done .mr-step-num { background: #7c6fcd; color: #fff; border-color: #7c6fcd; }
.mr-step-label { font-size: 11px; font-weight: 500; white-space: nowrap; }
.mr-step-line  { width: 16px; height: 1px; background: #ddd; flex-shrink: 0; }

/* Panels */
.mr-panel { display: none; }
.mr-panel.active { display: block; }
.mr-panel-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #111;
  letter-spacing: -.3px;
}
.mr-panel-sub {
  font-size: 13px;
  color: #888;
  margin: 0 0 1.75rem;
}

/* ── CALENDARIO ──────────────────────────────────────────── */
.mr-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.mr-month-label {
  font-size: 15px;
  font-weight: 600;
  color: #111;
}
.mr-month-select {
  font-size: 15px; font-weight: 600; color: #111;
  border: none; background: none; cursor: pointer; outline: none;
  font-family: inherit; padding: 4px 22px 4px 6px;
  border-radius: 8px; transition: background .15s;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.mr-month-select:hover { background: rgba(195,188,240,0.2); }
.mr-month-select:focus { outline: none; }
.mr-btn-nav {
  width: 34px; height: 34px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: #555;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.mr-btn-nav:hover { background: #ebebeb !important; color: #555 !important; }
.mr-btn-nav:focus { background: #ebebeb !important; color: #555 !important; }

.mr-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.mr-cal-hd {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #bbb;
  letter-spacing: .05em;
  padding: 4px 0 10px;
}
.mr-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  background: none;
  color: #111;
  font-weight: 400;
  transition: background .15s;
  position: relative;
}
.mr-cal-day:hover:not(.mr-dis):not(.mr-emp):not(.mr-cerrado):not(.mr-completo) {
  /* hover color definido por estilos dinámicos */
}
.mr-cal-day.mr-sel {
  background: #7c6fcd;
  font-weight: 600;
  /* color y hover definidos por estilos dinámicos en Estilos */
}
.mr-cal-day.mr-today {
  font-weight: 700;
  color: #111;
}
.mr-cal-day.mr-today::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #7c6fcd;
}
.mr-cal-day.mr-sel::after { background: #fff; }
.mr-cal-day.mr-dis { color: #ddd; cursor: default; }
.mr-cal-day.mr-emp { cursor: default; }

/* Estados de disponibilidad */
.mr-cal-day.mr-cerrado {
  color: #ddd;
  cursor: default !important;
  background: none;
  pointer-events: none;
}
.mr-cal-day.mr-completo {
  color: #ccc;
  cursor: not-allowed !important;
  background: #f7f7f7;
  text-decoration: line-through;
  text-decoration-color: #ddd;
  pointer-events: none;
}
.mr-cal-day.mr-parcial {
  background: #fffbeb;
  color: #92400e;
  font-weight: 500;
  cursor: pointer;
}
.mr-cal-day.mr-disponible {
  color: #111;
  cursor: pointer;
}
.mr-cal-day.mr-cargando {
  color: #ddd;
  cursor: default;
  pointer-events: none;
}
.mr-cal-leyenda-pub {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.mr-cal-leyenda-pub span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #aaa;
}
.mr-cal-leyenda-pub i {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ── TURNOS ──────────────────────────────────────────────── */
.mr-turnos-wrap { margin-top: 1.5rem; }
.mr-turnos-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #aaa;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.mr-turnos-grid { display: flex; flex-direction: column; gap: 8px; }

.mr-turno {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border: 1.5px solid #ebebeb;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: #fff;
}
.mr-turno:hover:not(.mr-turno-booked):not(.mr-turno-sel) {
  border-color: #7c6fcd;
  background: rgba(195,188,240,0.1);
}
.mr-turno.mr-turno-sel {
  border-color: #7c6fcd;
  background: #7c6fcd;
}
.mr-turno.mr-turno-sel .mr-turno-name,
.mr-turno.mr-turno-sel .mr-turno-hora { color: #fff; }
.mr-turno.mr-turno-sel .mr-turno-price { color: #fff; }
.mr-turno.mr-turno-booked {
  opacity: .4;
  cursor: default;
  background: #fafafa;
}
.mr-turno-left { display: flex; flex-direction: column; gap: 3px; }
.mr-turno-name { font-size: 14px; font-weight: 500; color: #111; }
.mr-turno-hora { font-size: 12px; color: #999; }
.mr-turno-price { font-size: 16px; font-weight: 600; color: #111; }
.mr-turno-dis   { font-size: 11px; color: #ccc; }
.mr-fest-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff3e0;
  color: #e67e22;
  vertical-align: middle;
  margin-left: 4px;
}
.mr-turno.mr-turno-sel .mr-fest-badge { background: rgba(255,255,255,.2); color: #fff; }

/* ── EXTRAS ──────────────────────────────────────────────── */
.mr-extras-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.25rem; }
.mr-extra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border: 1.5px solid #ebebeb;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.mr-extra:hover { border-color: #ccc; }
.mr-extra.mr-extra-sel {
  border-color: #7c6fcd;
  background: rgba(195,188,240,0.1);
}
.mr-extra-name  { font-size: 14px; font-weight: 500; color: #111; }
.mr-extra-price { font-size: 13px; color: #888; }
.mr-extra-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  transition: all .15s;
}
.mr-extra.mr-extra-sel .mr-extra-check {
  background: #111;
  border-color: #111;
  color: #fff;
}
.mr-extra-none { font-size: 13px; color: #aaa; padding: .5rem 0; }

/* ── FORM ────────────────────────────────────────────────── */
.mr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.mr-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ebebeb;
  border-radius: 10px;
  font-size: 14px;
  color: #111;
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s;
  background: #fff;
  font-family: inherit;
}
.mr-input:focus { border-color: #7c6fcd; }
.mr-input::placeholder { color: #bbb; }
.mr-full { width: 100%; display: block; margin-bottom: 8px; }
.mr-textarea { min-height: 80px; resize: vertical; }

/* ── SUMMARY ─────────────────────────────────────────────── */
.mr-summary {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-top: 1.25rem;
}
.mr-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #777;
  padding: 4px 0;
}
.mr-total {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 6px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.mr-nav-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}
.mr-btn-primary {
  background: #7c6fcd;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .15s;
  font-family: inherit;
}
.mr-btn-primary:hover    { opacity: .82; }
.mr-btn-primary:focus    { opacity: .9; }
.mr-btn-primary:disabled { opacity: .25; cursor: default; }
.mr-btn-primary.mr-full  { width: 100%; }
.mr-btn-back {
  background: none;
  border: 1.5px solid #ebebeb;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
  color: #111;
  transition: background .15s;
  font-family: inherit;
}
.mr-btn-back:hover { background: #f5f5f5; }

/* ── STRIPE ──────────────────────────────────────────────── */
.mr-stripe-note {
  font-size: 11px;
  color: #bbb;
  text-align: center;
  margin-top: .75rem;
}
.mr-error {
  color: #c0392b;
  font-size: 13px;
  padding: 10px 14px;
  background: #fef0f0;
  border-radius: 8px;
  margin-top: .75rem;
}

/* ── SUCCESS ─────────────────────────────────────────────── */
.mr-success-wrap { text-align: center; padding: 3rem 1rem; }
.mr-success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #f0fdf4;
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.mr-success-icon svg { width: 30px; height: 30px; stroke: #7c6fcd; }
.mr-success-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -.2px;
}
.mr-success-msg {
  font-size: 13px;
  color: #888;
  white-space: pre-line;
  line-height: 1.7;
}

/* ── MÉTODOS DE PAGO ─────────────────────────────────────── */
.mr-metodos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: .5rem;
}
.mr-metodo {
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}
.mr-metodo:hover { border-color: #999; background: #fafafa; }
.mr-metodo.mr-metodo-sel { border-color: #7c6fcd; background: #7c6fcd; }
.mr-metodo.mr-metodo-sel .mr-metodo-nombre { color: #fff; }
.mr-metodo.mr-metodo-sel .mr-metodo-desc   { color: rgba(255,255,255,.6); }
.mr-metodo-icon   { font-size: 24px; margin-bottom: 6px; }
.mr-metodo-nombre { font-size: 13px; font-weight: 600; color: #111; }
.mr-metodo-desc   { font-size: 11px; color: #aaa; margin-top: 3px; line-height: 1.4; }
.mr-info-pago {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 13px;
  color: #92400e;
  line-height: 1.6;
  margin-bottom: 1rem;
}
@media(max-width:480px){ .mr-metodos-grid { grid-template-columns: 1fr; } }

/* ── VISTA SELECTOR ─────────────────────────────────────── */
.mr-vista-selector {
  display: flex;
  gap: 4px;
  background: #f0f0f0;
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.mr-vista-opt {
  background: none;
  border: none;
  border-radius: 7px;
  padding: 6px 16px;
  font-size: 13px;
  cursor: pointer;
  color: #888;
  font-weight: 500;
  transition: all .15s;
  font-family: inherit;
}
.mr-vista-opt.active {
  background: #fff;
  color: #111;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* ── VISTA SEMANAL PÚBLICA ───────────────────────────────── */
.mr-pub-semana-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  overflow-x: auto;
}
.mr-pub-sem-col { display: flex; flex-direction: column; gap: 6px; }
.mr-pub-sem-hd {
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  background: #f8f8f8;
  font-size: 11px;
  font-weight: 600;
  color: #aaa;
  letter-spacing: .04em;
}
.mr-pub-sem-hd.mr-sh-hoy { background: #eff6ff; color: #2563eb; }
.mr-pub-sem-hd .mr-sh-num { display: block; font-size: 18px; font-weight: 500; color: #111; margin-top: 2px; }
.mr-pub-sem-hd.mr-sh-hoy .mr-sh-num { color: #2563eb; }
.mr-pub-sem-turno {
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  cursor: pointer;
  border: 1.5px solid #e8e8e8;
  background: #fff;
  transition: all .15s;
  text-align: left;
}
.mr-pub-sem-turno:hover { border-color: #999; background: #fafafa; }
.mr-pub-sem-turno.mr-st-sel { border-color: #111; background: #111; color: #fff; }
.mr-pub-sem-turno.mr-st-sel .mr-st-hora,
.mr-pub-sem-turno.mr-st-sel .mr-st-precio { color: rgba(255,255,255,.8); }
.mr-pub-sem-turno.mr-st-booked { opacity: .4; cursor: default; background: #fafafa; }
.mr-st-nombre { font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
.mr-st-hora   { font-size: 10px; color: #aaa; margin-bottom: 4px; }
.mr-st-precio { font-size: 12px; font-weight: 600; color: #111; }
.mr-pub-sem-vacio { font-size: 11px; color: #ddd; text-align: center; padding: 8px 0; }

/* ── VALIDACIÓN ──────────────────────────────────────────── */
.mr-input.mr-error-field {
  border-color: #c0392b !important;
  background: #fef9f9;
}
.mr-field-error {
  font-size: 11px;
  color: #c0392b;
  margin-top: 4px;
  display: none;
}
.mr-condiciones-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: 6px;
  display: none;
}

/* ── CONDICIONES ─────────────────────────────────────────── */
.mr-condiciones-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  margin-top: 1rem;
  line-height: 1.5;
}
.mr-condiciones-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #7c6fcd;
}
.mr-condiciones-link {
  color: #7c6fcd;
  font-weight: 500;
  text-decoration: underline;
}
.mr-condiciones-link:hover { opacity: .7; }

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  .mr-step-label { display: none; }
  .mr-form-row   { grid-template-columns: 1fr; }
  .mr-panel-title { font-size: 18px; }
}

/* ── FIRMA ────────────────────────────────────────────────── */
.mr-firma-wrap { margin-bottom: 12px; }
.mr-firma-label { font-size: 13px; font-weight: 600; color: #2d2640; display: block; margin-bottom: 4px; }
.mr-firma-hint { font-size: 11px; color: #aaa; margin-bottom: 8px; }
.mr-firma-canvas {
  display: block;
  width: 100%;
  max-width: 500px;
  height: 150px;
  border: 1.5px solid rgba(195,188,240,0.6);
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  cursor: crosshair;
  touch-action: none;
}
.mr-firma-canvas.mr-signed { border-color: #7c6fcd; }
.mr-firma-canvas.mr-error-field { border-color: #dc2626; }
.mr-firma-actions { margin-top: 6px; }
.mr-btn-firma-clear {
  font-size: 11px; color: #888; background: none;
  border: 1px solid #ddd; border-radius: 6px;
  padding: 4px 12px; cursor: pointer; font-family: inherit;
}
.mr-btn-firma-clear:hover { border-color: #aaa; color: #555; }

/* ── RGPD INFO ────────────────────────────────────────────── */
.mr-rgpd-info {
  background: rgba(195,188,240,0.12);
  border: 1px solid rgba(195,188,240,0.4);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
}
.mr-rgpd-info p {
  font-size: 11px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}
.mr-rgpd-info a { color: #7c6fcd; }
