/* Native Guide - style przewodnika (projekt: wariant B, 21.10.2026). Fonty lokalnie: Inter (OFL), Overused Grotesk. */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; 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: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; 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; }

/* === Fonty === */
@font-face { font-family: "Overused Grotesk"; src: url("../fonts/OverusedGrotesk-Book.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Overused Grotesk"; src: url("../fonts/OverusedGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Overused Grotesk"; src: url("../fonts/OverusedGrotesk-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Overused Grotesk"; src: url("../fonts/OverusedGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Overused Grotesk"; src: url("../fonts/OverusedGrotesk-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* === Zmienne === */
:root {
    /* kolory */
    --c-brand: #00B28A;
    --c-brand-hover: #00A07C;
    --c-brand-mid: #00876A;
    --c-brand-dark: #00785D;
    --c-brand-darker: #005C48;
    --c-brand-deep: #0B3B2F;
    --overlay: radial-gradient(120% 90% at 50% 40%, rgba(11, 59, 47, .34), rgba(8, 32, 26, .62));
    --c-brand-light: #3FDDB2;
    --c-mint: #E6F6F1;
    --c-ink: #141414;
    --c-text: #3D3D3D;
    --c-muted: #5E5E5E;
    --c-muted-2: #7A7A78;
    --c-bg: #F2F2F2;
    --c-white: #FFFFFF;
    --c-cream: #FAF7F2;
    --c-cream-line: #EFE8DC;
    --c-line: #E3E3E1;
    --c-line-2: #E8E8E6;
    --c-line-3: #EFEFED;
    --c-line-4: #E1E1DF;
    --c-dot: #CFCFCC;

    /* typografia */
    --f-body: Inter, system-ui, sans-serif;
    --f-display: "Overused Grotesk", Inter, sans-serif;
    --f-mono: ui-monospace, "SF Mono", Menlo, monospace;

    /* ruch */
    --ease: cubic-bezier(.3, .7, .2, 1);
    --ease-out: cubic-bezier(.2, .7, .2, 1);
    --ease-sheet: cubic-bezier(.3, .8, .2, 1);

    /* układ */
    --gutter: clamp(20px, calc((100vw - 900px) * .4 + 24px), 164px);
    --container-w: 1600px;
    --header-h: 64px;
    --radius-lg: 24px;
    --radius-md: 18px;

    /* cienie */
    --sh-card: 0 0 0 1px rgba(20, 20, 20, .04);
    --sh-hero: 0 18px 40px -30px rgba(60, 40, 10, .4);
    --sh-ring: 0 0 0 1px var(--c-line);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--c-bg); color: var(--c-ink); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body { min-height: 100vh; font-family: var(--f-body); font-size: 16px; line-height: 1.5; overflow-x: clip; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
:where(h1, h2, h3, p, figure) { margin: 0; }
:where(ul[class], ol[class]) { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
a { color: var(--c-brand-dark); text-decoration: none; }
a:hover { color: var(--c-brand-darker); }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
a:focus-visible { outline: none; }
a:focus-visible > span[aria-hidden] { outline: 2px solid var(--c-brand); outline-offset: -2px; }
::-webkit-scrollbar { height: 0; width: 12px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: #A8A8A5; border: 3px solid var(--c-bg); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #7A7A78; }
@supports not selector(::-webkit-scrollbar) {
    html { scrollbar-color: #A8A8A5 var(--c-bg); }
}
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--c-ink); color: var(--c-white); font-weight: 600; transition: top .2s ease; }
.skip-link:focus { top: 12px; color: var(--c-white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* widoczność wg szerokości (640 = tablet, 1024 = desktop) */
@media (max-width: 639.98px) { .u-tablet { display: none !important; } }
@media (min-width: 640px) { .u-phone { display: none !important; } }
@media (max-width: 1023.98px) { .u-desktop { display: none !important; } }
@media (min-width: 1024px) { .u-mobile { display: none !important; } }

/* === Kontener === */
.container { max-width: var(--container-w); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* === Nagłówki === */
.headgroup { display: contents; }
.title { font-family: var(--f-display); letter-spacing: -.03em; line-height: 1; }
.title--lg { font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); }
.title--sm { font-weight: 700; font-size: clamp(22px, 2.2vw, 27px); letter-spacing: -.02em; line-height: 1.15; }
.title__light { font-weight: 500; }
.title__accent { color: var(--c-brand); }
.eyebrow { margin: 0 0 2px; font-size: 15px; font-weight: 600; color: var(--c-brand-dark); }

/* === Przyciski === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 18px 0 16px; border: 0; border-radius: 999px; font: 600 15px var(--f-body); cursor: pointer; white-space: nowrap; transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .12s ease; }
.btn:active { transform: scale(.97); }
.btn svg { flex-shrink: 0; }
.btn--sm { height: 44px; padding: 0 16px 0 13px; gap: 7px; }
.btn--lg { height: 56px; font-size: 17px; gap: 10px; }
.btn--block { display: flex; width: 100%; }
.btn--brand { background: var(--c-brand); color: var(--c-white); }
.btn--brand:hover { background: var(--c-brand-hover); color: var(--c-white); }
.btn--dark { background: var(--c-ink); color: var(--c-white); }
.btn--dark:hover { background: var(--c-brand-dark); color: var(--c-white); }
.btn--soft { background: var(--c-bg); color: var(--c-ink); }
.btn--soft:hover { background: var(--c-brand); color: var(--c-white); }
.btn--outline { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line); }
.btn--outline:hover { background: #F7F7F5; box-shadow: inset 0 0 0 1px var(--c-ink); color: var(--c-ink); }

/* okrągły przycisk-ikona */
.iconbtn { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: var(--c-bg); color: var(--c-ink); display: grid; place-items: center; cursor: pointer; transition: background .2s ease, box-shadow .2s ease, opacity .2s ease, transform .12s ease; }
.iconbtn:hover { background: var(--c-mint); }
.iconbtn:active { transform: scale(.92); }
.iconbtn--ring { width: 42px; height: 42px; background: var(--c-white); box-shadow: var(--sh-ring); }
.iconbtn--ring:hover { background: var(--c-white); box-shadow: 0 0 0 1px var(--c-ink); }
.iconbtn[disabled] { opacity: .35; cursor: default; }
.iconbtn[disabled]:hover { box-shadow: var(--sh-ring); }

/* === Animacje === */
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroIn { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes heroText { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ripple { from { transform: translate(-50%, -50%) scale(0); opacity: 1; } 60% { opacity: .9; } to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
/* Wspólne sekcje obu wariantów. Różnice → variant-a.css / variant-b.css */

/* === Topbar === */
.topbar { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: var(--c-white); border-bottom: 1px solid var(--c-line-2); }
.topbar__inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.topbar__start { display: flex; justify-content: flex-start; min-width: 0; }
.topbar__end { display: flex; justify-content: flex-end; min-width: 0; }
.topbar__logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.topbar__logo img { height: clamp(32px, 3.6vw, 46px); width: auto; }
.topbar__home { flex-shrink: 0; display: flex; align-items: center; gap: 8px; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px 0 10px; border-radius: 999px; color: var(--c-ink); font: 600 14px var(--f-body); white-space: nowrap; box-shadow: var(--sh-ring); transition: background .2s ease, box-shadow .2s ease, color .2s ease, transform .12s ease; }
.topbar__home:hover { background: var(--c-mint); box-shadow: 0 0 0 1px var(--c-brand); color: var(--c-brand-dark); }
.topbar__home:active { transform: scale(.96); }
.topbar__home:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.topbar__menu { margin-right: -4px; }
@media (min-width: 640px) {
    .topbar__inner { gap: 16px; }
}

/* === Przełącznik języka === */
.langswitch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--c-bg); flex-shrink: 0; }
.langswitch__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--c-white); box-shadow: 0 1px 4px rgba(20, 20, 20, .14); transition: transform .3s var(--ease); }
.langswitch.is-en .langswitch__thumb { transform: translateX(100%); }
.langswitch__btn { position: relative; z-index: 1; min-width: 46px; height: 38px; padding: 0; border: 0; background: transparent; font: 600 14px var(--f-body); color: var(--c-ink); cursor: pointer; border-radius: 999px; }

/* === Kroki (jak odebrać rabat) === */
.steps { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s var(--ease), opacity .25s ease; }
.steps.is-closing { grid-template-rows: 0fr; opacity: 0; }
.steps__clip { overflow: hidden; min-height: 0; }
.steps__box { margin-top: clamp(8px, 1.4vw, 14px); position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 18px 56px 18px 20px; border-radius: 20px; }
.steps__list { display: flex; flex-wrap: wrap; font-size: 15px; }
.steps__item { display: flex; align-items: center; gap: 8px; }
.steps__close { position: absolute; top: 50%; right: 8px; margin-top: -22px; background: transparent; color: var(--c-brand-deep); }
.steps__close:hover { background: rgba(0, 120, 93, .12); }

/* === Nawigacja kategorii === */
.chipnav { position: sticky; top: var(--header-h); z-index: 30; margin: 0 calc(-1 * var(--gutter)); background: rgba(242, 242, 242, .72); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); transition: box-shadow .25s ease; }
.chipnav.is-stuck { box-shadow: 0 10px 18px -16px rgba(20, 20, 20, .35); }
.chip { flex-shrink: 0; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; cursor: pointer; font: 500 15px var(--f-body); white-space: nowrap; background: var(--c-white); color: var(--c-ink); box-shadow: 0 0 0 0 transparent; transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .12s ease; }
.chip:hover { box-shadow: 0 0 0 1.5px var(--c-brand); }
.chip:active { transform: scale(.96); }
.chip__icon { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--c-brand); transition: stroke .2s ease; }
.chip__count { font-size: 13px; font-weight: 600; color: var(--c-muted-2); transition: color .2s ease; }
.chip[aria-pressed="true"] { background: var(--c-brand); color: var(--c-white); box-shadow: 0 6px 14px -10px rgba(0, 120, 93, .4); }
.chip[aria-pressed="true"] .chip__icon { stroke: var(--c-white); }
.chip[aria-pressed="true"] .chip__count { color: rgba(255, 255, 255, .8); }
.chip[aria-pressed="true"]:hover { box-shadow: 0 0 0 1.5px var(--c-brand); }

/* === Lista + mapa === */
.listmap { padding-top: clamp(24px, 3vw, 36px); }
.listmap__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.listmap__main { min-width: 0; }
.listmap__head { display: flex; gap: 6px 12px; margin-bottom: 18px; flex-wrap: wrap; }
@media (min-width: 1024px) {
    .listmap__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

/* lista miejsc */
.rowlist { background: var(--c-white); border-radius: var(--radius-lg); padding: 8px; box-shadow: var(--sh-card); }
.rowlist__empty { margin: 0; padding: 24px 16px; text-align: center; color: var(--c-muted); }
.rowitem { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: var(--radius-md); transition: background .18s ease; animation: rowIn .35s var(--ease-out) both; animation-delay: var(--d, 0ms); }
.rowitem.is-active { background: #F5F5F3; }
.rowitem:active { background: #EEEEEC; }
.rowitem__tile { position: relative; width: 64px; height: 64px; display: grid; place-items: center; text-align: center; transition: transform .3s var(--ease), background .2s ease; }
.rowitem__body { min-width: 0; }
.rowitem__name { font-family: var(--f-display); font-size: 18px; font-weight: 700; letter-spacing: -.005em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rowitem__name a { color: var(--c-ink); }
.rowitem__hit { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-md); }
.rowitem__offer { margin-top: 2px; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rowitem__meta { margin-top: 3px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-muted); flex-wrap: wrap; }
.rowitem__side { display: flex; align-items: center; gap: 10px; }
.rowitem__dist { text-align: right; line-height: 1.3; }
.rowitem__km { font-size: 15px; font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.rowitem__walk { font-size: 13.5px; color: var(--c-muted); white-space: nowrap; }
.rowitem__chev { flex-shrink: 0; opacity: .35; transition: transform .2s ease, opacity .2s ease; }
.rowitem.is-active .rowitem__chev { transform: translateX(3px); opacity: 1; }
@media (min-width: 640px) {
    .rowitem { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; }
    .rowitem__tile { width: 76px; height: 76px; }
}

/* plakietka sezonowa */
.tag { white-space: nowrap; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #FFF1D6; color: #7A4B00; }
.tag--urgent { background: #FDE3DE; color: #8A2414; }

/* karta mapy */
.mapcard { position: sticky; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-white); box-shadow: var(--sh-card); }
.mapcard__canvas { position: relative; min-height: 380px; background: #E9ECE8; }
.mapcard__map { position: absolute; inset: 0; }
.mapcard__legend { position: absolute; z-index: 500; top: 12px; left: 12px; display: flex; align-items: center; gap: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 16px rgba(20, 20, 20, .12); font-size: 13.5px; pointer-events: none; }
.mapcard__key { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.mapcard__home { width: 18px; height: 18px; border-radius: 50%; background: var(--c-brand); display: grid; place-items: center; }
.mapcard__pill { width: 22px; height: 14px; border-radius: 999px; background: var(--c-ink); display: grid; place-items: center; }
.mapcard__pill::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand); }
.mapcard__bar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; }
.mapcard__info { flex: 1; min-width: 0; }
.mapcard__title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.mapcard__count { font-size: 14px; color: var(--c-muted); }
.mapcard__btn { height: 44px; padding: 0 18px 0 14px; }

/* Leaflet */
.leaflet-container { font-family: var(--f-body); background: #E9ECE8; }
.leaflet-tile-pane { filter: saturate(.55) contrast(.95) brightness(1.03); }
.leaflet-bar { border: none !important; box-shadow: 0 4px 16px rgba(20, 20, 20, .14) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-bar a { width: 36px !important; height: 36px !important; line-height: 36px !important; color: var(--c-ink) !important; }
.mappin { display: flex; flex-direction: column; align-items: center; transform-origin: bottom center; transition: transform .2s ease; }
.mappin__label { display: flex; align-items: center; gap: 6px; padding: 6px 11px 6px 8px; border-radius: 999px; background: var(--c-ink); color: var(--c-white); font: 700 14px var(--f-body); letter-spacing: .01em; white-space: nowrap; box-shadow: 0 0 0 2.5px var(--c-white), 0 8px 18px rgba(20, 20, 20, .35); }
.mappin__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand); }
.mappin__tip { width: 0; height: 0; margin-top: -1px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--c-ink); filter: drop-shadow(0 2px 0 var(--c-white)); }
.mappin.is-active { transform: scale(1.14); }
.mappin.is-active .mappin__label { background: var(--c-brand-mid); }
.mappin.is-active .mappin__label::before { background: var(--c-white); }
.mappin.is-active .mappin__tip { border-top-color: var(--c-brand-mid); }
.mapapt { width: 48px; height: 48px; border-radius: 50%; background: var(--c-brand); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--c-white), 0 0 0 9px rgba(0, 178, 138, .25), 0 8px 18px rgba(20, 20, 20, .3); }

/* === Karuzela polecanych === */
.cardrail { padding-top: clamp(36px, 4.5vw, 56px); }
.cardrail__head { display: flex; gap: 12px; margin-bottom: 14px; }
.cardrail__heading { flex: 1; min-width: 0; }
.cardrail__nav { display: flex; gap: 6px; }
.cardrail__track { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin: -12px calc(-1 * var(--gutter)) -24px; padding: 12px var(--gutter) 34px; align-items: start; scroll-padding: 0 var(--gutter); }
.cardrail__dots { display: flex; justify-content: center; gap: 6px; padding-top: 4px; }
.cardrail__dot { width: 6px; height: 6px; border-radius: 999px; background: var(--c-dot); transition: width .3s var(--ease), background .3s ease; }
.cardrail__dot.is-active { width: 18px; background: var(--c-ink); }
@media (min-width: 640px) {
    .cardrail__track { grid-auto-columns: calc((100% - 20px) / 2.1); }
}
@media (min-width: 1024px) {
    .cardrail__track { grid-auto-columns: calc((100% - 40px) / 3); }
}

.railcard { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; padding: 14px; background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-card); transition: transform .28s var(--ease), box-shadow .28s ease; }
.railcard:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(20, 20, 20, .05), 0 10px 24px -16px rgba(20, 20, 20, .16); }
.railcard:active { transform: scale(.99); }
.railcard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius-md); flex-shrink: 0; }
.railcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.railcard.is-active .railcard__img, .railcard.is-active .railcard__zoom { transform: scale(1.04); }
.railcard__body { flex: 1; display: flex; flex-direction: column; padding: 18px 4px 2px; }
.railcard__cat { font-size: 14px; color: var(--c-muted); }
.railcard__name { margin-top: 2px; font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.railcard__name a { color: var(--c-ink); }
.railcard__hit { position: absolute; inset: 0; z-index: 1; }
.railcard__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 12px; }
.railcard__dist { flex: 1; min-width: 0; line-height: 1.3; }
.railcard__km { font-size: 15px; font-weight: 700; color: var(--c-ink); }
.railcard__walk { font-size: 13.5px; color: var(--c-muted); }
.railcard__go { position: relative; z-index: 2; }

/* === Stopka === */
.sitefoot__top { gap: 28px clamp(24px, 4vw, 56px); }
.sitefoot__brand { display: flex; flex-direction: column; gap: 14px; }
.sitefoot__info { display: flex; gap: 14px; align-items: flex-start; }
.sitefoot__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.sitefoot__info-title { font-size: 16px; font-weight: 700; }
.sitefoot__info-text { margin-top: 4px; font-size: 15px; line-height: 1.5; }
.sitefoot__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.sitefoot__bottom { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: center; gap: 8px 24px; font-size: 13.5px; }
.sitefoot__bottom > * { justify-self: center; text-align: center; }
.sitefoot__policy { font-weight: 500; text-decoration: underline; text-decoration-color: rgba(127, 127, 127, .4); text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.sitefoot__credit { display: inline-flex; align-items: center; gap: 10px; color: inherit; transition: color .2s ease; }
.sitefoot__credit img { height: 20px; width: auto; opacity: .7; transition: opacity .2s ease; }
.sitefoot__credit:hover img { opacity: 1; }
@media (max-width: 639.98px) {
    .sitefoot__bottom { grid-template-columns: 1fr; }
}
@media (min-width: 640px) {
    .sitefoot__bottom > :first-child { justify-self: start; }
    .sitefoot__bottom > :last-child { justify-self: end; }
}

/* === FAB mapy === */
.fab { position: fixed; z-index: 50; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); height: 52px; padding: 0 16px 0 18px; border: 0; border-radius: 999px; background: var(--c-ink); color: var(--c-white); font: 600 16px var(--f-body); display: flex; align-items: center; gap: 10px; cursor: pointer; box-shadow: 0 12px 30px -8px rgba(20, 20, 20, .5); transform: translate(-50%, 0); transition: transform .3s var(--ease), background .2s ease; }
.fab:hover { background: var(--c-brand-dark); }
.fab.is-hidden { transform: translate(-50%, 120px); }
.fab__count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; color: var(--c-white); font-size: 13px; font-weight: 700; display: grid; place-items: center; }

/* === Menu boczne (telefon) === */
.drawer { position: fixed; inset: 0; z-index: 70; pointer-events: none; visibility: hidden; transition: visibility 0s linear .42s; }
.drawer.is-open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.drawer__backdrop { position: absolute; inset: 0; background: var(--overlay); opacity: 0; transition: opacity .3s ease; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); display: flex; flex-direction: column; background: var(--c-white); border-radius: 28px 0 0 28px; box-shadow: -24px 0 60px -24px rgba(20, 20, 20, .35); padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); overflow-y: auto; transform: translateX(104%); transition: transform .42s var(--ease-sheet); }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 28px; }
.drawer__title { font-family: var(--f-display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.drawer__body { display: flex; flex-direction: column; gap: 32px; padding: 20px 24px 32px; }
.drawer__group { display: flex; flex-direction: column; gap: 12px; }
.drawer__label { margin: 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); }
.drawer__langs { display: flex; flex-direction: column; gap: 8px; }
.drawer__sep { height: 1px; background: var(--c-line-3); }
.drawer__foot { margin-top: auto; padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--c-line-3); }
.drawer__foot img { height: 30px; width: auto; align-self: flex-start; }
.drawer__note { font-size: 14px; line-height: 1.45; color: var(--c-muted); }

.langopt { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 18px 0 16px; border: 0; border-radius: 18px; cursor: pointer; text-align: left; font: 500 17px var(--f-body); color: var(--c-ink); background: #F7F7F5; box-shadow: inset 0 0 0 1px #EDEDEB; transition: background .2s ease, box-shadow .2s ease, transform .12s ease; }
.langopt:active { transform: scale(.98); }
.langopt__code { width: 36px; height: 36px; flex-shrink: 0; border-radius: 12px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.langopt__name { flex: 1; font-weight: 600; }
.langopt__dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-dot); transition: background .2s ease, box-shadow .2s ease; }
.langopt__dot svg { opacity: 0; transition: opacity .2s ease; }
.langopt[aria-checked="true"] { background: var(--c-mint); box-shadow: inset 0 0 0 1.5px var(--c-brand); }
.langopt[aria-checked="true"] .langopt__dot { background: var(--c-brand); box-shadow: none; }
.langopt[aria-checked="true"] .langopt__dot svg { opacity: 1; }

.homecard { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 16px; border-radius: 20px; background: var(--c-cream); box-shadow: inset 0 0 0 1px var(--c-cream-line); color: var(--c-ink); transition: background .2s ease, transform .12s ease; }
.homecard:hover { background: var(--c-mint); color: var(--c-ink); }
.homecard:active { transform: scale(.98); }
.homecard:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.homecard__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; background: var(--c-brand); color: var(--c-white); display: grid; place-items: center; }
.homecard__text { flex: 1; min-width: 0; line-height: 1.3; }
.homecard__title { display: block; font-size: 17px; font-weight: 700; }
.homecard__url { display: block; font-size: 14px; color: var(--c-muted); }

