:root {
  --ink: #14211f;
  --muted: #5c6863;
  --paper: #ffffff;
  --mist: #f4f7f1;
  --line: #d9e2dd;
  --green: #1d7b59;
  --green-dark: #0f5b42;
  --blue: #247ba0;
  --coral: #cf6041;
  --amber: #a46c16;
  --shadow: 0 18px 40px rgba(20, 33, 31, 0.14);
  --shell-width: 1280px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--mist);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-header {
  position: relative;
  min-height: clamp(500px, 36vw, 620px);
  color: #ffffff;
  background-image: url("header.png");
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero {
  position: relative;
  width: min(var(--shell-width), calc(100% - 32px));
  margin: 0 auto;
  min-height: inherit;
  padding: 24px 0 30px;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.hero-reservations-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(29, 123, 89, 0.95);
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(9, 24, 20, 0.22);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.hero-reservations-link:hover,
.hero-reservations-link:focus-visible,
.hero-shop-link:hover,
.hero-shop-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(15, 91, 66, 0.98);
  transform: translateY(-1px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f8c9b9;
}

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

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.hero-main-logo {
  display: block;
  width: clamp(210px, 36vw, 360px);
  max-width: 100%;
  height: auto;
  margin: clamp(34px, 4vw, 56px) auto 0;
  filter: drop-shadow(0 10px 22px rgba(9, 24, 20, 0.22));
}

@media (min-width: 768px) {
  .hero-main-logo {
    display: none;
  }
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 5.7rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: calc(100vw - 32px);
  width: fit-content;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.12rem;
  line-height: 1.55;
  white-space: nowrap;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

.hero-actions-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.hero-services-shell {
  display: contents;
}

@media (max-width: 768px) {
  .app-header {
    min-height: 84dvh;
    background-position: 50% 42%;
  }

  .hero {
    min-height: 84dvh;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
  }

  .hero-topbar {
    width: 100%;
    padding-inline: clamp(12px, 4vw, 18px);
  }

  .hero-brand {
    width: min(100%, 100vw);
    flex: 0 0 auto;
  }

  .hero-main-logo {
    width: clamp(220px, 64vw, 300px);
    margin-top: 2px;
  }

  .hero-copy {
    width: auto;
    max-width: calc(100vw - 20px);
    white-space: normal;
  }

  .hero-actions-row {
    flex: 1 1 auto;
    justify-content: flex-end;
    margin-top: auto;
    padding-bottom: 2px;
    gap: 8px;
  }

  .hero-services-shell {
    width: min(calc(100vw - 16px), 390px);
    margin-inline: auto;
  }
}

.hero-block-shell {
  flex: 0 0 auto;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 14px 36px rgba(9, 24, 20, 0.16);
}

.hero-service-menu {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: 100%;
  transform: translateX(-50%);
  align-self: center;
}

.hero-service-tabs {
  flex: 0 0 auto;
  min-width: 0;
  width: max-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-services-toggle {
  display: none;
}

@media (min-width: 1025px) {
  .hero-services-shell {
    display: contents;
  }

  .hero-services-toggle {
    display: none !important;
  }

  .hero-service-menu {
    display: flex;
    position: absolute;
    top: 22px;
    left: 50%;
    width: max-content;
    max-width: 100%;
    padding: 9px;
    transform: translateX(-50%);
  }

  .hero-service-tabs {
    display: flex;
    width: max-content;
    grid-template-columns: none;
  }
}

.hero-contact-area {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 30px;
  z-index: 3;
  margin-top: 0;
  display: grid;
  gap: 8px;
  width: min(100%, 560px);
  justify-items: center;
  transform: translateX(-50%);
}

.hero-contact-shell {
  align-self: center;
  display: flex;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-contact-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 18, 15, 0.72);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  text-transform: uppercase;
}

.hero-contact {
  flex: 0 0 auto;
  min-width: 0;
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 0;
}

.hero-contact-link {
  max-width: 100%;
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(9, 24, 20, 0.34);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 12px 30px rgba(9, 24, 20, 0.16);
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.hero-icon-link {
  flex: 0 0 auto;
}

.hero-call-wrap {
  position: relative;
}

.hero-call-toggle {
  border-radius: 999px;
}

.hero-location {
  width: 48px;
  height: 48px;
}

.hero-contact-link:hover,
.hero-contact-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(9, 24, 20, 0.46);
  transform: translateY(-1px);
}

.hero-contact-link svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-whatsapp svg {
  fill: currentColor;
  stroke: none;
}

.hero-instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-call-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 176px;
  padding: 8px;
  border: 1px solid rgba(20, 33, 31, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(20, 33, 31, 0.16);
}

.hero-call-menu[hidden] {
  display: none;
}

.hero-call-menu__item {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
}

.hero-call-menu__item:hover,
.hero-call-menu__item:focus-visible {
  outline: none;
  background: rgba(29, 123, 89, 0.1);
  color: var(--green-dark);
}

.hero-call-menu__item + .hero-call-menu__item {
  margin-top: 4px;
}

.hero-service-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 128px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 10px;
  color: #ffffff;
  background: rgba(9, 24, 20, 0.28);
  font-weight: 850;
  text-align: center;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.hero-service-option:hover,
.hero-service-option.is-active {
  border-color: rgba(255, 255, 255, 0.76);
  color: var(--green-dark);
  background: #ffffff;
}

.hero-service-option:hover {
  transform: translateY(-1px);
}

.hero-shop-link {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  background: rgba(29, 123, 89, 0.95);
  text-decoration: none;
}

.hero-shop-link.is-active {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(15, 91, 66, 0.98);
  color: #ffffff;
  transform: translateY(-1px);
}

main {
  width: min(var(--shell-width), calc(100% - 32px));
  margin: 0 auto 54px;
}

body[data-public-section="none"] {
  min-height: 100svh;
}

body[data-public-section="none"] main {
  margin: 0 auto;
}

body:not([data-public-section="none"]) .hero-intro {
  display: none;
}

body[data-public-section="none"] .workspace,
body[data-public-section="none"] .shop-section,
body[data-public-section="none"] .reservations-section,
body[data-public-section="booking"] .shop-section,
body[data-public-section="booking"] .reservations-section,
body[data-public-section="shop"] .workspace,
body[data-public-section="shop"] .reservations-section,
body[data-public-section="reservations"] .workspace,
body[data-public-section="reservations"] .shop-section {
  display: none;
}

body[data-public-section="booking"] .workspace {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.hero-intro {
  display: grid;
  place-items: center;
  padding: 16px 0 28px;
}

.hero-intro__card {
  width: min(100%, 760px);
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(26, 62, 48, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 246, 0.98));
  box-shadow: 0 18px 34px rgba(37, 58, 49, 0.12);
  text-align: center;
}

.hero-intro__eyebrow {
  margin: 0 0 10px;
  color: rgba(17, 68, 51, 0.74);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-intro__title {
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.25rem, 1.8vw, 1.9rem);
  line-height: 1.14;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 12px;
  align-items: start;
  margin-top: 0;
}

.panel,
.reservations-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.panel {
  padding: 16px;
}

.section-heading h2,
.booking-head h2,
.reservations-head h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.booking-panel {
  min-height: 530px;
}

.shop-section {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.shop-section__heading {
  display: grid;
  gap: 8px;
}

.shop-intro {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.shop-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 241, 0.96));
  box-shadow: 0 12px 26px rgba(20, 33, 31, 0.08);
}

.product-card--sold {
  border-color: rgba(92, 104, 99, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 241, 238, 0.98));
}

.shop-card__media {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  --shop-media-height: clamp(180px, 20vw, 220px);
  width: 100%;
  height: var(--shop-media-height);
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: #ffffff;
  color: #ffffff;
}

.shop-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-sold-badge {
  position: absolute;
  top: 44%;
  left: 50%;
  z-index: 3;
  width: 150%;
  padding: 10px 0;
  background: rgba(20, 33, 31, 0.9);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(20, 33, 31, 0.16);
  transform: translateX(-50%) rotate(-18deg);
}

.shop-card__initials {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.shop-card__image {
  position: relative;
  z-index: 1;
  display: block;
  --shop-image-height: min(168px, calc(var(--shop-media-height) - 28px));
  --shop-image-scale: 1;
  width: auto;
  height: var(--shop-image-height);
  max-width: calc(100% - 32px);
  max-height: var(--shop-image-height);
  object-fit: contain;
  object-position: center center;
  transform: scale(var(--shop-image-scale));
  transform-origin: center center;
  will-change: transform;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.10));
}

