.equus-booking {
  --eb-green: #16452e;
  --eb-dark: #0e3020;
  --eb-light: #2c6b49;
  --eb-gold: #c19a5b;
  --eb-cream: #f6f5f1;
  --eb-border: #e7e9e5;
  --eb-ink: #1c211f;
  --eb-muted: #5c655f;
  color: var(--eb-ink);
  font-family: Inter, sans-serif;
  width: 100%;
}

.equus-booking *,
.equus-booking *::before,
.equus-booking *::after { box-sizing: border-box; }
.equus-booking [hidden] { display: none !important; }

.eb-notice {
  background: #f7f0e4;
  border: 1px solid #e4d1af;
  border-radius: 12px;
  color: #624d2c;
  line-height: 1.55;
  margin-bottom: 28px;
  padding: 16px 18px;
}

.eb-step {
  border-top: 1px solid var(--eb-border);
  padding: 34px 0;
}
.eb-step:first-of-type { border-top: 0; padding-top: 0; }

.eb-step-heading {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.eb-step-number {
  align-items: center;
  background: var(--eb-green);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 16px;
  font-weight: 700;
  height: 38px;
  justify-content: center;
}
.eb-step h2 {
  color: var(--eb-green);
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  margin: 0 0 6px;
}
.eb-step-heading p,
.eb-map-help { color: var(--eb-muted); line-height: 1.55; margin: 0; }

.eb-contests {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}
.eb-contest {
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: 12px;
  color: var(--eb-ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 142px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 20px;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  white-space: normal;
  width: 100%;
}
.eb-contest strong { color: var(--eb-green); font-size: 17px; line-height: 1.35; }
.eb-contest span { color: var(--eb-muted); }
.eb-contest small { color: #765a2c; font-weight: 700; }
.eb-contest:hover,
.eb-contest.is-active {
  border-color: var(--eb-gold);
  box-shadow: 0 8px 22px rgba(14, 48, 32, .09);
  transform: translateY(-1px);
}

.eb-naves {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.eb-naves button,
.eb-button {
  appearance: none;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 18px;
}
.eb-naves button {
  background: #fff;
  border: 1px solid var(--eb-border);
  color: var(--eb-green);
}
.eb-naves button.is-active { background: var(--eb-green); border-color: var(--eb-green); color: #fff; }

.eb-map-scroll {
  background: var(--eb-cream);
  border: 1px solid var(--eb-border);
  border-radius: 12px;
  max-width: 100%;
  overflow-x: auto;
  padding: 18px;
  scrollbar-gutter: stable;
}
.eb-map { min-width: 650px; }
.eb-box-row {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(13, minmax(42px, 1fr));
}
.eb-box {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #cfd6d1;
  border-radius: 7px;
  color: var(--eb-green);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  min-width: 42px;
}
.eb-box:hover,
.eb-box[aria-pressed="true"] { background: var(--eb-green); border-color: var(--eb-green); color: #fff; }
.eb-box.is-occupied,
.eb-box.is-occupied:hover { background: #b3352f; border-color: #98221d; color: #fff; cursor: not-allowed; opacity: .95; }
.eb-aisle {
  color: var(--eb-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 15px 0;
  text-align: center;
  text-transform: uppercase;
}
.eb-map-help { font-size: 14px; margin-top: 12px; }

.eb-summary-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr);
}
.eb-summary-card,
.eb-options {
  background: var(--eb-cream);
  border: 1px solid var(--eb-border);
  border-radius: 12px;
  padding: 22px;
}
.eb-summary-card dl { margin: 0; }
.eb-summary-card dl > div { border-bottom: 1px solid var(--eb-border); padding: 12px 0; }
.eb-summary-card dl > div:first-child { padding-top: 0; }
.eb-summary-card dl > div:last-child { border: 0; padding-bottom: 0; }
.eb-summary-card dt { color: var(--eb-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.eb-summary-card dd { color: var(--eb-ink); font-weight: 600; line-height: 1.5; margin: 5px 0 0; }
.eb-options > label,
.eb-options legend { color: var(--eb-green); font-size: 14px; font-weight: 700; }
.eb-options input[type="number"] { margin: 8px 0 18px; max-width: 110px; }
.eb-options fieldset { border: 0; margin: 0; padding: 0; }
.eb-options fieldset label { display: inline-flex; gap: 7px; margin: 10px 14px 0 0; }

.eb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.eb-button { border: 1px solid transparent; }
.eb-button-primary { background: var(--eb-gold); color: var(--eb-dark); }
.eb-button-primary:hover { background: #a67f42; color: #fff; }
.eb-button-secondary { background: #fff; border-color: var(--eb-green); color: var(--eb-green); }
.eb-button-secondary:hover { background: var(--eb-green); color: #fff; }
.eb-button:disabled { cursor: not-allowed; opacity: .48; }

.eb-form {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.eb-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.eb-field-full,
.eb-status { grid-column: 1 / -1; }
.eb-field label,
.eb-privacy { color: var(--eb-green); font-size: 14px; font-weight: 700; }
.eb-field label span { color: var(--eb-muted); font-weight: 400; }
.eb-field input,
.eb-field textarea,
.eb-options input[type="number"] {
  background: #fff;
  border: 1px solid #cfd6d1;
  border-radius: 8px;
  color: var(--eb-ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}
.eb-field textarea { min-height: 120px; resize: vertical; }
.eb-privacy { align-items: flex-start; display: flex; gap: 9px; line-height: 1.5; }
.eb-privacy input { margin-top: 4px; }
.eb-privacy a { color: var(--eb-green); text-decoration: underline; }
.eb-trap { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0; }
.eb-status { font-weight: 700; line-height: 1.5; margin: 0; }

.equus-booking button:focus-visible,
.equus-booking input:focus-visible,
.equus-booking textarea:focus-visible,
.equus-booking a:focus-visible,
.eb-map-scroll:focus-visible {
  outline: 3px solid var(--eb-gold);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .eb-contests,
  .eb-summary-grid,
  .eb-form { grid-template-columns: 1fr; }
  .eb-field-full,
  .eb-status { grid-column: auto; }
  .eb-step-heading { gap: 11px; }
  .eb-step-number { flex-basis: 34px; height: 34px; }
  .eb-contest { min-height: 0; }
  .eb-map-scroll { padding: 12px; }
  .eb-actions .eb-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .equus-booking * { scroll-behavior: auto !important; transition: none !important; }
}
