:root {
  --navy: #08233d;
  --deep-navy: #041423;
  --cream: #fff7e8;
  --warm-cream: #f6ead5;
  --gold: #d99a2b;
  --sunset-orange: #e87532;
  --teal: #2aa6a1;
  --sand: #d8bd8a;
  --ink: #102033;
  --muted: #5e6470;
  --line: rgba(8, 35, 61, 0.16);
  --cream-line: rgba(255, 247, 232, 0.2);
  --shadow: 0 18px 44px rgba(8, 35, 61, 0.14);
  --shadow-strong: 0 24px 70px rgba(4, 20, 35, 0.26);
  --radius: 14px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Roboto Slab", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.modal-is-open {
  overflow: hidden;
}

body.nav-is-scrolled .site-header {
  background: rgba(4, 20, 35, 0.96);
  box-shadow: 0 10px 32px rgba(4, 20, 35, 0.24);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.section-pad {
  padding: 72px 0;
}

/* Header: dark badge-like bar using the navy and gold from the logo. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--deep-navy);
  border-bottom: 1px solid rgba(216, 189, 138, 0.28);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.12;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 18px;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a,
.site-footer a,
.text-link,
.header-cta {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover,
.text-link:hover,
.vendor-body a:hover {
  color: var(--gold);
}

.header-cta {
  display: none;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  color: var(--deep-navy);
  background: var(--gold);
  border: 1px solid rgba(255, 247, 232, 0.34);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  flex: 0 0 auto;
  padding: 3px;
  background: rgba(255, 247, 232, 0.08);
  border: 1px solid var(--cream-line);
  border-radius: 999px;
}

.language-button {
  min-width: 38px;
  min-height: 32px;
  padding: 6px 8px;
  color: var(--cream);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.language-button.is-active {
  color: var(--deep-navy);
  background: var(--gold);
}

.language-button:focus-visible,
.button:focus-visible,
.header-cta:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* Hero: warm coastal badge feel with subtle sun and wave shapes. */
.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 84px;
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.96) 0%, rgba(246, 234, 213, 0.92) 58%, rgba(232, 117, 50, 0.22) 100%),
    var(--warm-cream);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  right: -90px;
  top: 118px;
  width: 260px;
  height: 260px;
  background:
    radial-gradient(circle, rgba(217, 154, 43, 0.5) 0 42%, transparent 43%),
    repeating-conic-gradient(from 10deg, rgba(232, 117, 50, 0.22) 0 8deg, transparent 8deg 18deg);
  border-radius: 50%;
  opacity: 0.75;
}

.hero::after {
  left: -18%;
  right: -18%;
  bottom: -72px;
  height: 180px;
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 0 38%, rgba(42, 166, 161, 0.2) 39% 47%, transparent 48%),
    radial-gradient(95% 70% at 50% 0%, transparent 0 42%, rgba(8, 35, 61, 0.18) 43% 49%, transparent 50%);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Decorative market shapes echo the logo without adding heavy image assets. */
.market-lights {
  position: absolute;
  top: 92px;
  left: 50%;
  width: min(760px, 142vw);
  height: 130px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, var(--gold) 0 6px, transparent 7px) 0 12px / 76px 40px,
    linear-gradient(8deg, transparent 49%, rgba(8, 35, 61, 0.2) 50%, transparent 51%);
  opacity: 0.7;
}

.market-stall {
  position: absolute;
  bottom: 28px;
  width: 220px;
  height: 290px;
  background:
    linear-gradient(135deg, var(--gold) 0 18%, var(--sunset-orange) 18% 36%, var(--cream) 36% 54%, var(--gold) 54% 72%, var(--sunset-orange) 72%),
    var(--navy);
  border: 2px solid rgba(8, 35, 61, 0.12);
  box-shadow: var(--shadow-strong);
  clip-path: polygon(8% 0, 92% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
  opacity: 0.28;
}

.stall-one {
  right: -56px;
}

.stall-two {
  left: -80px;
  bottom: 70px;
  width: 185px;
  height: 245px;
  opacity: 0.2;
}

.market-table {
  position: absolute;
  right: 10%;
  bottom: 0;
  width: 300px;
  height: 88px;
  background: linear-gradient(180deg, rgba(8, 35, 61, 0.85), rgba(4, 20, 35, 0.92));
  border: 1px solid rgba(216, 154, 43, 0.28);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow-strong);
  opacity: 0.24;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.hero-logo {
  width: min(58vw, 260px);
  height: auto;
  margin: 0 auto 22px 0;
  background: rgba(255, 247, 232, 0.96);
  border: 3px solid var(--gold);
  border-radius: 50%;
  box-shadow: var(--shadow-strong);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sunset-orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--navy);
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 12vw, 6.8rem);
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 7vw, 4rem);
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-subheadline {
  max-width: 700px;
  color: #23384d;
  font-size: clamp(1.08rem, 4vw, 1.42rem);
}

