.sotanillo-reservas {
  box-sizing: border-box;
  --sr-ink: #050505;
  --sr-muted: #606462;
  --sr-paper: #ffffff;
  --sr-panel: #f6f7f5;
  --sr-accent: #1f7a4d;
  --sr-accent-dark: #105b35;
  --sr-accent-soft: #dcefe5;
  --sr-line: #d9ded9;
  --sr-ok: #1f7a4d;
  --sr-error: #9a2d23;
  --sr-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
  color: var(--sr-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0 auto;
  max-width: 980px;
  width: 100%;
}

.sotanillo-reservas *,
.sotanillo-reservas *::before,
.sotanillo-reservas *::after {
  box-sizing: inherit;
}

.sotanillo-reservas .sr-launcher {
  background: var(--sr-ink);
  border: 1px solid var(--sr-ink);
  border-radius: 999px;
  color: var(--sr-paper);
  cursor: pointer;
  display: none;
  font: inherit;
  font-weight: 800;
  padding: 15px 22px;
  width: 100%;
}

.sotanillo-reservas .sr-modal {
  display: block;
}

.sotanillo-reservas .sr-backdrop,
.sotanillo-reservas .sr-close {
  display: none;
}

.sotanillo-reservas .sr-card {
  background:
    radial-gradient(circle at top right, rgba(31, 122, 77, 0.14), transparent 22rem),
    linear-gradient(135deg, var(--sr-paper), var(--sr-panel));
  border: 1px solid var(--sr-line);
  border-radius: 32px;
  box-shadow: var(--sr-shadow);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.sotanillo-reservas .sr-intro {
  background: linear-gradient(160deg, #050505, #151a16 72%, #163c2a);
  border-radius: 24px;
  color: var(--sr-paper);
  min-height: 440px;
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.sotanillo-reservas .sr-intro::after {
  background: radial-gradient(circle, rgba(31, 122, 77, 0.38), transparent 62%);
  border-radius: 999px;
  bottom: -80px;
  content: "";
  height: 210px;
  position: absolute;
  right: -70px;
  width: 210px;
}

.sotanillo-reservas .sr-eyebrow {
  color: #91d2af;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sotanillo-reservas .sr-title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.94;
  margin: 18px 0;
}

.sotanillo-reservas .sr-copy {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 32ch;
}

.sotanillo-reservas .sr-form {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.sotanillo-reservas .sr-grid {
  display: grid;
  gap: 14px;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sotanillo-reservas .sr-picker-row {
  align-items: start;
  display: grid;
  gap: 14px;
  min-width: 0;
  grid-template-columns: minmax(240px, 1fr) 132px;
}

.sotanillo-reservas .sr-date-field {
  position: relative;
}

.sotanillo-reservas .sr-date-trigger,
.sotanillo-reservas .sr-stepper {
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
  border-radius: 16px;
  color: var(--sr-ink);
  min-height: 50px;
}

.sotanillo-reservas .sr-location-field[hidden] {
  display: none;
}

.sotanillo-reservas .sr-location-field {
  border: 0;
  margin: 0;
  padding: 0;
}

.sotanillo-reservas .sr-location-field legend {
  margin-bottom: 8px;
  padding: 0;
}

.sotanillo-reservas .sr-location-options {
  background: #eef1ed;
  border: 1px solid var(--sr-line);
  border-radius: 18px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  padding: 4px;
}

.sotanillo-reservas .sr-location-option {
  cursor: pointer;
  min-width: 0;
  position: relative;
}

.sotanillo-reservas .sr-location-option input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.sotanillo-reservas .sr-location-option span {
  align-items: center;
  border-radius: 14px;
  color: var(--sr-muted);
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  text-align: center;
}

.sotanillo-reservas .sr-location-option input:checked + span {
  background: var(--sr-paper);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  color: var(--sr-ink);
}

.sotanillo-reservas .sr-location-option input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.18);
  outline: 2px solid var(--sr-accent);
  outline-offset: 2px;
}

.sotanillo-reservas .sr-date-trigger {
  align-items: center;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 800;
  justify-content: space-between;
  padding: 0 15px;
  text-align: left;
  width: 100%;
}

.sotanillo-reservas .sr-date-trigger:disabled {
  color: var(--sr-muted);
  cursor: wait;
}

.sotanillo-reservas .sr-calendar-popover {
  display: none;
  left: 0;
  max-width: min(360px, calc(100vw - 32px));
  position: absolute;
  top: calc(100% + 8px);
  width: 360px;
  z-index: 5;
}

.sotanillo-reservas .sr-calendar-popover.sr-calendar-open {
  display: block;
}

.sotanillo-reservas .sr-stepper {
  align-items: center;
  display: grid;
  grid-template-columns: 38px minmax(42px, 1fr) 38px;
  overflow: hidden;
}

.sotanillo-reservas .sr-stepper button {
  align-self: stretch;
  background: transparent;
  border: 0;
  color: var(--sr-ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 800;
}

.sotanillo-reservas .sr-stepper button:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(31, 122, 77, 0.22);
  outline: none;
}

.sotanillo-reservas .sr-stepper .sr-people-value {
  appearance: textfield;
  background: transparent;
  border: 0;
  color: var(--sr-ink);
  box-shadow: none;
  font: inherit;
  font-weight: 800;
  height: auto;
  line-height: 1;
  min-height: 0;
  min-width: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.sotanillo-reservas .sr-stepper .sr-people-value::-webkit-outer-spin-button,
.sotanillo-reservas .sr-stepper .sr-people-value::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.sotanillo-reservas .sr-stepper .sr-people-value:focus,
.sotanillo-reservas .sr-stepper .sr-people-value:focus-visible {
  border: 0;
  box-shadow: none;
  outline: none;
}

.sotanillo-reservas .sr-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.sotanillo-reservas .sr-field label,
.sotanillo-reservas .sr-legend {
  color: var(--sr-muted);
  font-size: 0.83rem;
  font-weight: 800;
}

.sotanillo-reservas .sr-field input,
.sotanillo-reservas .sr-field textarea {
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
  border-radius: 16px;
  color: var(--sr-ink);
  font: inherit;
  max-width: 100%;
  min-width: 0;
  padding: 14px 15px;
  width: 100%;
}

.sotanillo-reservas .sr-field input:focus,
.sotanillo-reservas .sr-field textarea:focus,
.sotanillo-reservas .sr-date-trigger:focus-visible,
.sotanillo-reservas .sr-slot:focus-visible,
.sotanillo-reservas .sr-slot-tab:focus-visible,
.sotanillo-reservas .sr-submit:focus-visible,
.sotanillo-reservas .sr-launcher:focus-visible,
.sotanillo-reservas .sr-calendar-day:focus-visible,
.sotanillo-reservas .sr-calendar-nav:focus-visible,
.sotanillo-reservas .sr-close:focus-visible,
.sotanillo-reservas .sr-stepper button:focus-visible,
.sotanillo-reservas .sr-disclosure-trigger:focus-visible {
  box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.18);
  outline: 2px solid var(--sr-accent);
  outline-offset: 2px;
}

.sotanillo-reservas .sr-field input[aria-invalid="true"] {
  border-color: var(--sr-error);
  box-shadow: 0 0 0 2px rgba(154, 45, 35, 0.08);
}

.sotanillo-reservas .sr-field-error {
  font-size: 0.75rem;
  line-height: 1.4;
}

.sotanillo-reservas .sr-field-error {
  color: var(--sr-error);
  font-weight: 600;
}

.sotanillo-reservas .sr-field-error:empty {
  display: none;
}

.sotanillo-reservas .sr-progressive {
  border-top: 1px solid var(--sr-line);
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.sotanillo-reservas .sr-extra-prompt {
  color: var(--sr-muted);
  font-size: 0.83rem;
  font-weight: 800;
  margin-top: 2px;
}

.sotanillo-reservas .sr-disclosure-actions {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.sotanillo-reservas .sr-disclosure-trigger {
  background: transparent;
  border: 0;
  color: var(--sr-accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 8px 0;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.sotanillo-reservas .sr-disclosure-trigger[aria-expanded="true"] {
  color: var(--sr-muted);
}

.sotanillo-reservas .sr-disclosure-panel {
  background: var(--sr-panel);
  border: 1px solid var(--sr-line);
  border-radius: 16px;
  padding: 14px;
}

.sotanillo-reservas .sr-disclosure-panel[hidden] {
  display: none;
}

.sotanillo-reservas .sr-disclosure-help {
  color: var(--sr-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.sotanillo-reservas .sr-calendar {
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
  max-width: 100%;
  min-width: 0;
  padding: 14px;
}

.sotanillo-reservas .sr-calendar-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sotanillo-reservas .sr-calendar-month {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sotanillo-reservas .sr-calendar-nav {
  background: var(--sr-panel);
  border: 1px solid var(--sr-line);
  border-radius: 999px;
  color: var(--sr-ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.3rem;
  height: 34px;
  line-height: 1;
  width: 34px;
}

.sotanillo-reservas .sr-calendar-nav:disabled {
  color: #b8beb9;
  cursor: not-allowed;
}

.sotanillo-reservas .sr-calendar-weekdays,
.sotanillo-reservas .sr-calendar-days {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.sotanillo-reservas .sr-calendar-weekdays {
  color: var(--sr-muted);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-align: center;
}

.sotanillo-reservas .sr-calendar-day {
  aspect-ratio: 1;
  background: var(--sr-paper);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--sr-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
}

.sotanillo-reservas .sr-calendar-day-placeholder {
  aspect-ratio: 1;
  display: block;
}

.sotanillo-reservas .sr-calendar-day[aria-pressed="true"] {
  background: var(--sr-accent);
  color: var(--sr-paper);
}

.sotanillo-reservas .sr-calendar-day[data-outside="true"] {
  color: #a8aea9;
}

.sotanillo-reservas .sr-calendar-day:disabled {
  background: #f0f1ef;
  color: #b8beb9;
  cursor: not-allowed;
}

.sotanillo-reservas .sr-calendar-day[data-state="cerrado_total"],
.sotanillo-reservas .sr-calendar-day[data-state="sin_servicio"] {
  background: #f6e8e4;
  color: #9a392b;
  text-decoration: line-through;
}

.sotanillo-reservas .sr-calendar-day[data-state="sin_disponibilidad"] {
  background: #f1eee8;
  color: #9d8f78;
}

.sotanillo-reservas .sr-calendar-day[data-state="pasada"],
.sotanillo-reservas .sr-calendar-day[data-state="sin_datos"],
.sotanillo-reservas .sr-calendar-day[data-state="cargando"] {
  background: #f0f1ef;
  color: #b8beb9;
}

.sotanillo-reservas .sr-calendar-day[data-state="disponible"]:not(:disabled)::after {
  background: #1f5f43;
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin: 3px auto 0;
  width: 4px;
}

.sotanillo-reservas .sr-calendar-message {
  align-items: center;
  color: var(--sr-muted);
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  min-height: 30px;
  text-align: center;
}

.sotanillo-reservas .sr-calendar-error {
  color: var(--sr-error);
  flex-wrap: wrap;
}

.sotanillo-reservas .sr-calendar-legend {
  color: var(--sr-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.sotanillo-reservas .sr-calendar-legend span {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.sotanillo-reservas .sr-calendar-legend i {
  border-radius: 999px;
  display: inline-block;
  height: 7px;
  width: 7px;
}

.sotanillo-reservas .sr-calendar-legend i[data-kind="available"] {
  background: var(--sr-accent);
}

.sotanillo-reservas .sr-calendar-legend i[data-kind="closed"] {
  background: #c58d7f;
}

.sotanillo-reservas .sr-slots {
  display: grid;
  gap: 14px;
}

.sotanillo-reservas .sr-large-group {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d8c8a8;
  border-radius: 0.75rem;
  background: #fffaf0;
}

.sotanillo-reservas .sr-large-group p { margin: 0.4rem 0 0; }
.sotanillo-reservas .sr-contact-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.sotanillo-reservas .sr-contact-action { display: inline-flex; padding: 0.55rem 0.8rem; border-radius: 0.5rem; background: var(--sr-accent); color: white; font-weight: 700; text-decoration: none; }

.sotanillo-reservas .sr-slot-tabs {
  background: #eef1ed;
  border: 1px solid var(--sr-line);
  border-radius: 18px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  padding: 4px;
}

.sotanillo-reservas .sr-slot-tab {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 14px;
  color: var(--sr-muted);
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 2px;
  justify-items: start;
  min-height: 58px;
  min-width: 0;
  padding: 10px 12px;
  text-align: left;
}

.sotanillo-reservas .sr-slot-tab[aria-selected="true"] {
  background: var(--sr-paper);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  color: var(--sr-ink);
}

.sotanillo-reservas .sr-slot-tab-name,
.sotanillo-reservas .sr-slot-panel-title {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.sotanillo-reservas .sr-slot-tab-range,
.sotanillo-reservas .sr-slot-panel-range {
  color: var(--sr-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.sotanillo-reservas .sr-slot-panel {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--sr-line);
  border-radius: 18px;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
}

.sotanillo-reservas .sr-slot-panel-head {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-width: 0;
}

.sotanillo-reservas .sr-slot-panel-context {
  align-items: baseline;
  display: flex;
  gap: 7px;
  min-width: 0;
}

.sotanillo-reservas .sr-slot-hint {
  color: var(--sr-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.sotanillo-reservas .sr-slot-times {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
}

.sotanillo-reservas .sr-slot {
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
  border-radius: 14px;
  color: var(--sr-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 46px;
  padding: 11px 12px;
}

.sotanillo-reservas .sr-slot[aria-pressed="true"] {
  background: var(--sr-ink);
  border-color: var(--sr-ink);
  color: var(--sr-paper);
}

.sotanillo-reservas .sr-slot:disabled {
  color: #a8aea9;
  cursor: not-allowed;
  text-decoration: line-through;
}

.sotanillo-reservas .sr-submit {
  background: linear-gradient(135deg, var(--sr-accent), var(--sr-accent-dark));
  border: 0;
  border-radius: 18px;
  color: var(--sr-paper);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 16px 20px;
}

.sotanillo-reservas .sr-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.sotanillo-reservas .sr-inline-retry,
.sotanillo-reservas .sr-secondary-action {
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
  border-radius: 12px;
  color: var(--sr-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 14px;
}

.sotanillo-reservas .sr-empty-state {
  background: var(--sr-panel);
  border: 1px dashed var(--sr-line);
  border-radius: 16px;
  color: var(--sr-muted);
  font-weight: 700;
  padding: 18px;
  text-align: center;
}

.sotanillo-reservas .sr-status {
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.5;
  min-height: 24px;
  padding: 12px 14px;
}

.sotanillo-reservas .sr-status:empty {
  display: none;
}

.sotanillo-reservas .sr-status[data-kind="ok"] {
  background: rgba(31, 122, 77, 0.12);
  color: var(--sr-ok);
}

.sotanillo-reservas .sr-status[data-kind="error"] {
  background: rgba(154, 45, 35, 0.12);
  color: var(--sr-error);
}

.sotanillo-reservas .sr-status[data-kind="info"] {
  background: var(--sr-accent-soft);
  color: var(--sr-accent-dark);
}

.sotanillo-reservas .sr-captcha {
  max-width: 100%;
  overflow: hidden;
}

.sotanillo-reservas .sr-full {
  grid-column: 1 / -1;
}

body.sr-lock-scroll {
  overflow: hidden;
}

.sotanillo-reservas .sr-confirmation {
  align-content: center;
  display: grid;
  gap: 14px;
  min-height: 440px;
  padding: 28px;
}

.sotanillo-reservas .sr-confirmation[hidden],
.sotanillo-reservas .sr-form[hidden] {
  display: none;
}

.sotanillo-reservas .sr-confirmation-icon {
  align-items: center;
  background: var(--sr-accent-soft);
  border-radius: 999px;
  color: var(--sr-accent-dark);
  display: flex;
  font-size: 1.5rem;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.sotanillo-reservas .sr-confirmation h2,
.sotanillo-reservas .sr-confirmation p {
  margin: 0;
}

.sotanillo-reservas .sr-confirmation h2 {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.sotanillo-reservas .sr-confirmation p {
  color: var(--sr-muted);
  line-height: 1.6;
}

.sotanillo-reservas .sr-confirmation-details {
  display: grid;
  gap: 8px;
  margin: 4px 0;
}

.sotanillo-reservas .sr-confirmation-details div {
  align-items: baseline;
  border-bottom: 1px solid var(--sr-line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 8px 0;
}

.sotanillo-reservas .sr-confirmation-details dt {
  color: var(--sr-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.sotanillo-reservas .sr-confirmation-details dd {
  font-weight: 800;
  margin: 0;
  text-align: right;
}

@media (max-width: 760px) {
  .sotanillo-reservas {
    max-width: none;
  }

  .sotanillo-reservas .sr-launcher {
    display: inline-flex;
    justify-content: center;
  }

  .sotanillo-reservas .sr-modal {
    display: none;
  }

  .sotanillo-reservas.sr-open .sr-modal {
    display: block;
  }

  .sotanillo-reservas .sr-backdrop {
    background: rgba(0, 0, 0, 0.58);
    display: block;
    inset: 0;
    position: fixed;
    z-index: 9998;
  }

  .sotanillo-reservas .sr-card {
    border-radius: 24px 24px 0 0;
    bottom: 0;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
    left: 0;
    max-height: 92dvh;
    max-width: 100dvw;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px;
    position: fixed;
    right: 0;
    z-index: 9999;
  }

  .sotanillo-reservas .sr-close {
    align-items: center;
    background: var(--sr-paper);
    border: 1px solid var(--sr-line);
    border-radius: 999px;
    color: var(--sr-ink);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 1.4rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 38px;
    z-index: 2;
  }

  .sotanillo-reservas .sr-intro {
    min-height: auto;
    padding: 24px;
  }

  .sotanillo-reservas .sr-grid,
  .sotanillo-reservas .sr-picker-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .sotanillo-reservas .sr-confirmation {
    min-height: auto;
    padding: 24px 8px 8px;
  }

  .sotanillo-reservas .sr-calendar-popover {
    max-width: 100%;
    position: static;
    width: 100%;
  }

  .sotanillo-reservas .sr-calendar-popover.sr-calendar-open {
    margin-top: 8px;
  }
}

@media (max-width: 360px) {
  .sotanillo-reservas .sr-card {
    padding: 10px;
  }

  .sotanillo-reservas .sr-intro {
    padding: 18px;
  }

  .sotanillo-reservas .sr-calendar {
    padding: 10px;
  }

  .sotanillo-reservas .sr-calendar-weekdays,
  .sotanillo-reservas .sr-calendar-days {
    gap: 4px;
  }
}


.sotanillo-reservas .sr-privacy-notice {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--sr-line);
  color: var(--sr-muted);
  font-size: 12px;
  line-height: 1.45;
  padding-top: 14px;
}

.sotanillo-reservas .sr-privacy-notice strong {
  color: var(--sr-ink);
  font-size: 13px;
}

.sotanillo-reservas .sr-privacy-notice a {
  color: var(--sr-accent-dark);
  font-weight: 800;
  text-underline-offset: 3px;
}

.sotanillo-reservas .sr-privacy-pending {
  color: #8a5b24;
  font-weight: 700;
}

.sotanillo-reservas .sr-sensitive-consent {
  align-items: flex-start;
  color: var(--sr-muted);
  cursor: pointer;
  display: flex;
  font-size: 0.82rem;
  gap: 9px;
  line-height: 1.4;
}

.sotanillo-reservas .sr-sensitive-consent[hidden] {
  display: none;
}

.sotanillo-reservas .sr-sensitive-consent input[type="checkbox"] {
  accent-color: var(--sr-accent-dark);
  flex: 0 0 18px;
  height: 18px;
  margin-top: 3px;
  max-width: 18px;
  min-width: 18px;
  padding: 0;
  width: 18px;
}

.sotanillo-reservas .sr-sensitive-consent span {
  flex: 1 1 auto;
  min-width: 0;
}

.sotanillo-reservas .sr-sensitive-consent a {
  color: var(--sr-accent-dark);
  font-weight: 700;
}

.sotanillo-reservas .sr-loading-indicator {
  align-items: center;
  color: var(--sr-accent-dark);
  display: flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 64px;
  padding: 12px;
}

.sotanillo-reservas .sr-loading-indicator span,
.sotanillo-reservas .sr-button-spinner {
  animation: sr-spin .8s linear infinite;
  border: 3px solid rgba(31, 122, 77, 0.22);
  border-radius: 50%;
  border-top-color: var(--sr-accent);
  display: inline-block;
  height: 22px;
  width: 22px;
}

.sotanillo-reservas .sr-submit {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.sotanillo-reservas .sr-button-spinner {
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  height: 18px;
  width: 18px;
}

@keyframes sr-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sotanillo-reservas .sr-loading-indicator span,
  .sotanillo-reservas .sr-button-spinner {
    animation: none;
  }
}

/* Native El Sotanillo surface: the booking flow stays unchanged, while its
   visual language follows the dark reservation section around the widget. */
.sotanillo-reservas {
  --sr-ink: #fff;
  --sr-muted: rgba(255, 255, 255, 0.68);
  --sr-paper: #151515;
  --sr-panel: #151515;
  --sr-accent: #58c568;
  --sr-accent-dark: #58c568;
  --sr-accent-soft: rgba(88, 197, 104, 0.2);
  --sr-line: rgba(255, 255, 255, 0.18);
  --sr-ok: #fff;
  --sr-error: #fff;
  --sr-shadow: none;
  background: #111;
  color: var(--sr-ink);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 760px;
}

.sotanillo-reservas .sr-visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.sotanillo-reservas .sr-launcher {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  color: #111;
  font-weight: 600;
  min-height: 48px;
  padding: 12px 16px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.sotanillo-reservas .sr-launcher:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
  color: #111;
}

.sotanillo-reservas .sr-modal {
  display: block;
}

.sotanillo-reservas .sr-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  max-width: 760px;
  overflow: visible;
  padding: 0;
}

.sotanillo-reservas .sr-intro {
  display: none;
}

.sotanillo-reservas .sr-form {
  gap: 14px;
}

.sotanillo-reservas .sr-picker-row,
.sotanillo-reservas .sr-grid {
  gap: 12px;
}

.sotanillo-reservas .sr-picker-row {
  grid-template-columns: minmax(0, 1fr) minmax(132px, 0.42fr);
}

.sotanillo-reservas .sr-field {
  gap: 6px;
}

.sotanillo-reservas .sr-field label,
.sotanillo-reservas .sr-legend,
.sotanillo-reservas .sr-extra-prompt {
  color: var(--sr-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
}

.sotanillo-reservas .sr-date-trigger,
.sotanillo-reservas .sr-stepper,
.sotanillo-reservas .sr-field input,
.sotanillo-reservas .sr-field textarea,
.sotanillo-reservas .sr-slot,
.sotanillo-reservas .sr-inline-retry,
.sotanillo-reservas .sr-secondary-action {
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  color: var(--sr-ink);
  min-height: 48px;
}

.sotanillo-reservas .sr-date-trigger,
.sotanillo-reservas .sr-field input,
.sotanillo-reservas .sr-field textarea,
.sotanillo-reservas .sr-slot,
.sotanillo-reservas .sr-inline-retry,
.sotanillo-reservas .sr-secondary-action {
  padding: 11px 12px;
}

.sotanillo-reservas .sr-field input,
.sotanillo-reservas .sr-field textarea {
  font-weight: 400;
}

.sotanillo-reservas .sr-stepper button,
.sotanillo-reservas .sr-slot-tab-name,
.sotanillo-reservas .sr-slot-panel-title,
.sotanillo-reservas .sr-calendar-month,
.sotanillo-reservas .sr-calendar-weekdays,
.sotanillo-reservas .sr-calendar-legend,
.sotanillo-reservas .sr-contact-action,
.sotanillo-reservas .sr-privacy-notice strong {
  font-weight: 600;
}

.sotanillo-reservas .sr-slot-tab-range,
.sotanillo-reservas .sr-slot-panel-range {
  font-weight: 500;
}

.sotanillo-reservas .sr-date-trigger,
.sotanillo-reservas .sr-slot,
.sotanillo-reservas .sr-inline-retry,
.sotanillo-reservas .sr-secondary-action {
  font-weight: 500;
}

.sotanillo-reservas .sr-location-options,
.sotanillo-reservas .sr-slot-tabs {
  background: transparent;
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  gap: 2px;
  padding: 3px;
}

.sotanillo-reservas .sr-location-option span,
.sotanillo-reservas .sr-slot-tab {
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--sr-muted);
  font-weight: 500;
  min-height: 42px;
  padding: 9px 10px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.sotanillo-reservas .sr-location-option span:hover,
.sotanillo-reservas .sr-slot-tab:hover,
.sotanillo-reservas .sr-slot:hover,
.sotanillo-reservas .sr-date-trigger:hover,
.sotanillo-reservas .sr-inline-retry:hover,
.sotanillo-reservas .sr-secondary-action:hover,
.sotanillo-reservas .sr-calendar-nav:hover:not(:disabled),
.sotanillo-reservas .sr-stepper button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--sr-ink);
}

.sotanillo-reservas .sr-location-option input:checked + span,
.sotanillo-reservas .sr-slot-tab[aria-selected="true"] {
  background: #fff;
  border-bottom-color: var(--sr-accent);
  box-shadow: none;
  color: #111;
}

.sotanillo-reservas .sr-location-option input:checked + span:hover,
.sotanillo-reservas .sr-slot-tab[aria-selected="true"]:hover {
  background: #fff;
  border-color: transparent;
  border-bottom-color: var(--sr-accent);
  color: #111;
}

.sotanillo-reservas .sr-slot-tab[aria-selected="true"] .sr-slot-tab-range {
  color: #111;
}

.sotanillo-reservas .sr-location-option input:focus-visible + span,
.sotanillo-reservas .sr-date-trigger:focus,
.sotanillo-reservas .sr-date-trigger:focus-visible,
.sotanillo-reservas .sr-slot:focus-visible,
.sotanillo-reservas .sr-slot-tab:focus-visible,
.sotanillo-reservas .sr-calendar-day:focus-visible,
.sotanillo-reservas .sr-calendar-nav:focus-visible,
.sotanillo-reservas .sr-close:focus-visible,
.sotanillo-reservas .sr-stepper button:focus-visible,
.sotanillo-reservas .sr-disclosure-trigger:focus-visible,
.sotanillo-reservas .sr-submit:focus-visible,
.sotanillo-reservas .sr-launcher:focus-visible,
.sotanillo-reservas .sr-field input:focus,
.sotanillo-reservas .sr-field textarea:focus {
  box-shadow: 0 0 0 2px var(--sr-accent-soft);
  outline: 1px solid var(--sr-accent);
  outline-offset: 1px;
}

.sotanillo-reservas .sr-field input[aria-invalid="true"] {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.sotanillo-reservas .sr-field-error,
.sotanillo-reservas .sr-calendar-error,
.sotanillo-reservas .sr-privacy-pending {
  color: var(--sr-error);
}

.sotanillo-reservas .sr-progressive {
  border-top: 1px solid var(--sr-line);
  padding-top: 8px;
}

.sotanillo-reservas .sr-disclosure-trigger,
.sotanillo-reservas .sr-privacy-notice a,
.sotanillo-reservas .sr-sensitive-consent a {
  color: var(--sr-ink);
}

.sotanillo-reservas .sr-disclosure-trigger {
  font-weight: 500;
}

.sotanillo-reservas .sr-eyebrow {
  color: var(--sr-muted);
  font-weight: 600;
}

.sotanillo-reservas .sr-disclosure-panel,
.sotanillo-reservas .sr-slot-panel,
.sotanillo-reservas .sr-empty-state,
.sotanillo-reservas .sr-large-group {
  background: var(--sr-panel);
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  box-shadow: none;
}

.sotanillo-reservas .sr-calendar {
  background: #111;
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  box-shadow: none;
  max-width: 100%;
  min-width: 0;
  padding: 12px;
}

.sotanillo-reservas .sr-disclosure-panel,
.sotanillo-reservas .sr-calendar,
.sotanillo-reservas .sr-slot-panel,
.sotanillo-reservas .sr-large-group {
  padding: 12px;
}

.sotanillo-reservas .sr-calendar-nav {
  background: transparent;
  border: 1px solid var(--sr-line);
  border-radius: 6px;
  color: var(--sr-ink);
}

.sotanillo-reservas .sr-calendar-nav:disabled {
  color: rgba(255, 255, 255, 0.34);
}

.sotanillo-reservas .sr-calendar-day {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--sr-ink);
  font-weight: 500;
}

.sotanillo-reservas .sr-calendar-day[aria-pressed="true"] {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.sotanillo-reservas .sr-calendar-day[data-outside="true"],
.sotanillo-reservas .sr-calendar-day:disabled,
.sotanillo-reservas .sr-calendar-day[data-state="pasada"],
.sotanillo-reservas .sr-calendar-day[data-state="sin_datos"],
.sotanillo-reservas .sr-calendar-day[data-state="cargando"],
.sotanillo-reservas .sr-calendar-day[data-state="cerrado_total"],
.sotanillo-reservas .sr-calendar-day[data-state="sin_servicio"],
.sotanillo-reservas .sr-calendar-day[data-state="sin_disponibilidad"] {
  background: rgba(255, 255, 255, 0.035);
  color: var(--sr-muted);
}

.sotanillo-reservas .sr-calendar-day[data-state="cerrado_total"],
.sotanillo-reservas .sr-calendar-day[data-state="sin_servicio"] {
  text-decoration: line-through;
}

.sotanillo-reservas .sr-calendar-day[data-state="disponible"]:not(:disabled)::after {
  background: var(--sr-accent);
}

.sotanillo-reservas .sr-calendar-legend i[data-kind="closed"] {
  background: rgba(255, 255, 255, 0.42);
}

.sotanillo-reservas .sr-slot-panel {
  gap: 10px;
}

.sotanillo-reservas .sr-slot {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.sotanillo-reservas .sr-slot[aria-pressed="true"] {
  background: #fff;
  border-color: #fff;
  box-shadow: inset 0 -2px 0 var(--sr-accent);
  color: #111;
}

.sotanillo-reservas .sr-slot:disabled {
  color: rgba(255, 255, 255, 0.38);
}

.sotanillo-reservas .sr-large-group p {
  font-size: 0.72rem;
  color: var(--sr-muted);
  line-height: 1.35;
  margin: 0;
  max-width: none;
  width: 100%;
}

.sotanillo-reservas .sr-large-group {
  display: grid;
  gap: 6px;
  font-size: 0.76rem;
  padding: 10px;
}

.sotanillo-reservas .sr-large-group strong {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.sotanillo-reservas .sr-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 2px;
}

.sotanillo-reservas .sr-contact-action {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  color: #111;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  min-height: 34px;
  padding: 7px 9px;
  text-decoration: none;
  width: 100%;
  justify-content: center;
}

.sotanillo-reservas .sr-submit {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  color: #111;
  font-weight: 600;
  min-height: 48px;
  padding: 12px 16px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.sotanillo-reservas .sr-submit:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
  color: #111;
}

.sotanillo-reservas .sr-submit:disabled {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(0, 0, 0, 0.58);
  cursor: not-allowed;
}

.sotanillo-reservas .sr-status {
  background: transparent;
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  color: var(--sr-ink);
  padding: 10px 12px;
}

.sotanillo-reservas .sr-status[data-kind="ok"],
.sotanillo-reservas .sr-status[data-kind="info"] {
  background: transparent;
  border-left: 2px solid var(--sr-accent);
  color: var(--sr-ink);
}

.sotanillo-reservas .sr-status[data-kind="error"] {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--sr-error);
}

.sotanillo-reservas .sr-privacy-notice {
  border-top-color: var(--sr-line);
  padding-top: 12px;
}

.sotanillo-reservas .sr-privacy-notice strong {
  color: var(--sr-ink);
}

.sotanillo-reservas .sr-confirmation {
  gap: 12px;
  min-height: 0;
  padding: 0;
}

.sotanillo-reservas .sr-confirmation-icon {
  background: transparent;
  border: 1px solid var(--sr-line);
  color: var(--sr-accent);
  height: 44px;
  width: 44px;
}

.sotanillo-reservas .sr-confirmation h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.sotanillo-reservas .sr-confirmation-details div {
  border-bottom-color: var(--sr-line);
}

.sotanillo-reservas .sr-sensitive-consent input[type="checkbox"] {
  accent-color: var(--sr-accent);
}

.sotanillo-reservas .sr-loading-indicator {
  color: var(--sr-muted);
  font-size: 0.75rem;
  font-weight: 500;
  gap: 7px;
  min-height: 40px;
  padding: 6px 8px;
}

.sotanillo-reservas .sr-loading-indicator span,
.sotanillo-reservas .sr-button-spinner {
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: var(--sr-accent);
  border-width: 2px;
  height: 14px;
  width: 14px;
}

@media (max-width: 760px) {
  .sotanillo-reservas .sr-launcher {
    display: inline-flex;
    justify-content: center;
  }

  .sotanillo-reservas .sr-modal {
    display: none;
  }

  .sotanillo-reservas.sr-open .sr-modal {
    display: block;
  }

  .sotanillo-reservas .sr-card {
    background: #111;
    border: 1px solid var(--sr-line);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    display: flex;
    flex-direction: column;
    height: 92dvh;
    max-height: 92dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .sotanillo-reservas .sr-close {
    align-self: flex-end;
    background: #111;
    border: 1px solid var(--sr-line);
    border-radius: 6px;
    color: var(--sr-ink);
    flex: 0 0 34px;
    height: 34px;
    margin: 0 0 0 auto;
    position: sticky;
    right: auto;
    top: 0;
    width: 34px;
    z-index: 2;
  }

  .sotanillo-reservas .sr-contact-action {
    font-size: 0.75rem;
    min-height: 42px;
    padding: 8px 10px;
  }

  .sotanillo-reservas .sr-contact-actions {
    grid-template-columns: 1fr;
  }

  .sotanillo-reservas .sr-grid,
  .sotanillo-reservas .sr-picker-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  .sotanillo-reservas .sr-card {
    padding: 10px;
  }

  .sotanillo-reservas .sr-calendar {
    padding: 10px;
  }

  .sotanillo-reservas .sr-calendar-weekdays,
  .sotanillo-reservas .sr-calendar-days {
    gap: 4px;
  }
}

/* Desktop density follows the surrounding editorial column. Mobile keeps
   the larger touch targets defined above. */
@media (min-width: 761px) {
  .sotanillo-reservas .sr-form {
    gap: 10px;
  }

  .sotanillo-reservas .sr-picker-row,
  .sotanillo-reservas .sr-grid {
    gap: 8px;
  }

  .sotanillo-reservas .sr-field {
    gap: 4px;
  }

  .sotanillo-reservas .sr-field label,
  .sotanillo-reservas .sr-legend,
  .sotanillo-reservas .sr-extra-prompt {
    font-size: 0.7rem;
  }

  .sotanillo-reservas .sr-date-trigger,
  .sotanillo-reservas .sr-stepper,
  .sotanillo-reservas .sr-field input,
  .sotanillo-reservas .sr-field textarea,
  .sotanillo-reservas .sr-inline-retry,
  .sotanillo-reservas .sr-secondary-action {
    min-height: 40px;
  }

  .sotanillo-reservas .sr-date-trigger,
  .sotanillo-reservas .sr-field input,
  .sotanillo-reservas .sr-field textarea,
  .sotanillo-reservas .sr-inline-retry,
  .sotanillo-reservas .sr-secondary-action {
    font-size: 0.875rem;
    padding: 8px 10px;
  }

  .sotanillo-reservas .sr-stepper {
    grid-template-columns: 32px minmax(42px, 1fr) 32px;
  }

  .sotanillo-reservas .sr-stepper button {
    font-size: 1.1rem;
  }

  .sotanillo-reservas .sr-stepper .sr-people-value {
    font-size: 0.875rem;
  }

  .sotanillo-reservas .sr-location-options,
  .sotanillo-reservas .sr-slot-tabs {
    padding: 2px;
  }

  .sotanillo-reservas .sr-location-option span,
  .sotanillo-reservas .sr-slot-tab {
    font-size: 0.82rem;
    line-height: 1.1;
    min-height: 36px;
    padding: 3px 8px;
  }

  .sotanillo-reservas .sr-slot-tab-name,
  .sotanillo-reservas .sr-slot-tab-range {
    line-height: 1.1;
  }

  .sotanillo-reservas .sr-slot-tab-range,
  .sotanillo-reservas .sr-slot-panel-range {
    font-size: 0.68rem;
  }

  .sotanillo-reservas .sr-slot-panel-title {
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
  }

  .sotanillo-reservas .sr-slot-hint {
    font-size: 0.68rem;
  }

  .sotanillo-reservas .sr-disclosure-panel,
  .sotanillo-reservas .sr-calendar,
  .sotanillo-reservas .sr-slot-panel,
  .sotanillo-reservas .sr-large-group {
    padding: 10px;
  }

  .sotanillo-reservas .sr-calendar-popover {
    width: 330px;
  }

  .sotanillo-reservas .sr-calendar-head {
    margin-bottom: 8px;
  }

  .sotanillo-reservas .sr-calendar-nav {
    font-size: 1.1rem;
    height: 30px;
    width: 30px;
  }

  .sotanillo-reservas .sr-calendar-weekdays,
  .sotanillo-reservas .sr-calendar-days {
    gap: 4px;
  }

  .sotanillo-reservas .sr-calendar-weekdays {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }

  .sotanillo-reservas .sr-calendar-day {
    font-size: 0.8rem;
  }

  .sotanillo-reservas .sr-calendar-message {
    margin-top: 8px;
    min-height: 26px;
  }

  .sotanillo-reservas .sr-calendar-legend {
    font-size: 0.62rem;
    gap: 8px;
    margin-top: 8px;
  }

  .sotanillo-reservas .sr-slot-panel {
    gap: 8px;
  }

  .sotanillo-reservas .sr-slot-times {
    gap: 6px;
  }

  .sotanillo-reservas .sr-slot {
    font-size: 0.875rem;
    min-height: 38px;
    padding: 8px 10px;
  }

  .sotanillo-reservas .sr-submit {
    font-size: 0.9rem;
    min-height: 42px;
    padding: 9px 14px;
  }

  .sotanillo-reservas .sr-status {
    padding: 8px 10px;
  }

  .sotanillo-reservas .sr-sensitive-consent {
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sotanillo-reservas .sr-launcher,
  .sotanillo-reservas .sr-location-option span,
  .sotanillo-reservas .sr-slot-tab,
  .sotanillo-reservas .sr-slot,
  .sotanillo-reservas .sr-submit {
    transition: none;
  }
}
