/* ==========================================================================
   RESERVAR CITA (sitio público) — Salón SHADDAI
   Diseño mobile-first con los colores institucionales (dorado / crema /
   café). Prefijo .rsv-  ·  JS: assets/js/reserva-public.js
   ========================================================================== */

.rsv-section [hidden],
.rsv-modal [hidden] { display: none !important; }
html.rsv-lock { overflow: hidden; }

:root {
  --rsv-gold: #098fa1;
  --rsv-gold-2: #20a8b5;
  --rsv-gold-dark: #087784;
  --rsv-gold-grad: linear-gradient(135deg, #0aa0b1 0%, #098fa1 55%, #087784 100%);
  --rsv-cream: #f8ffff;
  --rsv-cream-2: #e8f7f8;
  --rsv-line: rgba(9, 143, 161, .24);
  --rsv-line-2: rgba(9, 143, 161, .46);
  --rsv-text: #173b41;
  --rsv-soft: #58727a;
  --rsv-ok: #1f8a4c;
  --rsv-err: #b83a2b;
  --rsv-radius: 18px;
  --rsv-shadow: 0 18px 50px rgba(9, 143, 161, .14), 0 3px 10px rgba(9, 143, 161, .06);
}

/* ===================== HERO ===================== */
.rsv-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 86px;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(32, 168, 181, .34), transparent 55%),
    radial-gradient(80% 120% at 100% 100%, rgba(9, 143, 161, .32), transparent 60%),
    linear-gradient(160deg, #087784 0%, #075c68 100%);
}
.rsv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/header-leaf-ornament.webp') right -60px top -40px / 320px auto no-repeat;
  opacity: .12;
  pointer-events: none;
}
.rsv-hero__inner { position: relative; max-width: 760px; }
.rsv-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(218, 249, 251, .42);
  background: rgba(255, 255, 255, .06);
  color: #e6fbfc; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.rsv-hero h1 {
  margin: 14px 0 8px;
  font-family: var(--pub-font-display, 'Playfair Display', serif);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  color: #ffffff;
  line-height: 1.15;
}
.rsv-hero p { margin: 0 auto; max-width: 560px; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.rsv-hero__chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.rsv-hero__chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(218, 249, 251, .28);
  font-size: .76rem; color: #ffffff;
}
.rsv-hero__chips i { color: #b8edf1; }

/* ===================== CONTENEDOR / TARJETA ===================== */
.rsv-section { position: relative; padding: 0 0 56px; margin-top: -58px; }
.rsv-container { max-width: 880px; }
.rsv-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--rsv-line);
  border-radius: 26px;
  box-shadow: var(--rsv-shadow);
  padding: 26px 28px 0;
}
.rsv-card::before {
  content: '';
  position: absolute; left: 24px; right: 24px; top: 0; height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--rsv-gold-grad);
}

