/* Vire Stays — avalik otsebroneerimise leht.
   Kujunduskeel company-management'ist ("Editorial Confidence"):
   Fraunces + Manrope, soe kreem, tint, korall. Julge element on ainult üks:
   hinna kokkuvõtte tint->ploom riba (sealse login-paneeli gradient). */

:root {
  --cream-50: #faf6ee; --cream-100: #f4ecdb; --cream-200: #ebe1cb;
  --paper: #ffffff;
  --ink-900: #11142b; --ink-800: #1a1f44; --ink-700: #232a55; --ink-600: #364069;
  --ink-500: #555f86; --ink-400: #828aa8; --ink-300: #b3b8cc; --ink-200: #d4d7e1; --ink-100: #e8eaf0;
  --coral: #e35846; --coral-strong: #c0432f; --coral-soft: #f9d7cf;
  --gold: #d8a23b; --emerald: #2c7a4e; --emerald-soft: #c9e3d2; --plum: #5d2f6a;
  --border: rgba(17, 20, 43, 0.08); --border-strong: rgba(17, 20, 43, 0.16);
  --shadow-sm: 0 1px 2px rgba(17,20,43,.04), 0 1px 3px rgba(17,20,43,.05);
  --shadow-lg: 0 24px 48px -24px rgba(17,20,43,.30), 0 6px 12px rgba(17,20,43,.06);
  --display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink-900);
  background: var(--cream-50);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(227, 88, 70, 0.05), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(216, 162, 59, 0.05), transparent 35%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink-700); }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid rgba(227, 88, 70, 0.45); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; margin: 0; color: var(--ink-900); }
h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); line-height: 1.06; }
h2 { font-size: 1.45rem; line-height: 1.2; }
h3 { font-size: 1.02rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.s-muted { color: var(--ink-500); font-size: .93rem; }
.s-lede { font-size: 1.12rem; color: var(--ink-600); max-width: 38rem; margin: .9rem 0 0; }

/* --- kest ---------------------------------------------------------- */
.s-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter); max-width: 1180px; margin: 0 auto;
}
.s-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink-900); }
.s-brand__mark {
  width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--coral), #f08a4d); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: 1.25rem;
  box-shadow: 0 10px 24px -10px rgba(227, 88, 70, .55);
}
.s-brand__name { font-family: var(--display); font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; }
.s-nav { display: flex; gap: .4rem; }
.s-nav a {
  text-decoration: none; font-weight: 600; font-size: .9rem; padding: .45rem .85rem;
  border-radius: 999px; border: 1px solid var(--border-strong); color: var(--ink-700); background: var(--paper);
}
.s-nav a:hover { border-color: var(--coral); color: var(--coral); }
/* keelevalik — sama muster mis juhendis: lipp + keele nimi oma keeles */
.s-lang { position: relative; margin-left: auto; }
.s-lang summary {
  list-style: none; cursor: pointer; user-select: none; display: flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .9rem; padding: .45rem .85rem; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--ink-700); background: var(--paper);
}
.s-lang summary::-webkit-details-marker { display: none; }
.s-lang summary::after { content: "▾"; font-size: .7rem; color: var(--ink-400); }
.s-lang[open] summary::after { transform: rotate(180deg); }
.s-lang summary:hover { border-color: var(--coral); color: var(--coral); }
.s-lang nav {
  position: absolute; right: 0; top: calc(100% + .4rem); z-index: 30; min-width: 190px;
  max-height: 60vh; overflow-y: auto; padding: .35rem; background: var(--paper);
  border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
}
.s-lang nav a {
  display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border-radius: var(--r-sm);
  text-decoration: none; color: var(--ink-800); font-size: .95rem;
}
.s-lang nav a:hover { background: var(--cream-100); color: var(--ink-900); }
.s-lang nav a[aria-current] { background: var(--ink-900); color: #fff; }
.s-lang__flag { font-size: 1.15rem; line-height: 1; }

.s-main { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) 4rem; }
.s-foot {
  max-width: 1180px; margin: 0 auto; padding: 2rem var(--gutter) 6rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--ink-500); font-size: .88rem;
}
.s-foot div { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; }
.s-foot b { color: var(--ink-700); }
.s-foot a { color: var(--ink-500); }