.product-card--sold .shop-card__image {
  opacity: 0.9;
  filter: grayscale(0.18) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.08));
}

.shop-card__image--paddle-nox {
  --shop-image-scale: 1.09;
}

.shop-card__image--paddle-wilson {
  --shop-image-scale: 0.88;
}

.shop-card__image--balls {
  --shop-image-scale: 1.11;
}

.shop-card__body {
  display: grid;
  gap: 10px;
}

.shop-card__body h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.shop-card__description {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.shop-card__price {
  color: var(--ink);
  font-size: 1.08rem;
}

.product-card--sold .shop-card__price {
  color: #41504a;
}

.shop-card__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(29, 123, 89, 0.28);
  border-radius: 8px;
  color: var(--green-dark);
  background: #e8f6ef;
  font-weight: 850;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.product-button--disabled,
.shop-card__whatsapp:disabled {
  border-color: rgba(92, 104, 99, 0.22);
  background: #eef2ef;
  color: #74817c;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.shop-card__whatsapp-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.shop-card__whatsapp-icon path {
  fill: currentColor;
}

.shop-card__whatsapp:hover,
.shop-card__whatsapp:focus-visible {
  border-color: rgba(29, 123, 89, 0.42);
  background: #dff1e8;
  transform: translateY(-1px);
}

.product-button--disabled:hover,
.product-button--disabled:focus-visible,
.shop-card__whatsapp:disabled:hover,
.shop-card__whatsapp:disabled:focus-visible {
  border-color: rgba(92, 104, 99, 0.22);
  background: #eef2ef;
  color: #74817c;
  transform: none;
}

.booking-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service-meta {
  margin: 14px 0 0;
  color: #111111;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.booking-current-date {
  display: flex;
  width: fit-content;
  justify-content: center;
  align-items: center;
  margin: 14px auto 18px;
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(20, 40, 30, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 18px rgba(20, 33, 31, 0.06);
}

.service-meta:empty {
  display: none;
}

.date-tools {
  display: grid;
  grid-template-columns: minmax(170px, 220px) repeat(2, auto);
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.date-picker-shell {
  position: relative;
  width: fit-content;
  margin-inline: auto;
}

.date-input {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 40px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

.date-input:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.date-input:focus-visible {
  outline: 2px solid rgba(29, 123, 89, 0.18);
  outline-offset: 2px;
}

.date-picker-toggle::after {
  content: "\25BE";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-46%);
  flex: 0 0 auto;
  color: var(--green);
  font-size: 1.08rem;
  line-height: 1;
}

.date-button {
  min-height: 42px;
  min-width: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 850;
}

.date-button:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.date-picker-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 14;
  width: min(360px, calc(100vw - 24px));
  transform: translateX(-50%);
}

.date-picker-popup {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(29, 123, 89, 0.16);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(20, 33, 31, 0.18);
}

.date-picker-popup__header {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
  text-transform: capitalize;
}

.date-picker-popup__header strong {
  text-align: center;
}

.date-picker-popup__nav {
  min-height: 36px;
  min-width: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.date-picker-popup__nav:hover,
.date-picker-popup__nav:focus-visible {
  border-color: var(--green);
  color: var(--green-dark);
  outline: none;
}

.date-picker-popup__weekdays,
.date-picker-popup__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.date-picker-popup__weekdays span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-align: center;
  text-transform: capitalize;
}

.date-picker-popup__day {
  min-height: 40px;
  border: 1px solid rgba(29, 123, 89, 0.12);
  border-radius: 10px;
  padding: 0;
  color: var(--ink);
  background: #f7fbf8;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.date-picker-popup__day:hover,
.date-picker-popup__day:focus-visible {
  border-color: rgba(29, 123, 89, 0.32);
  background: #eef8f2;
  outline: none;
}

.date-picker-popup__day.is-outside {
  color: rgba(20, 33, 31, 0.36);
  background: #fbfcfb;
}

.date-picker-popup__day.is-today {
  border-color: rgba(29, 123, 89, 0.4);
}

.date-picker-popup__day.is-selected {
  border-color: rgba(29, 123, 89, 0.55);
  color: #ffffff;
  background: var(--green);
}

.date-picker-popup__day:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.service-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 4px solid var(--amber);
  border-radius: 0 8px 8px 0;
  color: #65410e;
  background: rgba(164, 108, 22, 0.1);
  line-height: 1.45;
}

.court-note {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  border: 1px solid rgba(29, 123, 89, 0.18);
  border-left: 4px solid var(--green);
  color: var(--ink);
  background: #f7fbf8;
}

.court-note span {
  display: grid;
  gap: 3px;
  min-height: 58px;
  justify-items: center;
  align-content: center;
  padding: 8px 10px;
  border: 1px solid rgba(29, 123, 89, 0.12);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.court-note strong {
  color: var(--green-dark);
  font-size: 1.05rem;
  line-height: 1.2;
}

.court-note small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.football-note {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 760px) {
  .booking-panel .service-note.service-note--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-panel .service-note.service-note--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-panel .service-note.service-note--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .booking-panel .service-note.service-note--two > span,
  .booking-panel .service-note.service-note--three > span,
  .booking-panel .service-note.service-note--four > span {
    width: auto;
    min-width: 0;
    max-width: none;
    grid-column: auto;
  }
}

.event-note {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(29, 123, 89, 0.18);
  border-left: 4px solid var(--green);
  color: var(--ink);
  background: #f7fbf8;
}

.event-note-head {
  display: none;
}

.event-note-head strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.35;
}

.event-details {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.note-kicker,
.promo-name,
.cost-strip small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.note-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--amber);
  font-size: 0.8rem;
  font-weight: 850;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.promo-row {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 12px;
  border: 1px solid rgba(29, 123, 89, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

button.promo-row {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.promo-row:hover,
button.promo-row:focus-visible,
button.promo-row.is-selected {
  border-color: rgba(29, 123, 89, 0.34);
  box-shadow: 0 10px 22px rgba(20, 33, 31, 0.08);
  transform: translateY(-1px);
}

button.promo-row:focus-visible {
  outline: 2px solid rgba(29, 123, 89, 0.32);
  outline-offset: 2px;
}

button.promo-row:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.event-details .promo-row.is-busy,
.event-details .promo-row.is-past,
.event-details .promo-row.is-mine {
  border-color: rgba(140, 152, 146, 0.34);
  color: #7f8985;
  background:
    repeating-linear-gradient(
      135deg,
      #eef2ef 0 7px,
      #e4e9e6 7px 14px
    );
}

.event-details .promo-row.is-unavailable {
  border-color: rgba(140, 152, 146, 0.22);
  color: #7f8985;
  background: #f3f6f4;
}

.event-details .promo-row.is-selected {
  border-color: var(--green);
  outline: 3px solid rgba(29, 123, 89, 0.16);
  background: #e9f7ef;
}

.promo-row strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.3;
}

.promo-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.promo-list li {
  line-height: 1.4;
}

.cost-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.cost-strip span {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(29, 123, 89, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.cost-strip small {
  color: var(--muted);
  text-transform: none;
}

.cost-strip strong {
  color: var(--green-dark);
  font-size: 1rem;
}

.policy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-list li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--green-dark);
  background: rgba(29, 123, 89, 0.1);
  font-size: 0.84rem;
  font-weight: 750;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.detail-card {
  padding: 12px;
  border: 1px solid rgba(29, 123, 89, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.detail-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.96rem;
}

.detail-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.detail-card li {
  line-height: 1.4;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.football-start-time-label {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: left;
}

.event-slots-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.schedule-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.schedule-toolbar > div:first-child {
  display: grid;
  gap: 3px;
}

.schedule-legend {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(6px, 0.8vw, 10px);
  color: var(--muted);
  font-size: clamp(0.74rem, 0.68rem + 0.18vw, 0.84rem);
  font-weight: 750;
}

.schedule-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: 0 0 auto;
}

.legend-dot.is-free {
  background: #ffffff;
  border: 1px solid var(--line);
}

.legend-dot.is-past {
  background:
    repeating-linear-gradient(
      135deg,
      #d7ddd9 0 4px,
      #eef2ef 4px 8px
    );
  border: 1px solid #c4ccc8;
}

.legend-dot.is-busy {
  background: #ef4444;
}

.legend-dot.is-mine {
  background: #3b82f6;
}

.schedule-shell {
  overflow-x: auto;
  padding-bottom: 4px;
}

.schedule-board {
  position: relative;
  display: grid;
  min-width: min(100%, 520px);
  border: 1px solid #cfe0e7;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.schedule-corner,
.schedule-court,
.schedule-time {
  display: grid;
  place-items: center;
  border-right: 1px solid #cfe0e7;
  border-bottom: 1px solid #cfe0e7;
  color: var(--ink);
  background: #f8faf8;
  font-size: 0.83rem;
  font-weight: 850;
}

.schedule-court {
  padding: 0 8px;
  text-align: center;
}

.schedule-time {
  color: var(--muted);
  background: #ffffff;
}

.schedule-time.is-past {
  color: #9aa39f;
  background: #eef2ef;
  text-decoration: line-through;
}

.schedule-cell {
  min-width: 0;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-right: 1px solid #d9e8ee;
  border-bottom: 1px solid #d9e8ee;
  color: var(--ink);
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.schedule-cell span {
  opacity: 0;
}

.schedule-cell:not(:disabled):hover,
.schedule-cell.is-selected {
  position: relative;
  z-index: 3;
  outline: 3px solid rgba(29, 123, 89, 0.2);
  background: #e9f7ef;
}

.schedule-cell.is-hot:not(:disabled) {
  background: #fff8f3;
}

.schedule-cell.is-past {
  color: #9aa39f;
  background:
    repeating-linear-gradient(
      135deg,
      #d7ddd9 0 4px,
      #eef2ef 4px 8px
    );
  box-shadow: inset 0 0 0 1px rgba(139, 150, 145, 0.18);
  opacity: 0.72;
}

.schedule-cell.is-past,
.schedule-cell:disabled,
.schedule-cell[aria-disabled="true"] {
  cursor: not-allowed;
}

.schedule-block {
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 2px;
  margin: 2px;
  padding: 7px 8px;
  border-radius: 7px;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(20, 33, 31, 0.12);
  pointer-events: none;
}

.schedule-block strong {
  font-size: 0.82rem;
  line-height: 1.1;
}

.schedule-block span {
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.9;
}

.schedule-block.is-busy {
  background: #ef4444;
}

.schedule-block.is-mine {
  background: #3b82f6;
}

.slot {
  min-height: 90px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
}

.slot strong {
  font-size: 1.08rem;
}

.slot span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.slot small {
  color: var(--green-dark);
  font-weight: 800;
}

.slot.is-hot {
  border-color: rgba(207, 96, 65, 0.5);
  background: #fff7f3;
}

.slot.is-busy,
.slot.is-mine {
  color: #ffffff;
}

.slot.is-busy {
  border-color: rgba(190, 35, 35, 0.22);
  background: #ef4444;
}

.slot.is-mine {
  border-color: rgba(35, 90, 190, 0.22);
  background: #3b82f6;
}

.slot.is-busy strong,
.slot.is-busy span,
.slot.is-busy small,
.slot.is-mine strong,
.slot.is-mine span,
.slot.is-mine small {
  color: #ffffff;
}

.slot.is-busy,
.slot.is-mine,
.slot.is-busy:disabled,
.slot.is-mine:disabled,
.slot.is-busy[aria-disabled="true"],
.slot.is-mine[aria-disabled="true"] {
  cursor: not-allowed;
}

.slot.is-past {
  border-color: #c8d0cc;
  color: #8b9691;
  background:
    repeating-linear-gradient(
      135deg,
      #d7ddd9 0 7px,
      #eef2ef 7px 14px
    );
  opacity: 0.78;
}

.slot.is-past,
.slot:disabled,
.slot[aria-disabled="true"] {
  cursor: not-allowed;
}

.slot.is-past strong,
.slot.is-past span,
.slot.is-past small {
  color: #7f8985;
}

.slot:not(:disabled):hover {
  border-color: var(--green);
  outline: 3px solid rgba(29, 123, 89, 0.18);
  background: #e9f7ef;
}

.slot.is-hot:not(:disabled):hover {
  background: #fff0e8;
}

.slot.is-selected {
  border-color: var(--green);
  outline: 3px solid rgba(29, 123, 89, 0.18);
}

.event-slot {
  align-content: start;
  gap: 8px;
  min-height: 162px;
}

.event-slot .slot-promo-name {
  color: var(--muted);
  font-weight: 800;
}

.event-slot .slot-promo-list {
  display: grid;
  gap: 4px;
}

.event-slot .slot-promo-item {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.event-slot .slot-promo-item::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.event-slot .slot-promo-item.is-price {
  color: var(--green-dark);
  font-weight: 850;
}

.slot.is-past .slot-promo-name,
.slot.is-past .slot-promo-item,
.slot.is-past .slot-promo-item.is-price {
  color: #7f8985;
}

.slot:disabled {
  cursor: not-allowed;
  color: #7f8985;
  background: #eef2ef;
}

.slot.is-busy:disabled,
.slot.is-mine:disabled {
  color: #ffffff;
  opacity: 1;
}

.slot.is-busy:disabled {
  background: #ef4444;
}

.slot.is-mine:disabled {
  background: #3b82f6;
}

.slot.event-slot.is-busy:disabled,
.slot.event-slot.is-mine:disabled {
  color: #7f8985;
  background:
    repeating-linear-gradient(
      135deg,
      #d7ddd9 0 7px,
      #eef2ef 7px 14px
    );
  opacity: 0.82;
}

.slot.event-slot.is-busy strong,
.slot.event-slot.is-busy span,
.slot.event-slot.is-busy small,
.slot.event-slot.is-mine strong,
.slot.event-slot.is-mine span,
.slot.event-slot.is-mine small {
  color: #7f8985;
}

.slot.is-past:disabled {
  background:
    repeating-linear-gradient(
      135deg,
      #d7ddd9 0 7px,
      #eef2ef 7px 14px
    );
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 126px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.selected-summary {
  min-height: 112px;
  display: grid;
  gap: 7px;
  align-content: center;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcfa;
  line-height: 1.45;
}

.selected-summary strong {
  color: var(--ink);
}

.summary-date {
  color: var(--ink);
  font-weight: 800;
}

.summary-promo {
  margin-top: 2px;
}

.selected-summary .summary-promo-list {
  gap: 4px;
  padding-left: 20px;
}

.checkout-panel .section-heading .eyebrow {
  display: none;
}

/* Confirmacion de reserva */
.selected-summary--compact {
  align-content: start;
  gap: 9px;
  line-height: 1.35;
}

.selected-summary--compact > :is(strong, span, div, ul) {
  min-width: 0;
}

.selected-summary__head,
.selected-summary__meta {
  display: grid;
  gap: 4px;
}

.selected-summary__meta > strong {
  line-height: 1.2;
}

.selected-summary__detail-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.selected-summary__detail-item {
  padding: 8px 10px;
  border: 1px solid rgba(29, 123, 89, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.selected-summary__detail-item--inline {
  padding-block: 10px;
}

.selected-summary__detail-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
}

.selected-summary__detail-label,
.selected-summary__financial-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.selected-summary__detail-value {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.selected-summary__detail-item--inline .selected-summary__detail-value {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  min-width: 0;
  white-space: nowrap;
}

.selected-summary__detail-arrow {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--green);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55));
}

.selected-summary__promo-card {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(29, 123, 89, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.selected-summary__promo-card .summary-promo {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.selected-summary__financials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 7px 8px;
}

.selected-summary__financials--totals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.selected-summary__financial-item {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(29, 123, 89, 0.08);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.selected-summary__financial-item strong {
  line-height: 1.2;
}

.selected-summary__financial-note {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.selected-summary__promo-card .summary-promo-list {
  margin: 0;
  padding: 0 0 0 18px;
  border: 0;
  background: transparent;
}

.summary-warning {
  padding: 8px 10px;
  border: 1px solid rgba(207, 96, 65, 0.28);
  border-radius: 8px;
  color: #8d3a22;
  background: #fff7f3;
  font-weight: 800;
}

.payment-summary {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.schedule-board.is-mobile-court-view {
  min-width: 0;
  width: 100%;
}

.payment-summary h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.payment-summary dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 10px;
  margin: 0;
}

.payment-summary dt {
  color: var(--muted);
  font-weight: 800;
}

.payment-summary dd {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  overflow-wrap: break-word;
}

.payment-summary--modal {
  gap: 7px;
}

.payment-summary--modal h3 {
  font-size: 1.2rem;
  line-height: 1.15;
}

.payment-summary-lines {
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.payment-summary-lines p {
  width: 100%;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  color: var(--ink);
  font-weight: 750;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.reservation-success-message {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(29, 123, 89, 0.34);
  border-radius: 8px;
  color: var(--green-dark);
  background: #e8f6ee;
  font-size: 1rem;
  font-weight: 900;
}

.payment-note {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(29, 123, 89, 0.26);
  border-radius: 8px;
  color: var(--green-dark);
  background: #eef8f2;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.payment-warning {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(207, 96, 65, 0.28);
  border-left-width: 4px;
  border-radius: 8px;
  color: #8d3a22;
  background: #fff7f3;
  font-size: 0.88rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.payment-proof-form {
  display: grid;
  gap: 7px;
}

.payment-proof-field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.payment-proof-field span {
  white-space: nowrap;
}

.payment-proof-field input {
  flex: 1 1 220px;
  min-height: 42px;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.payment-proof-form.is-compact {
  max-width: 360px;
  margin-top: 40px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.payment-proof-help,
.payment-proof-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.payment-proof-status {
  margin-top: 8px;
  color: var(--green-dark);
}

.payment-proof-button {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  justify-self: start;
  border: 0;
  padding: 0 14px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--green);
  font-weight: 850;
}

.payment-proof-button:hover {
  background: var(--green-dark);
  color: #ffffff;
}

body.has-payment-modal {
  overflow: hidden;
}

.payment-modal[hidden] {
  display: none;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
}

.payment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 33, 30, 0.58);
}

.payment-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  display: grid;
  justify-items: stretch;
  gap: 10px;
  box-sizing: border-box;
  outline: none;
}

.payment-modal__close {
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  justify-self: end;
  margin: 0 6px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(22, 33, 29, 0.16);
}

.payment-modal__close:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.payment-modal__shell {
  width: 100%;
  max-height: min(calc(90vh - 36px), 900px);
  overflow: auto;
  justify-self: stretch;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 16px 28px 20px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(22, 33, 29, 0.28);
}

.payment-modal__content {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.booking-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.booking-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.booking-form label[hidden] {
  display: none;
}

.booking-form .guest-extra-field[hidden] {
  display: none !important;
}

.booking-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.booking-form input,
.booking-form select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
}

.phone-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.phone-field legend {
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
}

.phone-parts {
  display: grid;
  grid-template-columns: max-content max-content max-content minmax(0, 1fr);
  gap: 0;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-sizing: border-box;
  align-items: stretch;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.phone-part {
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 44px;
  background: #ffffff;
  box-sizing: border-box;
}

.phone-part + .phone-part {
  border-left: 1px solid rgba(31, 78, 65, 0.18);
}

.phone-part input {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
}

.phone-input-shell {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
}

.phone-parts:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 123, 89, 0.12);
}

.phone-prefix {
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 850;
}

.phone-input-shell input {
  min-height: 42px;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.phone-part--country .phone-input-shell {
  gap: 4px;
  padding-inline: 12px;
  justify-content: center;
}

.phone-part--country input {
  flex: 0 0 3.2ch;
  width: 3.2ch;
  text-align: center;
}

.phone-part--prefix input {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  padding-inline: 10px;
  text-align: center;
}

.phone-part--area input {
  flex: 0 0 3.75rem;
  width: 3.75rem;
  padding-inline: 10px;
  text-align: center;
}

.phone-part--local {
  flex: 1 1 auto;
}

.phone-part--local input {
  text-align: left;
  padding-inline: 12px;
}

.phone-input-shell input:focus {
  outline: none;
}

.phone-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.duration-field {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(29, 123, 89, 0.16);
  border-radius: 12px;
  background: #f8fcf9;
}

.duration-field[hidden] {
  display: none !important;
}

.duration-field legend {
  padding: 0 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.duration-options {
  width: 100%;
  min-width: 0;
}

.duration-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 42px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-sizing: border-box;
}

.duration-stepper__value {
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  cursor: default;
}

.duration-stepper__button {
  min-width: 42px;
  border: 0;
  border-left: 1px solid rgba(31, 78, 65, 0.16);
  background: #f4f8f6;
  color: var(--green-dark);
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.duration-stepper__button:hover:not(:disabled) {
  background: #e6f2eb;
}

.duration-stepper__button:disabled {
  color: #95a39d;
  background: #edf2ef;
  cursor: not-allowed;
}

.duration-stepper__button:focus-visible {
  outline: 2px solid rgba(29, 123, 89, 0.35);
  outline-offset: -2px;
}

.booking-form .addon-field {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfa;
  font-size: 0.9rem;
}

.booking-form .addon-field[hidden] {
  display: none;
}

.booking-form .addon-field input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.guests-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 42px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-sizing: border-box;
}

.guest-extra-field {
  align-items: start;
}

.guest-extra-field > .guests-stepper {
  margin-top: 0;
}

.guests-stepper__value {
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font: inherit;
  font-weight: 850;
  user-select: none;
  pointer-events: none;
  cursor: default;
}

.guests-stepper__button {
  min-width: 42px;
  border: 0;
  border-left: 1px solid rgba(31, 78, 65, 0.16);
  background: #f4f8f6;
  color: var(--green-dark);
  font-weight: 900;
  font-size: 1.1rem;
}

.guests-stepper__button:hover:not(:disabled) {
  background: #e6f2eb;
}

.guests-stepper__button:disabled {
  color: #95a39d;
  background: #edf2ef;
  cursor: not-allowed;
}

.primary-button,
.secondary-button {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  border: 0;
  color: #ffffff;
  background: var(--green);
}

.primary-button:hover {
  background: var(--green-dark);
}

.primary-button:disabled {
  cursor: not-allowed;
  background: #98aaa2;
}

.secondary-button {
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #ffffff;
}

.secondary-button:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.reservations-section {
  margin-top: 18px;
  padding: 18px;
}

.reservations-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reservation-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.reservation-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.reservation-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.reservation-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.reservation-price {
  color: var(--green-dark);
  font-weight: 850;
}

.reservation-proof-button {
  min-height: 38px;
  margin-top: 40px;
}

.cancel-button {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(207, 96, 65, 0.38);
  border-radius: 8px;
  color: var(--coral);
  background: #fff7f3;
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  max-width: min(360px, calc(100% - 40px));
  padding: 13px 15px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.global-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(238, 243, 239, 0.68);
  backdrop-filter: blur(4px);
}

.global-loader[hidden] {
  display: none;
}

.global-loader__card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(100%, 260px);
  padding: 14px 18px;
  border: 1px solid rgba(29, 123, 89, 0.18);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  font-weight: 750;
}

.global-loader__spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 3px solid rgba(29, 123, 89, 0.18);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: global-loader-spin 0.8s linear infinite;
}

.global-loader__text {
  font-size: 0.98rem;
  line-height: 1.35;
}

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

@media (max-width: 1080px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    grid-column: auto;
  }

  body[data-public-section="booking"] .workspace {
    margin-top: 0;
  }
}

@media (min-width: 1081px) {
  body[data-public-section="booking"] .workspace {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    gap: clamp(12px, 1.5vw, 18px);
  }

  .checkout-panel {
    position: sticky;
    top: 16px;
    align-self: start;
    max-height: calc(100dvh - 32px);
    overflow: auto;
  }

  .checkout-panel--compact {
    padding: clamp(12px, 1vw, 15px);
    max-height: calc(100dvh - 24px);
  }

  .checkout-panel--compact .selected-summary--compact {
    gap: 8px;
    padding: 12px;
  }

  .checkout-panel--event .selected-summary__promo-card .summary-promo-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .checkout-panel--compact .booking-form {
    gap: 10px;
    margin-top: 12px;
  }

  .guest-extra-field:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .guest-extra-field:not([hidden]) > .guests-stepper {
    flex: 0 0 198px;
    width: 198px;
    margin-left: auto;
  }
}

@media (min-width: 1081px) and (max-height: 860px) {
  .checkout-panel--compact {
    top: 12px;
    max-height: calc(100dvh - 16px);
  }

  .checkout-panel--compact .selected-summary--compact {
    gap: 7px;
    padding: 10px;
  }

  .checkout-panel--event .selected-summary__promo-card .summary-promo {
    padding: 0;
  }

  .checkout-panel--event .selected-summary__promo-card .summary-promo-list {
    padding: 0 0 0 18px;
  }

  .guest-extra-field:not([hidden]) > .guests-stepper {
    flex-basis: 186px;
    width: 186px;
  }
}

@media (max-width: 760px) {
  .selected-summary__financials--totals {
    grid-template-columns: 1fr;
  }

  .duration-field {
    padding: 10px;
    gap: 8px;
  }

  .duration-dropdown-toggle {
    min-height: 44px;
    padding-inline: 12px;
  }

  .duration-dropdown-list {
    max-height: 240px;
    padding: 6px;
  }

  .payment-modal {
    padding: 12px;
  }

  .payment-modal__dialog {
    width: min(100%, calc(100dvw - 24px));
    max-width: calc(100dvw - 24px);
    gap: 8px;
    box-sizing: border-box;
    justify-items: stretch;
  }

  .payment-modal__close {
    margin: 0 4px 0 0;
  }

  .payment-modal__shell {
    max-height: calc(100vh - 74px);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 14px 14px 16px;
  }

  .payment-modal__content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .payment-summary dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .payment-summary dd {
    margin-bottom: 6px;
  }

  .app-header {
    min-height: 560px;
    background-position: 50% 46%;
    background-image: url("header-movil.png");
  }

  .hero,
  main {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 18px;
  }

  .hero-topbar {
    gap: 10px;
  }

  .hero-contact {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-actions-row {
    margin-top: 16px;
  }

  .hero-service-menu {
    gap: 8px;
    justify-content: flex-start;
  }

  .hero-service-tabs {
    justify-content: flex-start;
  }

  .hero-service-option {
    flex: 0 1 150px;
  }

  .hero-shop-link {
    flex: 0 1 150px;
  }

  .hero-contact-area {
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 2px;
    justify-items: center;
    transform: none;
  }

  .hero-contact-title {
    text-align: center;
  }

  .hero-contact-shell {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
  }

  .hero-contact {
    width: 100%;
    margin-inline: auto;
    justify-content: center;
  }

  .workspace {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .hero-intro {
    padding: 8px 0 16px;
  }

  .hero-intro__card {
    width: min(calc(100vw - 16px), 420px);
    padding: 10px 12px;
    border-radius: 16px;
  }

  .hero-intro__title {
    font-size: clamp(0.82rem, 2.85vw, 1rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .schedule-toolbar {
    display: grid;
    gap: 12px;
    align-items: start;
  }

  .schedule-toolbar > div:first-child {
    gap: 10px;
  }

  .schedule-legend {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 4px 8px;
    font-size: clamp(0.68rem, 2vw, 0.76rem);
  }

  .schedule-board {
    min-width: 560px;
  }

  .schedule-board.is-mobile-court-view {
    min-width: 0;
  }

  .mobile-court-filter {
    display: grid;
    gap: 8px;
    width: min(100%, 340px);
    margin-top: 0;
    padding: 12px;
    border: 1px solid rgba(29, 123, 89, 0.14);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(20, 33, 31, 0.08);
    color: var(--muted);
  }

  .mobile-court-filter > span {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .mobile-court-dropdown {
    position: relative;
    width: 100%;
  }

  .mobile-court-dropdown-toggle {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0 14px;
    border: 1px solid rgba(29, 123, 89, 0.2);
    border-radius: 12px;
    box-sizing: border-box;
    color: var(--ink);
    background: #ffffff;
    font: inherit;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
    appearance: none;
  }

  .mobile-court-dropdown-toggle::-webkit-details-marker,
  .mobile-court-dropdown-toggle::marker {
    display: none;
    content: "";
  }

  .mobile-court-dropdown-current {
    min-width: 0;
  }

  .mobile-court-dropdown-caret {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--green);
    transition: transform 0.18s ease;
  }

  .mobile-court-dropdown[open] .mobile-court-dropdown-caret {
    transform: rotate(180deg);
  }

  .mobile-court-dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 4;
    display: grid;
    gap: 6px;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px;
    box-sizing: border-box;
    border: 1px solid rgba(29, 123, 89, 0.16);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(20, 33, 31, 0.16);
  }

  .mobile-court-dropdown-option {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    border: 1px solid rgba(29, 123, 89, 0.14);
    border-radius: 8px;
    color: var(--ink);
    background: #f7fbf8;
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
  }

  .mobile-court-dropdown-option:hover,
  .mobile-court-dropdown-option:focus-visible {
    border-color: rgba(29, 123, 89, 0.32);
    background: #eef8f2;
    outline: none;
  }

  .mobile-court-dropdown-option.is-selected {
    padding-right: 10px;
    border-color: rgba(29, 123, 89, 0.36);
    color: var(--green-dark);
    background: #e8f6ee;
  }

  .mobile-court-dropdown-option.is-selected::after {
    content: "\2713";
    margin-left: auto;
    color: var(--green);
  }

  .mobile-court-dropdown[open] .mobile-court-dropdown-list {
    animation: mobileCourtDropdownIn 0.14s ease-out;
  }
}

@media (min-width: 1024px) {
  body[data-public-section="booking"] .workspace {
    margin-top: -24px;
  }

  body[data-public-section="none"] {
    display: flex;
    flex-direction: column;
  }

  body[data-public-section="none"] .app-header {
    flex: 0 0 auto;
  }

  body[data-public-section="none"] main {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body[data-public-section="none"] .hero-intro {
    width: 100%;
    padding-block: clamp(10px, 2vh, 20px);
  }

  body[data-public-section="none"] .hero-intro__card {
    width: min(100%, 860px);
    padding-inline: clamp(18px, 2.6vw, 34px);
  }

  .hero-intro__card {
    padding-inline: 24px;
  }

  .hero-main-logo {
    width: clamp(255px, 32vw, 410px);
    margin-top: 40px;
  }

  .hero-intro__eyebrow {
    margin-bottom: 8px;
  }

  .hero-intro__title {
    white-space: nowrap;
  }

  .shop-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: stretch;
  }

  .shop-card {
    height: 100%;
  }

  .event-note .cost-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .event-details .promo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-details .promo-row {
    min-height: 0;
    height: 100%;
  }

  .shop-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-card__whatsapp {
    width: 100%;
  }

  .date-tools {
    display: grid;
    grid-template-columns: 42px minmax(0, 210px) 42px;
    grid-template-rows: auto;
    align-items: center;
    justify-content: center;
    width: min(100%, 520px);
    margin-inline: auto;
    column-gap: 10px;
  }

  #prev-day,
  #date-picker,
  #next-day {
    grid-row: 1;
  }

  #prev-day {
    grid-column: 1;
  }

  #date-picker {
    grid-column: 2;
    min-width: 0;
  }

  #next-day {
    grid-column: 3;
  }

  .date-input {
    grid-column: 2;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 210px;
    margin-inline: auto;
    padding: 0 18px;
    justify-self: center;
  }

  .date-input,
  .date-button {
    grid-column: auto;
  }

  .date-picker-popover {
    width: min(620px, calc(100vw - 32px));
  }

  .date-picker-popup {
    padding: 12px;
  }

  .date-picker-popup__day {
    min-height: 38px;
    border-radius: 9px;
  }

  .booking-head,
  .reservations-head,
  .reservation-item {
    grid-template-columns: 1fr;
  }

  .phone-parts {
    grid-template-columns: max-content max-content max-content minmax(0, 1fr);
  }

  .phone-part--local {
    min-width: 0;
  }

  .phone-part--local input {
    min-width: 0;
    width: 100%;
  }

  .phone-part--prefix input {
    flex-basis: 2.25rem;
    width: 2.25rem;
  }

  .phone-part--area input {
    flex-basis: 3.25rem;
    width: 3.25rem;
  }

  .booking-head,
  .reservations-head {
    display: grid;
  }

  .secondary-button {
    width: 100%;
  }

  .event-note-head,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .event-note-head {
    display: none;
  }

  .note-badge {
    width: max-content;
  }

  .cost-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-toolbar {
    display: grid;
  }

  .schedule-legend {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 4px 8px;
    font-size: clamp(0.68rem, 2vw, 0.76rem);
  }

  .schedule-board {
    min-width: 560px;
  }

  .schedule-board.is-mobile-court-view {
    min-width: 0;
  }

  .mobile-court-filter {
    display: grid;
    gap: 7px;
    width: 100%;
    max-width: 320px;
    margin-top: 8px;
    padding: 10px 12px 12px;
    border: 1px solid rgba(29, 123, 89, 0.14);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(20, 33, 31, 0.08);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
  }

  .mobile-court-filter span {
    letter-spacing: 0.01em;
  }

  .mobile-court-dropdown {
    position: relative;
    width: 100%;
  }

  .mobile-court-dropdown-toggle {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0 12px;
    border: 1px solid rgba(29, 123, 89, 0.2);
    border-radius: 10px;
    color: var(--ink);
    background: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

  .mobile-court-dropdown-toggle::-webkit-details-marker {
    display: none;
  }

  .mobile-court-dropdown-caret {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--green);
    transition: transform 0.18s ease;
  }

  .mobile-court-dropdown[open] .mobile-court-dropdown-caret {
    transform: rotate(180deg);
  }

  .mobile-court-dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 4;
    display: grid;
    gap: 6px;
    width: min(100%, 320px);
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px;
    border: 1px solid rgba(29, 123, 89, 0.16);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(20, 33, 31, 0.16);
  }

  .mobile-court-dropdown-option {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    border: 1px solid rgba(29, 123, 89, 0.14);
    border-radius: 8px;
    color: var(--ink);
    background: #f7fbf8;
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
  }

  .mobile-court-dropdown-option:hover,
  .mobile-court-dropdown-option:focus-visible {
    border-color: rgba(29, 123, 89, 0.32);
    background: #eef8f2;
    outline: none;
  }

  .mobile-court-dropdown-option.is-selected {
    border-color: rgba(29, 123, 89, 0.36);
    color: var(--green-dark);
    background: #e8f6ee;
  }

  .mobile-court-dropdown-option.is-selected::after {
    content: "\2713";
    margin-left: auto;
    color: var(--green);
  }

  .mobile-court-dropdown-option.is-selected {
    padding-right: 10px;
  }

  .mobile-court-dropdown[open] .mobile-court-dropdown-list {
    animation: mobileCourtDropdownIn 0.14s ease-out;
  }

  .checkout-panel {
    scroll-margin-top: 16px;
  }

  .cost-strip span {
    border-right: 1px solid rgba(29, 123, 89, 0.14);
    border-bottom: 1px solid rgba(29, 123, 89, 0.14);
  }
}

@media (max-width: 1024px) {
  .hero-actions-row {
    gap: 10px;
  }

  .hero-services-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(calc(100vw - 48px), 390px);
    margin: 18px auto 0;
  }

  .hero-service-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    margin: 0;
    padding: 10px;
    justify-content: center;
    z-index: 8;
  }

  .hero-service-menu.is-open {
    display: flex;
  }

  .hero-block-shell {
    width: 100%;
    box-sizing: border-box;
  }

  .hero-services-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    cursor: pointer;
  }

  .hero-services-toggle:hover,
  .hero-services-toggle:focus-visible {
    background: var(--green-dark);
  }

  .hero-services-toggle-icon {
    font-size: 1.05rem;
    line-height: 1;
  }

  .hero-service-tabs {
    width: 100%;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
  }

  .hero-service-menu.is-open .hero-service-tabs {
    display: grid;
  }

  .hero-service-option,
  .hero-shop-link {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    flex: none;
  }

  .hero-shop-link {
    grid-column: 1 / -1;
  }
}

@keyframes mobileCourtDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 2.05rem;
  }



  .hero-copy {
    width: auto;
    max-width: calc(100vw - 16px);
    white-space: normal;
  }
  .hero-topbar {
    width: 100%;
    padding-inline: clamp(12px, 4vw, 18px);
  }

  .hero-contact {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .hero-contact-shell {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
  }

  .hero-reservations-link {
    min-height: 34px;
    max-width: calc(100vw - 16px);
    padding: 0 8px;
    font-size: 0.8rem;
    line-height: 1;
  }

  .hero-whatsapp,
  .hero-instagram,
  .hero-location,
  .hero-call-toggle {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .hero-whatsapp,
  .hero-instagram {
    justify-content: center;
    padding: 0;
  }

  .hero-location svg {
    display: block;
    margin: 0;
    flex: 0 0 auto;
  }

  .hero-call-menu {
    min-width: 190px;
  }

  .hero-services-shell {
    width: 85%;
    max-width: 320px;
    margin-inline: auto;
  }

  .hero-services-toggle {
    min-height: 46px;
    padding-inline: 8px;
    font-size: 0.9rem;
  }

  .panel,
  .reservations-section {
    padding: 12px;
  }

  .slots-grid {
    grid-template-columns: 1fr;
  }

  .date-tools {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    grid-template-rows: auto;
    align-items: center;
    justify-content: center;
    width: min(100%, 314px);
    max-width: calc(100% - 16px);
    margin-inline: auto;
    column-gap: 10px;
  }

  .date-label,
  .date-input {
    grid-column: auto;
  }

  .date-input {
    grid-column: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: 210px;
    margin-inline: auto;
    padding: 0 18px;
    justify-self: center;
  }

  #prev-day,
  #date-picker,
  #next-day {
    grid-row: 1;
  }

  #prev-day {
    grid-column: 1;
  }

  #date-picker {
    grid-column: 2;
  }

  #next-day {
    grid-column: 3;
  }

  .date-button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .booking-panel .service-note.service-note--two,
  .booking-panel .service-note.service-note--three,
  .booking-panel .service-note.service-note--four,
  .booking-panel .service-note.court-note,
  .booking-panel .service-note.football-note {
    grid-template-columns: 1fr;
  }

  .event-note .cost-strip,
  .event-details .promo-grid {
    grid-template-columns: 1fr;
  }

  .cost-strip {
    grid-template-columns: 1fr;
  }

  .cost-strip span {
    min-height: 62px;
    border-right: 0;
  }
}

@media (min-width: 540px) and (max-width: 768px) {
  .app-header {
    min-height: clamp(680px, 96vw, 760px);
    background-image: url("header-tablet.png");
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #f3f6ef;
  }

  .hero {
    position: relative;
    min-height: inherit;
    padding: 14px 0 14px;
  }

  .hero-brand {
    position: absolute;
    top: clamp(118px, 19vw, 150px);
    left: 50%;
    z-index: 5;
    display: flex;
    width: min(34vw, 260px);
    margin: 0;
    transform: translateX(-50%);
  }

  .hero-main-logo {
    display: block;
    width: 100%;
    margin: 0;
    filter: drop-shadow(0 8px 18px rgba(9, 24, 20, 0.2));
  }

  .hero-topbar {
    position: relative;
    z-index: 7;
  }

  .hero-actions-row {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 6;
    width: min(58vw, 410px);
    max-width: calc(100% - 64px);
    margin: 0;
    padding-bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero-services-shell {
    width: 100%;
    margin: 0 auto;
  }

  .hero-services-toggle {
    width: 100%;
    min-height: 50px;
  }

  .hero-contact-area {
    position: static;
    width: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    justify-items: center;
    transform: none;
  }

  .hero-contact-title {
    margin: 0;
    padding: 6px 14px;
    font-size: 0.8rem;
    text-align: center;
  }

  .hero-contact-shell {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    justify-content: center;
    margin-inline: auto;
  }

  .hero-contact {
    width: 100%;
    margin-inline: auto;
    justify-content: center;
    gap: 10px;
  }

  .hero-contact-link {
    width: 44px;
    height: 44px;
  }

  .hero-intro {
    padding: 10px 0 18px;
  }

  .hero-intro__card {
    width: min(calc(100vw - 32px), 760px);
    padding: 12px 20px;
  }
}
@media (min-width: 769px) and (max-width: 1180px) and (orientation: portrait) {
  .app-header {
    min-height: 62dvh;
    background-image: url("header-tablet.png");
    background-size: cover;
    background-position: 50% 40%;
  }

  .hero {
    min-height: inherit;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
  }

  .hero-main-logo {
    width: clamp(250px, 34vw, 360px);
    margin-top: 22px;
  }

  .hero-actions-row {
    margin-top: auto;
    gap: 18px;
    padding-bottom: 24px;
  }

  .hero-services-shell {
    width: min(44vw, 440px);
    max-width: 440px;
    margin-inline: auto;
  }

  .hero-services-toggle {
    min-height: 56px;
    padding-inline: 24px;
    font-size: 1rem;
  }

  .hero-contact-area {
    position: static;
    width: 100%;
    margin-top: 4px;
    justify-items: center;
    transform: none;
  }

  .hero-contact-shell {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-inline: auto;
  }

  .hero-contact {
    width: 100%;
    justify-content: center;
    margin-inline: auto;
  }

  body[data-public-section="none"] main {
    justify-content: flex-start;
  }

  .hero-intro {
    padding: 8px 0 16px;
  }

  .hero-intro__card {
    width: min(calc(100vw - 48px), 820px);
  }

  .date-picker-shell {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .date-tools {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    grid-template-rows: auto;
    align-items: center;
    justify-content: center;
    width: min(100%, 520px);
    margin-inline: auto;
    column-gap: 10px;
  }

  #prev-day,
  #date-picker,
  #next-day {
    grid-row: 1;
  }

  #prev-day {
    grid-column: 1;
    width: 42px;
    min-width: 42px;
  }

  #date-picker {
    grid-column: 2;
    min-width: 0;
  }

  #next-day {
    grid-column: 3;
    width: 42px;
    min-width: 42px;
  }

  .date-input {
    grid-column: 2;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    box-sizing: border-box;
  }
}

