/* SveittoSauna – warm Nordic sauna aesthetic */
:root {
  --c-olive: #3d4329;
  --c-dg: #2c3322;
  --c-cream: #f7f1e8;
  --c-orange: #c4672a;
  --rgb-olive: 61, 67, 41;
  --rgb-dg: 44, 51, 34;
  --rgb-cream: 247, 241, 232;
  --rgb-orange: 196, 103, 42;
  /* Fasta paletter (samma i båda teman) */
  --olive: #3d4329;
  --rank-green: #3d4329;
  --amber: #c4672a;
  --cream: #f7f1e8;
  --wood: #3d4329;
  --charcoal: #2c3322;
  /* Tema: LJUST (standard) */
  color-scheme: light;
  --bg: var(--c-cream);
  --text: var(--c-dg);
  --text-rgb: var(--rgb-dg);
  --text-muted: rgba(var(--rgb-dg), 0.78);
  --surface: var(--c-cream);
  --surface-rgb: var(--rgb-cream);
  --glass-min: 0;
  --field: rgba(var(--rgb-dg), 0.04);
  --forest: var(--c-olive);
  --on-forest: var(--c-cream);
  --link: var(--c-olive);
  --ok-c: var(--c-olive);
  --accent-text: var(--c-orange);
  --veil-rgb: var(--rgb-cream);
  --veil-a1: 0.25;
  --veil-a2: 0.55;
  /* Gamla namn pekar på temavariablerna */
  --forest-deep: var(--text);
  --ink: var(--text);
  --muted: var(--text-muted);
  --white: var(--surface);
  --moss: var(--link);
  --ok: var(--ok-c);
  --danger: var(--c-orange);
  --cream-dark: rgba(var(--text-rgb), 0.08);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(44, 51, 34, 0.18);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-h: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.has-nature-bg {
  background: transparent;
}

.nature-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.nature-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.nature-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(44, 51, 34, 0.35) 0%, rgba(var(--veil-rgb), var(--veil-a1)) 35%, rgba(var(--veil-rgb), var(--veil-a2)) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(196, 103, 42, 0.18), transparent 50%);
}

body.has-nature-bg .site-header {
  /* Olivgrön #3D4329 = loggans egen färg. */
  background: var(--olive);
  border-bottom: 1px solid rgba(247, 241, 232, 0.12);
}

body.has-nature-bg .logo-text {
  color: var(--cream);
}

body.has-nature-bg .logo-slogan {
  color: var(--amber);
}

body.has-nature-bg .site-nav a {
  color: rgba(247, 241, 232, 0.92);
}

body.has-nature-bg .site-nav a:hover {
  color: var(--c-cream); text-decoration: underline; text-underline-offset: 0.25em;
}

body.has-nature-bg .nav-cta {
  background: var(--amber);
  color: var(--cream) !important;
}

body.has-nature-bg .nav-cta:hover {
  background: var(--amber);
  color: var(--c-dg) !important;
}

body.has-nature-bg .nav-toggle span {
  background: var(--cream);
}

body.has-nature-bg .hero {
  background: transparent;
}

body.has-nature-bg .section {
  background: transparent;
}

body.has-nature-bg .section-alt {
  background: transparent;
}

body.has-nature-bg .hero-copy,
body.has-nature-bg .section .container,
body.has-nature-bg .section-alt .container {
  position: relative;
}

body.has-nature-bg .feature,
body.has-nature-bg .price-card-inner,
body.has-nature-bg .tent-card-inner,
body.has-nature-bg .calendar-panel,
body.has-nature-bg .loyly-map,
body.has-nature-bg .form-panel {
  background: rgba(var(--surface-rgb), max(0.72, var(--glass-min)));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.has-nature-bg .hero-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem 1.5rem;
  align-items: center;
  padding: 1.35rem;
  border-radius: calc(var(--radius) + 10px);
  background: rgba(var(--surface-rgb), max(0.88, var(--glass-min)));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--surface-rgb), 0.55);
  box-shadow: 0 18px 40px rgba(44, 51, 34, 0.14);
  overflow: hidden;
}

body.has-nature-bg .hero-card .hero-visual {
  background: transparent !important;
  backdrop-filter: none !important;
  margin: 0;
  padding: 0.5rem;
  align-self: center;
}

body.has-nature-bg .hero-card .hero-copy {
  background: transparent !important;
  backdrop-filter: none !important;
  border: 0;
  box-shadow: none;
  padding: 0.35rem 0.25rem 0.25rem;
}

body.has-nature-bg .hero-photo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 10px 22px rgba(44, 51, 34, 0.22));
  margin: 0;
}

body.has-nature-bg .hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  body.has-nature-bg .hero-card {
    grid-template-columns: 1fr;
    padding: 1.1rem 1.1rem 1.25rem;
    gap: 0.75rem;
  }
  body.has-nature-bg .hero-card .hero-visual {
    order: -1;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    padding: 0.35rem;
  }
  body.has-nature-bg .hero-card .hero-copy {
    padding-top: 0.15rem;
  }
}

body.has-nature-bg .section.section-alt .container,
body.has-nature-bg .section .container.narrow {
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(var(--surface-rgb), max(0.62, var(--glass-min)));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(var(--surface-rgb), 0.4);
}

body.has-nature-bg .price-card.selectable.featured .price-card-inner {
  background: linear-gradient(165deg, rgba(61, 67, 41, 0.92), rgba(44, 51, 34, 0.95));
}

body.has-nature-bg .site-footer {
  margin-top: 2rem;
  border-radius: 0;
  background: linear-gradient(165deg, var(--rank-green), var(--c-dg));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: rgba(247, 241, 232, 0.92);
  border-top: 1px solid rgba(247, 241, 232, 0.12);
}

body.has-nature-bg .site-footer .muted,
body.has-nature-bg .footer-bottom {
  color: rgba(247, 241, 232, 0.72);
}

img {
  max-width: 100%;
}

a {
  color: var(--moss);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--link);
  text-decoration-color: var(--c-orange);
  text-decoration-thickness: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  background: var(--forest);
  color: var(--on-forest);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.75rem;
}

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

.container.narrow {
  width: min(820px, calc(100% - 2.5rem));
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest-deep);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
}

h1 em {
  font-style: italic;
  color: var(--amber);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 36ch;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(var(--text-rgb), 0.06), rgba(var(--text-rgb), 0)), var(--bg);
}

.section-intro {
  max-width: 58ch;
  color: var(--muted);
  margin: 0 0 2.5rem;
}

/* Löyly Empire – imperial parchment map chrome */
.map-intro {
  margin-bottom: 1.25rem;
}

.loyly-map {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0.85rem;
  border: 1px solid rgba(44, 51, 34, 0.55);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 12%, rgba(247, 241, 232, 0.34), transparent 34%),
    linear-gradient(145deg, #3d4329 0%, #3d4329 48%, #2c3322 100%);
  box-shadow:
    0 22px 48px rgba(44, 51, 34, 0.25),
    inset 0 0 0 1px rgba(196, 103, 42, 0.62),
    inset 0 0 0 5px rgba(44, 51, 34, 0.16);
}