/* --- avaleht --------------------------------------------------------- */
.s-hero { padding: clamp(1.5rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem); max-width: 46rem; }
.s-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.s-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.s-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; }
.s-card__body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.25rem 1.3rem; }
.s-card__title { font-family: var(--display); font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
.s-card__summary { color: var(--ink-500); font-size: .95rem; }
.s-card__facts { display: flex; gap: 1rem; color: var(--ink-600); font-size: .9rem; }
.s-card__price { margin-top: .35rem; color: var(--ink-600); }
.s-card__price b { color: var(--ink-900); font-size: 1.1rem; }
.s-empty { color: var(--ink-500); }

/* kaas: pilt või tüpograafiline asendus */
.s-cover { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-100); position: relative; }
.s-cover__img { width: 100%; height: 100%; object-fit: cover; }
.s-cover__type {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem 1.4rem;
  background: linear-gradient(150deg, var(--ink-900) 0%, var(--ink-800) 60%, var(--plum) 115%); color: var(--cream-50);
}
.s-cover__street { font-size: .85rem; opacity: .75; }
.s-cover__nr { font-family: var(--display); font-size: clamp(3.5rem, 9vw, 5rem); line-height: .9; letter-spacing: -.03em; }
.s-cover--thumb { width: 84px; flex: none; border-radius: var(--r-sm); aspect-ratio: 1; }
.s-cover--thumb .s-cover__type { padding: .5rem .6rem; }
.s-cover--thumb .s-cover__street { display: none; }
.s-cover--thumb .s-cover__nr { font-size: 1.9rem; }

/* --- kuulutus -------------------------------------------------------- */
.s-listing__head { padding: 1.5rem 0 1rem; }
.s-where { margin: .4rem 0 0; color: var(--ink-500); }
.s-gallery { display: grid; gap: .5rem; border-radius: var(--r-lg); overflow: hidden; }
.s-gallery__item { margin: 0; background: var(--cream-100); aspect-ratio: 4 / 3; overflow: hidden; }
.s-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.s-gallery .s-cover { aspect-ratio: 16 / 7; }
@media (max-width: 719px) {
  .s-gallery { grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-md); }
  .s-gallery__item { scroll-snap-align: start; border-radius: var(--r-md); }
  .s-gallery--0, .s-gallery--1 { grid-auto-columns: 100%; }
}
@media (min-width: 720px) {
  .s-gallery--2 { grid-template-columns: 1fr 1fr; }
  .s-gallery--3, .s-gallery--4, .s-gallery--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 2.2; }
  .s-gallery--3 .s-gallery__item, .s-gallery--4 .s-gallery__item, .s-gallery--5 .s-gallery__item { aspect-ratio: auto; }
  .s-gallery--3 .s-gallery__item:first-child, .s-gallery--4 .s-gallery__item:first-child,
  .s-gallery--5 .s-gallery__item:first-child { grid-row: span 2; }
  .s-gallery--3 .s-gallery__item:nth-child(2) { grid-column: span 2; }
  .s-gallery--3 .s-gallery__item:nth-child(3) { grid-column: span 2; }
}

.s-gallery__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.s-gallery__open img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.s-gallery__open:hover img { filter: brightness(.92); }
.s-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17, 20, 43, .55); color: #fff; font-weight: 700; font-size: 1.05rem; }
@media (max-width: 719px) { .s-gallery__more { display: none; } }

