: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 {
  min-height: 430px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(9, 24, 20, 0.86), rgba(9, 24, 20, 0.52) 52%, rgba(9, 24, 20, 0.18)),
    url("header.png");
  background-position: center;
  background-size: cover;
}

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

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  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: 24px auto 0;
  text-align: center;
}

.hero-logo-shell {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: max-content;
  margin: 0 auto;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-logo-shell::before {
  content: "";
  position: absolute;
  inset: -22px -34px -18px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.18) 42%,
    rgba(255, 255, 255, 0.06) 62%,
    transparent 80%
  );
  filter: blur(18px);
  pointer-events: none;
}

.hero-main-logo {
  display: block;
  width: min(280px, 54vw);
  height: auto;
  margin-inline: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.12));
}

@media (max-width: 640px) {
  .hero-logo-shell {
    padding: 0;
  }

  .hero-logo-shell::before {
    inset: -16px -24px -14px;
    filter: blur(14px);
  }

  .hero-main-logo {
    width: min(230px, 70vw);
  }
}

.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: max-content;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  line-height: 1.55;
  white-space: nowrap;
}

.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) {
  .hero-brand {
    width: min(100%, 620px);
  }



  .hero-copy {
    width: auto;
    max-width: 560px;
    white-space: normal;
  }
}

.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 {
  margin-top: 40px;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.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 {
  margin: 0;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  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;
}

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

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

.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);
}

.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;
}

.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));
}

.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;
}

.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;
}

.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);
}

.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: 100%;
}

.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));
}

.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: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

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

.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;
}

.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;
}

.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: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.schedule-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.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;
}

.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: 10px;
  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 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;
}

.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: 10px;
}

.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;
  }
}

@media (min-width: 1081px) {
  .checkout-panel {
    position: sticky;
    top: 16px;
    align-self: start;
    max-height: calc(100vh - 32px);
    overflow: auto;
  }
}

@media (max-width: 760px) {
  .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: 500px;
    background-position: 58% center;
  }

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

  .hero {
    padding-top: 24px;
  }

  .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;
  }

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

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

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

  .shop-card__whatsapp {
    width: 100%;
  }

  .date-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .date-input {
    min-width: 0;
  }

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

  .date-picker-popover {
    width: calc(100vw - 24px);
  }

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

  .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: grid;
  }

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

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

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

  .schedule-toolbar {
    display: grid;
  }

  .schedule-legend {
    justify-content: flex-start;
  }

  .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.35rem;
  }



  .hero-copy {
    width: auto;
    max-width: 560px;
    white-space: normal;
  }

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

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

  .hero-reservations-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .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;
  }

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

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

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

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

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

  .court-note,
  .football-note {
    grid-template-columns: 1fr;
  }

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

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

@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;
}