/* ===================== PROGRESO ===================== */
.rsv-progress { margin-bottom: 22px; }
.rsv-progress__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.rsv-progress__count { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rsv-gold); }
.rsv-progress__title { margin: 2px 0 0; font-family: var(--pub-font-display, serif); font-size: 1.45rem; color: var(--rsv-text); line-height: 1.2; }
.rsv-progress__badge {
  display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px;
  border-radius: 16px; background: var(--rsv-gold-grad); color: #fff; font-size: 1.15rem;
  box-shadow: 0 10px 20px rgba(140, 95, 8, .28);
}
.rsv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 10px !important; }
.rsv-steps li { display: flex; align-items: center; gap: 9px; min-width: 0; color: #b5a183; font-size: .8rem; font-weight: 600; }
.rsv-steps__dot {
  display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--rsv-line-2); background: var(--rsv-cream); color: #c0a879; font-size: .8rem;
  transition: all .25s ease;
}
.rsv-steps__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rsv-steps li.is-active { color: var(--rsv-text); }
.rsv-steps li.is-active .rsv-steps__dot { border-color: transparent; background: var(--rsv-gold-grad); color: #fff; box-shadow: 0 0 0 4px rgba(215, 166, 50, .18); }
.rsv-steps li.is-done { color: var(--rsv-gold-dark); }
.rsv-steps li.is-done .rsv-steps__dot { border-color: var(--rsv-gold); background: #fff4dc; color: var(--rsv-gold-dark); }
.rsv-progress__bar { height: 5px; border-radius: 99px; background: var(--rsv-cream-2); overflow: hidden; }
.rsv-progress__bar span { display: block; height: 100%; border-radius: inherit; background: var(--rsv-gold-grad); transition: width .45s cubic-bezier(.22, 1, .36, 1); }

/* ===================== ALERTA ===================== */
.rsv-alert {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 18px; padding: 12px 14px; border-radius: 14px;
  background: #fdf0ed; border: 1px solid #f2c9c1; color: #9c3020; font-size: .86rem; font-weight: 500;
  animation: rsv-shake .35s ease;
}
.rsv-alert i { margin-top: 2px; }
@keyframes rsv-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ===================== PASOS ===================== */
.rsv-step { display: none; }
.rsv-step.is-active { display: block; animation: rsv-in .35s cubic-bezier(.22, 1, .36, 1); }
.rsv-step.is-back { animation-name: rsv-in-back; }
@keyframes rsv-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes rsv-in-back { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

.rsv-hint {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 18px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(135deg, #fffaf0, #fbf1dc);
  border: 1px dashed var(--rsv-line-2);
  color: var(--rsv-soft); font-size: .84rem; line-height: 1.45;
}
.rsv-hint i { color: var(--rsv-gold); margin-top: 3px; }

/* ===================== CAMPOS ===================== */
.rsv-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.rsv-field label { font-size: .84rem; font-weight: 600; color: var(--rsv-text); }
.rsv-req { color: var(--rsv-err); }
.rsv-help { font-size: .75rem; color: var(--rsv-soft); }
.rsv-help.is-error { color: var(--rsv-err); font-weight: 600; }

.rsv-input {
  position: relative; display: flex; align-items: center;
  min-height: 54px; border-radius: 15px;
  border: 1.5px solid var(--rsv-line); background: #fffdf8;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.rsv-input:focus-within { border-color: var(--rsv-gold); background: #fff; box-shadow: 0 0 0 4px rgba(215, 166, 50, .16); }
.rsv-input.is-invalid { border-color: var(--rsv-err); box-shadow: 0 0 0 4px rgba(184, 58, 43, .1); }
.rsv-input.is-locked { background: #fff8e8; border-color: var(--rsv-line-2); }
.rsv-input > i { position: absolute; left: 16px; color: var(--rsv-gold); font-size: 1rem; pointer-events: none; }
.rsv-input input, .rsv-field textarea {
  flex: 1; min-width: 0; width: 100%;
  border: 0; outline: 0; background: transparent;
  font: 500 1rem var(--pub-font-body, 'Poppins', sans-serif); color: var(--rsv-text);
  padding: 14px 16px;
}
.rsv-input--icon input { padding-left: 46px; }
.rsv-input input::placeholder, .rsv-field textarea::placeholder { color: #bfae92; font-weight: 400; }
.rsv-field textarea { border: 1.5px solid var(--rsv-line); border-radius: 15px; background: #fffdf8; resize: vertical; min-height: 92px; font-size: .95rem; }
.rsv-field textarea:focus { border-color: var(--rsv-gold); box-shadow: 0 0 0 4px rgba(215, 166, 50, .16); background: #fff; }
.rsv-input__prefix {
  display: inline-flex; align-items: center; gap: 7px; align-self: stretch;
  padding: 0 14px; border-right: 1.5px solid var(--rsv-line);
  color: var(--rsv-soft); font-weight: 700; font-size: .92rem; background: var(--rsv-cream);
  border-radius: 14px 0 0 14px;
}
.rsv-input__prefix img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.rsv-input__ok, .rsv-input__spinner { position: absolute; right: 16px; color: var(--rsv-ok); font-size: 1.1rem; }
.rsv-input__spinner { color: var(--rsv-gold); }

/* Autocompletado */
.rsv-autocomplete { position: relative; }
.rsv-suggest {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px);
  margin: 0 !important; padding: 6px !important;
  background: #fff; border: 1px solid var(--rsv-line-2); border-radius: 16px;
  box-shadow: 0 22px 44px rgba(70, 48, 12, .18);
  max-height: 320px; overflow-y: auto; overscroll-behavior: contain;
  animation: rsv-pop .18s ease;
}
@keyframes rsv-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.rsv-suggest li[data-index] {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; cursor: pointer;
  transition: background .15s;
}
.rsv-suggest li[data-index]:hover, .rsv-suggest li.is-active { background: #fff5df; }
.rsv-suggest__avatar {
  display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--rsv-gold-grad); color: #fff; font-weight: 700; font-size: .82rem;
}
.rsv-suggest__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rsv-suggest__text strong { font-size: .93rem; color: var(--rsv-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsv-suggest__text mark { background: #fbe3a6; color: inherit; border-radius: 3px; padding: 0 1px; }
.rsv-suggest__text small { font-size: .74rem; color: var(--rsv-soft); }
.rsv-suggest__go { color: #c9b28a; transform: rotate(90deg); font-size: .8rem; }
.rsv-suggest__foot { padding: 8px 12px 6px; font-size: .72rem; color: #a8957a; border-top: 1px dashed var(--rsv-line); margin-top: 4px; }

/* Clienta reconocida */
.rsv-reconocida {
  display: flex; align-items: center; gap: 12px;
  margin: -4px 0 16px; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(135deg, #f0faf3, #e6f5eb);
  border: 1px solid #bfe3cb;
  animation: rsv-pop .25s ease;
}
.rsv-reconocida__avatar {
  display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #2aa362, #157a43); color: #fff; font-weight: 700;
  box-shadow: 0 0 0 3px #fff;
}
.rsv-reconocida__info { flex: 1; min-width: 0; }
.rsv-reconocida__info strong { display: block; color: #135d34; font-size: .95rem; }
.rsv-reconocida__info small { color: #3c7a55; font-size: .78rem; }
.rsv-link {
  border: 0; background: none; padding: 6px 8px; border-radius: 8px;
  color: var(--rsv-gold-dark); font: 700 .8rem var(--pub-font-body, sans-serif);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}
.rsv-link:hover { background: #fff3d8; }
.rsv-link--small { display: inline-flex; align-items: center; gap: 6px; margin: -6px 0 14px; font-size: .78rem; }

/* Datos opcionales */
.rsv-extra { border: 1px solid var(--rsv-line); border-radius: 16px; background: #fffdf8; margin-bottom: 8px; overflow: hidden; }
.rsv-extra summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; cursor: pointer; list-style: none;
  font-size: .88rem; font-weight: 600; color: var(--rsv-gold-dark);
}
.rsv-extra summary::-webkit-details-marker { display: none; }
.rsv-extra summary em { font-style: normal; font-weight: 500; color: var(--rsv-soft); }
.rsv-extra summary span i { margin-right: 6px; }
.rsv-extra summary > i { transition: transform .2s; font-size: .8rem; }
.rsv-extra[open] summary > i { transform: rotate(180deg); }
.rsv-extra__body { padding: 4px 16px 6px; border-top: 1px dashed var(--rsv-line); }
.rsv-extra__body .rsv-field:first-child { margin-top: 12px; }
.rsv-extra__body--center { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; }

/* ===================== PASO 2: CATÁLOGO ===================== */
.rsv-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 5px; margin-bottom: 14px; border-radius: 16px;
  background: var(--rsv-cream-2); border: 1px solid var(--rsv-line);
}
.rsv-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; border: 0; border-radius: 12px; background: transparent;
  color: var(--rsv-soft); font: 600 .88rem var(--pub-font-body, sans-serif); cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.rsv-tab.is-active { background: #fff; color: var(--rsv-gold-dark); box-shadow: 0 6px 14px rgba(110, 76, 16, .12); }
.rsv-tab__count { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: #f1e2bf; color: var(--rsv-gold-dark); font-size: .72rem; }
.rsv-tab.is-active .rsv-tab__count { background: var(--rsv-gold-grad); color: #fff; }
.rsv-buscar { margin-bottom: 14px; min-height: 48px; }

.rsv-items { display: grid; grid-template-columns: 1fr; gap: 10px; }
.rsv-item {
  position: relative;
  display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px; border-radius: 18px;
  background: #fff; border: 1.5px solid var(--rsv-line);
  cursor: pointer; outline: none;
  transition: border-color .2s, box-shadow .2s, transform .15s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.rsv-item:hover { border-color: var(--rsv-line-2); box-shadow: 0 8px 20px rgba(110, 76, 16, .08); }
.rsv-item:active { transform: scale(.99); }
.rsv-item:focus-visible { box-shadow: 0 0 0 4px rgba(215, 166, 50, .25); }
.rsv-item.is-selected { border-color: var(--rsv-gold); background: linear-gradient(135deg, #fffaf0, #fff3dc); box-shadow: 0 10px 24px rgba(140, 95, 8, .14); }

.rsv-item__media {
  position: relative; display: block; width: 84px; height: 84px; padding: 0;
  border: 0; border-radius: 14px; overflow: hidden; background: var(--rsv-cream-2);
}
.rsv-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rsv-item:hover .rsv-item__media img { transform: scale(1.05); }
.rsv-item__media--empty { display: grid; place-items: center; color: var(--rsv-gold); font-size: 1.6rem; }
.rsv-item__zoom {
  position: absolute; right: 5px; bottom: 5px; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 8px;
  background: rgba(30, 20, 6, .6); color: #fff; font-size: .66rem; backdrop-filter: blur(4px);
}
.rsv-item__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rsv-item__name {
  font-size: .94rem; font-weight: 600; color: var(--rsv-text); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rsv-item__desc {
  margin: 0; font-size: .76rem; color: var(--rsv-soft); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rsv-item__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.rsv-item__meta span {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 99px; background: var(--rsv-cream-2);
  color: var(--rsv-gold-dark); font-size: .7rem; font-weight: 600;
}
.rsv-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; align-self: stretch; padding: 4px 0; }
.rsv-item__price { font-family: var(--pub-font-display, serif); font-weight: 700; font-size: 1rem; color: var(--rsv-gold-dark); white-space: nowrap; }
.rsv-item__check {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--rsv-line-2); color: transparent; font-size: .75rem; background: #fff;
  transition: all .2s ease;
}
.rsv-item.is-selected .rsv-item__check { border-color: transparent; background: var(--rsv-gold-grad); color: #fff; transform: scale(1.08); box-shadow: 0 4px 10px rgba(140, 95, 8, .3); }

.rsv-skeleton-list { display: grid; gap: 10px; }
.rsv-skeleton { height: 104px; border-radius: 18px; background: linear-gradient(90deg, #f7efde 25%, #fdf8ee 50%, #f7efde 75%); background-size: 200% 100%; animation: rsv-shimmer 1.2s infinite; }
@keyframes rsv-shimmer { to { background-position: -200% 0; } }
.rsv-empty { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px 12px; margin: 0; color: var(--rsv-soft); font-size: .86rem; text-align: center; }
.rsv-empty i { color: var(--rsv-gold); }

/* ===================== PASO 3 ===================== */
.rsv-block { margin-bottom: 22px; }
.rsv-block__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; font-size: .98rem; font-weight: 600; color: var(--rsv-text); }
.rsv-block__title > span {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--rsv-gold-grad); color: #fff; font-size: .74rem; font-weight: 700;
}
.rsv-block__title small { font-weight: 500; color: var(--rsv-gold-dark); font-size: .82rem; }

.rsv-estilistas {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; margin: 0 -2px;
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.rsv-estilista {
  flex: 0 0 auto; width: 96px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 6px 10px; border-radius: 18px; border: 1.5px solid var(--rsv-line);
  background: #fff; cursor: pointer; font-family: var(--pub-font-body, sans-serif);
  transition: border-color .2s, box-shadow .2s, transform .15s, background .2s;
}
.rsv-estilista:hover { border-color: var(--rsv-line-2); transform: translateY(-1px); }
.rsv-estilista__avatar {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--rsv-cream-2); color: var(--rsv-gold-dark); font-weight: 700; font-size: .95rem;
  border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--rsv-line-2); margin-bottom: 4px;
}
.rsv-estilista__avatar--any { background: var(--rsv-gold-grad); color: #fff; box-shadow: none; }
.rsv-estilista__name { font-size: .8rem; font-weight: 600; color: var(--rsv-text); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsv-estilista small { font-size: .66rem; color: var(--rsv-soft); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsv-estilista.is-active { border-color: var(--rsv-gold); background: linear-gradient(180deg, #fffaf0, #fff1d6); box-shadow: 0 10px 20px rgba(140, 95, 8, .14); }
.rsv-estilista.is-active .rsv-estilista__avatar { box-shadow: 0 0 0 2px var(--rsv-gold); }

.rsv-cal { border: 1px solid var(--rsv-line); border-radius: 20px; padding: 14px; background: linear-gradient(180deg, #fffdf8, #fff); }
.rsv-cal__head { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; margin-bottom: 10px; }
.rsv-cal__head strong { text-align: center; font-family: var(--pub-font-display, serif); font-size: 1.08rem; color: var(--rsv-text); }
.rsv-cal__nav {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  border: 1px solid var(--rsv-line); background: #fff; color: var(--rsv-gold-dark); cursor: pointer;
  transition: background .15s;
}
.rsv-cal__nav:hover:not(:disabled) { background: #fff3d8; }
.rsv-cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.rsv-cal__week, .rsv-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.rsv-cal__week span { text-align: center; font-size: .7rem; font-weight: 700; color: var(--rsv-gold); text-transform: uppercase; padding: 4px 0; }
.rsv-cal__grid { min-height: 240px; align-content: start; }
.rsv-day {
  position: relative; aspect-ratio: 1 / 1; max-height: 52px; width: 100%;
  display: grid; place-items: center; border-radius: 13px; border: 1px solid transparent;
  background: transparent; color: #c7b8a0; font: 600 .9rem var(--pub-font-body, sans-serif);
  cursor: default; padding: 0;
}
.rsv-day--blank { pointer-events: none; }
.rsv-day--disponible { background: #fff7e6; border-color: #f0dcae; color: var(--rsv-gold-dark); cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s; }
.rsv-day--disponible::after { content: ''; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--rsv-gold-2); }
.rsv-day--disponible:hover { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(140, 95, 8, .14); background: #fff1d1; }
.rsv-day--completo { background: #fbeee9; color: #c48e7f; text-decoration: line-through; }
.rsv-day--pasado { opacity: .45; }
.rsv-day.is-today { box-shadow: inset 0 0 0 1.5px var(--rsv-gold); }
.rsv-day.is-selected { background: var(--rsv-gold-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(140, 95, 8, .35); transform: scale(1.04); }
.rsv-day.is-selected::after { background: #fff; }
.rsv-cal__loading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 50px 0; color: var(--rsv-gold); font-size: .86rem; }
.rsv-cal__none { grid-column: 1 / -1; margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff7e6; color: var(--rsv-soft); font-size: .8rem; text-align: center; }
.rsv-cal__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--rsv-line); font-size: .72rem; color: var(--rsv-soft); }
.rsv-cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.rsv-cal__legend .dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--libre { background: var(--rsv-gold-2); }
.dot--lleno { background: #e3a998; }
.dot--off { background: #ddd3c2; }

.rsv-horas { display: flex; flex-direction: column; gap: 14px; }
.rsv-horas__label { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: .78rem; font-weight: 700; color: var(--rsv-gold-dark); text-transform: uppercase; letter-spacing: .05em; }
.rsv-horas__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.rsv-hora {
  min-height: 46px; border-radius: 13px; border: 1.5px solid var(--rsv-line-2);
  background: #fff; color: var(--rsv-text); font: 600 .92rem var(--pub-font-body, sans-serif);
  cursor: pointer; transition: all .15s;
}
.rsv-hora:hover { border-color: var(--rsv-gold); background: #fff8e8; }
.rsv-hora.is-selected { background: var(--rsv-gold-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 16px rgba(140, 95, 8, .3); }

/* ===================== PASO 4 ===================== */
.rsv-review { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.rsv-review__when {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px;
  background: linear-gradient(135deg, #3b2a14, #24180a); color: #fff3d6;
}
.rsv-review__when > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rsv-review__when strong { font-size: .98rem; }
.rsv-review__when span { font-size: .8rem; color: #e9d3a3; }
.rsv-review__when span i { width: 16px; color: var(--rsv-gold-2); }
.rsv-review__when .rsv-link { color: #f3d48b; }
.rsv-review__when .rsv-link:hover { background: rgba(255, 255, 255, .08); }
.rsv-review__cal {
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 58px;
  width: 58px; height: 62px; border-radius: 14px; overflow: hidden; background: #fff; color: var(--rsv-text);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
}
.rsv-review__cal small { width: 100%; text-align: center; background: var(--rsv-gold-grad); color: #fff; font-size: .66rem; font-weight: 700; text-transform: uppercase; padding: 3px 0; }
.rsv-review__cal strong { font-family: var(--pub-font-display, serif); font-size: 1.5rem; line-height: 1.3; color: var(--rsv-text) !important; }
.rsv-review__sec { border: 1px solid var(--rsv-line); border-radius: 18px; padding: 14px 16px; background: #fffdf8; }
.rsv-review__sechead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rsv-review__sechead h4 { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rsv-gold); }
.rsv-review__items { margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; }
.rsv-review__items li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--rsv-line); font-size: .88rem; }
.rsv-review__items li:last-child { border-bottom: 0; }
.rsv-review__items li > i { color: var(--rsv-gold); width: 18px; text-align: center; }
.rsv-review__items li span { flex: 1; min-width: 0; color: var(--rsv-text); font-weight: 500; }
.rsv-review__items li small { display: block; color: var(--rsv-soft); font-size: .72rem; font-weight: 400; }
.rsv-review__items li b { color: var(--rsv-gold-dark); white-space: nowrap; }
.rsv-review__total { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 10px; border-top: 1.5px solid var(--rsv-line-2); }
.rsv-review__total span { font-weight: 600; color: var(--rsv-text); font-size: .9rem; }
.rsv-review__total strong { font-family: var(--pub-font-display, serif); font-size: 1.35rem; color: var(--rsv-gold-dark); }
.rsv-quote-note { margin: 8px 0 0; padding: 10px 12px; border: 1px solid rgba(9,143,161,.22); border-radius: 10px; color: #28616a; background: #eefafb; font-size: .84rem; line-height: 1.5; }
.rsv-review__person { display: flex; align-items: center; gap: 12px; }
.rsv-review__person strong { display: block; color: var(--rsv-text); font-size: .95rem; }
.rsv-review__person small { color: var(--rsv-soft); font-size: .8rem; }
.rsv-review__person small i { color: #25a35a; }
.rsv-review__avatar { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--rsv-gold-grad); color: #fff; font-weight: 700; font-size: .85rem; }

.rsv-pay { border-radius: 20px; border: 1px solid var(--rsv-line-2); background: linear-gradient(180deg, #fff9ec, #fff); overflow: hidden; margin-bottom: 8px; }
.rsv-pay__head { display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px 0; }
.rsv-pay__icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 14px; background: var(--rsv-gold-grad); color: #fff; }
.rsv-pay__head h3 { margin: 0; font-size: 1rem; color: var(--rsv-text); }
.rsv-pay__head p { margin: 3px 0 0; font-size: .8rem; color: var(--rsv-soft); line-height: 1.4; }
.rsv-pay__body { display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: center; padding: 16px; }
.rsv-pay__qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rsv-pay__qrbtn {
  position: relative; display: block; width: 100%; max-width: 210px; padding: 10px;
  border-radius: 18px; border: 1px solid var(--rsv-line-2); background: #fff; cursor: zoom-in;
  box-shadow: 0 10px 24px rgba(110, 76, 16, .1);
}
.rsv-pay__qrbtn img { width: 100%; height: auto; border-radius: 10px; }
.rsv-pay__qrbtn span {
  position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px;
  background: var(--rsv-text); color: #fff3d6; font-size: .7rem; font-weight: 600; white-space: nowrap;
}
.rsv-pay__noqr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 14px; text-align: center; color: var(--rsv-soft); font-size: .8rem; border: 1px dashed var(--rsv-line-2); border-radius: 16px; }
.rsv-pay__noqr i { font-size: 2rem; color: var(--rsv-gold); }
.rsv-pay__steps { margin: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.rsv-pay__steps li { display: flex; gap: 12px; align-items: flex-start; }
.rsv-pay__steps li > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #fff; border: 1.5px solid var(--rsv-gold); color: var(--rsv-gold-dark); font-weight: 700; font-size: .8rem; }
.rsv-pay__steps strong { display: block; font-size: .88rem; color: var(--rsv-text); }
.rsv-pay__steps small { font-size: .76rem; color: var(--rsv-soft); }

/* ===================== BOTONES ===================== */
.rsv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px; border-radius: 16px; border: 1.5px solid transparent;
  font: 600 .95rem var(--pub-font-body, sans-serif); cursor: pointer; text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s, opacity .2s; white-space: nowrap;
}
.rsv-btn:active:not(:disabled) { transform: scale(.97); }
.rsv-btn--primary { background: var(--rsv-gold-grad); color: #fff; box-shadow: 0 10px 22px rgba(140, 95, 8, .3); }
.rsv-btn--primary:hover:not(:disabled) { box-shadow: 0 14px 28px rgba(140, 95, 8, .38); filter: brightness(1.04); }
.rsv-btn--primary:disabled { background: #e2d3b2; box-shadow: none; color: #fff; cursor: not-allowed; }
.rsv-btn--ghost { background: #fff; border-color: var(--rsv-line-2); color: var(--rsv-gold-dark); }
.rsv-btn--ghost:hover { background: #fff6e2; }
.rsv-btn--text { background: none; color: var(--rsv-soft); }
.rsv-btn--text:hover { color: var(--rsv-gold-dark); }
.rsv-btn--sm { min-height: 40px; padding: 0 16px; font-size: .82rem; border-radius: 12px; }

/* ===================== BARRA DE ACCIONES ===================== */
.rsv-actions {
  position: sticky; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 22px -28px 0; padding: 14px 28px;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--rsv-line);
  border-radius: 0 0 26px 26px;
  backdrop-filter: blur(10px);
}
.rsv-actions__summary { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.rsv-actions__summary small { font-size: .72rem; color: var(--rsv-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsv-actions__summary strong { font-size: .98rem; color: var(--rsv-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsv-actions__summary strong i { color: var(--rsv-ok); }
.rsv-actions__buttons { display: flex; gap: 10px; flex: 0 0 auto; }

/* ===================== ÉXITO ===================== */
.rsv-success { text-align: center; padding: 6px 0 26px; }
.rsv-success__burst { position: relative; width: 96px; height: 96px; margin: 4px auto 14px; }
.rsv-success__ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(215, 166, 50, .35), transparent 70%); animation: rsv-pulse 2s ease-out infinite; }
@keyframes rsv-pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.rsv-success__check { position: relative; width: 96px; height: 96px; border-radius: 50%; background: var(--rsv-gold-grad); box-shadow: 0 16px 34px rgba(140, 95, 8, .4); }
.rsv-success__check circle { stroke: rgba(255, 255, 255, .35); stroke-width: 2; }
.rsv-success__check path { stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: rsv-draw .55s .2s ease forwards; }
@keyframes rsv-draw { to { stroke-dashoffset: 0; } }
.rsv-success__badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 99px; background: #fff3d8; border: 1px solid #f0d394; color: #8a5b00; font-size: .76rem; font-weight: 700; }
.rsv-success h2 { margin: 12px 0 6px; font-family: var(--pub-font-display, serif); font-size: clamp(1.5rem, 4vw, 1.9rem); color: var(--rsv-text); }
.rsv-success > p { margin: 0 auto 20px; max-width: 460px; color: var(--rsv-soft); font-size: .92rem; }

.rsv-ticket {
  position: relative; max-width: 480px; margin: 0 auto 20px; text-align: left;
  border-radius: 22px; background: #fff; border: 1px solid var(--rsv-line-2);
  box-shadow: 0 18px 40px rgba(110, 76, 16, .14); overflow: hidden;
}
.rsv-ticket__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: linear-gradient(135deg, #3b2a14, #24180a); color: #fff3d6; }
.rsv-ticket__head small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #e3c88d; }
.rsv-ticket__head strong { font-family: var(--pub-font-display, serif); font-size: 1.6rem; letter-spacing: .04em; }
.rsv-ticket__logo { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 3px rgba(215, 166, 50, .5); }
.rsv-ticket__logo img { width: 90%; height: 90%; object-fit: contain; }
.rsv-ticket__date { display: flex; align-items: center; gap: 14px; padding: 16px 18px 6px; }
.rsv-ticket__date > div { display: flex; flex-direction: column; }
.rsv-ticket__date strong { color: var(--rsv-text); font-size: 1rem; }
.rsv-ticket__date span { color: var(--rsv-gold-dark); font-weight: 600; font-size: .88rem; }
.rsv-ticket__cut { position: relative; height: 22px; margin: 6px 0; }
.rsv-ticket__cut::before { content: ''; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed var(--rsv-line-2); }
.rsv-ticket__cut::after { content: ''; position: absolute; inset: 0 -12px; background: radial-gradient(circle at 0 50%, var(--rsv-cream) 11px, transparent 12px), radial-gradient(circle at 100% 50%, var(--rsv-cream) 11px, transparent 12px); }
.rsv-ticket__list { margin: 0; padding: 0 18px; display: flex; flex-direction: column; gap: 10px; }
.rsv-ticket__list > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: .86rem; }
.rsv-ticket__list dt { color: var(--rsv-soft); }
.rsv-ticket__list dt i { width: 18px; color: var(--rsv-gold); }
.rsv-ticket__list dd { margin: 0; color: var(--rsv-text); font-weight: 600; overflow-wrap: anywhere; }
.rsv-ticket__total { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 0; padding: 14px 18px; background: #fff8e8; border-top: 1px solid var(--rsv-line); }
.rsv-ticket__total span { font-weight: 600; color: var(--rsv-text); font-size: .9rem; }
.rsv-ticket__total strong { font-family: var(--pub-font-display, serif); font-size: 1.35rem; color: var(--rsv-gold-dark); }

.rsv-next { max-width: 480px; margin: 0 auto 18px; text-align: left; border: 1px solid var(--rsv-line); border-radius: 20px; padding: 16px 18px; background: #fffdf8; }
.rsv-next h3 { margin: 0 0 12px; font-size: .92rem; color: var(--rsv-text); display: flex; gap: 8px; align-items: center; }
.rsv-next h3 i { color: var(--rsv-gold); }
.rsv-next ol { margin: 0 !important; display: flex; flex-direction: column; }
.rsv-next li { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.rsv-next li:last-child { padding-bottom: 0; }
.rsv-next li:not(:last-child)::before { content: ''; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 2px; background: var(--rsv-line-2); }
.rsv-next li > span { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--rsv-line-2); color: #b9a47c; font-weight: 700; font-size: .78rem; }
.rsv-next li.is-done > span { background: var(--rsv-ok); border-color: var(--rsv-ok); color: #fff; }
.rsv-next li.is-current > span { background: var(--rsv-gold-grad); border-color: transparent; color: #fff; box-shadow: 0 0 0 4px rgba(215, 166, 50, .2); }
.rsv-next strong { display: block; font-size: .88rem; color: var(--rsv-text); }
.rsv-next small { font-size: .76rem; color: var(--rsv-soft); }

.rsv-wsp { max-width: 480px; margin: 0 auto 14px; display: flex; flex-direction: column; gap: 10px; }
.rsv-wsp__btn {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  border: 1.5px solid #bfe7cf; background: #f2fbf6; color: #15653a; text-align: left; text-decoration: none;
  transition: transform .15s, box-shadow .2s;
}
.rsv-wsp__btn > i:first-child { font-size: 1.6rem; color: #1fae5b; }
.rsv-wsp__btn span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rsv-wsp__btn strong { font-size: .92rem; }
.rsv-wsp__btn small { font-size: .74rem; opacity: .8; }
.rsv-wsp__btn > i:last-child { font-size: .8rem; opacity: .7; }
.rsv-wsp__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(31, 174, 91, .18); }
.rsv-wsp__btn.is-main { background: linear-gradient(135deg, #25d366, #128c4f); border-color: transparent; color: #fff; box-shadow: 0 12px 24px rgba(18, 140, 79, .3); min-height: 60px; }
.rsv-wsp__btn.is-main > i:first-child { color: #fff; }
.rsv-extra--qr { max-width: 480px; margin: 0 auto 18px; text-align: left; }
.rsv-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

/* ===================== MODAL CONFIRMACIÓN ===================== */
.rsv-modal {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center; padding: 18px;
  background: rgba(30, 20, 6, .58); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.rsv-modal.is-open { opacity: 1; visibility: visible; }
.rsv-modal__card {
  width: min(480px, 100%); max-height: min(88vh, 720px); max-height: min(88dvh, 720px);
  display: flex; flex-direction: column; min-height: 0;
  background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--rsv-line-2);
  box-shadow: 0 30px 70px rgba(25, 15, 4, .4);
  transform: translateY(18px) scale(.98); transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.rsv-modal.is-open .rsv-modal__card { transform: none; }
.rsv-modal__head { display: flex; gap: 12px; align-items: center; padding: 18px 20px 14px; border-bottom: 1px solid var(--rsv-line); flex: 0 0 auto; }
.rsv-modal__icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 15px; background: var(--rsv-gold-grad); color: #fff; font-size: 1.15rem; }
.rsv-modal__head h3 { margin: 0; font-family: var(--pub-font-display, serif); font-size: 1.2rem; color: var(--rsv-text); }
.rsv-modal__head p { margin: 2px 0 0; font-size: .8rem; color: var(--rsv-soft); }
.rsv-modal__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 14px 20px; }
.rsv-modal__actions { flex: 0 0 auto; display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rsv-line); background: #fffdf8; }
.rsv-confirm__when { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff7e6; margin-bottom: 8px; }
.rsv-confirm__when > i { font-size: 1.3rem; color: var(--rsv-gold); }
.rsv-confirm__when strong { display: block; color: var(--rsv-text); font-size: .92rem; }
.rsv-confirm__when span { color: var(--rsv-soft); font-size: .8rem; }
.rsv-confirm__note { display: flex; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--rsv-cream); color: var(--rsv-soft); font-size: .78rem; line-height: 1.45; }
.rsv-confirm__note i { color: var(--rsv-gold); margin-top: 2px; }

/* ===================== ESCRITORIO / TABLET ===================== */
@media (min-width: 768px) {
  .rsv-items { grid-template-columns: 1fr 1fr; }
  .rsv-item { grid-template-columns: 76px 1fr auto; }
  .rsv-item__media { width: 76px; height: 76px; }
}

/* ===================== CELULAR Y TABLET VERTICAL ===================== */
@media (max-width: 900px) {
  /* La barra de acciones queda justo encima de la barra inferior del sitio */
  .rsv-actions {
    bottom: calc(10px + env(safe-area-inset-bottom));
    margin: 18px -18px 0; padding: 12px 18px;
    border: 1px solid var(--rsv-line-2); border-radius: 20px;
    box-shadow: 0 -6px 30px rgba(70, 48, 12, .16);
  }
  body.rsv-is-success .pub-whatsapp-fab { display: none; }
}
@media (max-width: 640px) {
  .pub .container.rsv-container { padding: 0 12px; }
  .rsv-hero { padding: 30px 0 74px; }
  .rsv-hero p { font-size: .88rem; }
  .rsv-hero__chips li { font-size: .7rem; padding: 6px 10px; }
  .rsv-card { padding: 18px 16px 0; border-radius: 22px; }
  .rsv-card::before { left: 18px; right: 18px; }
  .rsv-progress__title { font-size: 1.22rem; }
  .rsv-progress__badge { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; font-size: 1rem; }
  .rsv-steps { gap: 4px; margin: 14px 0 8px !important; }
  .rsv-steps li { flex-direction: column; gap: 4px; font-size: .62rem; text-align: center; }
  .rsv-steps__dot { width: 30px; height: 30px; flex-basis: 30px; }
  .rsv-steps__label { max-width: 100%; }
  .rsv-actions { margin: 16px -10px 0; padding: 10px 12px; gap: 10px; }
  .rsv-btn { min-height: 48px; padding: 0 18px; font-size: .9rem; }
  .rsv-btn--icon span { display: none; }
  .rsv-btn--icon { width: 48px; padding: 0; flex: 0 0 48px; }
  .rsv-actions__summary strong { font-size: .9rem; }
  .rsv-item { grid-template-columns: 72px 1fr auto; gap: 11px; padding: 8px 10px 8px 8px; border-radius: 16px; }
  .rsv-item__media { width: 72px; height: 72px; border-radius: 12px; }
  .rsv-item__name { font-size: .88rem; }
  .rsv-item__desc { -webkit-line-clamp: 1; }
  .rsv-item__price { font-size: .9rem; }
  .rsv-item__check { width: 26px; height: 26px; }
  .rsv-cal { padding: 10px; border-radius: 18px; }
  .rsv-cal__week, .rsv-cal__grid { gap: 4px; }
  .rsv-day { border-radius: 11px; font-size: .86rem; }
  .rsv-horas__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .rsv-hora { min-height: 44px; font-size: .86rem; border-radius: 12px; }
  .rsv-pay__body { grid-template-columns: 1fr; gap: 24px; }
  .rsv-ticket__list > div { grid-template-columns: 96px 1fr; font-size: .82rem; }
  .rsv-success__actions .rsv-btn { width: 100%; }
  .rsv-modal { align-items: flex-end; padding: 0; }
  .rsv-modal__card { width: 100%; border-radius: 24px 24px 0 0; max-height: 92vh; max-height: 92dvh; }
  .rsv-modal__actions .rsv-btn { flex: 1; }
}
@media (max-width: 360px) {
  .rsv-horas__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rsv-item { grid-template-columns: 60px 1fr auto; }
  .rsv-item__media { width: 60px; height: 60px; }
  .rsv-actions__summary small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rsv-step.is-active, .rsv-success__ring, .rsv-success__check path { animation: none !important; stroke-dashoffset: 0; }
}

/* En el asistente, los botones flotantes del sitio se ocultan en celular
   para no tapar "Continuar" (el WhatsApp aparece al terminar la reserva). */
@media (max-width: 900px) {
  body:has(.rsv-card) .pub-whatsapp-fab,
  body:has(.rsv-card) .pub-back-to-top { display: none !important; }
}
/* Mientras se muestran sugerencias de nombre, la barra se aparta */
.rsv-actions { transition: opacity .2s, transform .2s; }
form.is-suggesting .rsv-actions { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* Acabado turquesa de superficies, estados seleccionados y controles. */
body.pub:has(.rsv-hero) { background: linear-gradient(180deg, #f8ffff 0%, #edf9fa 100%); }
body.pub:has(.rsv-hero) .rsv-card { border-color: rgba(9, 143, 161, .32); }
body.pub:has(.rsv-hero) .rsv-card::before { background: var(--rsv-gold-grad); }
body.pub:has(.rsv-hero) .rsv-progress__badge { box-shadow: 0 10px 20px rgba(9, 143, 161, .24); }
body.pub:has(.rsv-hero) .rsv-steps li { color: #78949a; }
body.pub:has(.rsv-hero) .rsv-steps__dot { color: #6b9da4; }
body.pub:has(.rsv-hero) .rsv-steps li.is-active .rsv-steps__dot { box-shadow: 0 0 0 4px rgba(9, 143, 161, .16); }
body.pub:has(.rsv-hero) .rsv-steps li.is-done .rsv-steps__dot { background: #e5f7f8; color: #087784; }
body.pub:has(.rsv-hero) .rsv-hint { background: linear-gradient(135deg, #f4fcfc, #e8f7f8); border-color: rgba(9, 143, 161, .38); color: #526d75; }
body.pub:has(.rsv-hero) .rsv-hint i,
body.pub:has(.rsv-hero) .rsv-input > i,
body.pub:has(.rsv-hero) .rsv-input__spinner,
body.pub:has(.rsv-hero) .rsv-item__media--empty,
body.pub:has(.rsv-hero) .rsv-empty i { color: #098fa1; }
body.pub:has(.rsv-hero) .rsv-input,
body.pub:has(.rsv-hero) .rsv-field textarea,
body.pub:has(.rsv-hero) .rsv-extra,
body.pub:has(.rsv-hero) .rsv-review__sec,
body.pub:has(.rsv-hero) .rsv-next { background-color: #fbffff; }
body.pub:has(.rsv-hero) .rsv-input:focus-within,
body.pub:has(.rsv-hero) .rsv-field textarea:focus { border-color: #098fa1; box-shadow: 0 0 0 4px rgba(9, 143, 161, .13); }
body.pub:has(.rsv-hero) .rsv-input.is-locked { background: #eff9fa; }
body.pub:has(.rsv-hero) .rsv-input__prefix { background: #e8f7f8; color: #087784; border-color: rgba(9, 143, 161, .22); }
body.pub:has(.rsv-hero) .rsv-input input::placeholder,
body.pub:has(.rsv-hero) .rsv-field textarea::placeholder { color: #86a3a8; }
body.pub:has(.rsv-hero) .rsv-suggest li[data-index]:hover,
body.pub:has(.rsv-hero) .rsv-suggest li.is-active,
body.pub:has(.rsv-hero) .rsv-link:hover,
body.pub:has(.rsv-hero) .rsv-cal__none { background: #e8f7f8; }
body.pub:has(.rsv-hero) .rsv-suggest__text mark { background: #cceef1; }
body.pub:has(.rsv-hero) .rsv-tab.is-active { background: #ffffff; color: #087784; box-shadow: 0 6px 14px rgba(9, 143, 161, .12); }
body.pub:has(.rsv-hero) .rsv-tab__count { background: #dff4f6; color: #087784; }
body.pub:has(.rsv-hero) .rsv-item:hover,
body.pub:has(.rsv-hero) .rsv-item.is-selected,
body.pub:has(.rsv-hero) .rsv-estilista.is-active { border-color: #098fa1; background: linear-gradient(135deg, #ffffff, #effafb); box-shadow: 0 10px 24px rgba(9, 143, 161, .13); }
body.pub:has(.rsv-hero) .rsv-item:focus-visible { box-shadow: 0 0 0 4px rgba(9, 143, 161, .16); }
body.pub:has(.rsv-hero) .rsv-item__meta span { background: #e8f7f8; color: #087784; }
body.pub:has(.rsv-hero) .rsv-cal,
body.pub:has(.rsv-hero) .rsv-cal__nav,
body.pub:has(.rsv-hero) .rsv-hora,
body.pub:has(.rsv-hero) .rsv-review__sec,
body.pub:has(.rsv-hero) .rsv-pay,
body.pub:has(.rsv-hero) .rsv-ticket,
body.pub:has(.rsv-hero) .rsv-modal { border-color: rgba(9, 143, 161, .28); }
body.pub:has(.rsv-hero) .rsv-day--disponible { background: #effafb; border-color: rgba(9, 143, 161, .30); color: #087784; }
body.pub:has(.rsv-hero) .rsv-day--disponible:hover,
body.pub:has(.rsv-hero) .rsv-cal__nav:hover:not(:disabled),
body.pub:has(.rsv-hero) .rsv-hora:hover { background: #dff4f6; }
body.pub:has(.rsv-hero) .rsv-day.is-selected,
body.pub:has(.rsv-hero) .rsv-hora.is-selected,
body.pub:has(.rsv-hero) .rsv-btn--primary,
body.pub:has(.rsv-hero) .rsv-progress__badge,
body.pub:has(.rsv-hero) .rsv-block__title > span,
body.pub:has(.rsv-hero) .rsv-review__avatar,
body.pub:has(.rsv-hero) .rsv-review__cal small,
body.pub:has(.rsv-hero) .rsv-pay__icon,
body.pub:has(.rsv-hero) .rsv-success__check,
body.pub:has(.rsv-hero) .rsv-next li.is-current > span,
body.pub:has(.rsv-hero) .rsv-modal__icon { background: var(--rsv-gold-grad); }
body.pub:has(.rsv-hero) .rsv-day.is-selected,
body.pub:has(.rsv-hero) .rsv-hora.is-selected,
body.pub:has(.rsv-hero) .rsv-item.is-selected .rsv-item__check { box-shadow: 0 8px 18px rgba(9, 143, 161, .22); }
body.pub:has(.rsv-hero) .rsv-btn--primary:not(:disabled):hover { box-shadow: 0 14px 28px rgba(9, 143, 161, .28); }
body.pub:has(.rsv-hero) .rsv-btn--primary:disabled { background: #b9dfe3; }
body.pub:has(.rsv-hero) .rsv-btn--ghost { border-color: rgba(9, 143, 161, .36); color: #087784; }
body.pub:has(.rsv-hero) .rsv-btn--ghost:hover { background: #e8f7f8; }
body.pub:has(.rsv-hero) .rsv-review__when,
body.pub:has(.rsv-hero) .rsv-ticket__head { background: linear-gradient(135deg, #087784, #075c68); color: #ffffff; }
body.pub:has(.rsv-hero) .rsv-review__when span,
body.pub:has(.rsv-hero) .rsv-review__when .rsv-link,
body.pub:has(.rsv-hero) .rsv-ticket__head small { color: #d9f4f6; }
body.pub:has(.rsv-hero) .rsv-pay { background: linear-gradient(180deg, #f3fbfc, #ffffff); }
body.pub:has(.rsv-hero) .rsv-pay__steps li > span { color: #087784; border-color: rgba(9, 143, 161, .4); }
body.pub:has(.rsv-hero) .rsv-ticket__total { background: #e8f7f8; }
body.pub:has(.rsv-hero) .rsv-success__badge { background: #e2f5f6; border-color: #a7dfe4; color: #087784; }
body.pub:has(.rsv-hero) .rsv-success__ring { background: radial-gradient(circle, rgba(32, 168, 181, .25), transparent 70%); }
body.pub:has(.rsv-hero) .rsv-ticket__logo { box-shadow: 0 0 0 3px rgba(9, 143, 161, .42); }
body.pub:has(.rsv-hero) .rsv-next li.is-current > span { box-shadow: 0 0 0 4px rgba(9, 143, 161, .16); }
body.pub:has(.rsv-hero) .rsv-modal__actions { background: #f5fcfc; }