/* === Karta partnera + kupon === */
.sheet { position: fixed; inset: 0; z-index: 65; display: flex; justify-content: center; align-items: flex-end; padding: 0; }
.sheet__backdrop { position: absolute; inset: 0; background: var(--overlay); animation: fadeIn .25s ease both; transition: opacity .25s ease; }
.sheet__panel { position: relative; width: 100%; max-width: 560px; height: calc(100% - 24px); display: flex; flex-direction: column; background: var(--c-white); border-radius: 28px 28px 0 0; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(20, 20, 20, .5); animation: sheetIn .38s var(--ease-sheet) both; transition: transform .3s var(--ease-sheet), opacity .3s ease; }
.sheet.is-closing .sheet__backdrop { opacity: 0; }
.sheet.is-closing .sheet__panel { transform: translateY(40px); opacity: 0; }
.sheet__view { flex: 1; min-height: 0; display: flex; flex-direction: column; animation: fadeIn .3s ease both; }
.sheet__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 12px 0; }
.sheet__media { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #FBF8F3 0%, #F3ECE0 100%); display: grid; place-items: center; }
.sheet__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet__close { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, .94); box-shadow: 0 4px 14px -4px rgba(20, 20, 20, .25); }
.sheet__content { padding: 22px 12px 28px; display: flex; flex-direction: column; gap: 22px; }
.sheet__meta { font-size: 14px; color: var(--c-muted); }
.sheet__title { margin-top: 4px; font-family: var(--f-display); font-size: 30px; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.sheet__desc { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--c-text); text-wrap: pretty; }
.sheet__deal { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px; border-radius: 20px; background: var(--c-cream); box-shadow: inset 0 0 0 1px var(--c-cream-line); }
.sheet__badge { flex-shrink: 0; font-family: var(--f-display); font-size: 36px; font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--c-brand); }
.sheet__offer { font-family: var(--f-display); font-size: 17px; font-weight: 500; line-height: 1.3; }
.sheet__place { display: flex; align-items: center; gap: 14px; }
.sheet__pin { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; background: var(--c-bg); display: grid; place-items: center; }
.sheet__addr { flex: 1; min-width: 0; line-height: 1.35; }
.sheet__street { font-size: 16px; font-weight: 600; }
.sheet__walk { font-size: 14px; color: var(--c-muted); }
.sheet__go:hover { background: var(--c-mint); color: var(--c-ink); }
.sheet__label { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); }
.sheet__terms { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.sheet__terms li { display: flex; gap: 10px; }
.sheet__terms li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; flex-shrink: 0; border-radius: 50%; background: var(--c-brand); }
.sheet__foot { flex-shrink: 0; padding: 12px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line-3); }
.sheet__bar { height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; }
.sheet__bar-title { font-size: 15px; font-weight: 600; }
.sheet__bar-spacer { width: 44px; }
@media (min-width: 640px) {
    .sheet { align-items: center; padding: 24px; }
    .sheet__panel { height: min(92vh, 820px); border-radius: 28px; }
}

