
@media (min-width: 768px) {
  .md\:text-lg {
      font-size: 1.425rem;
      line-height: 1.85rem;
  }
  .age-gate__logo {
    float: inline-start;
  }
  /* md:grid-cols-3 nie ma w Tailwind */
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  /* lg:grid-cols-3 nie ma w Tailwind */
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 375px) {
  .text-xl {
      font-size: 1rem;
      line-height: 1.55rem;
      color: rgb(233, 229, 33);
  }
}

#age-gate-yes {
    background: transparent;
    color: hsl(var(--age-gate-accent-foreground));
}

#age-gate-no,
.age-gate__decline {
    background: hsl(var(--age-gate-accent));
    color: hsl(var(--age-gate-accent-foreground));
}

/* .py-20 {
    padding-top: 2rem;
    padding-bottom: 2rem;
} */
a.text-primary-foreground.hover\:text-primary-foreground.px-3.py-2.rounded-md {
    font-size: 0.8em;
    text-wrap-mode: nowrap;
}

button#clear-filters {
    display: flex;
    flex-direction: row-reverse;
}

p.mt-8 {
    margin-top: 2em !important;
}

/* Fonty hostowane u nas — patrz tools/pobierz-fonty.py i assets/fonts/OFL.txt.
   Dzieki temu ze sciezki krytycznej znikaja dwa obce originy i blokujacy arkusz
   z fonts.googleapis.com. Regul ponizej nie edytuj recznie — sa generowane. */
/* Wygenerowane przez tools/pobierz-fonty.py — nie edytuj recznie. */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-display-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-display-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  scroll-behavior: smooth;
  /* Zapas na przyklejoną belkę nawigacji (h-16 = 4rem). Bez tego skok do #sekcji
     chowa <h2> pod paskiem — najbardziej widoczne <768px z menu mobilnym. */
  scroll-padding-top: 5rem;
}

/* Atrybut `hidden` ma wygrywać z utility Tailwinda ustawiającymi `display`
   (np. `inline-flex` na #cart-button, `flex` na .cart-panel). Bez tego `hidden`
   na takim elemencie nic nie robi. Dotyczy wyłącznie atrybutu, nie klasy `.hidden`. */
[hidden] {
  display: none !important;
}

html.age-gate-pending,
html.age-gate-pending body {
  overflow: hidden;
}

html.age-gate-pending .age-gated-content {
  visibility: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 1rem;
  /* background: hsl(var(--primary) / 0.94); */
  color: hsl(var(--primary-foreground));
}

html.age-gate-pending .age-gate {
  display: flex;
}

.age-gate__card {
  width: min(100%, 34rem);
  padding: clamp(1.75rem, 5vw, 3rem);
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  box-shadow: 0 1.5rem 4rem hsl(var(--primary) / 0.28);
  text-align: center;
}

.age-gate__card--carousel {
  width: min(100%, 52rem);
}

.age-gate__logo {
  width: 8rem;
  height: 8rem;
  display: block;
  justify-self: center;
  /* margin: 0 auto 1.25rem; */
  padding: 0.4rem;
  border-radius: 0.75rem;
  background: hsl(var(--age-gate-accent));
  object-fit: contain;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  /* background: hsl(var(--primary-foreground)); */
  overflow: hidden;
}

.site-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-logo--nav {
  width: 9rem;
  height: 3.25rem;
}

.site-logo--footer {
  width: 13rem;
  height: 5.5rem;
}

.hero-logo {
  width: min(100%, 26rem);
  /* padding: 0.5rem 0.75rem; */
  /*border-radius: 0.75rem;*/
  /* background: hsl(var(--primary-foreground) / 0.92); */
  /*box-shadow: var(--shadow-md);*/
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.age-gate__title {
  margin-bottom: 0.6rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  min-height: 127px;
  place-content: center;
}

.age-gate__description {
    max-width: 38rem;
    margin: 0 auto;
    color: hsl(var(--muted-foreground));
    line-height: 1.25;
    font-size: 1.6em;
    text-wrap-style: pretty;
    background: #bbbbe469;
    border-radius: 10px;
    border-color: #b0bce4;
    border-style: solid;
}
.age-gate__description.fontweight800 {
  font-weight: 800;
}
.age-gate__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.age-gate__actions button {
  width: 100%;
}

.age-gate__decline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--foreground));
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.age-gate__decline:hover {
  border-color: hsl(var(--primary) / 0.45);
  background: hsl(var(--muted));
}