.landmark-note {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 9px 13px;
  color: var(--navy);
  background: rgba(42, 166, 161, 0.12);
  border: 1px solid rgba(42, 166, 161, 0.38);
  border-radius: 999px;
  font-weight: 900;
}

.hours {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 10px 14px;
  color: var(--deep-navy);
  background: rgba(217, 154, 43, 0.18);
  border: 1px solid rgba(217, 154, 43, 0.48);
  border-radius: 999px;
  font-weight: 900;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(8, 35, 61, 0.16);
}

.button-primary {
  color: var(--deep-navy);
  background: var(--gold);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.feature-grid,
.vendor-grid {
  display: grid;
  gap: 16px;
}

.feature-card,
.vendor-card,
.social-panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: var(--cream);
  border: 1px solid rgba(8, 35, 61, 0.18);
}

.feature-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--teal);
  content: "";
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 160ms ease;
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 20px;
  color: var(--deep-navy);
  background: var(--gold);
  border: 3px solid rgba(8, 35, 61, 0.08);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
}

.feature-card p,
.vendor-body p,
.visit-list,
.social-panel p {
  color: var(--muted);
}

.location {
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 12%, rgba(217, 154, 43, 0.2), transparent 30%),
    linear-gradient(180deg, var(--navy), var(--deep-navy));
  border-block: 1px solid rgba(216, 189, 138, 0.26);
}

.location h2,
.location .eyebrow {
  color: var(--gold);
}

.location p {
  color: rgba(255, 247, 232, 0.82);
}

.location .button {
  margin-top: 10px;
}

.location .button-primary {
  background: var(--sunset-orange);
}

.location-layout,
.visit-layout,
.footer-layout {
  display: grid;
  gap: 28px;
}

.map-embed {
  min-height: 330px;
  overflow: hidden;
  background: var(--deep-navy);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 330px;
  border: 0;
}

.vendor-map-section {
  background:
    radial-gradient(circle at 10% 8%, rgba(42, 166, 161, 0.14), transparent 32%),
    var(--cream);
}

.map-wrapper {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--warm-cream);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.map-overlay {
  position: absolute;
  inset: 0;
}