.loyly-map::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.56;
  background:
    repeating-linear-gradient(7deg, rgba(44, 51, 34, 0.07) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(97deg, rgba(247, 241, 232, 0.16) 0 1px, transparent 1px 11px),
    radial-gradient(circle at 13% 78%, rgba(44, 51, 34, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 77% 22%, rgba(44, 51, 34, 0.15) 0 1px, transparent 2px);
  background-size: auto, auto, 17px 19px, 23px 29px;
  mix-blend-mode: multiply;
}

.loyly-map-frame {
  position: relative;
  width: 100%;
  /* Keep the map useful without turning the section into a scroll trap. */
  height: clamp(280px, 42vh, 360px);
  overflow: hidden;
  border: 3px solid #2c3322;
  border-radius: 13px;
  background: #3d4329;
  box-shadow:
    inset 0 0 0 1px rgba(196, 103, 42, 0.92),
    inset 0 0 0 5px rgba(44, 51, 34, 0.27),
    0 9px 22px rgba(44, 51, 34, 0.26);
}

/* Fine grain and a worn-edge vignette sit above the OSM tiles, never above pins. */
.loyly-map-frame::before,
.loyly-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loyly-map-frame::before {
  z-index: 350;
  opacity: 0.62;
  background:
    repeating-linear-gradient(0deg, rgba(44, 51, 34, 0.08) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(247, 241, 232, 0.08) 0 1px, transparent 1px 6px),
    radial-gradient(circle at 17% 31%, rgba(44, 51, 34, 0.22) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 67%, rgba(44, 51, 34, 0.17) 0 1px, transparent 2px);
  background-size: auto, auto, 19px 23px, 29px 31px;
  mix-blend-mode: multiply;
}

.loyly-map-frame::after {
  z-index: 450;
  background:
    radial-gradient(ellipse at center, transparent 42%, rgba(44, 51, 34, 0.12) 76%, rgba(44, 51, 34, 0.42) 100%),
    linear-gradient(180deg, rgba(247, 241, 232, 0.1), transparent 24%, transparent 76%, rgba(44, 51, 34, 0.13));
  mix-blend-mode: multiply;
}

.loyly-map-chrome {
  position: absolute;
  z-index: 900;
  top: 0.9rem;
  left: 0.9rem;
  right: 0.9rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  pointer-events: none;
}

.loyly-map-title-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(18rem, calc(100vw - 5rem));
  padding: 0.45rem 0.85rem 0.5rem;
  color: #2c3322;
  background: linear-gradient(180deg, rgba(247, 241, 232, 0.98), rgba(247, 241, 232, 0.97));
  border: 2px solid #c4672a;
  border-radius: 5px 14px 5px 14px;
  box-shadow:
    0 4px 13px rgba(44, 51, 34, 0.28),
    inset 0 0 0 1px rgba(196, 103, 42, 0.88),
    inset 0 0 0 4px rgba(44, 51, 34, 0.2);
}

.loyly-map-title-frame::before,
.loyly-map-title-frame::after {
  content: "";
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-color: #c4672a;
  border-style: solid;
}

.loyly-map-title-frame::before {
  top: 0.22rem;
  left: 0.25rem;
  border-width: 1px 0 0 1px;
}

.loyly-map-title-frame::after {
  right: 0.25rem;
  bottom: 0.22rem;
  border-width: 0 1px 1px 0;
}

.loyly-title-ornament {
  flex: 0 0 auto;
  color: #c4672a;
  font-size: 1rem;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(44, 51, 34, 0.5);
}

.loyly-map-title-copy {
  display: grid;
  gap: 0.02rem;
  text-align: center;
  line-height: 1.05;
}

.loyly-map-kicker,
.loyly-map-subtitle {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loyly-map-kicker {
  color: #3d4329;
}

.loyly-map-seal {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 0.95;
  color: #2c3322;
  text-shadow: 0 1px rgba(247, 241, 232, 0.55);
}

.loyly-map-subtitle {
  color: #3d4329;
  letter-spacing: 0.11em;
}

.loyly-map-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.18rem;
  padding: 0.42rem 0.7rem;
  color: #2c3322;
  background: rgba(247, 241, 232, 0.92);
  border: 1px solid #2c3322;
  border-radius: 3px 10px 3px 10px;
  box-shadow: 0 3px 10px rgba(44, 51, 34, 0.2), inset 0 0 0 1px rgba(196, 103, 42, 0.6);
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.loyly-map-count strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 0.9;
  color: #3d4329;
}

.loyly-empire-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #3d4329;
}

.loyly-empire-map.is-loading::after {
  content: "Laddar imperiekartan …";
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 800;
  transform: translate(-50%, -50%);
  padding: 0.55rem 0.85rem;
  color: #2c3322;
  background: rgba(247, 241, 232, 0.9);
  border: 1px solid #3d4329;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(44, 51, 34, 0.18);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  pointer-events: none;
}

/* Keep the OSM basemap warm without muting roads, coastlines, or labels. */
.loyly-empire-map .leaflet-tile-pane {
  filter: sepia(0.18) saturate(0.92) contrast(1.03) brightness(1.02) hue-rotate(-4deg);
}

.loyly-empire-map .leaflet-control-container {
  position: relative;
  z-index: 1000;
}

.loyly-empire-map .leaflet-control-attribution {
  margin: 0 0.3rem 0.3rem 0;
  padding: 2px 5px;
  color: #2c3322 !important;
  background: rgba(247, 241, 232, 0.88) !important;
  border: 1px solid rgba(44, 51, 34, 0.45);
  border-radius: 3px;
  box-shadow: 0 1px 5px rgba(44, 51, 34, 0.16);
  font-size: 10px;
  max-width: 70%;
}

.loyly-empire-map .leaflet-control-attribution a {
  color: #2c3322 !important;
}

.loyly-empire-map .leaflet-control-zoom {
  margin: 0.75rem 0.75rem 0 0;
  border: 1px solid #3d4329 !important;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 9px rgba(44, 51, 34, 0.22);
}

.loyly-empire-map .leaflet-control-zoom a {
  width: 2rem;
  height: 2rem;
  color: #2c3322 !important;
  background: rgba(247, 241, 232, 0.96) !important;
  border-color: rgba(44, 51, 34, 0.48) !important;
  line-height: 1.9rem;
  font-weight: 700;
}

.loyly-empire-map .leaflet-control-zoom a:hover,
.loyly-empire-map .leaflet-control-zoom a:focus-visible {
  color: #f7f1e8 !important;
  background: #3d4329 !important;
}

.loyly-div-icon {
  z-index: 600;
  background: transparent !important;
  border: 0 !important;
}

.loyly-marker {
  position: relative;
  width: 120px;
  height: 54px;
  pointer-events: auto;
}

