@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 650;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: oklch(0.979 0.013 84);
  --surface: oklch(0.998 0.004 84);
  --ink: oklch(0.285 0.041 159);
  --muted: oklch(0.442 0.033 154);
  --line: oklch(0.849 0.024 91);
  --accent: oklch(0.309 0.047 159);
  --accent-ink: oklch(0.988 0.015 86);
  --soft: oklch(0.933 0.048 116);
  --signal: oklch(0.47 0.154 33);
  --hero-bg: oklch(0.918 0.09 114);
  --hero-ink: var(--ink);
  --hero-em: oklch(0.405 0.106 34);
  --hero-action: var(--accent);
  --hero-action-ink: var(--accent-ink);
  --ticket: oklch(0.957 0.043 91);
  --map-paper: oklch(0.929 0.031 91);
  --radius: 16px;
  --display: Fraunces, Georgia, serif;
  --ui: "Hanken Grotesk", system-ui, sans-serif;
}
[data-theme="navidad"] {
  --paper: oklch(0.977 0.014 75);
  --surface: oklch(0.994 0.007 80);
  --ink: oklch(0.27 0.044 19);
  --muted: oklch(0.435 0.044 27);
  --line: oklch(0.85 0.027 72);
  --accent: oklch(0.377 0.11 13);
  --accent-ink: oklch(0.98 0.018 83);
  --soft: oklch(0.947 0.034 80);
  --signal: oklch(0.472 0.15 19);
  --hero-bg: oklch(0.315 0.094 13);
  --hero-ink: oklch(0.975 0.024 79);
  --hero-em: oklch(0.858 0.104 77);
  --hero-action: oklch(0.882 0.087 78);
  --hero-action-ink: oklch(0.289 0.06 20);
  --ticket: oklch(0.951 0.049 85);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-block-start: 16px; }
body { min-width: 0; min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--ui); }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
input, select, textarea, button { color: inherit; font: inherit; }
input, select, textarea { min-width: 0; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { color: var(--accent-ink); background: var(--accent); }
h1, h2, h3, h4, p { margin: 0; overflow-wrap: anywhere; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.032em; line-height: 1.03; }
h1 { font-size: clamp(2.65rem, 6vw, 4.7rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.15rem); }
h3, h4 { font-weight: 700; line-height: 1.18; }
em { font-weight: 650; }

.shell { width: min(100% - 48px, 1248px); margin-inline: auto; }
.icon { display: inline-block; width: 20px; height: 20px; vertical-align: middle; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; inset: 12px auto auto 12px; z-index: 20; padding: 10px 16px; background: var(--surface); color: var(--ink); }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 44px; max-width: 100%; padding: 9px 15px;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); color: var(--ink);
  font-weight: 700; font-size: .9375rem; line-height: 1.25;
  text-decoration: none; text-align: center; cursor: pointer;
}
.button.primary { border-color: transparent; background: var(--accent); color: var(--accent-ink); }
.button.secondary { background: transparent; }
.button:disabled { opacity: .55; cursor: default; }
.eyebrow { color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.stack { display: grid; gap: 16px; }
.panel { min-width: 0; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.status, .promo-badge {
  display: inline-flex; align-items: center; gap: 5px; align-self: start;
  width: fit-content; padding: 2px 8px; border-radius: 5px;
  background: var(--soft); color: var(--ink); font-size: .78rem; font-weight: 700;
}

.site-header { border-block-end: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand img { width: auto; height: 36px; }
.site-nav, .footer-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.site-nav > a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-nav > a[aria-current] { text-decoration: underline; }
.nav-account { padding-inline: 14px; }
.mobile-nav { display: none; }
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); padding-block: 24px max(24px, env(safe-area-inset-bottom)); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner p, .footer-links { color: var(--muted); font-size: .875rem; }
.footer-inner p strong { margin-inline-end: 8px; color: var(--ink); font-weight: 700; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.messages { padding-top: 16px; }
.notice { padding: 12px 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); color: var(--ink); }
.notice.error, .errorlist { color: var(--signal); }

.market-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 69px; padding-block: 10px; }
.market-place, .back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: .9375rem; text-decoration: none; }
.market-place .icon:last-child { width: 15px; height: 15px; }
.market-place span { overflow-wrap: anywhere; }
.season-switch { display: inline-flex; align-items: center; flex: none; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; }
.season-switch a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 4px 10px; border-radius: 6px; color: var(--muted); font-size: .84rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.season-switch a[aria-current] { background: var(--accent); color: var(--accent-ink); }
.season-switch .icon { width: 16px; height: 16px; }