.map-slot {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  display: flex;
  width: clamp(26px, 5.2vw, 38px);
  height: clamp(26px, 5.2vw, 38px);
  align-items: center;
  justify-content: center;
  color: var(--deep-navy);
  background: rgba(217, 154, 43, 0.92);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(4, 20, 35, 0.28);
  font-size: clamp(0.68rem, 2vw, 0.92rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.map-slot .map-pin {
  left: var(--slot-pin-left);
  top: var(--slot-pin-top);
  z-index: 2;
  pointer-events: auto;
}

.map-label {
  position: absolute;
  left: var(--slot-label-left);
  top: var(--slot-label-top);
  display: inline-flex;
  max-width: var(--slot-label-width);
  align-items: center;
  justify-content: flex-start;
  padding: 6px 10px;
  color: var(--deep-navy);
  background: rgba(255, 247, 232, 0.88);
  border: 2px solid rgba(217, 154, 43, 0.92);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(4, 20, 35, 0.14);
  font: inherit;
  font-size: clamp(0.66rem, 1.7vw, 0.84rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(-50%);
  pointer-events: auto;
  z-index: 1;
}

.map-label:hover,
.map-label:focus-visible {
  color: var(--cream);
  background: var(--sunset-orange);
  border-color: var(--sunset-orange);
}

.map-slot.is-inactive {
  opacity: 0.35;
}

.map-slot.is-map-highlighted .map-pin {
  color: var(--cream);
  background: rgba(232, 117, 50, 0.96);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 5px rgba(232, 117, 50, 0.2), 0 8px 18px rgba(4, 20, 35, 0.3);
}

.map-pin:hover,
.map-pin:focus-visible {
  color: var(--cream);
  background: rgba(232, 117, 50, 0.96);
  transform: translate(-50%, -50%) scale(1.08);
}

.map-label:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.map-legend {
  display: none;
}

.map-mobile-note {
  display: none;
}

@media (max-width: 559px) {
  .map-label {
    display: none;
  }

  .map-mobile-note {
    position: absolute;
    top: 57%;
    left: 5%;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    color: var(--cream);
    background: rgba(4, 20, 35, 0.78);
    border: 1px solid rgba(255, 247, 232, 0.28);
    border-radius: 999px;
    box-shadow: 0 5px 12px rgba(4, 20, 35, 0.2);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 3;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .map-slot .map-pin {
    transform: translate(-50%, -50%) scale(0.9);
  }

  .map-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .map-legend__item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 10px;
    color: var(--deep-navy);
    background: rgba(255, 247, 232, 0.9);
    border: 1px solid rgba(217, 154, 43, 0.42);
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(4, 20, 35, 0.1);
    font: inherit;
    text-align: left;
  }

  .map-legend__number {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--cream);
    background: var(--deep-navy);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
  }

  .map-legend__name {
    min-width: 0;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.1;
    overflow: visible;
    white-space: normal;
  }
}

.split-heading {
  display: grid;
  gap: 10px;
  max-width: none;
}

.text-link,
.vendor-body a {
  color: var(--teal);
  font-weight: 900;
}

.vendor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vendor-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  color: var(--deep-navy);
  background: rgba(217, 154, 43, 0.16);
  border: 1px solid rgba(217, 154, 43, 0.34);
  border-radius: 999px;
  font-size: 0.82rem;
}

.vendor-card {
  scroll-margin-top: 94px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(8, 35, 61, 0.12);
}

.vendor-directory {
  display: none;
}

.vendor-card:target,
.vendor-card.is-map-highlighted {
  outline: 4px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(217, 154, 43, 0.25), var(--shadow);
}

.vendor-image {
  min-height: 190px;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}

.vendor-image-with-logo {
  display: grid;
  place-items: center;
  padding: 22px;
}

.vendor-logo-badge {
  width: min(74%, 150px);
  aspect-ratio: 1;
  padding: 10px;
  object-fit: contain;
  background: var(--cream);
  border: 4px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(4, 20, 35, 0.3);
}

/* Placeholder image styles use the logo palette until real vendor photos are ready. */
.image-spice {
  background-image:
    radial-gradient(circle at 30% 42%, var(--gold) 0 9%, transparent 10%),
    radial-gradient(circle at 70% 60%, var(--sunset-orange) 0 11%, transparent 12%),
    linear-gradient(135deg, var(--deep-navy), #7b3519);
}

.image-jewelry {
  background-image:
    radial-gradient(circle at 42% 48%, transparent 0 16%, var(--gold) 17% 20%, transparent 21%),
    radial-gradient(circle at 58% 58%, transparent 0 12%, var(--cream) 13% 16%, transparent 17%),
    linear-gradient(135deg, var(--teal), var(--navy));
}

.image-food {
  background-image:
    radial-gradient(circle at 36% 55%, var(--sand) 0 14%, transparent 15%),
    radial-gradient(circle at 62% 45%, var(--sunset-orange) 0 12%, transparent 13%),
    linear-gradient(135deg, #71321a, var(--deep-navy));
}

.image-gifts {
  background-image:
    linear-gradient(90deg, transparent 46%, rgba(255, 247, 232, 0.78) 47% 53%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(217, 154, 43, 0.82) 47% 53%, transparent 54%),
    linear-gradient(135deg, var(--teal), var(--sunset-orange));
}

.image-abuela {
  background-image:
    radial-gradient(ellipse at 50% 72%, rgba(216, 189, 138, 0.9) 0 8%, transparent 9%),
    radial-gradient(ellipse at 45% 38%, rgba(255, 247, 232, 0.54) 0 7%, transparent 8%),
    linear-gradient(95deg, transparent 47%, rgba(217, 154, 43, 0.78) 48% 52%, transparent 53%),
    linear-gradient(135deg, var(--deep-navy), #4d2743 48%, var(--teal));
}

.image-open-spot {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(217, 154, 43, 0.28) 0 28%, transparent 29%),
    linear-gradient(135deg, var(--navy), var(--deep-navy));
}

.image-open-spot span {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  color: var(--deep-navy);
  background: var(--gold);
  border: 4px solid var(--cream);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
}

.vendor-body {
  padding: 20px;
}

.vendor-category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  color: var(--deep-navy);
  background: rgba(42, 166, 161, 0.16);
  border: 1px solid rgba(42, 166, 161, 0.34);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.vendor-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: end center;
  padding: 18px;
}

.vendor-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 35, 0.72);
  backdrop-filter: blur(8px);
}