.coupon { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 28px 24px; }
.coupon__name { font-size: 15px; color: var(--c-muted); }
.coupon__badge { margin-top: 10px; font-family: var(--f-display); font-size: 76px; font-weight: 800; letter-spacing: -.045em; line-height: .95; color: var(--c-brand); }
.coupon__offer { margin-top: 10px; max-width: 30ch; font-family: var(--f-display); font-size: 19px; font-weight: 500; line-height: 1.3; text-wrap: balance; }
.coupon__box { margin-top: 28px; width: 100%; padding: 22px 16px; border-radius: 20px; background: var(--c-cream); box-shadow: inset 0 0 0 1.5px #E6DCCB; }
.coupon__label { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.coupon__code { margin-top: 8px; display: flex; justify-content: center; gap: 2px; font: 700 34px/1 var(--f-mono); letter-spacing: .06em; color: var(--c-ink); }
.coupon__clock { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.coupon__clock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand); box-shadow: 0 0 0 4px rgba(0, 178, 138, .2); }
.coupon__valid { margin-top: 6px; font-size: 14px; color: var(--c-muted); }
.coupon__hint { text-align: center; font-size: 15px; line-height: 1.4; color: var(--c-ink); }
.coupon__foot { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }

/* === Toast === */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--c-white); color: var(--c-ink); font-size: 15px; box-shadow: 0 0 0 1px var(--c-line-2), 0 16px 40px -12px rgba(20, 20, 20, .3); animation: toastIn .22s ease both; }
.toast:empty { display: none; }
.sheet__foot .btn { padding: 0; }