.market-hero {
  display: grid; grid-template-columns: .93fr 1.07fr; min-height: 340px;
  overflow: clip; border-radius: 21px; background: var(--hero-bg); color: var(--hero-ink);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center; align-items: start;
  min-width: 0; padding: clamp(24px, 4vw, 53px);
}
.hero-copy h1 { max-width: 12ch; line-height: .99; }
.hero-copy h1 em { display: block; color: var(--hero-em); }
.hero-copy p { max-width: 42ch; margin-top: 18px; font-size: clamp(1rem, 1.4vw, 1.125rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; }
.hero-actions .button { background: var(--hero-action); color: var(--hero-action-ink); }
.hero-actions :focus-visible { outline-color: currentColor; }
.hero-directions { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-weight: 700; }
.hero-media { position: relative; min-height: 260px; min-width: 0; overflow: hidden; }
.hero-media picture, .hero-media picture img, .hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-ticket {
  position: absolute; right: 15px; bottom: 15px;
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 11px;
  max-width: calc(100% - 30px); padding: 9px 13px 9px 11px;
  border-radius: 8px; background: var(--ticket); color: var(--ink);
}
.hero-ticket .icon { width: 26px; height: 26px; }
.hero-ticket strong, .hero-ticket span { display: block; overflow-wrap: anywhere; }
.hero-ticket strong { line-height: 1.16; font-size: .94rem; }
.hero-ticket span { color: var(--muted); font-size: .78rem; }
.hero-illustration { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ticket); color: var(--ink); }
.hero-illustration svg { width: min(85%, 440px); max-height: 90%; }
.stall-sketch-paper { fill: var(--paper); stroke: currentColor; stroke-width: 2px; }
.stall-sketch-awning { fill: var(--hero-em); stroke: currentColor; stroke-width: 2px; }
.stall-sketch-lines { fill: none; stroke: currentColor; stroke-width: 2px; }
.demo-note { margin-top: 7px; color: var(--muted); font-size: .79rem; }
.demo-note span { margin-inline: 2px; }