@media (min-width: 761px) {
  .payment-summary--modal {
    gap: 6px;
  }

  .payment-summary--modal dl {
    gap: 4px 12px;
  }

  .payment-summary--modal .payment-proof-form {
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .payment-summary--modal .payment-proof-field {
    flex-wrap: nowrap;
  }

  .payment-summary--modal .payment-proof-field input {
    min-width: 340px;
  }

  .payment-summary--modal .payment-proof-form.is-primary {
    margin-top: 0;
    max-width: 100%;
  }

  .payment-summary--modal .payment-proof-help,
  .payment-summary--modal .payment-proof-status {
    font-size: 0.84rem;
  }

  .payment-summary--modal .payment-summary-lines {
    gap: 4px;
  }

  .payment-summary--modal .payment-summary-lines p {
    font-size: 0.94rem;
    line-height: 1.35;
  }

  .payment-summary--modal .payment-note,
  .payment-summary--modal .payment-warning,
  .payment-summary--modal .payment-summary-lines {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .payment-summary--modal .payment-proof-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .payment-summary--modal .payment-proof-field {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .payment-summary--modal .payment-proof-field span {
    white-space: normal;
  }

  .payment-summary--modal .payment-proof-field input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* Ajuste visual: centrar encabezado Hora de inicio en reservas */
.schedule-board .schedule-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: break-word;
}

.shop-card:nth-child(2) .shop-card__image {
  --shop-image-scale: 1.08;
}

/* OVERRIDE FINAL MOBILE DATE TOOLS - START */
@media (max-width: 500px) {
  .date-tools {
    display: grid;
    grid-template-columns: 42px minmax(0, 210px) 42px;
    grid-template-rows: auto;
    align-items: center;
    justify-content: center;
    width: min(100%, 314px);
    max-width: calc(100% - 16px);
    margin-inline: auto;
    column-gap: 10px;
  }

  #prev-day,
  #date-picker,
  #next-day {
    grid-row: 1;
  }

  #prev-day {
    grid-column: 1;
  }

  #date-picker {
    grid-column: 2;
    width: 100%;
    min-width: 0;
  }

  #next-day {
    grid-column: 3;
  }

  .date-input {
    grid-column: auto;
    width: 100%;
    max-width: 210px;
    margin-inline: auto;
    box-sizing: border-box;
  }
}
/* OVERRIDE FINAL MOBILE DATE TOOLS - END */