/* === Mapa pełnoekranowa (telefon; na desktopie „Pełna mapa”) === */
.mapview { position: fixed; inset: 0; z-index: 62; background: #E9ECE8; animation: fadeIn .25s ease both; transition: opacity .25s ease; --rail-h: 160px; }
.mapview.is-closing { opacity: 0; }
.mapview__map { position: absolute; inset: 0; }
.mapview__top { position: absolute; z-index: 500; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 12px 0; pointer-events: none; }
.mapview__top > * { pointer-events: auto; }
.mapview__btn, .mapview__btn:hover { background: var(--c-white); box-shadow: 0 4px 16px rgba(20, 20, 20, .16); }
.mapview__btn--apt { color: var(--c-brand-dark); }
.mapview__head { flex: 1; min-width: 0; padding: 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, .96); box-shadow: 0 4px 16px rgba(20, 20, 20, .12); line-height: 1.25; }
.mapview__title { font-family: var(--f-display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.mapview__count { font-size: 13px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mapview__chips { position: absolute; z-index: 500; top: calc(62px + env(safe-area-inset-top)); left: 0; right: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px 12px 12px; }
.mapview__chips .chip { flex-direction: row; height: 40px; min-height: 0; padding: 0 14px 0 12px; gap: 7px; border-radius: 999px; font-size: 14px; white-space: nowrap; box-shadow: 0 4px 14px -4px rgba(20, 20, 20, .25); }
.mapview__chips .chip:hover { box-shadow: 0 0 0 1.5px var(--c-brand), 0 4px 14px -4px rgba(20, 20, 20, .25); }
.mapview__chips .chip__icon { width: 16px; height: 16px; }
.mapview__rail { position: absolute; z-index: 500; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); }
.mapview .leaflet-bottom { bottom: calc(var(--rail-h) + env(safe-area-inset-bottom)); }
.mapview .leaflet-control-attribution { border-radius: 8px 0 0 8px; font-size: 10px; }

.mapmini { position: relative; flex: 0 0 min(calc(100vw - 52px), 360px); scroll-snap-align: start; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; background: var(--c-white); box-shadow: 0 10px 28px -12px rgba(20, 20, 20, .4); transition: box-shadow .2s ease; }
.mapmini[hidden] { display: none; }
.mapmini.is-active { box-shadow: 0 0 0 2px var(--c-brand), 0 10px 28px -12px rgba(20, 20, 20, .4); }
.mapmini .rowitem__tile { width: 64px; height: 64px; }
.mapmini__body { min-width: 0; }
.mapmini__name { font-family: var(--f-display); font-size: 17px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mapmini__name a { color: var(--c-ink); }
.mapmini__hit { position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
.mapmini__offer { margin-top: 1px; font-size: 14px; line-height: 1.35; color: var(--c-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mapmini__foot { margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--c-muted); }
.mapmini__foot strong { font-weight: 700; color: var(--c-ink); }
.mapmini__go, .mapmini__go:hover { position: relative; z-index: 2; background: var(--c-brand); color: var(--c-white); }
.mapmini__go:hover { background: var(--c-brand-dark); color: var(--c-white); }
@media (min-width: 640px) {
    .mapview__top { padding: 16px 18px 0; }
    .mapview__head { flex: 0 1 auto; }
    .mapview__chips { top: 72px; padding: 4px 18px 12px; }
    .mapview__rail { padding: 8px 18px 20px; scroll-padding: 0 18px; }
    .mapmini { flex-basis: 340px; }
}
.mapview:not([hidden]) ~ .variantswitch { display: none; }

/* Rolka partnera na Instagramie (link, bez osadzania odtwarzacza Meta) */
.sheet__reel { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 18px; background: var(--c-white); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line); transition: box-shadow .2s ease, background .2s ease; }
.sheet__reel:hover { color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-brand); background: #FBFDFC; }
.sheet__reel-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; color: var(--c-white); background: radial-gradient(circle at 30% 110%, #FFD776 0%, #F77737 30%, #E1306C 60%, #833AB4 100%); }
.sheet__reel-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sheet__reel-title { font-size: 16px; font-weight: 600; }
.sheet__reel-sub { font-size: 13.5px; color: var(--c-muted); }
.sheet__reel > svg { flex-shrink: 0; opacity: .5; transition: opacity .2s ease, transform .2s ease; }
.sheet__reel:hover > svg { opacity: 1; transform: translate(2px, -2px); }
/* Wariant B — zdjęciowy baner, kafle kategorii, ciemna stopka */

/* === Hero (baner) === */
.herobanner { padding-top: clamp(16px, 2vw, 20px); }
.herobanner__card { position: relative; height: clamp(260px, 30vw, 380px); border-radius: var(--radius-lg); overflow: hidden; background: #C9B79A; isolation: isolate; }
.herobanner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; animation: heroIn 2.4s var(--ease-out) both; }
.herobanner__img { filter: brightness(1.14) saturate(1.06); }
/* jaśniejsze zdjęcie: przyciemnienie tylko pod tekstem */
.herobanner__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 58% 62% at 50% 50%, rgba(8, 32, 26, .44) 0%, rgba(8, 32, 26, .2) 55%, rgba(8, 32, 26, 0) 100%); }
.herobanner__body { position: absolute; inset: 0; padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; animation: heroText .8s .2s var(--ease-out) both; }
.herobanner__title { max-width: 16ch; margin: 0 auto; font-family: var(--f-display); font-weight: 800; font-size: clamp(min(36px, 9.24vw), 5.6vw, 76px); line-height: 1; letter-spacing: -.035em; color: var(--c-white); text-shadow: 0 2px 30px rgba(8, 32, 26, .35); text-wrap: balance; }
.herobanner__title span { color: var(--c-brand-light); }
.herobanner__lead { margin-top: 14px; font-size: clamp(17px, 1.9vw, 24px); font-weight: 500; color: var(--c-white); opacity: .95; }

/* === Nawigacja kategorii (pasek → kafle na desktopie) === */
.chipnav { padding: 12px 0; }
.chipnav__track { display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px var(--gutter); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%); }
.chip { position: relative; line-height: 1.2; text-align: center; }
.chip__label { text-wrap: balance; }
@media (min-width: 1024px) {
    .chipnav__track { display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); -webkit-mask-image: none; mask-image: none; }
    .chip { flex-direction: column; justify-content: center; height: auto; min-height: 86px; padding: 14px 12px 12px; border-radius: 20px; white-space: normal; }
    .chip__icon { width: 24px; height: 24px; }
}

/* === Kroki === */
.steps__box { background: var(--c-mint); }
.steps__title { font-size: 15px; font-weight: 700; color: var(--c-brand-deep); }
.steps__list { gap: 8px 18px; color: var(--c-brand-deep); }
.steps__num { width: 24px; height: 24px; border-radius: 50%; background: var(--c-brand-mid); color: var(--c-white); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
@media (min-width: 640px) {
    .steps__box { padding: 14px 56px 14px 18px; }
}

/* === Lista === */
.listmap__head { align-items: flex-end; }
.listmap__heading { flex: 1 1 auto; min-width: 0; }
.rowitem__tile { border-radius: 14px; overflow: hidden; background: linear-gradient(140deg, var(--c-mint) 0%, #D2EFE5 100%); }
.rowitem__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rowitem__icon { width: 28px; height: 28px; transition: transform .3s ease; }
.rowitem.is-active .rowitem__img, .rowitem.is-active .rowitem__icon { transform: scale(1.06); }
.rowitem__offer { color: var(--c-brand-dark); }
.rowitem__offer strong { font-weight: 700; }

.mapcard { top: 196px; }
.mapcard__canvas { height: calc(100vh - 300px); }

/* === Polecane === */
.cardrail__head { align-items: flex-end; }
.railcard__media { background: var(--c-mint); }
.railcard__zoom { position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, var(--c-brand) 0%, var(--c-brand-dark) 45%, var(--c-brand-deep) 100%); transition: transform .7s var(--ease-out); }
.railcard__icon { position: absolute; right: -28px; bottom: -34px; width: 190px; height: 190px; }
.railcard__deal { position: absolute; left: 20px; right: 20px; bottom: 18px; pointer-events: none; }
.railcard__bigbadge { font-family: var(--f-display); font-weight: 800; font-size: clamp(52px, 5vw, 68px); line-height: .9; letter-spacing: -.04em; color: var(--c-white); }
.railcard__dealtext { margin-top: 6px; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .92); max-width: 22ch; }
.railcard__badge { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; background: var(--c-brand-mid); color: var(--c-white); font: 700 15px var(--f-body); pointer-events: none; }
.railcard__season { position: absolute; top: 12px; right: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(20, 20, 20, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--c-white); font-size: 13px; font-weight: 600; pointer-events: none; }
.railcard__body { padding-top: 16px; }
.railcard__offer { margin-top: 6px; min-height: 2.8em; font-size: 15.5px; font-weight: 500; color: var(--c-brand-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.railcard__go:hover { background: var(--c-brand-mid); }
.cardrail.is-empty { display: none; }

/* === Stopka (jasna) === */
.sitefoot__inner { margin-top: clamp(16px, 2.5vw, 28px); border-top: 1px solid var(--c-line-4); color: var(--c-ink); }
.sitefoot__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: start; padding: clamp(28px, 4vw, 44px) 0; }
.sitefoot__brand img { height: 38px; width: auto; align-self: flex-start; }
.sitefoot__claim { font-family: var(--f-display); font-size: 20px; font-weight: 500; line-height: 1.25; max-width: 28ch; text-wrap: balance; }
.sitefoot__claim span { font-weight: 700; color: var(--c-brand); white-space: nowrap; }
.sitefoot__icon { background: var(--c-mint); color: var(--c-brand-dark); }
.sitefoot__info-text { color: var(--c-muted); }
.sitefoot__actions { justify-self: start; width: 100%; }
.sitefoot__bottom { padding: 16px 0 8px; border-top: 1px solid var(--c-line-4); color: var(--c-muted); }
.sitefoot__policy { color: var(--c-ink); }
.sitefoot__policy:hover { color: var(--c-brand-dark); text-decoration-color: var(--c-brand-dark); }
.sitefoot__credit, .sitefoot__credit:hover { color: var(--c-muted); }
.sitefoot__credit img { opacity: 1; }
@media (min-width: 640px) {
    .sitefoot__actions { width: min(100%, 260px); }
}
@media (min-width: 1024px) {
    .sitefoot__actions { justify-self: end; }
}

.fab__count { background: var(--c-brand-mid); }

.mapmini__offer { color: var(--c-brand-dark); }
.mapmini__offer strong { font-weight: 700; }

.sitefoot__actions .btn--brand { gap: 10px; }
.sitefoot__actions .btn--outline { padding: 0 16px 0 12px; }
/* czytelność tekstu na jaśniejszym zdjęciu */
.herobanner__title, .herobanner__lead { text-shadow: 0 1px 2px rgba(8, 32, 26, .5), 0 2px 26px rgba(8, 32, 26, .6); }

/* === Native Guide (WordPress): oferty z datami, strona partnera, zgody, stany puste === */
.emptynote { margin: 8px 0 24px; padding: 22px 20px; border-radius: 20px; background: var(--c-white); color: var(--c-muted); font-size: 16px; line-height: 1.5; text-align: center; box-shadow: var(--sh-ring); }
.sheet__desc p + p, .sheet__howto p + p { margin-top: 10px; }
.sheet__offerbox { display: flex; flex-direction: column; gap: 18px; }
.sheet__offerbox--extra { padding-top: 22px; border-top: 1px dashed var(--c-line); }
.sheet__when { margin-top: -8px; }
.sheet__howto { font-size: 15.5px; line-height: 1.55; color: var(--c-text); text-wrap: pretty; }
.sheet__media--logo { background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-3); }
.sheet__media img.sheet__logo { position: static; width: auto; max-width: 62%; height: auto; max-height: 56%; object-fit: contain; }
.sheet__reel[data-type="website"] .sheet__reel-icon { background: var(--c-brand); }
.sheet__reel-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coupon__code { flex-wrap: wrap; }
.coupon__code--long { font-size: clamp(22px, 7vw, 30px); }
.sitefoot__linkbtn { padding: 0; border: 0; background: none; font: inherit; color: var(--c-ink); cursor: pointer; }
.consent { position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; padding: 16px 18px; border-radius: 20px; background: var(--c-white); box-shadow: 0 18px 50px -12px rgba(20, 20, 20, .35), 0 0 0 1px var(--c-line-2); display: flex; flex-direction: column; gap: 12px; animation: fadeIn .3s ease both; }
.consent__text { font-size: 14px; line-height: 1.5; color: var(--c-text); }
.consent__text a { margin-left: 4px; text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent__actions .btn { min-width: 112px; }

/* Galeria zdjęć w karcie partnera (uwaga klientki 02.11.2026) */
.gallery { position: absolute; inset: 0; }
.gallery__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline: 3px solid var(--c-brand); outline-offset: -3px; }
.gallery__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.sheet__media .gallery__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__count { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(20, 20, 20, .62); color: #fff; font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .02em; pointer-events: none; font-variant-numeric: tabular-nums; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .94); box-shadow: 0 4px 14px -4px rgba(20, 20, 20, .25); }
.gallery__nav[hidden] { display: none; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
@media (hover: none) { .gallery__nav { display: none; } }
.gallery__nav:active { transform: translateY(-50%) scale(.92); }