.loyly-flag {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 48px;
}

.loyly-flag-pole {
  position: absolute;
  left: 3px;
  top: 0;
  width: 3px;
  height: 48px;
  background: linear-gradient(90deg, #2c3322, #3d4329, #2c3322);
  border-radius: 2px;
  box-shadow: 1px 1px 2px rgba(44, 51, 34, 0.35);
}

.loyly-flag-cloth {
  position: absolute;
  left: 6px;
  top: 2px;
  width: 20px;
  height: 16px;
  clip-path: polygon(0 0, 100% 0, 82% 50%, 100% 100%, 0 100%);
  box-shadow: 1px 1px 2px rgba(44, 51, 34, 0.25);
}

.loyly-flag--hq .loyly-flag-cloth { background: linear-gradient(135deg, #c4672a, #c4672a); }
.loyly-flag--conquest .loyly-flag-cloth { background: linear-gradient(135deg, #2c3322, #2c3322); }
.loyly-flag--event .loyly-flag-cloth { background: linear-gradient(135deg, #f7f1e8, #f7f1e8); }

.loyly-flag-glyph {
  display: block;
  color: #f7f1e8;
  text-align: center;
  font-size: 9px;
  line-height: 16px;
  text-shadow: 0 1px 1px rgba(44, 51, 34, 0.45);
}

.loyly-banner {
  position: absolute;
  left: 26px;
  top: 4px;
  max-width: 92px;
  padding: 0.15rem 0.45rem;
  color: #2c3322;
  background: linear-gradient(180deg, #f7f1e8, #f7f1e8);
  border: 1px solid rgba(44, 51, 34, 0.64);
  border-radius: 3px;
  box-shadow: 1px 2px 4px rgba(44, 51, 34, 0.24), inset 0 0 0 1px rgba(196, 103, 42, 0.7);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loyly-marker.is-approx .loyly-banner {
  border-style: dashed;
  opacity: 0.92;
}

.loyly-leaflet-popup .leaflet-popup-content-wrapper {
  color: #2c3322;
  background: #f7f1e8;
  border: 1px solid rgba(44, 51, 34, 0.58);
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(44, 51, 34, 0.25), inset 0 0 0 2px rgba(196, 103, 42, 0.3);
  font-family: var(--font-body);
}

.loyly-leaflet-popup .leaflet-popup-tip {
  background: #f7f1e8;
}

.loyly-popup strong {
  color: #2c3322;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.loyly-popup p {
  margin: 0.35rem 0 0;
  color: #3d4329;
  font-size: 0.9rem;
}

.loyly-popup-place {
  color: #3d4329 !important;
  font-weight: 700;
}

.loyly-popup-approx {
  color: #3d4329 !important;
  font-size: 0.78rem !important;
  font-style: italic;
}

.loyly-map-error {
  margin: 0;
  padding: 2rem 1rem;
  color: #f7f1e8;
  text-align: center;
}

.map-open-external {
  margin: 0.8rem 0 0.1rem;
  text-align: center;
}

.map-open-external .map-link,
.map-fs-btn {
  margin-top: 0;
  color: #2c3322;
  font-size: 0.95rem;
  font-weight: 700;
}

button.map-fs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  appearance: none;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  touch-action: manipulation;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  background: rgba(247, 241, 232, 0.92);
  border: 1px solid rgba(44, 51, 34, 0.55);
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(44, 51, 34, 0.22);
}

/* The close control is temporarily moved into the portalled frame by JS. */
.loyly-map-frame > .map-fs-btn {
  display: none;
}

.loyly-map-frame.is-fullscreen > .map-fs-btn {
  position: absolute;
  z-index: 1200;
  top: max(0.75rem, env(safe-area-inset-top));
  left: calc(50% + 2rem);
  right: auto;
  display: inline-flex;
  margin: 0;
  color: #2c3322;
  transform: translateX(-50%);
}

button.map-fs-btn:hover,
button.map-fs-btn:focus-visible {
  color: #2c3322;
  background: rgba(247, 241, 232, 0.85);
}

/* Fullscreen map overlay. The frame is portalled to <body> while open so
   backdrop-filter/overflow on the map card cannot create a fixed-position
   containing block on iOS Safari. */
.loyly-map-frame.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  border-width: 3px;
  border-radius: 0;
}

body.loyly-map-fs-open {
  position: fixed;
  inset-inline: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.loyly-map-fs-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147482990;
  pointer-events: none;
  background: rgba(44, 51, 34, 0.64);
}

.loyly-map-frame.is-fullscreen .loyly-map-chrome {
  top: max(0.9rem, env(safe-area-inset-top));
  left: max(0.9rem, env(safe-area-inset-left));
  right: max(0.9rem, env(safe-area-inset-right));
}

.loyly-map-frame.is-fullscreen .loyly-map-title-frame {
  max-width: calc(100% - 10rem);
}

.loyly-map-frame.is-fullscreen .loyly-empire-map {
  min-height: 0;
  height: 100%;
}

@media (max-width: 720px) {
  .loyly-map {
    padding: 0.5rem;
  }

  .loyly-map-frame {
    min-height: 220px;
    height: min(46vh, 280px);
  }

  .loyly-map-chrome {
    top: 0.65rem;
    left: 0.65rem;
    right: 0.65rem;
  }

  .loyly-map-title-frame {
    min-width: 0;
    max-width: calc(100% - 4.8rem);
    gap: 0.35rem;
    padding-inline: 0.5rem;
  }

  .loyly-map-subtitle,
  .loyly-map-kicker {
    font-size: 0.48rem;
  }

  .loyly-map-seal {
    font-size: 1.08rem;
  }

  .loyly-map-count {
    gap: 0;
    padding: 0.34rem 0.42rem;
    font-size: 0;
  }

  .loyly-map-count strong {
    font-size: 1rem;
  }

  .loyly-banner {
    max-width: 78px;
    font-size: 0.68rem;
  }

  .loyly-map-frame.is-fullscreen {
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
  }

  .loyly-map-frame.is-fullscreen .loyly-map-chrome {
    top: max(0.65rem, env(safe-area-inset-top));
    left: max(0.65rem, env(safe-area-inset-left));
    right: max(0.65rem, env(safe-area-inset-right));
  }

  .loyly-map-frame.is-fullscreen .loyly-map-title-frame {
    max-width: calc(100% - 9rem);
  }

  .loyly-map-frame.is-fullscreen > .map-fs-btn {
    top: max(0.65rem, env(safe-area-inset-top));
    left: calc(50% + 2rem);
    right: auto;
    min-height: 2.75rem;
    max-width: calc(100vw - 1.3rem - env(safe-area-inset-left) - env(safe-area-inset-right));
    padding-inline: 0.65rem;
    font-size: 0.9rem;
    transform: translateX(-50%);
  }
}

/* Header */
.site-header,
.top-bar,
.site-nav {
  background: linear-gradient(165deg, var(--rank-green), var(--c-dg));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247, 241, 232, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.logo-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50% 50% 45% 45%;
  background:
    radial-gradient(circle at 50% 70%, var(--amber), transparent 55%),
    linear-gradient(160deg, var(--c-olive), var(--forest-deep));
  box-shadow: inset 0 -4px 0 rgba(44, 51, 34, 0.15);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--moss);
}

.nav-cta {
  background: var(--forest);
  color: var(--on-forest) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--c-olive);
  color: var(--c-cream) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--cream);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(196, 103, 42, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(var(--text-rgb), 0.14), transparent 50%),
    var(--bg);
}

.hero-glow {
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(196, 103, 42, 0.25), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.75rem 0 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--amber);
}

/* Decorative sauna visual */
.sauna-card {
  position: relative;
  background: linear-gradient(165deg, var(--c-olive), var(--c-dg));
  border-radius: 28px;
  padding: 2.5rem 2rem 2rem;
  min-height: 340px;
  box-shadow: var(--shadow);
  color: var(--cream);
  overflow: hidden;
}

.sauna-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 18px,
      rgba(247, 241, 232, 0.03) 18px,
      rgba(247, 241, 232, 0.03) 19px
    );
  pointer-events: none;
}

.sauna-roof {
  width: 70%;
  height: 28px;
  margin: 0 auto 0;
  background: linear-gradient(90deg, var(--wood), var(--amber), var(--wood));
  clip-path: polygon(8% 100%, 50% 0, 92% 100%);
  border-radius: 4px;
}

.sauna-body {
  position: relative;
  width: 58%;
  height: 150px;
  margin: -2px auto 0;
  background: linear-gradient(180deg, #3d4329, #2c3322);
  border-radius: 8px 8px 12px 12px;
  border: 2px solid rgba(196, 103, 42, 0.35);
  box-shadow: inset 0 0 30px rgba(44, 51, 34, 0.35);
}

.sauna-door {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 36px;
  height: 68px;
  background: linear-gradient(180deg, #2c3322, #2c3322);
  border-radius: 4px 4px 2px 2px;
  border: 1px solid rgba(196, 103, 42, 0.5);
}

.sauna-door::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.sauna-steam {
  position: absolute;
  bottom: 100%;
  width: 18px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 241, 232, 0.45), transparent 70%);
  animation: steam 4s ease-in-out infinite;
  opacity: 0.7;
}

.steam-1 { left: 22%; animation-delay: 0s; }
.steam-2 { left: 44%; animation-delay: 1.2s; width: 24px; }
.steam-3 { left: 66%; animation-delay: 2.1s; }

@keyframes steam {
  0%, 100% { transform: translateY(8px) scale(0.8); opacity: 0.2; }
  50% { transform: translateY(-28px) scale(1.15); opacity: 0.75; }
}

.sauna-ground {
  width: 78%;
  height: 10px;
  margin: 12px auto 0;
  background: rgba(44, 51, 34, 0.55);
  border-radius: 50%;
  filter: blur(2px);
}

.sauna-caption {
  text-align: center;
  margin: 1.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--cream);
  border-color: var(--amber);
}