.explore { margin-top: clamp(22px, 3.3vw, 44px); }
.explore-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.explore-heading p { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: .9rem; }
.explore-heading .icon { width: 16px; height: 16px; }
.explore-shortcuts {
  display: none; gap: 5px; width: fit-content; max-width: 100%; margin-block: 0 9px;
  padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
}
.explore-shortcuts .button { border-color: transparent; }
.explore-shortcuts .button[aria-current] { background: var(--accent); color: var(--accent-ink); }
.explore-shortcuts .button span { font-size: .81rem; font-variant-numeric: tabular-nums; }
.filters {
  --filter-width: 5.2rem;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto var(--filter-width);
  align-items: center; gap: 0 8px; margin-block: 13px 14px; padding: 8px; border: 1px solid var(--line);
  border-radius: 11px; background: var(--surface);
}
.search-field { position: relative; min-width: 0; }
.search-field > .icon { position: absolute; inset: 12px auto auto 10px; color: var(--muted); pointer-events: none; }
.filters input[type="search"], .filters select, .field input:not([type="checkbox"]), .field select, .field textarea,
.form-page input:not([type="checkbox"], [type="hidden"]), .form-page select, .form-page textarea {
  min-height: 44px; width: 100%; padding: 8px 11px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--surface); color: var(--ink);
}
.filters input[type="search"] { padding-inline-start: 36px; }
::placeholder { color: var(--muted); opacity: 1; }
.filter-options { grid-column: 1/-1; }
.filter-options:not([open]) { grid-area: 1 / 3; }
.filter-options > summary { width: var(--filter-width); padding-inline: 6px; gap: 4px; list-style: none; }
.filter-options > summary::-webkit-details-marker { display: none; }
.filter-options > summary .icon { width: 14px; height: 14px; transform: rotate(90deg); }
.filter-options[open] > summary { position: absolute; inset: 8px 8px auto auto; background: var(--soft); }
.filter-options[open] > summary .icon { transform: rotate(-90deg); }
.filter-extra { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding-top: 8px; }
.promo-filter { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding-inline: 4px; font-size: .9rem; font-weight: 600; cursor: pointer; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.clear-filters { grid-column: 1/-1; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; font-size: .89rem; font-weight: 700; }
.market-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 22px; }
.market-layout > * { min-width: 0; }
.map-panel { position: sticky; top: 16px; overflow: clip; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.map-header, .stalls-header {
  min-height: 55px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 4px 10px; padding: 10px 14px;
}
.map-header h3 { display: flex; align-items: center; gap: 7px; }
.map-header span, .stalls-header p { color: var(--muted); font-size: .82rem; }
.map-header .map-count { padding: 3px 8px; border-radius: 5px; background: var(--ticket); font-weight: 700; }
.map-stage { position: relative; background: var(--map-paper); }
.map-canvas { position: relative; user-select: none; }
.map-canvas:focus-visible { outline-offset: -3px; }
.map-svg { display: block; width: 100%; aspect-ratio: 16/9; }
.map-canvas.is-zoomed { cursor: grab; touch-action: none; }
.map-canvas.is-dragging { cursor: grabbing; }
.map-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 53px; padding: 4px 9px 4px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.map-tools { display: flex; flex: none; overflow: clip; border: 1px solid var(--line); border-radius: 8px; }
.map-tools button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.map-tools button + button { border-inline-start: 1px solid var(--line); }
.map-tools button[aria-disabled="true"] { color: var(--muted); opacity: .52; cursor: default; }
.map-tools button:focus-visible { outline-offset: -3px; }
.map-note { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.map-pin { cursor: pointer; }
.map-pin text { fill: #fff; font: 700 19px var(--ui); pointer-events: none; }
.map-pin .pin-shape { fill: var(--cat-solid); stroke: #fff8e7; stroke-width: 2px; paint-order: stroke fill; }
.map-pin .pin-hitbox { fill: transparent; }
.map-pin:focus .pin-shape, .map-pin:target .pin-shape { stroke: #18281d; stroke-width: 5px; }
.cat-food { --cat-solid: #a63729; --cat-soft: #f3d3bb; }
.cat-craft { --cat-solid: #2e6647; --cat-soft: #deebc7; }
.cat-style { --cat-solid: #63476f; --cat-soft: #eee2ef; }
.cat-home { --cat-solid: #695012; --cat-soft: #f4e5b4; }
.cat-other { --cat-solid: #325e68; --cat-soft: #dfeced; }

.stalls-header { padding-inline: 0; border-bottom: 1px solid var(--line); }
.stall-list, .directory-list, .product-list, .contact-links { list-style: none; padding: 0; margin: 0; }
.stall-card { border-bottom: 1px solid var(--line); }
.stall-link { display: grid; grid-template-columns: 70px minmax(0, 1fr) 18px; align-items: center; gap: 12px; min-height: 98px; padding: 12px 5px 12px 0; text-decoration: none; }
.stall-thumb { display: grid; place-items: center; width: 70px; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--cat-soft); color: var(--cat-solid); }
.stall-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stall-thumb .icon { width: 32px; height: 32px; }
.stall-category { color: var(--muted); font-weight: 700; font-size: .75rem; }
.stall-number { display: inline-block; margin-inline-end: 4px; padding: 2px 6px; border-radius: 4px; background: var(--cat-soft); color: var(--cat-solid); font-variant-numeric: tabular-nums; }
.stall-copy h4 { margin-top: 2px; font-size: 1.15rem; }
.stall-summary { margin-top: 3px; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.promo-badge { margin-top: 5px; background: var(--ticket); }
.promo-badge .icon { width: 14px; height: 14px; }
.stall-link > .icon { color: var(--muted); }
.pager { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .88rem; }
.empty-state { display: grid; justify-items: start; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.map-panel .empty-state { border: 0; border-radius: 0; }
.stalls .empty-state { margin-top: 12px; }
.merchant-callout {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: 48px; padding: clamp(20px, 4vw, 35px); border-radius: var(--radius); background: var(--soft);
}
.merchant-callout h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.merchant-callout p { margin-top: 7px; color: var(--muted); }

.directory-page, .form-page { padding-top: clamp(24px, 5vw, 58px); }
.directory-intro { max-width: 640px; margin-bottom: 28px; }
.directory-intro .eyebrow { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.directory-intro h1 + p { margin-top: 12px; color: var(--muted); }
.directory-list { display: grid; max-width: 850px; gap: 9px; }
.directory-item {
  display: grid; grid-template-columns: 140px minmax(0, 1fr) 42px;
  align-items: center; gap: 16px; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none;
}
.directory-item img, .directory-icon { width: 140px; aspect-ratio: 4/3; object-fit: cover; border-radius: 9px; }
.directory-icon { display: grid; place-items: center; background: var(--soft); color: var(--accent); }
.directory-icon .icon { width: 34px; height: 34px; }
.directory-item h2 { margin-bottom: 5px; font-size: clamp(1.45rem, 4vw, 2rem); }
.directory-item p { color: var(--muted); font-size: .88rem; }
.directory-item .status { margin-top: 5px; }
.directory-arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--accent); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(16px, 5vw, 60px); padding-top: 14px; }
.detail-title h1 { margin-top: 9px; font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
.detail-title .stall-category { font-size: .85rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-gallery { display: grid; gap: 10px; margin-top: 20px; }
.detail-gallery:has(img + img) { grid-template-columns: 1fr 1fr; }
.detail-gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }
.detail-description { margin-top: 20px; max-width: 70ch; overflow-wrap: anywhere; }
.detail-section { margin-top: 36px; }
.detail-section h2, .contact-panel h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-bottom: 12px; }
.detail-promotions { padding: clamp(14px, 2.7vw, 23px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ticket); }
.detail-promotions .product-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.product-list { border-top: 1px solid var(--line); }
.product-list li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding-block: 13px; border-bottom: 1px solid var(--line); }
.product-list li strong { flex: none; font-variant-numeric: tabular-nums; }
.product-list li p, .product-list li small { color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.contact-panel {
  align-self: start; padding: clamp(15px, 3vw, 24px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.contact-panel:target { border-color: var(--signal); }
.contact-panel > .muted { margin-top: 13px; }
.contact-venue { display: flex; gap: 8px; margin-bottom: 13px; }
.contact-venue span { display: block; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.contact-links { margin-top: 13px; }
.contact-links li { border-top: 1px solid var(--line); }
.contact-links a, .external-link { display: flex; align-items: center; gap: 8px; min-height: 44px; padding-block: 5px; overflow-wrap: anywhere; }
.video-area { display: grid; justify-items: start; gap: 7px; }
.video-area iframe { width: 100%; height: auto; aspect-ratio: 16/9; border: 0; border-radius: 10px; }

.form-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.form-page header p, .form-page h1 + p { max-width: 64ch; margin-top: 9px; color: var(--muted); }
.form-layout { display: grid; gap: 16px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label, .form-page form label { font-weight: 700; }
.field textarea, .form-page textarea { min-height: 98px; resize: vertical; }
.field .helptext, .form-page .helptext { color: var(--muted); font-size: .875rem; }
.field input[type="file"], .form-page input[type="file"] { padding: 7px; }
.field input[type="file"]::file-selector-button, .form-page input[type="file"]::file-selector-button {
  padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); color: var(--ink); font: inherit; cursor: pointer;
}
.errorlist { margin: 4px 0; padding-inline-start: 19px; font-size: .9rem; font-weight: 600; }

@media (hover: hover) {
  .button, .season-switch a, .map-tools button { transition: background-color .14s ease-out, border-color .14s ease-out; }
  .button:hover:not(:disabled), .season-switch a:not([aria-current]):hover, .map-tools button:hover:not([aria-disabled="true"]) { background: var(--soft); }
  .button.primary:hover, .hero-actions .button:hover { border-color: currentColor; }
  .button.primary:hover { background: var(--accent); }
  .hero-actions .button:hover { background: var(--hero-action); }
  .explore-shortcuts .button[aria-current]:hover { background: var(--accent); }
  .stall-link:hover h4, .directory-item:hover h2, .site-nav a:not(.button):hover, .market-place:hover, .back-link:hover { text-decoration: underline; text-underline-offset: .16em; }
  .map-pin:hover .pin-shape { stroke: #18281d; stroke-width: 5px; }
}

@media (max-width: 920px) {
  .market-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .map-panel { position: static; }
  .market-hero { min-height: 328px; }
  .explore-shortcuts { display: flex; width: 100%; }
  .explore-shortcuts .button { flex: 1; }
  .explore[data-view] .explore-shortcuts { position: sticky; top: 0; z-index: 2; }
  .explore[data-view] .market-layout > *, .explore[data-view] .market-layout :focus { scroll-margin-block-start: 54px; }
  .explore[data-view="plano"] #puestos, .explore[data-view="puestos"] #plano { display: none; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 60px; gap: 8px; }
  .brand img { height: 28px; }
  .site-nav { gap: 6px; }
  .site-nav > a:not(.nav-account) { display: none; }
  .site-nav .nav-account { padding-inline: 9px; font-size: .84rem; }
  .nav-account .icon { width: 16px; height: 16px; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: grid; place-items: center; width: 44px; padding: 0; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav > div {
    position: absolute; z-index: 10; top: calc(100% + 6px); right: 0; min-width: 155px;
    padding: 4px 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface);
  }
  .mobile-nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 5px; font-size: .9rem; font-weight: 700; text-decoration: none; }
  .mobile-nav a + a { border-top: 1px solid var(--line); }
  .market-bar { min-height: 59px; padding-block: 6px; gap: 8px; }
  .market-place, .back-link { font-size: .82rem; }
  .market-place .icon:first-child, .back-link .icon { width: 16px; height: 16px; }
  .market-place .icon:last-child { display: none; }
  .season-switch { gap: 1px; padding: 2px; }
  .season-switch a { padding-inline: 7px; gap: 4px; font-size: .74rem; }
  .season-switch .icon { width: 13px; height: 13px; }
  .market-hero { grid-template-columns: 1fr; min-height: 0; border-radius: var(--radius); }
  .hero-copy { padding: 16px 17px 14px; }
  .hero-copy h1 { font-size: clamp(2.15rem, 9.5vw, 3.35rem); max-width: 15ch; }
  .hero-copy p { margin-top: 7px; font-size: .94rem; line-height: 1.35; }
  .hero-actions { margin-top: 10px; }
  .hero-media { min-height: 0; height: clamp(105px, 32vw, 176px); }
  .hero-ticket { bottom: 8px; right: 8px; padding: 6px 9px; gap: 6px; }
  .hero-ticket .icon { width: 19px; height: 19px; }
  .hero-ticket strong { font-size: .81rem; }
  .hero-ticket span { font-size: .73rem; }
  .explore-heading h2 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .filters { --filter-width: 4.65rem; margin-block: 9px; gap: 0 5px; }
  .filters > .button { padding-inline: 9px; }
  .filter-category { flex: 1 1 100%; }
  .map-header h3, .stalls-header h3 { font-size: 1rem; }
  .map-header, .stalls-header { min-height: 46px; }
  .map-pin .pin-hitbox { r: 61; }
  .map-pin .pin-shape { transform: scale(1.4); }
  .map-pin text { font-size: 27px; }
  .map-note { font-size: .79rem; }
  .stall-link { grid-template-columns: 62px minmax(0, 1fr) 16px; gap: 10px; }
  .stall-thumb { width: 62px; }
  .stall-copy h4 { font-size: 1.05rem; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-layout .contact-panel { grid-row: 2; }
  .detail-gallery:has(img + img) { grid-template-columns: 1fr; }
  .directory-item { grid-template-columns: 76px minmax(0, 1fr) 28px; gap: 10px; padding: 9px; }
  .directory-item img, .directory-icon { width: 76px; aspect-ratio: 1; }
  .directory-arrow { width: 28px; height: 28px; }
  .directory-arrow .icon { width: 16px; height: 16px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 5px; }
  .site-footer { margin-top: 34px; }
}
@media (max-width: 360px) {
  .hero-copy { padding-block: 13px 12px; }
  .hero-copy .demo-intro { display: none; }
  .filters { --filter-width: 4.35rem; }
  .filters > .button { padding-inline: 7px; }
  .filters input[type="search"] { padding-inline: 28px 6px; }
  .search-field > .icon { inset: 14px auto auto 8px; width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