.s-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 12, 26, .96); color: #fff; }
.s-lightbox::backdrop { background: rgba(10, 12, 26, .96); }
.s-lightbox[open] { display: grid; place-items: center; }
.s-lightbox__fig { margin: 0; display: grid; justify-items: center; gap: .7rem; padding: 3.5rem 1rem 1.2rem; max-width: 100%; }
.s-lightbox__img { max-width: min(100%, 1400px); max-height: calc(100dvh - 7.5rem); object-fit: contain; border-radius: var(--r-sm); touch-action: pan-y; user-select: none; }
.s-lightbox__cap { font-size: .95rem; color: rgba(255, 255, 255, .85); text-align: center; }
.s-lightbox__count { color: rgba(255, 255, 255, .55); margin-left: .4rem; font-variant-numeric: tabular-nums; }
.s-lightbox__btn { position: absolute; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.s-lightbox__btn[hidden] { display: none; }
.s-lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.s-lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.s-lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.s-lightbox__close { right: 1rem; top: 1rem; font-size: 1.6rem; }
@media (max-width: 719px) { .s-lightbox__prev, .s-lightbox__next { top: auto; bottom: 1rem; transform: none; } .s-lightbox__img { max-height: calc(100dvh - 10rem); } }

.s-layout { display: grid; gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 960px) { .s-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.s-col { min-width: 0; }
.s-facts { list-style: none; padding: 0 0 1.5rem; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; border-bottom: 1px solid var(--border); color: var(--ink-600); }
.s-facts b { color: var(--ink-900); }
.s-prose { padding: 1.5rem 0; border-bottom: 1px solid var(--border); max-width: 42rem; }
.s-prose p { margin: 0 0 .9rem; }
.s-section { padding: 1.8rem 0; border-bottom: 1px solid var(--border); }
.s-section:last-child { border-bottom: 0; }
.s-section > h2 { margin-bottom: .9rem; }
.s-amenities { display: grid; gap: 1.2rem 2rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.s-amenities ul { list-style: none; margin: .35rem 0 0; padding: 0; color: var(--ink-600); font-size: .95rem; }
.s-amenities li { padding: .12rem 0; }
.s-rules { margin: 0; display: grid; gap: .9rem; }
.s-rules div { display: grid; gap: .1rem 1.5rem; }
@media (min-width: 600px) { .s-rules div { grid-template-columns: 9rem 1fr; } }
.s-rules dt { font-weight: 700; }
.s-rules dd { margin: 0; color: var(--ink-600); max-width: 34rem; }

/* broneerimiskaart */
.s-book { position: sticky; top: 1rem; }
.s-book__card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: 1.4rem; overflow: hidden;
}
.s-book__lead { margin: 0 0 1rem; font-family: var(--display); font-size: 1.25rem; letter-spacing: -.015em; }
.s-book__lead b { font-size: 1.6rem; }
.s-book__dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-strong); border-radius: var(--r-md); overflow: hidden; }
.s-book__date { display: flex; flex-direction: column; padding: .6rem .8rem; text-decoration: none; color: var(--ink-900); }
.s-book__date + .s-book__date { border-left: 1px solid var(--border-strong); }
.s-book__date span, .s-book__guests span { font-size: .75rem; font-weight: 700; color: var(--ink-500); }
.s-book__date b { font-weight: 600; }
.s-book__guests { display: flex; flex-direction: column; margin-top: .6rem; border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: .5rem .8rem; }
.s-book__guests select { border: 0; font: inherit; font-weight: 600; background: none; padding: .1rem 0; color: var(--ink-900); }
.s-book__note { margin: .8rem 0 0; font-size: .85rem; color: var(--ink-500); text-align: center; }
#book-bill { margin-top: 1rem; }
@media (max-width: 959px) { .s-book { position: static; } }