.btn-primary:hover:not(:disabled) {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--c-dg);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: rgba(var(--text-rgb), 0.35);
}

.btn-ghost:hover {
  border-color: var(--forest);
  background: rgba(var(--text-rgb), 0.06);
  color: var(--forest);
}

.btn-block {
  width: 100%;
}

/* Features & steps */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.feature {
  background: var(--white);
  border: 1px solid rgba(var(--text-rgb), 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(44, 51, 34, 0.05);
}

.feature h3 {
  margin-bottom: 0.4rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

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

.tent-choice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0 0 1.75rem;
}

.tent-card {
  background: var(--white);
  border: 1px solid rgba(var(--text-rgb), 0.14);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 24px rgba(44, 51, 34, 0.05);
}

.tent-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 600;
}

.tent-card h3 {
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  color: var(--forest-deep);
}

.tent-card p {
  margin: 0;
  color: rgba(var(--text-rgb), 0.72);
}

.choice-fieldset {
  border: 0;
  margin: 0 0 1.1rem;
  padding: 0;
}

.choice-fieldset legend {
  font-weight: 600;
  margin-bottom: 0.55rem;
  color: var(--forest-deep);
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.choice-row-packages {
  grid-template-columns: repeat(2, 1fr);
}

.choice-chip {
  display: block;
  cursor: pointer;
}

.choice-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-chip-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1.5px solid rgba(var(--text-rgb), 0.18);
  background: rgba(var(--surface-rgb), max(0.7, var(--glass-min)));
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.choice-chip-body strong {
  color: var(--forest-deep);
  font-size: 0.98rem;
}

.choice-chip-body small {
  color: rgba(var(--text-rgb), 0.65);
}

.choice-chip input:focus-visible + .choice-chip-body {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.choice-chip input:checked + .choice-chip-body {
  border-color: var(--forest);
  background: rgba(var(--text-rgb), 0.08);
  box-shadow: inset 0 0 0 1px var(--forest);
}

.price-card {
  position: relative;
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(var(--text-rgb), 0.12);
  box-shadow: 0 10px 30px rgba(44, 51, 34, 0.06);
}

.price-card.featured {
  background: linear-gradient(165deg, var(--c-olive), var(--c-dg));
  color: var(--cream);
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-card.featured h3,
.price-card.featured .price-label,
.price-card.featured .price-amount {
  color: var(--cream);
}

.price-card.featured .price-note,
.price-card.featured li {
  color: rgba(247, 241, 232, 0.82);
}

.price-badge {
  position: absolute;
  top: -0.7rem;
  right: 1rem;
  margin: 0;
  background: var(--amber);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.price-label {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
  color: var(--forest-deep);
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.price-note {
  margin: 0.2rem 0 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: lowercase;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

.price-card.featured li::before {
  color: var(--amber);
}

/* Booking */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.calendar-panel,
.form-panel {
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(var(--text-rgb), 0.12);
  padding: 1.5rem;
  box-shadow: 0 12px 32px rgba(44, 51, 34, 0.06);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.calendar-header h3 {
  margin: 0;
  font-size: 1.35rem;
  text-transform: capitalize;
}

.cal-nav {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--text-rgb), 0.25);
  background: var(--field);
  color: var(--forest);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.cal-nav:hover:not(:disabled) {
  background: var(--forest);
  color: var(--on-forest);
}

.cal-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: 0.15s ease;
}

.cal-day.empty {
  visibility: hidden;
  pointer-events: none;
}

.cal-day.available {
  background: rgba(var(--text-rgb), 0.1);
  color: var(--forest);
}

.cal-day.available:hover {
  background: rgba(var(--text-rgb), 0.22);
}

.cal-day.blocked,
.cal-day.past {
  background: rgba(var(--text-rgb), 0.06);
  color: rgba(var(--text-rgb), 0.5);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: rgba(var(--text-rgb), 0.4);
}

.cal-day.loading {
  background: rgba(var(--text-rgb), 0.04);
  color: rgba(var(--text-rgb), 0.5);
  cursor: wait;
  opacity: 0.55;
}

.cal-day.selected {
  background: var(--amber);
  color: var(--cream);
  box-shadow: 0 4px 12px rgba(196, 103, 42, 0.4);
}

.cal-day:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.dot.available { background: var(--moss); }
.dot.blocked { background: rgba(var(--text-rgb), 0.4); }
.dot.selected { background: var(--amber); }

.slots {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(var(--text-rgb), 0.12);
}

.slots-label {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.slot-btn {
  border: 1.5px solid rgba(var(--text-rgb), 0.3);
  background: var(--field);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
}

.slot-btn:hover,
.slot-btn[aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--on-forest);
}

/* Form */
.form-summary {
  background: rgba(var(--text-rgb), 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--forest-deep);
  font-weight: 500;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--forest-deep);
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid rgba(var(--text-rgb), 0.22);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--field);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(var(--text-rgb), 0.15);
}

.field input.invalid,
.field textarea.invalid {
  border-color: var(--danger);
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-size: 0.85rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-hint {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.success-panel {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(var(--text-rgb), 0.15);
  color: var(--ok);
  font-size: 1.6rem;
  font-weight: 700;
}

.success-panel h3 {
  margin-bottom: 0.5rem;
}

.success-panel p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.success-panel .success-slogan {
  margin: 1.25rem 0 0;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: linear-gradient(165deg, var(--rank-green), var(--c-dg));
  color: rgba(247, 241, 232, 0.88);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--cream);
}

.footer-heading {
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--c-cream);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.site-footer a {
  color: var(--cream);
}

.site-footer a:hover {
  color: var(--c-cream); text-decoration: underline;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.map-link-icon {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
}

.header-map-link {
  margin-top: 0;
  gap: 0.4rem;
  color: var(--cream) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  white-space: nowrap;
}

.header-map-link .map-link-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--amber);
}

.header-map-link:hover {
  color: var(--c-cream) !important; text-decoration: underline;
}

.map-link:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
  border-radius: 4px;
}

.muted {
  color: rgba(247, 241, 232, 0.55);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 241, 232, 0.12);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(247, 241, 232, 0.55);
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .booking-layout,
  .pricing-grid,
  .pricing-grid-4,
  .tent-choice,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .hero-visual {
    order: -1;
  }

  .sauna-card {
    min-height: 280px;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .choice-row,
  .choice-row-packages {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-olive);
    border-bottom: 1px solid rgba(247, 241, 232, 0.12);
    padding: 0.75rem 1.25rem 1.25rem;
    box-shadow: 0 12px 24px rgba(44, 51, 34, 0.28);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid rgba(247, 241, 232, 0.1);
    color: rgba(247, 241, 232, 0.92);
  }

  .site-nav .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    border-bottom: 0;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cal-day {
    font-size: 0.88rem;
    border-radius: 10px;
  }
}

.select-block {
  border: 0;
  margin: 0 0 1.75rem;
  padding: 0;
}

.select-legend {
  display: block;
  width: 100%;
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.tent-card.selectable,
.price-card.selectable {
  display: block;
  cursor: pointer;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
}

.tent-card.selectable input,
.price-card.selectable input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tent-card-inner,
.price-card-inner {
  display: block;
  height: 100%;
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem 1.35rem;
  border: 1.5px solid rgba(var(--text-rgb), 0.14);
  box-shadow: 0 8px 24px rgba(44, 51, 34, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.price-card-inner {
  padding: 1.75rem 1.5rem;
}

.tent-title {
  display: block;
  margin: 0.15rem 0 0.35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  color: var(--forest-deep);
  font-weight: 600;
}

.tent-desc {
  display: block;
  color: rgba(var(--text-rgb), 0.72);
}

.tent-card.selectable input:checked + .tent-card-inner,
.price-card.selectable input:checked + .price-card-inner {
  border-color: var(--forest);
  box-shadow: 0 0 0 2px var(--forest), 0 12px 28px rgba(44, 51, 34, 0.1);
}

.tent-card.selectable input:focus-visible + .tent-card-inner,
.price-card.selectable input:focus-visible + .price-card-inner {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.price-card.selectable.featured .price-card-inner {
  background: linear-gradient(165deg, var(--c-olive), var(--c-dg));
  color: var(--cream);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-card.selectable.featured .price-label,
.price-card.selectable.featured .price-amount {
  color: var(--cream);
}

.price-card.selectable.featured .price-note,
.price-card.selectable.featured li {
  color: rgba(247, 241, 232, 0.85);
}

.price-card.selectable.featured input:checked + .price-card-inner {
  box-shadow: 0 0 0 2px var(--amber), var(--shadow);
}

.price-card.selectable .price-label,
.price-card.selectable .price-amount,
.price-card.selectable .price-note {
  display: block;
}

.price-card.selectable ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.selection-echo {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(var(--text-rgb), 0.08);
  color: var(--forest-deep);
  font-weight: 500;
}

.choose-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--forest);
  background: transparent;
  color: var(--forest-deep);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.choose-btn::before {
  content: "Välj";
}

.tent-card.selectable input:checked + .tent-card-inner .choose-btn,
.price-card.selectable input:checked + .price-card-inner .choose-btn {
  background: var(--forest);
  color: var(--on-forest);
  border-color: var(--forest);
}

.tent-card.selectable input:checked + .tent-card-inner .choose-btn::before,
.price-card.selectable input:checked + .price-card-inner .choose-btn::before {
  content: "Vald";
}

.price-card.selectable.featured .choose-btn {
  border-color: rgba(247, 241, 232, 0.7);
  color: var(--cream);
}

.price-card.selectable.featured input:checked + .price-card-inner .choose-btn {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--cream);
}

.tent-card-inner,
.price-card-inner {
  display: flex;
  flex-direction: column;
}

.price-card-inner ul {
  flex: 1;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--c-cream);
  flex-shrink: 0;
}

.logo-mark {
  display: none;
}

.hero-photo {
  margin: 0;
  border-radius: calc(var(--radius) + 8px);
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 35px rgba(44, 51, 34, 0.35));
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.tent-photo {
  background: transparent !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  filter: drop-shadow(0 10px 22px rgba(44, 51, 34, 0.28));
}

.tent-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 0.85rem;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  background: var(--c-cream);
}

.tent-card.has-photo .tent-card-inner {
  padding-top: 1rem;
}

.rank-base {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(var(--surface-rgb), max(0.7, var(--glass-min)));
  border: 1px solid rgba(var(--text-rgb), 0.14);
}

.addon-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.addon-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(var(--surface-rgb), max(0.75, var(--glass-min)));
  border: 1.5px solid rgba(var(--text-rgb), 0.16);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.addon-row:has(input:checked) {
  border-color: var(--forest);
  box-shadow: 0 0 0 1px var(--forest);
  background: rgba(var(--text-rgb), 0.08);
}

.addon-row input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--forest);
}