.vendor-modal__dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: min(86vh, 760px);
  overflow: auto;
  background: var(--cream);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.vendor-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--cream);
  background: var(--deep-navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font: inherit;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.vendor-modal__content .vendor-card {
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.vendor-modal__content .vendor-image {
  min-height: 220px;
}

.vendor-modal__content .vendor-body {
  padding: 24px;
}

.vendor-modal__content .vendor-links {
  margin-top: 6px;
}

.visit {
  background:
    radial-gradient(circle at 90% 0%, rgba(217, 154, 43, 0.18), transparent 30%),
    var(--warm-cream);
}

.visit-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.visit-list li {
  position: relative;
  padding: 15px 16px 15px 46px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(8, 35, 61, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(8, 35, 61, 0.08);
}

.visit-list li::before {
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--deep-navy);
  background: var(--gold);
  border-radius: 50%;
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
}

.social {
  background: var(--cream);
}

.social-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  color: var(--deep-navy);
  background:
    radial-gradient(circle at 90% 18%, rgba(255, 247, 232, 0.46), transparent 28%),
    linear-gradient(135deg, rgba(232, 117, 50, 0.96), rgba(217, 154, 43, 0.94));
  border: 1px solid rgba(8, 35, 61, 0.12);
}

.social-panel h2,
.social-panel .eyebrow,
.social-panel p {
  color: var(--deep-navy);
}

.social-panel .button-primary {
  background: var(--deep-navy);
  color: var(--cream);
}

.social-panel .button-secondary {
  background: rgba(255, 247, 232, 0.22);
}

.site-footer {
  padding: 34px 0;
  color: var(--cream);
  background: var(--deep-navy);
  border-top: 4px solid var(--gold);
}

.site-footer h2 {
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 6px;
  color: rgba(255, 247, 232, 0.82);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--cream);
  font-weight: 900;
}

.admin-page {
  background:
    radial-gradient(circle at 15% 10%, rgba(42, 166, 161, 0.16), transparent 26%),
    radial-gradient(circle at 90% 0%, rgba(217, 154, 43, 0.16), transparent 28%),
    var(--warm-cream);
}

.admin-layout {
  display: grid;
  gap: 24px;
}

.admin-save-button {
  box-shadow: 0 10px 18px rgba(8, 35, 61, 0.16);
}

.admin-save-button.is-saved {
  background: var(--teal);
  color: var(--cream);
}

.admin-save-button:active,
.admin-save-button.is-saved {
  transform: translateY(0);
}

.admin-panel,
.admin-preview {
  padding: 24px;
  background: var(--cream);
  border: 1px solid rgba(8, 35, 61, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-slot-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-slot {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  background: rgba(255, 247, 232, 0.78);
  border: 1px solid rgba(8, 35, 61, 0.1);
  border-radius: 12px;
}

.admin-slot__number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--cream);
  background: var(--deep-navy);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
}

.admin-slot__fields {
  display: grid;
  gap: 10px;
}

.admin-slot__links {
  display: grid;
  gap: 10px;
}

.admin-slot__row {
  display: grid;
  gap: 10px;
}

.admin-slot__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-slot__toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.admin-slot__field {
  display: grid;
  gap: 6px;
}

.admin-slot__field-content {
  display: grid;
  gap: 8px;
}

.admin-slot__locales {
  display: grid;
  gap: 10px;
}

.admin-slot__field span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.admin-slot__field small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.admin-slot__field input {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(8, 35, 61, 0.18);
  border-radius: 10px;
  font: inherit;
}

.admin-slot__field select,
.admin-slot__field textarea {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(8, 35, 61, 0.18);
  border-radius: 10px;
  font: inherit;
}

.admin-slot__field textarea {
  resize: vertical;
}

.admin-inline-clear {
  min-height: 34px;
  width: fit-content;
  padding: 6px 12px;
  font-size: 0.8rem;
}

.admin-slot__logo-preview {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 10px;
  color: var(--muted);
  background: rgba(255, 247, 232, 0.76);
  border: 1px dashed rgba(8, 35, 61, 0.18);
  border-radius: 12px;
  font-size: 0.88rem;
  text-align: center;
}

.admin-slot__logo-preview img {
  display: block;
  max-width: min(100%, 160px);
  max-height: 86px;
  object-fit: contain;
}

.admin-status {
  min-height: 1.4em;
  margin: 2px 0 0;
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-preview-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

@media (min-width: 560px) {
  .button-row {
    flex-direction: row;
    align-items: center;
  }

  .button {
    width: auto;
  }

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

@media (min-width: 780px) {
  .site-header {
    padding-inline: 28px;
  }

  .site-nav,
  .header-cta {
    display: flex;
  }

  .section-pad {
    padding: 96px 0;
  }

  .hero {
    min-height: 820px;
  }

  .hero-logo {
    margin-left: 0;
  }

  .location-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }

  .visit-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }

  .split-heading,
  .footer-layout {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .admin-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    align-items: start;
  }

  .admin-preview-actions {
    position: fixed;
    top: 112px;
    right: 24px;
    z-index: 25;
    width: min(280px, calc(100vw - 48px));
    margin-top: 0;
    padding: 18px;
    background: rgba(255, 247, 232, 0.92);
    border: 1px solid rgba(8, 35, 61, 0.12);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .admin-slot {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .admin-slot__number {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }

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

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

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
