@font-face {
  font-family: Onest;
  src: url("/prototype/assets/Onest-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Golos;
  src: url("/prototype/assets/GolosText-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --surface: #fff;
  --raised: #eeece6;
  --ink: #0b0b0b;
  --muted: #69665f;
  --line: #dedbd3;
  --accent: #ff5a00;
  --soft: #ffebdd;
  --green: #276339;
  --green-bg: #e7f3e9;
  --error: #ac2828;
  --error-bg: #fff0ef;
  --shadow: 0 12px 44px #0b0b0b0b;
}
:root[data-color-scheme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0b;
  --surface: #1b1b19;
  --raised: #282722;
  --ink: #f7f5f0;
  --muted: #b8b4ac;
  --line: #403f38;
  --soft: #3a241a;
  --green: #bce4c1;
  --green-bg: #203926;
  --error: #ffc2ba;
  --error-bg: #3e2423;
  --shadow: 0 12px 44px #0004;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.5 Golos,
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  color: inherit;
}
a {
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.35;
}
button:active:not(:disabled) {
  transform: scale(0.98);
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
}
h1,
h2,
h3,
h4,
strong,
.primary {
  font-family: Onest, Arial, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin: 0 0 18px;
}
h2 {
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0 0 20px;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
p {
  margin: 0 0 16px;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 13px;
}
.wrap {
  max-width: 1320px;
  margin: auto;
  padding: 0 32px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 84px;
}
.logo img {
  width: 142px;
  display: block;
}
.logo small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.header nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
}
.header nav a.active {
  color: var(--accent);
}
.header-right {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 22px;
}
.primary,
.secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.primary {
  background: var(--accent);
  color: #0b0b0b;
}
.secondary {
  background: var(--surface);
  border-color: var(--line);
}
.wide {
  width: 100%;
}
.header .primary {
  min-height: 44px;
  font-size: 14px;
}
.avatar {
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0b0b;
  display: grid;
  place-items: center;
  font: 700 14px Onest;
}
.test-pill,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  background: var(--surface);
}
.test-pill {
  background: var(--soft);
  border: 0;
  color: var(--ink);
}
.hero {
  padding: 48px 0 28px;
}
.hero-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 22px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.chip {
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 99px;
  font-size: 14px;
}
.chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.search-panel {
  display: grid;
  grid-template-columns: 1.7fr 1.05fr 1fr 1.1fr auto;
  align-items: end;
  gap: 12px;
  background: var(--surface);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
label.field {
  display: block;
  min-width: 0;
}
.field > span {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--muted);
}
input,
select,
textarea {
  min-width: 0;
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  color: var(--ink);
}
input::placeholder {
  color: var(--muted);
}
input[type="date"] {
  min-width: 0;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  accent-color: var(--accent);
  margin: 3px 0 0;
  padding: 0;
}
.duration {
  display: grid;
  grid-template-columns: 44px minmax(75px, 1fr) 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  min-height: 50px;
}
.duration button {
  background: transparent;
  color: var(--ink);
  border: 0;
  min-height: 48px;
  font-size: 24px;
}
.duration output {
  text-align: center;
  font: 700 16px Onest;
  white-space: nowrap;
}
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 20px;
}
.results-bar h2 {
  margin: 0;
  font-size: 24px;
}
.view-switch {
  display: flex;
  gap: 6px;
}
.view-switch .secondary {
  min-height: 40px;
  padding: 8px 15px;
  font-size: 14px;
}
.view-switch .active {
  border-color: var(--ink);
}
.catalog-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 24px;
}
.filters {
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  top: 108px;
}
.filters .field {
  margin-bottom: 20px;
}
.filters h3 {
  margin-bottom: 22px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.filters .check {
  margin: 18px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  min-width: 0;
  position: relative;
  transition: border-color 150ms ease;
}
.card-media {
  display: block;
  height: 184px;
  position: relative;
  background: var(--raised);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.media-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 11px;
  background: var(--surface);
  padding: 4px 8px;
  border-radius: 5px;
}
.favorite {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 23px;
}
.favorite.active {
  color: var(--accent);
}
.card-body {
  padding: 18px;
}
.card-body h3 {
  font-size: 19px;
  line-height: 1.25;
}
.card-body p {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0;
}
.card .tags {
  margin: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.tag {
  font-size: 11px;
  padding: 3px 7px;
  background: var(--raised);
  border: 0;
}
.card-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 14px;
  gap: 10px;
}
.card-bottom strong {
  font-size: 19px;
}
.card-bottom small {
  font-size: 11px;
}
.arrow {
  height: 38px;
  width: 38px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border-radius: 9px;
  color: #0b0b0b;
  font-size: 21px;
}
.free {
  color: var(--green);
  font-size: 12px;
}
.object-note {
  font-size: 12px;
  color: var(--muted);
}
.empty {
  padding: 50px 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  grid-column: 1/-1;
}
.map-area {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.map-area iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 460px;
}
.map-caption {
  padding: 16px;
  font-size: 14px;
}
.map-picker {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.map-picker button {
  white-space: nowrap;
}
.page {
  padding: 32px 0 64px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 26px;
}
.venue-heading h1 {
  font-size: 44px;
  margin-bottom: 12px;
}
.venue-heading .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}
.venue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: start;
}
.venue-photo {
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--raised);
  position: relative;
  margin-bottom: 28px;
}
.venue-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 26px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fact small {
  display: block;
  margin-bottom: 5px;
}
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.booking-panel {
  position: sticky;
  top: 108px;
}
.booking-panel .field {
  margin: 20px 0;
}
.booking-panel h2 {
  font-size: 27px;
}
.calendar {
  margin: 12px 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: var(--raised);
}
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-transform: capitalize;
  font-size: 14px;
}
.calendar-head button {
  width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  margin-top: 10px;
}
.calendar-grid > span {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding: 5px 0;
}
.day {
  min-height: 40px;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  font-size: 13px;
}
.day.active {
  background: var(--accent);
  color: #0b0b0b;
  font-weight: 700;
}
.time-groups {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.time-groups .chip {
  font-size: 12px;
  min-height: 36px;
  padding: 7px 12px;
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.slot {
  padding: 10px 5px;
  min-height: 44px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--ink);
  font-size: 14px;
}
.slot.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0b0b;
}
.total {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin: 22px 0;
}
.total strong {
  font-size: 30px;
  white-space: nowrap;
}
.total small {
  display: block;
}
.note {
  background: var(--raised);
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.5;
  margin: 16px 0;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 28px;
  max-width: 1000px;
  margin: auto;
}
.checkout-layout h1 {
  font-size: 40px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fields .full {
  grid-column: 1/-1;
}
.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 20px 0;
  font-size: 13px;
}
.consent input {
  margin-top: 3px;
}
.consent a {
  text-decoration: underline;
}
.summary {
  position: sticky;
  top: 108px;
}
.summary h3 {
  font-size: 22px;
}
.summary .price {
  font: 700 32px Onest;
}
.success {
  max-width: 740px;
  margin: 30px auto;
}
.success-symbol {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  font-size: 32px;
  margin-bottom: 24px;
}
.success h1 {
  font-size: 40px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.account-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 28px;
}
.account-nav {
  align-self: start;
}
.account-nav a {
  display: block;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 5px;
}
.account-nav a.active {
  background: var(--raised);
}
.account-title {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.account-title h1 {
  font-size: 40px;
  margin: 0;
}
.booking-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 14px 0;
  background: var(--surface);
  align-items: center;
}
.booking-date {
  background: var(--raised);
  border-radius: 10px;
  text-align: center;
  padding: 12px 8px;
}
.booking-date strong {
  display: block;
  font-size: 27px;
}
.booking-date small {
  font-size: 12px;
}
.booking-card h3 {
  margin-bottom: 4px;
}
.booking-card p {
  font-size: 13px;
  margin: 3px 0;
  color: var(--muted);
}
.booking-price {
  text-align: right;
}
.booking-price strong {
  display: block;
  font-size: 23px;
}
.booking-price .secondary {
  min-height: 36px;
  padding: 5px 10px;
  font-size: 12px;
  margin-top: 10px;
}
.status {
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--green-bg);
  color: var(--green);
  display: inline-block;
}
.status.cancelled {
  background: var(--raised);
  color: var(--muted);
}
dialog {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  box-shadow: 0 30px 120px #0005;
}
dialog::backdrop {
  background: #0008;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 30px;
  padding-right: 32px;
}
dialog .close {
  position: absolute;
  right: 18px;
  top: 18px;
  min-width: 40px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
}
dialog .field {
  margin: 14px 0;
}
dialog .fields {
  gap: 10px;
}
dialog .fields .field {
  margin: 0;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.auth-tabs .secondary {
  min-height: 40px;
  font-size: 14px;
}
.auth-tabs .active {
  border-color: var(--accent);
}
.error {
  color: var(--error);
  background: var(--error-bg);
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  margin: 14px 0;
}
.error:empty {
  display: none;
}
.loading {
  padding: 100px 30px;
  text-align: center;
  color: var(--muted);
}
.footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: start;
}
.footer p {
  margin: 4px 0;
  max-width: 680px;
}
.footer a {
  text-decoration: underline;
}
.bottom-nav {
  display: none;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  max-width: calc(100% - 32px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: var(--shadow);
  display: none;
}
.admin-row {
  display: grid;
  grid-template-columns: 1fr 90px auto;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.tariff {
  background: var(--raised);
  border-radius: 12px;
  padding: 18px;
  margin: 16px 0;
}
.tariff .fields {
  grid-template-columns: 1fr 1fr 1fr;
}
.weekdays {
  display: flex;
  gap: 6px;
  margin: 14px 0;
  flex-wrap: wrap;
}
.weekdays .chip {
  border-radius: 8px;
  padding: 7px 12px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric {
  padding: 18px;
  background: var(--raised);
  border-radius: 12px;
}
.metric strong {
  display: block;
  font-size: 30px;
}
.admin-content {
  max-width: 1000px;
}
.toggle-filters {
  display: none;
}
[data-color-scheme="dark"] .logo img {
  filter: invert(1);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: var(--muted);
  }
  .chip:hover,
  .secondary:hover {
    border-color: var(--ink);
  }
  .primary:hover {
    background: #f66b20;
  }
  .slot:not(:disabled):hover {
    border-color: var(--accent);
  }
}
@media (max-width: 1150px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-panel {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
  .search-panel .primary {
    grid-column: 3;
  }
  .venue-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
  }
  .header nav {
    gap: 15px;
  }
  .hero-top .muted {
    display: none;
  }
}
@media (max-width: 800px) {
  .wrap {
    padding: 0 20px;
  }
  .header-inner {
    min-height: 72px;
    gap: 20px;
  }
  .logo img {
    width: 122px;
  }
  .header nav {
    display: none;
  }
  .header-right {
    gap: 8px;
  }
  .header .test-pill {
    display: none;
  }
  .hero {
    padding-top: 30px;
  }
  .hero p {
    font-size: 16px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
    display: none;
  }
  .filters.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
  .filters h3 {
    grid-column: 1/-1;
  }
  .toggle-filters {
    display: inline-flex;
  }
  .venue-layout,
  .checkout-layout,
  .account-layout {
    grid-template-columns: 1fr;
  }
  .booking-panel,
  .summary {
    position: static;
  }
  .account-nav {
    display: flex;
    overflow: auto;
    padding: 10px;
  }
  .account-nav a {
    white-space: nowrap;
    margin: 0;
    font-size: 13px;
  }
  .venue-heading h1 {
    font-size: 36px;
  }
  .account-title h1 {
    font-size: 36px;
  }
  .summary {
    order: -1;
  }
  .checkout-layout .summary {
    margin-bottom: 0;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .bottom-nav a {
    display: grid;
    text-align: center;
    gap: 1px;
    font-size: 10px;
    color: var(--muted);
    min-width: 64px;
  }
  .bottom-nav span {
    font-size: 20px;
    line-height: 1.3;
  }
  .bottom-nav .active {
    color: var(--accent);
  }
  body {
    padding-bottom: 70px;
  }
  #toast {
    bottom: 88px;
  }
  .footer-inner {
    display: block;
  }
  .footer-inner > a {
    display: inline-block;
    margin-top: 15px;
  }
  .venue-photo {
    height: 280px;
  }
  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .wrap {
    padding: 0 16px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .chips {
    gap: 6px;
    margin: 20px 0;
  }
  .chip {
    padding: 8px 13px;
    font-size: 12px;
    min-height: 38px;
  }
  .search-panel {
    padding: 16px;
    gap: 14px 10px;
    grid-template-columns: 1fr 1fr;
  }
  .search-panel .query-field {
    grid-column: 1/-1;
  }
  .search-panel .primary {
    grid-column: 1/-1;
    width: 100%;
  }
  .search-panel .duration-field {
    grid-column: 1/-1;
  }
  .results-bar h2 {
    font-size: 20px;
  }
  .results-bar {
    flex-wrap: wrap;
  }
  .grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    border-radius: 14px;
  }
  .card-media {
    height: 100%;
    min-height: 215px;
  }
  .media-label {
    left: 6px;
    bottom: 8px;
    font-size: 9px;
    padding: 3px 5px;
  }
  .card-body {
    padding: 14px;
  }
  .card-body h3 {
    font-size: 17px;
  }
  .card-body p {
    font-size: 12px;
  }
  .card-bottom strong {
    font-size: 18px;
  }
  .card .tags {
    gap: 4px;
    margin: 9px 0;
  }
  .tag {
    font-size: 10px;
  }
  .favorite {
    right: auto;
    left: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
    font-size: 21px;
  }
  .panel {
    padding: 20px;
    border-radius: 16px;
  }
  .venue-photo {
    height: 230px;
  }
  .venue-heading h1 {
    font-size: 33px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .fields .full {
    grid-column: auto;
  }
  .checkout-layout h1,
  .success h1 {
    font-size: 34px;
  }
  .facts {
    gap: 16px 12px;
  }
  .booking-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .booking-price {
    grid-column: 2;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .booking-price .secondary {
    margin-top: 0;
  }
  .booking-card h3 {
    font-size: 18px;
  }
  .account-title {
    align-items: start;
    gap: 10px;
  }
  .account-title h1 {
    font-size: 32px;
  }
  .account-title .secondary {
    font-size: 12px;
    min-height: 38px;
    padding: 8px 12px;
  }
  .page {
    padding-top: 24px;
  }
  .map-area iframe {
    height: 380px;
  }
  .admin-row {
    grid-template-columns: minmax(0, 1fr) 60px auto;
    font-size: 13px;
  }
  .tariff .fields {
    grid-template-columns: 1fr;
  }
  .header .primary {
    padding: 8px 13px;
  }
  .duration output {
    font-size: 16px;
  }
  .test-pill {
    font-size: 11px;
  }
  .auth-tabs .secondary {
    padding: 8px 14px;
  }
  dialog {
    padding: 24px 20px;
  }
  dialog h2 {
    font-size: 27px;
  }
  .summary .price {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  button:active:not(:disabled) {
    transform: none;
  }
}

.map-catalog {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.map-results {
  display: grid;
  gap: 16px;
}
.map-results .card-media {
  height: 140px;
}
.map-catalog .map-area {
  position: sticky;
  top: 108px;
}
@media (max-width: 1000px) {
  .map-catalog {
    grid-template-columns: 1fr;
  }
  .map-catalog .map-area {
    position: static;
    order: -1;
  }
  .map-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 500px) {
  .map-results {
    grid-template-columns: 1fr;
  }
  .map-results .card-media {
    height: 100%;
    min-height: 200px;
  }
}

.header nav a.active {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
@media (max-width: 800px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  .bottom-nav a {
    min-height: 44px;
  }
  .bottom-nav .active {
    color: var(--ink);
  }
}
.favorite::before {
  content: "";
  position: absolute;
  inset: -4px;
}
/* Consumer controls: consistent across desktop, mobile and both themes. */
.native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}
.select-control {
  position: relative;
  min-width: 0;
}
.select-trigger {
  width: 100%;
  min-height: 50px;
  padding: 11px 38px 11px 14px;
  background: var(--raised);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
  font-size: 15px;
  position: relative;
}
.select-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
}
.select-options {
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: auto;
  overscroll-behavior: contain;
}
.select-options button {
  width: 100%;
  display: block;
  border: 0;
  text-align: left;
  padding: 12px;
  min-height: 44px;
  background: transparent;
  color: var(--ink);
  border-radius: 7px;
  font-size: 14px;
}
.select-options [aria-selected="true"] {
  background: var(--raised);
  font-weight: 650;
}
.select-options button:hover,
.select-options button:focus-visible {
  background: var(--raised);
}
.choice-filter {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.choice-filter summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  min-height: 44px;
  font-weight: 650;
  font-size: 14px;
  list-style: none;
}
.choice-filter summary::-webkit-details-marker {
  display: none;
}
.choice-filter summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  font-weight: 400;
}
.choice-filter[open] summary::after {
  content: "−";
}
.choice-filter summary span {
  font-size: 11px;
  background: var(--raised);
  border-radius: 20px;
  padding: 0 6px;
}
.choice-filter summary span:empty {
  display: none;
}
.choice-options {
  max-height: 280px;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}
.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  line-height: 1.45;
}
.filters .choice-options .check {
  min-height: 40px;
  margin: 0;
  padding: 9px 0;
  font-size: 13px;
}
input[type="checkbox"] {
  appearance: none;
  border: 1.5px solid var(--muted);
  border-radius: 5px;
  background: var(--raised);
  position: relative;
  display: block;
}
input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #0b0b0b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check span,
.consent span {
  min-width: 0;
}
.card-media img,
.venue-photo img {
  opacity: 1;
}
.quick-slots {
  margin-top: 16px;
}
.quick-slots > small {
  font-size: 11px;
  margin-bottom: 7px;
  display: block;
}
.quick-times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.quick-slot {
  border: 1px solid var(--line);
  padding: 8px 9px;
  min-height: 36px;
  font-size: 12px;
  font-weight: 650;
  background: var(--raised);
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.quick-slot:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #0b0b0b;
}
.more-times {
  min-width: 36px;
  min-height: 36px;
  text-align: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.venue-gallery {
  margin-bottom: 28px;
}
.venue-photo {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  margin: 0;
  cursor: zoom-in;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow: auto;
}
.gallery-thumbs button {
  width: 100px;
  height: 72px;
  padding: 0;
  border: 0;
  background: var(--raised);
  border-radius: 8px;
  overflow: hidden;
  flex: none;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.source-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  text-decoration: underline;
  font-size: 12px;
}
#gallery {
  width: min(1000px, calc(100% - 24px));
}
#gallery h2 {
  font-size: 20px;
}
.gallery-image {
  display: block;
  width: 100%;
  max-height: 68dvh;
  object-fit: contain;
  background: var(--raised);
  border-radius: 10px;
}
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.map-catalog {
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
  gap: 18px;
}
.map-area {
  position: relative;
  isolation: isolate;
}
.pati-map {
  width: 100%;
  height: 650px;
  background: var(--raised);
}
.map-area [class*="ground-pane"] {
  filter: grayscale(0.9);
}
[data-color-scheme="dark"] .map-area [class*="ground-pane"] {
  filter: grayscale(1) invert(0.9) contrast(0.85);
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 32px;
  min-height: 400px;
}
.map-placeholder p {
  color: var(--muted);
  font-size: 14px;
}
.map-preview {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 32px;
  z-index: 5;
  max-height: 420px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
}
.map-preview[hidden] {
  display: none;
}
.map-preview-close {
  position: sticky;
  top: 0;
  float: right;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  width: 36px;
  height: 36px;
  font-size: 22px;
  z-index: 2;
}
.map-preview-card {
  margin-bottom: 16px;
}
.map-preview-card:last-child {
  margin-bottom: 0;
}
.map-preview-card > a:first-child {
  display: flex;
  gap: 12px;
  padding-right: 26px;
}
.map-preview-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  flex: none;
  border-radius: 9px;
}
.map-preview-card h3 {
  font-size: 17px;
  margin: 0 0 5px;
}
.map-preview-card p {
  font-size: 13px;
  margin: 4px 0;
}
.map-preview-card small {
  font-size: 11px;
}
.map-preview-card .secondary {
  min-height: 40px;
  font-size: 13px;
  margin-top: 14px;
}
.auth-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: underline;
  font-size: 12px;
  padding: 8px 0;
  min-height: 40px;
}
.demo-code strong {
  font-size: 19px;
  letter-spacing: 3px;
}
input[name="code"] {
  font-size: 24px;
  letter-spacing: 6px;
}
.object-infrastructure {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin: 20px 0;
}
.object-infrastructure .check {
  margin: 10px 0;
}
.footer .field {
  min-width: 190px;
}
@media (max-width: 1200px) {
  .map-catalog {
    grid-template-columns: 1fr;
  }
  .map-catalog .map-area {
    position: static;
    order: -1;
  }
  .map-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pati-map {
    height: 500px;
  }
}
@media (max-width: 800px) {
  .filters.open {
    display: block;
  }
  .pati-map {
    height: 480px;
  }
  .map-preview {
    max-height: 330px;
  }
}
@media (max-width: 500px) {
  .card {
    display: block;
  }
  .card-media,
  .map-results .card-media {
    height: 180px;
    min-height: 0;
  }
  .favorite {
    left: auto;
    right: 12px;
    top: 12px;
    width: 38px;
    height: 38px;
  }
  .card-body {
    padding: 18px;
  }
  .card-body h3 {
    font-size: 20px;
  }
  .card-body p {
    font-size: 13px;
  }
  .card .tags {
    margin: 12px 0;
  }
  .tag {
    font-size: 11px;
  }
  .quick-slot {
    min-height: 40px;
    padding: 8px 13px;
  }
  .quick-slots > small {
    font-size: 12px;
  }
  .map-results {
    grid-template-columns: 1fr;
  }
  .map-preview {
    left: 10px;
    right: 10px;
    bottom: 28px;
    padding: 14px;
  }
  .pati-map {
    height: 440px;
  }
  .select-trigger {
    font-size: 16px;
  }
  input,
  textarea {
    font-size: 16px;
  }
  .check,
  .consent {
    line-height: 1.55;
  }
  .hero .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
  }
  .hero .chips .chip {
    flex: none;
  }
  .footer .field {
    margin: 18px 0;
  }
}
@media (min-width: 1201px) {
  .map-results {
    max-height: 650px;
    overflow: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    scrollbar-width: thin;
  }
}
@media (max-width: 1200px) {
  .map-catalog .map-area {
    position: relative;
  }
}
@media (max-width: 500px) {
  .pati-map {
    height: calc(100dvh - 156px);
    min-height: 460px;
    max-height: 700px;
  }
}
.map-preview-card + .map-preview-card {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