.addon-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.addon-copy strong {
  color: var(--forest-deep);
}

.addon-copy small {
  color: rgba(var(--text-rgb), 0.65);
}

.addon-price {
  font-weight: 700;
  color: var(--accent-text);
  white-space: nowrap;
}

.tent-card.has-photo .tent-card-inner {
  background: rgba(var(--surface-rgb), max(0.78, var(--glass-min)));
}
.tent-card.has-photo .tent-photo {
  margin: 0 0 0.75rem;
  width: 100%;
  background: transparent !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.1;
  min-width: 0;
}

.logo-text {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
}

.logo-slogan {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}

@media (min-width: 900px) {
  .logo-text {
    font-size: 1.45rem;
  }
  .logo-slogan {
    font-size: 0.74rem;
  }
}

.hero-tagline {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-slogan {
  margin: 0.2rem 0 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--c-cream);
}

.field-group {
  display: grid;
  grid-template-columns: 1fr minmax(7rem, 8.5rem);
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
  align-items: start;
}

.field-group .field {
  margin-bottom: 0;
}

.field-group .field-postcode input {
  width: 100%;
}

@media (max-width: 520px) {
  .field-group {
    grid-template-columns: 1fr;
  }
}

.field-group[hidden] { display: none; }

.logo-img { background: none; }