/* arve + julge element: tint->ploom kokkuvõtteriba */
.s-bill { margin: 0; display: grid; gap: .45rem; font-size: .95rem; }
.s-bill div { display: flex; justify-content: space-between; gap: 1rem; }
.s-bill dt { color: var(--ink-600); }
.s-bill dd { margin: 0; font-variant-numeric: tabular-nums; }
.s-bill__save dd, .s-bill__save dt { color: var(--emerald); }
.s-total {
  display: flex; justify-content: space-between; align-items: baseline; margin: 1rem -1.4rem -1.4rem;
  padding: 1rem 1.4rem 1.2rem; color: var(--cream-50);
  background: linear-gradient(150deg, var(--ink-900) 0%, var(--ink-800) 60%, var(--plum) 120%);
}
.s-total span { font-weight: 600; }
.s-total b { font-family: var(--display); font-size: 1.8rem; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.s-book__card > .s-btn { margin-top: 1rem; }
#book-bill + .s-error + .s-btn { margin-top: 2.4rem; }

/* nupud ja vormid */
.s-btn {
  display: inline-flex; justify-content: center; align-items: center; gap: .4rem; font: inherit; font-weight: 700;
  padding: .75rem 1.2rem; border-radius: var(--r-md); border: 1px solid var(--border-strong);
  background: var(--paper); color: var(--ink-900); text-decoration: none; cursor: pointer;
}
.s-btn:hover { border-color: var(--ink-400); color: var(--ink-900); }
.s-btn--primary {
  width: 100%; background: var(--coral); border-color: var(--coral); color: #fff;
  box-shadow: 0 6px 14px -6px rgba(227, 88, 70, .5);
}
.s-btn--primary:hover { background: var(--coral-strong); border-color: var(--coral-strong); color: #fff; }
.s-btn--primary[aria-disabled="true"] { background: var(--ink-200); border-color: var(--ink-200); color: var(--ink-600); box-shadow: none; }
.s-btn--big { padding: 1rem 1.4rem; font-size: 1.05rem; }
.s-error { margin: .8rem 0 0; padding: .7rem .9rem; border-radius: var(--r-sm); background: var(--coral-soft); color: #8a2a1d; font-size: .93rem; }
.s-form input, .s-form textarea, .s-promo input {
  font: inherit; width: 100%; padding: .7rem .8rem; border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink-900);
}
.s-form input:focus, .s-form textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(227,88,70,.15); }
.s-fields { display: grid; gap: 1rem; }
.s-fields[hidden] { display: none; }
@media (min-width: 640px) { .s-fields { grid-template-columns: 1fr 1fr; } .s-fields__wide { grid-column: 1 / -1; } }
.s-fields label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .92rem; }
.s-fields small { font-weight: 400; color: var(--ink-500); }
.s-promo { display: flex; gap: .5rem; max-width: 26rem; }
.s-promo input { text-transform: uppercase; letter-spacing: .04em; }
.s-methods { display: grid; gap: .5rem; max-width: 30rem; margin-bottom: .6rem; }
.s-method { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--paper); cursor: pointer; font-weight: 600; }
.s-method:has(input:checked) { border-color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--ink-900); }
.s-method input { accent-color: var(--coral); }
.s-terms { display: flex; gap: .7rem; align-items: flex-start; margin: 1.5rem 0 1.2rem; font-size: .93rem; color: var(--ink-600); max-width: 36rem; }
.s-terms input { margin-top: .25rem; accent-color: var(--coral); width: 18px; height: 18px; flex: none; }

/* checkout */
.s-checkout { display: grid; gap: 2rem; padding-top: 1rem; }
@media (min-width: 960px) { .s-checkout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .s-summary { position: sticky; top: 1rem; } }
.s-back { display: inline-block; margin-bottom: 1rem; font-weight: 600; font-size: .92rem; }
.s-back::before { content: "‹ "; }
.s-trip { margin: 0; display: grid; gap: .5rem; }
.s-trip div { display: flex; gap: 1rem; }
.s-trip dt { font-weight: 700; width: 5rem; }
.s-trip dd { margin: 0; }
.s-summary__head { display: flex; gap: 1rem; align-items: center; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.s-summary__head div { display: flex; flex-direction: column; }

/* reisileht */
.s-order { max-width: 46rem; padding-top: 1.5rem; }
.s-order > .s-btn { margin-top: 1.5rem; width: auto; }
.s-keycode {
  margin: 1.8rem 0 0; padding: 1.4rem 1.6rem; border-radius: var(--r-xl); color: var(--cream-50);
  background: linear-gradient(150deg, var(--ink-900) 0%, var(--ink-800) 60%, var(--plum) 120%);
  display: grid; gap: .2rem;
}
.s-keycode span { font-weight: 600; opacity: .8; }
.s-keycode b { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 12vw, 4.6rem); letter-spacing: .12em; font-variant-numeric: tabular-nums; line-height: 1; }
.s-keycode a { color: var(--gold); font-weight: 600; margin-top: .4rem; }
.s-steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.s-steps li {
  counter-increment: step; position: relative; padding: 1.2rem 1.3rem 1.3rem 3.6rem;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.s-steps li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem; background: var(--cream-100); color: var(--ink-700);
}
.s-steps li.is-done::before { content: "✓"; background: var(--emerald-soft); color: var(--emerald); }
.s-steps h2 { font-size: 1.15rem; }
.s-steps p { margin: .3rem 0 .8rem; color: var(--ink-600); }
.s-steps .s-btn--primary { width: auto; }
.s-order__bill h2 { margin-bottom: 1rem; font-size: 1.15rem; }