.age-gate button:focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: 3px;
}

.age-gate__message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--destructive) / 0.35);
  border-radius: 0.5rem;
  background: hsl(var(--destructive) / 0.08);
  color: hsl(var(--destructive));
  font-size: 0.9rem;
  line-height: 1.5;
}

.age-gate__carousel {
  margin-top: 0.2rem;
  outline: none;
}

.age-gate__carousel:focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: 0.4rem;
  border-radius: 0.75rem;
}

.age-gate__carousel-frame {
  aspect-ratio: 1522 / 1033;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--muted));
}

.age-gate__carousel-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.36s ease;
}

.age-gate__carousel-image--fade {
  opacity: 0;
}

.age-gate__carousel-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.age-gate__carousel-description {
  margin: 0.75rem auto 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  .age-gate__decline,
  .age-gate__carousel-image {
    transition: none;
  }
}

@media (max-width: 640px) {
  .age-gate__card--carousel {
    padding: 1rem;
  }

  .age-gate__carousel-meta {
    font-size: 0.7rem;
  }
}

.text-xs {
  font-size: 1.15rem;
  line-height: 1.6rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 1);
  color: hsl(var(--primary-foreground) / 1);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.age-gate__confirm.btn-primary {
  background: hsl(var(--age-gate-accent));
  color: hsl(var(--age-gate-accent-foreground));
}

.age-gate__confirm.btn-primary:hover {
  background: hsl(var(--age-gate-accent) / 0.88);
}

/* Przycisk-zaślepka: wygląda jak akcja, ale jeszcze nie działa (np. rezerwacja noclegu
   przed dodaniem linku Booking — SPEC-006). Nadpisuje tło i kolor .btn-primary tokenami
   „muted", żeby czytelnie wyglądał na wyłączony we wszystkich czterech motywach —
   samo `opacity` gubiło kontrast na ciemnym tle. */
.is-disabled {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border: 1px solid hsl(var(--border));
  box-shadow: none;
  pointer-events: none;
  cursor: default;
}

.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--primary-foreground) / 0.3);
  color: hsl(var(--primary-foreground) / 1);
  background: hsl(var(--background) / 0.2);
  backdrop-filter: blur(6px);
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  background: hsl(var(--background) / 0.3);
}

.footer-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: hsl(var(--primary-foreground));
  transition: background 0.2s ease, transform 0.15s ease;
}

.footer-icon:hover {
  background: hsl(var(--primary-foreground) / 0.1);
  transform: translateY(-1px);
}

.hover-elevate {
  position: relative;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.hover-elevate:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.reveal-pending [data-reveal],
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-pending [data-reveal].is-visible,
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-pending [data-reveal],
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.range-wrapper {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
}

.range-wrapper input[type="range"] {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 100%;
  height: 6px;
  margin: 0;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
  transform: translateY(-50%);
}

.range-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: hsl(var(--primary));
  border: 2px solid hsl(var(--primary));
  border-radius: 9999px;
  pointer-events: auto;
  box-shadow: var(--shadow-xs);
}

.range-wrapper input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: hsl(var(--primary));
  border: 2px solid hsl(var(--primary));
  border-radius: 9999px;
  pointer-events: auto;
  box-shadow: var(--shadow-xs);
}

.range-wrapper input[type="range"]::-webkit-slider-runnable-track,
.range-wrapper input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 9999px;
}

#range-highlight {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(
    to right,
    hsl(var(--secondary)) 0%,
    hsl(var(--secondary)) 100%
  );
  border-radius: 9999px;
  pointer-events: none;
  transform: translateY(-50%);
}

.checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid hsl(var(--input));
  border-radius: 4px;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--background));
}

.checkbox:checked {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  box-shadow: inset 0 0 0 2px hsl(var(--primary-foreground));
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 70;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(100%, 420px);
  background: hsl(var(--background));
  border-left: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 80;
}

body.cart-open #cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.cart-open #cart-panel {
  transform: translateX(0);
}

.error-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7.5rem 1.25rem 4rem;
}