/* ---------- Språkval SV | FI (i18n.js) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.15rem;
  border: 1px solid rgba(247, 241, 232, 0.45);
  border-radius: 999px;
  font-family: var(--font-body);
  line-height: 1;
  flex: none;
}
.lang-switch button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: rgba(247, 241, 232, 0.88);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  min-width: 2.1rem;
  min-height: 1.9rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button:hover { color: var(--c-cream); background: rgba(var(--rgb-cream), 0.14); }
.lang-switch button.is-active,
.lang-switch button[aria-pressed="true"] {
  background: var(--c-cream);
  color: var(--c-dg);
}
.lang-switch button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.lang-switch .lang-sep { display: none; }

.header-lang { margin-left: 0.25rem; }
@media (max-width: 720px) {
  .header-inner { gap: 0.5rem; }
  .header-inner .logo { margin-right: auto; min-width: 0; }
  .header-lang { order: 2; margin-left: 0; }
  .header-inner .nav-toggle { order: 3; }
}
@media (max-width: 380px) {
  .lang-switch button { min-width: 1.9rem; padding: 0.3rem 0.4rem; font-size: 0.75rem; }
}

/* Finnish versions of CSS-generated labels */
html[lang^="fi"] .choose-btn::before { content: "Valitse"; }
html[lang^="fi"] .tent-card.selectable input:checked + .tent-card-inner .choose-btn::before,
html[lang^="fi"] .price-card.selectable input:checked + .price-card-inner .choose-btn::before { content: "Valittu"; }
html[lang^="fi"] .loyly-empire-map.is-loading::after { content: "Ladataan valtakunnan karttaa …"; }

/* ---------- Prismodell 2026-10: rangkort, datumintervall, prisberäkning ---------- */
.tent-price {
  display: block;
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--accent-text);
}
.rank-choice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.rank-card { display: block; cursor: pointer; position: relative; }
.rank-card input { position: absolute; opacity: 0; pointer-events: none; }
.rank-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.95rem 1rem 0.85rem;
  border-radius: 14px;
  background: rgba(var(--surface-rgb), max(0.8, var(--glass-min)));
  border: 1.5px solid rgba(var(--text-rgb), 0.16);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.rank-card input:checked + .rank-card-inner {
  border-color: var(--forest);
  box-shadow: 0 0 0 1px var(--forest), 0 10px 24px rgba(44, 51, 34, 0.1);
  background: rgba(var(--text-rgb), 0.1);
}
.rank-card input:focus-visible + .rank-card-inner { outline: 2px solid var(--amber); outline-offset: 3px; }
.rank-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.rank-card-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--forest-deep);
}
.rank-card-name::before {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  border: 2px solid var(--forest);
  vertical-align: 0.05em;
}
.rank-card input:checked + .rank-card-inner .rank-card-name::before {
  background: var(--forest);
  box-shadow: inset 0 0 0 2px var(--white);
}
.rank-card-price { font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.rank-incl {
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  color: rgba(var(--text-rgb), 0.8);
}
.rank-incl li { position: relative; padding-left: 1.1rem; margin: 0.15rem 0; }
.rank-incl li::before { content: "✓"; position: absolute; left: 0; color: var(--moss); font-weight: 700; }

.cal-day.in-range {
  background: rgba(196, 103, 42, 0.22);
  color: var(--forest-deep);
}
.cal-day.range-end {
  background: var(--white);
  color: var(--accent-text);
  box-shadow: inset 0 0 0 2px var(--amber);
  text-decoration: none;
}
.cal-day.return-only {
  background: rgba(196, 103, 42, 0.08);
  color: var(--accent-text);
  box-shadow: inset 0 0 0 1px rgba(196, 103, 42, 0.35);
}
.cal-day.holiday:not(.past)::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin: 1px auto 0;
  border-radius: 50%;
  background: var(--amber);
}
.dot.return { background: var(--white); box-shadow: inset 0 0 0 2px var(--amber); }
.cal-range-hint {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-deep);
}
.cal-rental { margin: 0.35rem 0 0; font-size: 0.85rem; color: var(--muted); }

.price-summary {
  margin: 0.25rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1.5px solid rgba(var(--text-rgb), 0.18);
  font-size: 0.93rem;
  color: var(--forest-deep);
}
.price-summary p { margin: 0; }
.ps-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.2rem !important;
}
.ps-period, .ps-empty { color: var(--muted); }
.ps-rows { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.ps-row, .ps-total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed rgba(var(--text-rgb), 0.18);
}
.ps-amt { white-space: nowrap; font-weight: 600; text-align: right; }
.ps-weekday .ps-amt { color: var(--ok); }
.ps-holiday .ps-amt { color: var(--accent-text); }
.ps-total {
  margin-top: 0.35rem !important;
  border-bottom: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.ps-total .ps-amt { color: var(--accent-text); font-weight: 700; }
.ps-note { margin-top: 0.5rem !important; font-size: 0.82rem; color: var(--muted); }

.pickup-info {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: rgba(var(--text-rgb), 0.08);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-deep);
}
.pickup-info { margin-bottom: 1rem; }
.pickup-info[hidden] { display: none; }

.field-check .check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  font-weight: 500;
  cursor: pointer;
}
.field-check input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--forest);
}
.field-check input.invalid { outline: 2px solid var(--danger); outline-offset: 2px; }