/* AJUSTE_540_TABLET_HERO_INICIO */
@media (min-width: 481px) and (max-width: 768px) and (max-height: 800px) {
  .app-header {
    min-height: calc(100svh - 132px);
    background-image: url("header-tablet.png");
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #f3f6ef;
  }

  .hero {
    min-height: inherit;
    padding: 10px 0 10px;
  }

  .hero-brand {
    position: absolute;
    top: clamp(90px, 18svh, 130px);
    left: 50%;
    z-index: 5;
    display: flex;
    width: min(46vw, 230px);
    margin: 0;
    transform: translateX(-50%);
  }

  .hero-main-logo {
    display: block;
    width: 100%;
    margin: 0;
    filter: drop-shadow(0 8px 18px rgba(9, 24, 20, 0.2));
  }

  .hero-topbar {
    position: relative;
    z-index: 7;
  }

  .hero-actions-row {
    position: absolute;
    left: 50%;
    bottom: 6px;
    z-index: 6;
    width: min(76vw, 390px);
    max-width: calc(100% - 48px);
    margin: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero-services-shell {
    width: 100%;
  }

  .hero-services-toggle {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
  }

  .hero-contact-area {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .hero-contact-title {
    margin: 0;
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .hero-contact-shell {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-contact {
    gap: 10px;
  }

  .hero-contact-link {
    width: 42px;
    height: 42px;
  }

  .hero-contact-link svg {
    width: 19px;
    height: 19px;
  }

  .hero-intro {
    margin-top: 0;
  }

  .hero-intro__card {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}
/* AJUSTE_540_TABLET_HERO_FIN */

/* AJUSTE_TABLET_PORTRAIT_LOGO_INICIO */
@media (min-width: 769px) and (max-width: 1180px) and (orientation: portrait) {
  .hero-main-logo {
    display: block;
  }
}
/* AJUSTE_TABLET_PORTRAIT_LOGO_FIN */

/* AJUSTE_TABLET_LANDSCAPE_BAJO_INICIO */
@media (min-width: 769px) and (max-width: 1024px) and (max-height: 700px) and (orientation: landscape) {
  .app-header {
    min-height: 480px;
    background-image: url("header.png");
    background-size: cover;
    background-position: center 42%;
  }

  .hero {
    position: relative;
    min-height: inherit;
    padding: 14px 0 18px;
  }

  .hero-brand,
  .hero-main-logo {
    display: none;
  }

  .hero-topbar {
    position: relative;
    z-index: 7;
  }

  .hero-actions-row {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 6;
    width: min(46vw, 440px);
    max-width: calc(100% - 64px);
    margin: 0;
    padding-bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
  }

  .hero-services-shell {
    width: 100%;
    margin: 0 auto;
  }

  .hero-services-toggle {
    width: 100%;
    min-height: 48px;
  }

  .hero-contact-area {
    position: static;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    justify-items: center;
    transform: none;
  }

  .hero-contact-title {
    margin: 0;
    padding: 5px 14px;
    font-size: 0.78rem;
    text-align: center;
  }

  .hero-contact-shell {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    justify-content: center;
    margin-inline: auto;
  }

  .hero-contact {
    width: 100%;
    margin-inline: auto;
    justify-content: center;
    gap: 12px;
  }

  .hero-contact-link {
    width: 42px;
    height: 42px;
  }

  .hero-intro {
    padding: 4px 0 8px;
  }

  .hero-intro__card {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
/* AJUSTE_TABLET_LANDSCAPE_BAJO_FIN */

@media (max-width: 580px) {
  .date-picker-shell {
    width: min(100%, 336px);
    margin-inline: auto;
  }

  .date-tools {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: center;
    width: min(100%, 336px);
    max-width: calc(100% - 16px);
    margin-inline: auto;
    column-gap: 10px;
    row-gap: 12px;
  }

  #prev-day,
  #date-picker,
  #next-day {
    grid-row: 1;
  }

  #prev-day {
    grid-column: 1;
    width: 42px;
    min-width: 42px;
  }

  #date-picker {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  #next-day {
    grid-column: 3;
    width: 42px;
    min-width: 42px;
  }

  .date-input {
    max-width: none;
  }

  .date-button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .booking-current-date {
    margin: 12px auto 18px;
  }
}