.error-page__image,
.error-page__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.error-page__image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.error-page__veil {
  z-index: -1;
  background: linear-gradient(
    90deg,
    hsl(var(--primary) / 0.96) 0%,
    hsl(var(--primary) / 0.86) 36%,
    hsl(var(--primary) / 0.48) 70%,
    hsl(var(--primary) / 0.24) 100%
  );
}

.error-page__header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid hsl(var(--primary-foreground) / 0.18);
}

.error-page__header-inner,
.error-page__content {
  width: min(100%, 76rem);
  margin: 0 auto;
}

.error-page__header-inner {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.error-page__brand,
.error-page__header-link {
  color: hsl(var(--primary-foreground));
}

.error-page__brand {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.error-page__header-link {
  padding: 0.625rem 1rem;
  border: 1px solid hsl(var(--primary-foreground) / 0.32);
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.error-page__header-link:hover {
  background: hsl(var(--primary-foreground) / 0.12);
}

.error-page a:focus-visible {
  outline: 2px solid hsl(var(--primary-foreground));
  outline-offset: 4px;
}

.error-page__copy {
  max-width: 49rem;
  color: hsl(var(--primary-foreground));
}

.error-page__code {
  margin-bottom: -0.3rem;
  color: hsl(var(--primary-foreground) / 0.14);
  font-family: "Playfair Display", serif;
  font-size: clamp(7rem, 15vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.7;
}

.error-page__eyebrow {
  margin-bottom: 1rem;
  color: hsl(var(--primary-foreground) / 0.82);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.error-page__title {
  max-width: 44rem;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.75rem, 5.8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.error-page__description {
  max-width: 38rem;
  color: hsl(var(--primary-foreground) / 0.8);
  font-size: 1.125rem;
  line-height: 1.7;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.error-page__shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid hsl(var(--primary-foreground) / 0.2);
  border-radius: 0.75rem;
  background: hsl(var(--background) / 0.08);
  backdrop-filter: blur(8px);
}

.error-page__shortcut {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border-right: 1px solid hsl(var(--primary-foreground) / 0.2);
  color: hsl(var(--primary-foreground));
  transition: background 0.2s ease;
}

.error-page__shortcut:last-child {
  border-right: 0;
}

.error-page__shortcut:hover {
  background: hsl(var(--primary-foreground) / 0.12);
}

.error-page__shortcut-title {
  font-weight: 700;
}

.error-page__shortcut-note,
.error-page__location {
  color: hsl(var(--primary-foreground) / 0.68);
  font-size: 0.8125rem;
}

.error-page__location {
  margin-top: 1.5rem;
}

@media (min-width: 641px) and (max-height: 899px) {
  .error-page {
    align-items: flex-start;
    padding-top: clamp(4.5rem, 12vh, 6rem);
    padding-bottom: 1rem;
  }

  .error-page__header-inner {
    height: clamp(3.75rem, 10vh, 5rem);
  }

  .error-page__copy {
    max-width: 43rem;
  }

  .error-page__code {
    margin-bottom: -0.2rem;
    font-size: clamp(5rem, 18vh, 8rem);
  }

  .error-page__eyebrow {
    margin-bottom: clamp(0.35rem, 1vh, 0.75rem);
    font-size: 0.75rem;
  }

  .error-page__title {
    max-width: 38rem;
    margin-bottom: clamp(0.75rem, 2vh, 1.25rem);
    font-size: clamp(2.15rem, 8vh, 3.75rem);
    line-height: 0.95;
  }

  .error-page__description {
    max-width: 36rem;
    font-size: clamp(0.9375rem, 2.2vh, 1.0625rem);
    line-height: 1.45;
  }

  .error-page__actions {
    gap: 0.75rem;
    margin-top: clamp(0.75rem, 2vh, 1.5rem);
  }

  .error-page__actions .btn-primary,
  .error-page__actions .btn-ghost {
    padding: 0.625rem 1rem;
  }

  .error-page__shortcuts {
    margin-top: clamp(0.75rem, 2vh, 1.5rem);
  }

  .error-page__shortcut {
    gap: 0.1rem;
    padding: clamp(0.5rem, 1.4vh, 0.75rem) 1rem;
  }

  .error-page__shortcut-note,
  .error-page__location {
    font-size: 0.75rem;
  }

  .error-page__location {
    margin-top: clamp(0.5rem, 1.5vh, 1rem);
  }
}

@media (max-width: 640px) {
  .error-page {
    align-items: flex-start;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 7rem;
    padding-bottom: 2rem;
  }

  .error-page__image {
    object-position: 58% center;
  }

  .error-page__veil {
    background: linear-gradient(
      180deg,
      hsl(var(--primary) / 0.9) 0%,
      hsl(var(--primary) / 0.72) 55%,
      hsl(var(--primary) / 0.94) 100%
    );
  }

  .error-page__code {
    font-size: 6.5rem;
  }

  .error-page__title {
    font-size: 2.65rem;
  }

  .error-page__description {
    font-size: 1rem;
  }

  .error-page__actions {
    flex-direction: column;
  }

  .error-page__actions .btn-primary,
  .error-page__actions .btn-ghost {
    width: 100%;
  }

  .error-page__shortcuts {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .error-page__shortcut {
    border-right: 0;
    border-bottom: 1px solid hsl(var(--primary-foreground) / 0.2);
  }

  .error-page__shortcut:last-child {
    border-bottom: 0;
  }
}

.cart-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.cart-item:last-child {
  border-bottom: none;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  overflow: hidden;
}

.quantity-control button {
  width: 32px;
  height: 32px;
}

.quantity-control span {
  width: 34px;
  text-align: center;
}

/* Sklep renderuje sie z data/wina.json dopiero po fetchu — bez rezerwy osiem kart
   wskakuje naraz i spycha wszystko ponizej. Pseudoklasa :empty znika sama w momencie
   wstawienia kart, wiec nie trzeba niczego sprzatac w main.js.
   Rezerwa celowo lekko niedoszacowana: za duza dalaby przesuniecie w druga strone. */
#lista-produktow:empty { min-height: 520px; }
@media (min-width: 640px) { #lista-produktow:empty { min-height: 620px; } }
@media (min-width: 1280px) { #lista-produktow:empty { min-height: 700px; } }

/* Pasek wyboru zdjęcia wejściowego — narzędzie testowe (?hero w adresie).
   Kolory celowo poza systemem motywów: to nakładka deweloperska, która ma być
   widoczna niezależnie od tego, jaki motyw akurat testujemy. */
.przelacznik-hero {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100vw - 2rem);
  overflow-x: auto;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: rgba(20, 18, 16, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  font: 12px/1.3 system-ui, sans-serif;
  color: #f2ece4;
}
.przelacznik-hero__tytul {
  flex: 0 0 auto;
  padding-right: 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.przelacznik-hero__opcja {
  flex: 0 0 auto;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.przelacznik-hero__opcja:hover { background: rgba(255, 255, 255, 0.14); }
.przelacznik-hero__opcja--aktywna { border-color: #d8a24a; color: #d8a24a; }

/* Drugi pasek podglądu (?slowo=) współdzieli wygląd z .przelacznik-hero — element ma
   obie klasy. Sam siedzi na dole jak hero; gdy w adresie są oba parametry, pasek hero
   (bez klasy .przelacznik-slowo) stoi przed nim w DOM i wtedy odsuwamy słowo w górę
   o wysokość paska hero, żeby się nie nakładały. */
.przelacznik-hero:not(.przelacznik-slowo) ~ .przelacznik-slowo { bottom: 6rem; }

/* Treść wpisu o wydarzeniu zachowuje łamanie wierszy wpisane w panelu.
   Klasy `whitespace-pre-line` NIE MA w bundlu Tailwinda (jedyna klasa whitespace-*
   w assets/css/style.css to `whitespace-nowrap`), więc reguła musi być tutaj. */
.wydarzenie-tresc {
  white-space: pre-line;
}

/* Adresy w treści wydarzeń zamienione na linki (wstawTekstZLinkami w main.js). Kolor
   dziedziczony, nie --primary: w motywie dark --primary jest prawie czarny na ciemnym tle. */
.link-w-tresci {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.link-w-tresci:hover { color: hsl(var(--ring)); }

/* ── Sekcja #noclegi: wydarzenie ze zdjęciem (initNoclegiWydarzenie w main.js) ──
   Zdjęcie obok tekstu od md, nad tekstem na telefonie. Klas `max-w-5xl` i `md:text-left`
   NIE MA w bundlu Tailwinda, więc układ jest tutaj. */
.noclegi-wydarzenie--ze-zdjeciem {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
@media (min-width: 768px) {
  .noclegi-wydarzenie--ze-zdjeciem { grid-template-columns: 1fr 1fr; }
}
.noclegi-wydarzenie__zdjecie {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ── Sekcja #noclegi: karuzela zdjęć pokoi (initPokojeKaruzela w main.js, SPEC-010) ──
   Własne klasy, nie .gallery-swiper: kod galerii „O nas" szuka kropek globalnie
   (qsa(".gallery-swiper__dot")), więc wspólna klasa wmieszałaby się w tamtą karuzelę.
   Układ i proporcje jak w galerii „O nas": slajd 3:4, kolumny 1 / 2 (≥640px) / 3 (≥1024px),
   odstęp 1rem, strzałki 3rem. */
.pokoje-karuzela {
  margin-bottom: 1.5rem;
}
.pokoje-karuzela__okno { position: relative; }
.pokoje-karuzela[hidden] { display: none; }
.pokoje-karuzela__pas {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pokoje-karuzela__pas::-webkit-scrollbar { display: none; }
.pokoje-karuzela__link {
  flex: 0 0 100%;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: 0.375rem;
  overflow: hidden;
}
.pokoje-karuzela__link:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}
.pokoje-karuzela__zdjecie {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms;
}
.pokoje-karuzela__link:hover .pokoje-karuzela__zdjecie { transform: scale(1.04); }
.pokoje-karuzela__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  border: none;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 200ms;
}
.pokoje-karuzela__nav svg { width: 100%; height: 100%; }
.pokoje-karuzela__nav:hover { background: hsl(var(--primary) / 0.9); }
.pokoje-karuzela__nav[hidden] { display: none; }
.pokoje-karuzela__nav--wstecz { left: -0.5rem; }
.pokoje-karuzela__nav--dalej { right: -0.5rem; }

/* Kropki jak w galerii „O nas": tyle, ile zdjęć, ale przy N widocznych naraz da się ustawić
   tylko (zdjęcia − N + 1) pozycji — nadmiarowe z końca chowamy. Własne klasy (nie
   .gallery-swiper__dot), bo tamta galeria szuka kropek globalnie. */
.pokoje-karuzela__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.pokoje-karuzela__dots[hidden] { display: none; }
.pokoje-karuzela__dot {
  flex: none;
  width: 0.625rem;
  height: 0.625rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: hsl(var(--muted));
  cursor: pointer;
  transition: all 200ms;
}
.pokoje-karuzela__dot:hover { background: hsl(var(--muted-foreground)); }
.pokoje-karuzela__dot.active {
  width: 1.5rem;
  border-radius: 0.25rem;
  background: hsl(var(--primary));
}
@media (min-width: 640px) {
  .pokoje-karuzela__dot:last-child { display: none; }
}
@media (min-width: 1024px) {
  .pokoje-karuzela__dot:nth-last-child(2) { display: none; }
}
@media (min-width: 640px) {
  .pokoje-karuzela__link { flex-basis: calc(50% - 0.5rem); }
}
@media (min-width: 1024px) {
  .pokoje-karuzela__link { flex-basis: calc((100% - 2rem) / 3); }
}

/* ── Sekcja #noclegi: formularz „szukaj terminu" ─────────────────────────────
   Deep-link do karty obiektu na Booking.com natywnym GET-em (działa bez JS —
   initNoclegi() tylko podpowiada daty). <input type="date"> i <select> nie
   przyjmują sensownie klas z prebuilt bundla i są brzydkie natywnie, więc cały
   wygląd i układ są tutaj. Tokeny motywu → czytelne we wszystkich 4 motywach
   (w dark setTheme() ustawia color-scheme na <html>, więc kalendarz sam ciemnieje).
   Wiersz na desktopie, kolumna < 640px. */
.noclegi-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 42rem; margin: 0 auto; text-align: left; }
.noclegi-form__row { display: flex; flex-direction: column; gap: 0.75rem; }
.noclegi-form__field { display: flex; flex-direction: column; gap: 0.35rem; flex: 1 1 auto; min-width: 0; }
.noclegi-form__field > span { font-size: 0.8rem; font-weight: 600; color: hsl(var(--muted-foreground)); }

.noclegi-form input[type="date"],
.noclegi-form select {
  height: 2.75rem; width: 100%; padding: 0 0.75rem; border-radius: 0.5rem;
  border: 1px solid hsl(var(--border)); background: hsl(var(--background));
  color: hsl(var(--foreground)); font: inherit; line-height: 2.75rem;
  appearance: none; -webkit-appearance: none;
}
.noclegi-form input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.7; }
.noclegi-form input[type="date"]:focus-visible,
.noclegi-form select:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 1px; border-color: hsl(var(--ring)); }
.noclegi-form .btn-primary { height: 2.75rem; white-space: nowrap; }

@media (min-width: 640px) {
  .noclegi-form__row { flex-direction: row; align-items: flex-end; }
  .noclegi-form__field--adults { flex: 0 0 8.5rem; }
  .noclegi-form .btn-primary { flex: 0 0 auto; }
}

/* Formularz kontaktowy: wyzwanie ikon i komunikaty bez alert(). */
.contact-challenge {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--background));
}
.contact-challenge__target {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.contact-challenge__target-icon,
.contact-challenge__option svg {
  width: 2rem;
  height: 2rem;
}
.contact-challenge__target-icon {
  color: hsl(var(--primary));
}
.contact-challenge__options {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}
.contact-challenge__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.contact-challenge__option:hover,
.contact-challenge__option[aria-pressed="true"] {
  border-color: hsl(var(--ring));
  background: hsl(var(--primary) / 0.12);
}
.contact-challenge__option:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}
.contact-challenge__option[aria-pressed="true"] {
  color: hsl(var(--primary));
  transform: translateY(-1px);
}
.contact-form__message {
  margin-top: 0.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}
.contact-form__message--error {
  color: hsl(var(--destructive));
}
.contact-form__message--success {
  color: hsl(var(--primary));
}
.contact-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 639px) {
  .contact-challenge__options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-challenge__option {
    transition: none;
  }
}

/* Rodzaj wina w karcie produktu */
.rodzaj-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 0.375rem;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 500;
}

/* Pasek statystyk (#o-nas) — wybrany po porównaniu z wariantami v1/v2 (usunięte).
   Kolory przez zmienne motywu, jak nagłówek (bg-primary/text-primary-foreground),
   więc pozostają spójne we wszystkich 4 motywach strony — patrz frontend/theming. */
.page-stats-bar {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 1rem 1rem;
}

.page-stats-bar__grid {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.page-stats-bar__value {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1;
}

.page-stats-bar__label {
  margin-top: 0.5rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: hsl(var(--primary-foreground) / 0.8);
}

.page-stats-bar__vine {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 190;
  margin-top: 0rem;
  margin-bottom: 0rem;
  color: hsl(var(--primary-foreground) / 0.35);
}

@media (max-width: 639px) {
  .page-stats-bar__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Sekcja #noclegi: prezentacja pokoi (zajawka przed formularzem Booking) ──
   Karty jak reszta witryny (rounded-md + border-card-border + bg-card); ikony w kolorze motywu. */
.pokoje-oferta { margin: 2rem 0 2.5rem; }
.pokoje-oferta__siatka {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .pokoje-oferta__siatka { grid-template-columns: 1fr 1fr; }
}
.pokoj-karta { padding: 1.5rem; }
.pokoj-karta__naglowek {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--card-border));
}
.pokoj-karta__naglowek > svg { width: 2rem; height: 2rem; color: hsl(var(--ring)); }
.pokoj-karta__podpis {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}
.pokoj-udogodnienia {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pokoj-udogodnienia li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.pokoj-udogodnienia svg { flex: none; color: hsl(var(--ring)); }

.pokoje-oferta__wspolne { margin-top: 1.5rem; }

/* Odległości od obiektu: jeden box jak „Dla wszystkich gości", 4 w rzędzie od 768px,
   na telefonie 2×2. */
.pokoje-okolica__lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .pokoje-okolica__lista { grid-template-columns: repeat(4, 1fr); }
}
.pokoje-okolica__lista li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 0.75rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
}
.pokoje-okolica__lista svg { color: hsl(var(--ring)); }
.pokoje-okolica__km {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  line-height: 1.2;
  color: hsl(var(--foreground));
}