/* ===== Prisjämförelse-tabell (rang-väljare) ============================= */
.ptab-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ptab-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 0.9rem;
  border-radius: 14px;
  border: 1.5px solid rgba(var(--text-rgb), 0.18);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(44, 51, 34, 0.08);
}
.ptab {
  width: 100%;
  min-width: 330px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 0.95rem;
  line-height: 1.3;
}
.ptab th, .ptab td {
  padding: 0.55rem 0.4rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid rgba(var(--text-rgb), 0.12);
}
.ptab tbody th, .ptab tfoot th, .ptab-corner {
  width: 34%;
  text-align: left;
  font-weight: 600;
  color: var(--forest-deep);
  padding-left: 0.75rem;
  position: sticky;
  left: 0;
  z-index: 1;
  background: rgba(var(--text-rgb), 0.05);
}
.ptab-corner {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  vertical-align: bottom;
}
.ptab thead th { border-bottom: 2px solid rgba(var(--text-rgb), 0.35); }
.ptab-rank { padding: 0; }
.ptab-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.7rem 0.2rem 0.55rem;
  cursor: pointer;
}
.ptab-pick input { position: absolute; opacity: 0; pointer-events: none; }
.ptab-dot {
  width: 1rem; height: 1rem; border-radius: 50%;
  border: 2px solid var(--forest);
  background: var(--white);
}
.ptab-pick input:checked + .ptab-dot { background: var(--forest); box-shadow: inset 0 0 0 2px var(--white); }
.ptab-pick input:focus-visible + .ptab-dot { outline: 2px solid var(--amber); outline-offset: 2px; }
.ptab-rname {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest-deep);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.ptab-price th small {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
}
.ptab-eur { font-weight: 700; color: var(--accent-text); white-space: nowrap; font-size: 1.05rem; }
.ptab-price.is-tent th { color: var(--accent-text); }
.ptab-price.is-tent .ptab-eur { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ptab-price + .ptab-first th, .ptab-price + .ptab-first td { border-top: 2px solid rgba(var(--text-rgb), 0.35); }
.ptab-feat th { font-weight: 500; font-size: 0.9rem; color: var(--ink); }
.ptab-yes { color: var(--ok); font-weight: 800; font-size: 1.15rem; }
.ptab-no { color: rgba(var(--text-rgb), 0.55); font-weight: 600; }
.ptab-alt { font-size: 0.78rem; color: var(--muted); font-style: italic; }
.ptab td { cursor: pointer; transition: background 0.15s ease; }
.ptab [data-col].is-sel { background: rgba(var(--text-rgb), 0.14); }
.ptab thead [data-col].is-sel { background: rgba(var(--text-rgb), 0.22); box-shadow: inset 0 3px 0 var(--forest); }
.ptab tfoot td, .ptab tfoot th { border-bottom: 0; padding: 0.5rem 0.25rem 0.65rem; }
.ptab-choose {
  display: block;
  width: 100%;
  padding: 0.4rem 0.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--forest);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}
.ptab tfoot .is-sel .ptab-choose { background: var(--forest); color: var(--white); }
.ptab-notes {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem 0.85rem 1.9rem;
  border-radius: 12px;
  background: rgba(var(--surface-rgb), max(0.7, var(--glass-min)));
  border: 1px solid rgba(var(--text-rgb), 0.14);
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(var(--text-rgb), 0.88);
}
.ptab-notes li { margin: 0.25rem 0; }
.ptab-notes a { color: var(--accent-text); font-weight: 600; }

@media (max-width: 520px) {
  .ptab { font-size: 0.84rem; }
  .ptab th, .ptab td { padding: 0.45rem 0.2rem; }
  .ptab tbody th, .ptab tfoot th, .ptab-corner { width: 27%; padding-left: 0.45rem; }
  .ptab td, .ptab-rank { padding-left: 2px; padding-right: 2px; }
  .ptab-corner { font-size: 1rem; }
  .ptab-rank { padding: 0; }
  .ptab-pick { padding: 0.6rem 0 0.5rem; }
  .ptab-rname { font-size: 0.84rem; letter-spacing: -0.02em; }
  .ptab-eur { font-size: 0.92rem; }
  .ptab-feat th { font-size: 0.8rem; }
  .ptab-alt { font-size: 0.7rem; }
  .ptab-choose { font-size: 0.7rem; padding: 0.32rem 0; letter-spacing: -0.01em; }
  .ptab-notes { font-size: 0.86rem; padding-left: 1.5rem; }
}

/* Ranger som inte finns för valt tält */
.ptab-only { display: block; font-size: 0.72rem; line-height: 1.2; color: var(--muted); font-style: italic; }
.ptab [data-col].is-off { opacity: 0.42; cursor: not-allowed; }
.ptab [data-col].is-off .ptab-pick { cursor: not-allowed; }
.ptab tfoot .is-off .ptab-choose { border-style: dashed; cursor: not-allowed; }
.rank-hint {
  margin: -0.35rem 0 0.9rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  background: rgba(196, 103, 42, 0.1);
  border: 1px solid rgba(196, 103, 42, 0.25);
  color: var(--accent-text);
  font-size: 0.9rem;
  font-weight: 600;
}
.rank-hint[hidden] { display: none; }
.rank-hint.flash { animation: rankHintFlash 0.6s ease; }
@keyframes rankHintFlash { 0%, 100% { background: rgba(196, 103, 42, 0.1); } 40% { background: rgba(196, 103, 42, 0.38); } }
@media (max-width: 520px) { .ptab-only { font-size: 0.62rem; } }

.delivery-area-hint { flex-basis: 100%; grid-column: 1 / -1; margin: 0.1rem 0 0; font-size: 0.88rem; color: var(--muted); }

/* ===== Båda tälten (tredje tältval, full bredd) ===== */
.tent-card-both { grid-column: 1 / -1; }
.tent-card-both .tent-card-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: center;
}
.tent-both-photos { display: flex; gap: 0.4rem; align-items: flex-end; }
.tent-both-photos img {
  width: 50%; height: auto; display: block; object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(44, 51, 34, 0.24));
}
.tent-both-text { display: flex; flex-direction: column; min-width: 0; }
@media (max-width: 520px) {
  .tent-card-both .tent-card-inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0.6rem; }
}
.party-hint { margin: 0.35rem 0 0; font-size: 0.92rem; font-weight: 700; color: var(--accent-text); }
.party-hint[hidden] { display: none; }

/* Tältbilder: samma format (5:4) och fyllning för Hiisi 4 och MIL 10-230 */
.tent-card .tent-photo,
.tent-both-photos img {
  aspect-ratio: 5 / 4 !important;
  object-fit: cover !important;
}

/* Båda tälten: bilderna får samma rundade hörn och skugga som de enskilda tältkorten */
.tent-both-photos img {
  border-radius: 12px;
  filter: drop-shadow(0 10px 22px rgba(44, 51, 34, 0.28));
}

/* Startsidan börjar med bokningen: rubriken är sidans h1 men ser ut som tidigare h2 */
h1.book-h1 { font-size: clamp(2rem, 4vw, 2.75rem); }

