/* Open-now badge, seasonal note, towns map, questions, ready list, language switch and photo field. Each look sets the --feat-* colours and the type. */

:root {
  --feat-ink: #1f1f1f;
  --feat-muted: #555;
  --feat-rule: #d9d9d9;
  --feat-accent: #1f4e79;
  --feat-on-accent: #fff;
  --feat-focus: var(--feat-accent);
  --feat-panel: transparent;
  --feat-radius: 0;
  --feat-badge-bg: rgb(0 0 0 / 0.06);
  --feat-badge-ink: var(--feat-ink);
  --feat-open: #2e7d4f;
  --feat-closed: #8a8f98;
  --feat-season-bg: #f2f2f2;
  --feat-season-ink: var(--feat-ink);
  --feat-season-rule: transparent;
  --feat-season-mark: var(--feat-accent);
  --feat-chip-bg: transparent;
  --feat-chip-radius: 999px;
  --feat-map-ground: #eef1ec;
  --feat-map-land: #e2e8de;
  --feat-map-land-2: #d6dfd1;
  --feat-map-water: #c9dbe6;
  --feat-map-road: #ffffff;
  --feat-map-ring: var(--feat-accent);
  --feat-map-pin: var(--feat-accent);
  --feat-map-pin-dot: #fff;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 16px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--feat-badge-bg);
  color: var(--feat-badge-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.open-badge[hidden] {
  display: none;
}

.open-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--feat-closed);
}

.open-badge.is-open .open-dot {
  background: var(--feat-open);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--feat-open) 24%, transparent);
}

.season-note {
  border-bottom: 1px solid var(--feat-season-rule);
  background: var(--feat-season-bg);
  color: var(--feat-season-ink);
}

.season-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.season-mark {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--feat-season-mark);
  transform: translateY(-1px);
}

.season-text {
  font-size: 0.9375rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.towns-body {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

@media (min-width: 860px) {
  .towns-body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

.towns-map {
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  border-radius: var(--feat-radius);
}

.towns-svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-ground {
  fill: var(--feat-map-ground);
}

.map-land {
  fill: var(--feat-map-land);
}

.map-land-2 {
  fill: var(--feat-map-land-2);
}

.map-water {
  fill: none;
  stroke: var(--feat-map-water);
  stroke-linecap: round;
  stroke-width: 14;
}

.map-road {
  fill: none;
  stroke: var(--feat-map-road);
  stroke-linecap: round;
  stroke-width: 7;
}

.map-road-minor {
  stroke-width: 3.5;
}

.map-ring {
  fill: color-mix(in srgb, var(--feat-map-ring) 10%, transparent);
  stroke: var(--feat-map-ring);
  stroke-width: 1.5;
}

.map-ring-mid {
  fill: color-mix(in srgb, var(--feat-map-ring) 6%, transparent);
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}

.map-ring-far {
  fill: none;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  stroke-opacity: 0.6;
}

.map-pin {
  fill: var(--feat-map-pin);
}

.map-pin-dot {
  fill: var(--feat-map-pin-dot);
}

.towns-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.town {
  padding: 8px 16px;
  border: 1px solid var(--feat-rule);
  border-radius: var(--feat-chip-radius);
  background: var(--feat-chip-bg);
  color: var(--feat-ink);
  font-size: 1rem;
  line-height: 1.3;
}

.faq-list {
  max-width: 60rem;
  border-top: 1px solid var(--feat-rule);
}

.faq-item {
  border-bottom: 1px solid var(--feat-rule);
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 20px 0;
  color: var(--feat-ink);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q:focus-visible {
  outline: 2px solid var(--feat-focus);
  outline-offset: 4px;
}

.faq-q-text {
  min-width: 0;
  text-wrap: pretty;
}

/* A plus that turns into a minus once the answer is open. */
.faq-icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: -1px;
  border: 1.5px solid var(--feat-accent);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--feat-accent);
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  display: none;
}

.faq-a {
  max-width: 46rem;
  padding: 0 48px 24px 0;
  color: var(--feat-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.faq-outro {
  margin-top: 24px;
  color: var(--feat-muted);
}

.ready {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--feat-rule);
  border-radius: var(--feat-radius);
  background: var(--feat-panel);
}

.ready-title {
  color: var(--feat-ink);
}

.ready-lead {
  margin-top: 6px;
  color: var(--feat-muted);
}

.ready-list {
  display: grid;
  gap: 18px 36px;
  margin-top: 22px;
}

@media (min-width: 720px) {
  .ready-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ready-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.ready-tick {
  width: 24px;
  height: 24px;
  margin-top: 1px;
}

.ready-tick circle {
  fill: var(--feat-accent);
}

.ready-tick path {
  fill: none;
  stroke: var(--feat-on-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.ready-text {
  font-size: 1rem;
  line-height: 1.5;
}

.ready-k {
  display: block;
  color: var(--feat-ink);
  font-weight: 600;
}

.ready-v {
  display: block;
  color: var(--feat-muted);
}

/* Language switch: sits before the header call button and takes the header's own text colour. */
.lang-switch {
  flex: none;
  margin-left: auto;
}

/* The nav keeps its one-line width; a long shop name wraps instead. */
@media (min-width: 1000px) {
  .header-row > .site-nav {
    flex: none;
    margin-left: auto;
  }
}

.lang-list {
  display: flex;
  align-items: center;
}

.lang-list li + li {
  border-left: 1px solid color-mix(in srgb, currentColor 45%, transparent);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 44px;
  padding: 0 8px;
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
}

.lang-link[aria-current] {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.lang-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.lang-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Below 1200px only the other language shows, which leaves the brand, nav and call button their room. */
@media (max-width: 1199.98px) {
  .lang-item.is-current {
    display: none;
  }

  .lang-list li + li {
    border-left: 0;
  }
}

@media (max-width: 479.98px) {
  .lang-switch {
    margin-right: -8px;
  }

  .lang-link {
    min-width: 36px;
    padding: 0 6px;
  }
}

/* Small phones: an icon call button keeps only its icon on screen; the word stays for screen readers. */
@media (max-width: 399.98px) {
  .header-call:has(> .icon) {
    position: relative;
    min-width: 44px;
    padding: 0;
  }

  .header-call:has(> .icon) .show-sm {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.lang-note {
  margin-top: 6px;
  font-style: italic;
}

/* Photo field: the file input covers the row unseen, so a tap anywhere on it opens the picker. */
.photo-pick {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  min-height: 48px;
}

.field .photo-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.photo-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--feat-accent);
  border-radius: var(--feat-radius);
  color: var(--feat-accent);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.photo-pick:hover .photo-button {
  background: color-mix(in srgb, var(--feat-accent) 8%, transparent);
}

.photo-pick:focus-within .photo-button {
  outline: 3px solid var(--feat-focus);
  outline-offset: 2px;
}

.photo-name {
  min-width: 0;
  color: var(--feat-muted);
  font-size: 0.9375rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.field-photo .field-help {
  margin-top: 8px;
  color: var(--feat-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