/* kalender */
.s-cal__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.s-cal__nav button { font: inherit; font-weight: 700; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--paper); cursor: pointer; }
.s-cal__nav button:disabled { opacity: .35; cursor: default; }
.s-cal__nav span { font-weight: 600; color: var(--ink-600); font-size: .92rem; }
.s-cal__months { display: grid; gap: 2rem; }
@media (min-width: 700px) { .s-cal__months { grid-template-columns: 1fr 1fr; } }
.s-cal__month h3 { text-align: center; margin-bottom: .5rem; font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.s-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.s-cal__dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--ink-400); padding-bottom: .3rem; }
.s-cal__day {
  font: inherit; border: 0; background: none; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; cursor: pointer; color: var(--ink-900); border-radius: 50%; position: relative; padding: 0;
}
.s-cal__day b { font-weight: 600; font-size: .95rem; line-height: 1.1; }
.s-cal__day small { font-size: .62rem; color: var(--ink-500); font-variant-numeric: tabular-nums; }
.s-cal__day:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink-900); }
.s-cal__day:disabled { cursor: default; color: var(--ink-300); }
.s-cal__day.is-taken b { text-decoration: line-through; }
.s-cal__day.is-in { background: var(--cream-100); border-radius: 0; }
.s-cal__day.is-start, .s-cal__day.is-end { background: var(--ink-900); color: #fff; border-radius: 50%; }
.s-cal__day.is-start small, .s-cal__day.is-end small { color: var(--ink-200); }
.s-cal__day.is-checkout-only { color: var(--ink-500); }
.s-cal__foot { display: flex; justify-content: space-between; align-items: center; margin-top: .8rem; gap: 1rem; }
.s-cal__foot button { font: inherit; font-weight: 700; background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--ink-700); }

/* mobiili põhjariba */
.s-mbar { display: none; }
@media (max-width: 959px) {
  .s-mbar {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: .8rem var(--gutter) calc(.8rem + env(safe-area-inset-bottom)); background: var(--paper);
    border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -16px rgba(17,20,43,.35);
  }
  .s-mbar span { font-weight: 600; font-size: .95rem; }
  .s-mbar .s-btn--primary { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .s-card { transition: none; } .s-card:hover { transform: none; } }
.s-missing { margin: 1.2rem 0 0; color: var(--ink-600); font-size: .95rem; }
.s-missing b { color: var(--ink-900); }
@media (min-width: 720px) { .s-gallery__item:nth-child(n+6) { display: none; } }

/* juriidilised lehed ja jalus */
.s-legal { max-width: 46rem; padding-top: 1.5rem; }
.s-legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.s-legal p, .s-legal li { color: var(--ink-600); max-width: 42rem; }
.s-legal ul { padding-left: 1.2rem; }
.s-seller { margin: 1rem 0; display: grid; gap: .35rem; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-md); }
.s-seller div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; font-size: .95rem; }
.s-seller dt { color: var(--ink-500); }
.s-seller dd { margin: 0; }
@media (max-width: 520px) { .s-seller div { grid-template-columns: 1fr; gap: 0; } }
.s-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: .5rem 0 1rem; display: block; overflow-x: auto; }
.s-table th, .s-table td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.s-table th { color: var(--ink-500); font-weight: 700; }
.s-foot { flex-direction: column; }
.s-foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.s-foot__links a { color: var(--ink-700); font-weight: 600; text-decoration: none; }
.s-foot__pay { margin: 0; max-width: 46rem; }
.s-foot__legal { margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.s-foot__legal b { color: var(--ink-700); }
.s-terms a { color: var(--ink-900); }
/* Tekstiväljade laius ei tohi kehtida raadio- ja märkeruutudele (makseviisid). */
.s-form input[type="radio"], .s-form input[type="checkbox"] { width: 18px; height: 18px; padding: 0; flex: none; box-shadow: none; }

/* külastajakaart broneerimisvormis */
.s-form select { font: inherit; width: 100%; padding: .7rem .6rem; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--paper); color: var(--ink-900); }
.s-form .dates { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: .4rem; }
.s-form #docs { margin-top: 1rem; }
.s-companion { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px dashed var(--border-strong); }
.s-companion p { margin: 0; }