/* Startsidan: bokningen är första sektionen (utan eyebrow) – mindre luft ovanför rubriken */
main > #pris:first-child { padding-top: clamp(1.75rem, 4vw, 3.25rem); }
main > #pris:first-child #pris-title { margin-top: 0; }

/* Accentord i rubriken (Du / haluat) – samma färg som "Steam, sweat & tears" i headern */
.title-accent { color: var(--amber); }

/* Generalen mot offert */
.ptab-offer { font-size: 0.82em; white-space: normal; line-height: 1.2; }
.ps-offer { margin: 0.4rem 0 0; font-weight: 600; color: var(--forest-deep); }
.offer-hint { margin: 0.5rem 0 0; font-size: 0.92rem; font-weight: 700; color: var(--accent-text); text-align: center; }
.offer-hint[hidden] { display: none; }

/* Valt/valda tält under tältnamnet i pristabellen */
.ptab-price th small.ptab-seltent[hidden] { display: none; }
.ptab-price th small.ptab-seltent { font-weight: 600; color: var(--accent-text); }

/* Rang-väljaren är sista blocket i sektionen (knappen "Till datum" borttagen) – inget extra utrymme. */
#rank-builder { margin-bottom: 0; }

/* ---------- Ny logga (R6-02, 2026-10-28) ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.logo-lockup {
  display: block;
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .logo-lockup { height: 52px; }
}
@media (max-width: 360px) {
  .logo-lockup { height: 38px; }
}
.footer-brand .footer-logo {
  display: block;
  height: 64px;
  width: auto;
}

/* En orange (#C4672A) överallt: liten orange text görs lite fetare för läsbarhet. */
.eyebrow, .tent-eyebrow, .addon-price, .tent-price, .rank-card-price, .ps-holiday .ps-amt, .ps-total .ps-amt,
.ptab-eur, .ptab-price.is-tent th, .ptab-notes a, .ptab-price th small.ptab-seltent, .price-badge,
.cal-day.range-end, .cal-day.return-only, .rank-hint, .footer-heading { font-weight: 700; }
.ptab-price th small.ptab-seltent, .rank-hint { font-size: max(0.95rem, 1em); }

/* ================= Bara ljust tema (R11c-paletten) ================= */

/* Felmeddelanden: läsbar text + orange markering (ingen extra röd) */
.field-error { color: var(--text); font-weight: 700; border-left: 3px solid var(--c-orange); padding-left: 0.45rem; }
.btn-primary { font-weight: 700; }
/* Prisbelopp i orange: stor text (≥ 18,7 px fet) */
.ptab-eur, .tent-price, .rank-card-price, .addon-price, .ps-total .ps-amt { font-size: max(1.17rem, 1em); }
/* Löyly Empire: event-flagga i kräm med mörk symbol */
.loyly-flag--event .loyly-flag-glyph { color: #2c3322; text-shadow: none; }
/* Temaknapp i sidhuvudet (bredvid SV/FI) */

/* Små orange hjälptexter: mörk/ljus text + orange markering (AA i båda teman) */
.rank-hint { color: var(--text); }
.party-hint, .offer-hint { color: var(--text); }
.party-hint::before, .offer-hint::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.45em; border-radius: 50%; background: var(--c-orange); vertical-align: 0.08em; }
/* Orange text som inte klarar AA på sin bakgrund -> temats textfärg */
.eyebrow { color: var(--text); }

.ptab-price.is-tent th, .ptab-price th small.ptab-seltent, .ptab .is-sel .ptab-eur { color: var(--text); }
.ptab-notes a { color: var(--link); text-decoration-color: var(--c-orange); text-decoration-thickness: 2px; }

/* ================= R11c: sidhuvud & sidfot följer temat =================
   Ljust tema: naturvit (#F7F1E8) header/footer med olivgrön logga och text.
   Mörkt tema: som tidigare (olivgrön header, mörk footer, krämvit logga). */
:root {
  --chrome-bg: var(--c-cream);
  --chrome-footer-bg: var(--c-cream);
  --chrome-fg: var(--c-olive);
  --chrome-fg-soft: rgba(var(--rgb-olive), 0.9);
  --chrome-fg-muted: rgba(var(--rgb-olive), 0.78);
  --chrome-line: rgba(var(--rgb-olive), 0.22);
  --chrome-line-soft: rgba(var(--rgb-olive), 0.14);
  --chrome-hover: rgba(var(--rgb-olive), 0.08);
  --chrome-pill-bg: var(--c-olive);
  --chrome-pill-fg: var(--c-cream);
  --chrome-shadow: 0 1px 0 rgba(var(--rgb-olive), 0.06), 0 6px 18px rgba(var(--rgb-olive), 0.08);
}


.site-header,
body.has-nature-bg .site-header {
  background: var(--chrome-bg);
  border-bottom: 1px solid var(--chrome-line-soft);
  box-shadow: var(--chrome-shadow);
}
.site-nav { background: transparent; }
.site-nav a,
body.has-nature-bg .site-nav a { color: var(--chrome-fg-soft); }
.site-nav a:hover,
body.has-nature-bg .site-nav a:hover { color: var(--chrome-fg); }
.header-map-link { color: var(--chrome-fg-soft) !important; }
.header-map-link:hover { color: var(--chrome-fg) !important; }
body.has-nature-bg .nav-cta,
.nav-cta { background: var(--amber); color: var(--c-cream) !important; }
.nav-toggle span,
body.has-nature-bg .nav-toggle span { background: var(--chrome-fg); }
.lang-switch { border-color: var(--chrome-line); }
.lang-switch button { color: var(--chrome-fg-soft); }
.lang-switch button:hover { color: var(--chrome-fg); background: var(--chrome-hover); }
.lang-switch button.is-active,
.lang-switch button[aria-pressed="true"] { background: var(--chrome-pill-bg); color: var(--chrome-pill-fg); }

@media (max-width: 720px) {
  .site-nav,
  body.has-nature-bg .site-nav {
    background: var(--chrome-bg);
    border-bottom: 1px solid var(--chrome-line-soft);
    box-shadow: 0 12px 24px rgba(44, 51, 34, 0.18);
  }
  .site-nav a,
  body.has-nature-bg .site-nav a { border-bottom-color: var(--chrome-line-soft); color: var(--chrome-fg-soft); }
}

.site-footer,
body.has-nature-bg .site-footer {
  background: var(--chrome-footer-bg);
  color: var(--chrome-fg-soft);
  border-top: 1px solid var(--chrome-line-soft);
}
.footer-brand,
.footer-slogan,
.footer-heading { color: var(--chrome-fg); }
.site-footer a,
.site-footer a:hover { color: var(--chrome-fg); }
.site-footer .muted,
body.has-nature-bg .site-footer .muted,
.footer-bottom,
body.has-nature-bg .footer-bottom { color: var(--chrome-fg-muted); }
.footer-bottom { border-top-color: var(--chrome-line-soft); }
