/* tipnatop.com — makieta strony głównej, wersja 1 (3.10.2026)
   Kolory, kroje i elementy według planu portalu, rozdział 5. */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-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: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/poppins-800-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: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/poppins-800-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: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/anton-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/anton-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 {
  --coral: #F85C71;
  --coral-2: #E63A4F;
  --rasp: #D42A42;
  --rasp-2: #B81F37;
  --ink: #202020;
  --text: #2A2C33;
  --muted: #5E6371;
  --line: #E2E4EA;
  --bg: #F0F1F5;
  --rose: #FFF0F2;
  --gold: #FFC531;
  --gold-ink: #A06E00;
  --r-card: 16px;
  --r-btn: 12px;
  --shadow: 0 1px 2px rgba(20, 22, 30, .05), 0 8px 20px -10px rgba(20, 22, 30, .16);
  --shadow-up: 0 2px 4px rgba(20, 22, 30, .06), 0 18px 32px -14px rgba(20, 22, 30, .26);
  --wrap: 1312px;
  --gut: 16px;
  --head-h: 60px;
  --pano-out: 92px;
  --sec: 36px;
  --font-h: "Poppins", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--text); background: var(--bg); padding-bottom: calc(68px + env(safe-area-inset-bottom)); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #1B4FD6; outline-offset: 2px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
@media (max-width: 1079px) { .only-d { display: none !important; } }
@media (min-width: 1080px) { .only-m { display: none !important; } }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: var(--r-btn); font-family: var(--font-h); font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; transition: background-color .15s, box-shadow .15s, color .15s; }
.btn .i { width: 18px; height: 18px; stroke-width: 2.5; }
.btn-primary { background: var(--rasp); color: #fff; }
.btn-primary:hover { background: var(--rasp-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--rasp); }
.btn-light:hover { background: var(--rose); }
.btn-ghost { background: #fff; color: var(--rasp); box-shadow: inset 0 0 0 1.5px var(--rasp); }
.btn-ghost:hover { background: var(--rose); }
.btn-block { display: flex; width: 100%; }
.btn-more { display: flex; width: 100%; max-width: 280px; margin: 24px auto 0; }

/* ---------- nagłówek ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; height: var(--head-h); }
/* logo WSZYSTKO TIP NA TOP według obrazka Zamawiającego z 9.10 (róż #FE3994) */
.logo { --lg: 34px; display: inline-flex; flex-direction: column; align-items: center; gap: calc(var(--lg) * .07); color: var(--ink); line-height: 1; }
.lg-w { font-family: var(--font-h); font-weight: 700; font-size: calc(var(--lg) * .3); letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; }
.lg-m { display: flex; align-items: flex-end; font-family: 'Anton', var(--font-h); font-size: var(--lg); letter-spacing: .005em; text-transform: uppercase; }
.lg-m b { font-weight: 400; }
.lg-top { color: #FE3994; }
.lg-na { position: relative; align-self: center; margin: 0 .06em 0 .08em; font-size: .32em; letter-spacing: .02em; color: #FE3994; transform: translateY(.36em); }
.lg-na svg { position: absolute; left: -.1em; bottom: -.62em; width: calc(100% + .2em); height: .5em; fill: none; stroke: #FE3994; stroke-width: 3.2; stroke-linecap: round; overflow: visible; }
.hdr-nav, .hdr-act { display: none; }
.hdr-icons { display: flex; gap: 2px; margin-left: auto; margin-right: -8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.icon-btn:hover { background: var(--bg); }
.icon-btn .i { width: 23px; height: 23px; }

/* ---------- hasło ---------- */
.hero { position: relative; isolation: isolate; color: #fff; padding-top: 22px; }
.hero-bg { position: absolute; inset: 0 0 var(--pano-out) 0; z-index: -1; overflow: hidden; background: linear-gradient(140deg, #FA6479 0%, var(--coral) 38%, var(--coral-2) 100%); }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; border-radius: 50%; }
.hero-bg::before { width: 560px; height: 560px; right: -210px; top: -260px; background: rgba(255, 255, 255, .10); }
.hero-bg::after { width: 380px; height: 380px; left: -190px; bottom: -230px; background: rgba(255, 255, 255, .08); }
.hero-dots { position: absolute; right: 7%; bottom: calc(var(--pano-out) + 70px); width: 132px; height: 84px; background: radial-gradient(rgba(255, 255, 255, .35) 1.6px, transparent 1.9px) 0 0 / 14px 14px; display: none; }

.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pill { display: none; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .22); font-size: 13px; font-weight: 600; letter-spacing: .01em; margin-bottom: 14px; }
.pill .i { width: 15px; height: 15px; }
.hero h1 { font-family: var(--font-h); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 16px; }

.find { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.find-f { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; background: #fff; border-radius: 12px; color: var(--muted); cursor: text; }
.find-f .i { width: 21px; height: 21px; }
.find-q { grid-column: 1 / -1; }
.find-f input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.find-f input::placeholder { color: #80869A; opacity: 1; }
.find-f:focus-within { box-shadow: 0 0 0 3px rgba(32, 32, 32, .3); }
.find .btn { height: 52px; padding: 0 24px; font-size: 16px; }

.add { position: relative; }
.add h2 { font-family: var(--font-h); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.015em; margin-bottom: 12px; }
.add p, .add-types, .add-photo { display: none; }
.add .btn { height: 50px; font-size: 16px; }
.btn-add { width: 100%; background: #fff; color: var(--rasp); }
.btn-add:hover { background: var(--rose); }

.dzialy { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 22px calc(var(--gut) * -1) 0; padding: 0 var(--gut); }
.dzialy::-webkit-scrollbar { display: none; }
.dzialy a { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; }
.dzialy a .i { width: 17px; height: 17px; color: var(--rasp); }
.dzialy a.on { background: var(--ink); color: #fff; }

/* ---------- panorama kategorii ---------- */
.pano { margin-top: 26px; }
.pano-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pano-hd h2 { font-family: var(--font-h); font-weight: 700; font-size: 20px; letter-spacing: -.015em; }
.pano-nav { display: none; gap: 8px; }
.pano-nav button { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--rasp); display: grid; place-items: center; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .25); transition: opacity .15s, transform .15s; }
.pano-nav button:hover { transform: scale(1.06); }
.pano-nav button[disabled] { opacity: .5; cursor: default; transform: none; }
.pano-nav .i { width: 21px; height: 21px; stroke-width: 2.4; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 124px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 6px; scroll-padding: 0 var(--gut); }
.strip::-webkit-scrollbar { display: none; }
.panel { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; scroll-snap-align: start; background: #C9CCD6; box-shadow: 0 10px 24px -12px rgba(30, 10, 20, .45); }
.panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .72) 100%); }
.panel span { position: absolute; left: 12px; right: 10px; bottom: 11px; z-index: 1; color: #fff; font-family: var(--font-h); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: -.01em; }
.panel:hover img { transform: scale(1.06); }

/* ---------- układ ---------- */
.layout { padding-top: 30px; }
.sec { margin-top: var(--sec); }
.sec:first-child { margin-top: 0; }
.sec-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-hd h2 { display: flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.sec-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--rose); color: var(--rasp); flex: none; }
.sec-ic .i { width: 18px; height: 18px; stroke-width: 2.2; }
.sec-ic.gold { background: #FFF4D6; color: var(--gold-ink); }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--rasp); white-space: nowrap; padding: 8px 0; }
.more .i { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .15s; }
.more:hover .i { transform: translateX(3px); }

/* ---------- karta wpisu ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 14px; scroll-padding: 0 var(--gut); }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }

.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-up); transform: translateY(-2px); }
.card.promo { box-shadow: var(--shadow), inset 0 0 0 2px var(--gold); }
.card > a { display: flex; flex-direction: column; flex: 1; }
.card-img { position: relative; aspect-ratio: 4 / 3; background: #D9DCE3; overflow: hidden; }
.card.promo .card-img { margin: 2px 2px 0; border-radius: 14px 14px 0 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-b { display: flex; flex-direction: column; gap: 3px; padding: 11px 12px 12px; flex: 1; }
.card-t { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 2); }
.card-x { font-family: var(--font-h); font-size: 16px; font-weight: 700; color: var(--rasp); letter-spacing: -.01em; margin-top: 2px; }
.card-x small { font-size: 13px; font-weight: 600; }
.card-x.when { font-family: var(--font); font-size: 14px; font-weight: 700; }
.card-x.when, .card-x.cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-x.cat { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--ink); }
.card-m { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-st { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--muted); }
.card-st span { display: inline-flex; align-items: center; gap: 4px; }
.card-st .i { width: 15px; height: 15px; }
.st-h .i { color: var(--rasp); fill: var(--rasp); }
.st-t .i { color: var(--gold-ink); }

.stk { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; }
.stk .i { width: 13px; height: 13px; stroke-width: 2.6; }
.stk-promo { top: 10px; left: 10px; background: var(--gold); color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.stk-new { top: 10px; left: 10px; background: var(--ink); color: #fff; }
.stk-typ { bottom: 10px; left: 10px; background: rgba(24, 24, 28, .74); color: #fff; font-weight: 600; backdrop-filter: blur(4px); }
.dzien { position: absolute; z-index: 1; left: 10px; bottom: 10px; min-width: 46px; padding: 6px 8px 5px; border-radius: 10px; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); line-height: 1; }
.dzien b { display: block; font-family: var(--font-h); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.dzien span { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--rasp); letter-spacing: .04em; }
.vid { position: absolute; z-index: 1; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5); }
.vid .i { width: 20px; height: 20px; margin-left: 3px; }

.like { position: absolute; z-index: 2; top: 6px; right: 6px; width: 44px; height: 44px; display: grid; place-items: center; }
.like::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 8px rgba(0, 0, 0, .16); }
.like .i { position: relative; width: 19px; height: 19px; color: var(--rasp); stroke-width: 2.2; transition: transform .15s; }
.like[aria-pressed="true"] .i { fill: var(--rasp); }
.like:active .i { transform: scale(.85); }
.card.promo .like { top: 8px; right: 8px; }

/* ---------- shorty ---------- */
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: 36%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 6px; scroll-padding: 0 var(--gut); }
.shelf::-webkit-scrollbar { display: none; }
.shorts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.short { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #3A3D46; color: #fff; scroll-snap-align: start; box-shadow: var(--shadow); }
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, .78) 100%); }
.short:hover img { transform: scale(1.05); }
.short-play { position: absolute; z-index: 1; left: 50%; top: 44%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, .26); backdrop-filter: blur(6px); display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .7); }
.short-play .i { width: 17px; height: 17px; margin-left: 3px; color: #fff; }
.short-b { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 3px; }
.short-t { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.short-m { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.short-m .i { width: 13px; height: 13px; fill: #fff; stroke: #fff; }
.short-rank { position: absolute; z-index: 1; top: 8px; left: 8px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; background: rgba(255, 255, 255, .94); color: var(--ink); font-family: var(--font-h); font-weight: 800; font-size: 13px; display: grid; place-items: center; }

/* ---------- zakładki działów ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 16px; padding: 0 var(--gut); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.tabs button:hover { box-shadow: inset 0 0 0 1px #C5C9D3; }
.tabs button.on { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- reklamy ---------- */
.ad { margin-top: var(--sec); }
.ad-lab { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.ad-box { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; color: #fff; background: #2A2C33; }
.ad-box > img { width: 100%; height: 100%; object-fit: cover; }

.ad-wide .ad-box { aspect-ratio: 2 / 1; }
.ad-wide .ad-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 14, 20, .86) 0%, rgba(36, 14, 20, .62) 48%, rgba(36, 14, 20, .05) 85%); }
.ad-wide .ad-tx { position: absolute; z-index: 1; left: 18px; top: 50%; transform: translateY(-50%); max-width: 66%; }
.ad-tx, .ad-brand, .ad-line { display: block; }
.ad-brand { font-family: var(--font-h); font-weight: 800; font-size: 21px; line-height: 1.1; letter-spacing: -.02em; }
.ad-brand em { display: block; font-style: normal; font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FFD7DD; margin-bottom: 4px; }
.ad-line { font-size: 14px; line-height: 1.35; margin-top: 6px; color: rgba(255, 255, 255, .92); }
.ad-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; height: 38px; padding: 0 14px; border-radius: 10px; background: #fff; color: #7A1C2C; font-size: 14px; font-weight: 700; }
.ad-btn .i { width: 16px; height: 16px; stroke-width: 2.4; }

.ad-inlist .ad-box { display: grid; grid-template-columns: 1fr; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.ad-inlist .ad-box > img { aspect-ratio: 2 / 1; height: auto; }
.ad-inlist .ad-tx { padding: 16px 16px 18px; }
.ad-inlist .ad-brand { font-size: 19px; }
.ad-inlist .ad-brand em { color: #1E6F5C; }
.ad-inlist .ad-line { color: var(--muted); }
.ad-inlist .ad-btn { background: #1E6F5C; color: #fff; }

.ad-tall .ad-box { aspect-ratio: 6 / 5; }
.ad-tall .ad-box > img { object-position: 50% 62%; }
.ad-tall .ad-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 10, 6, .82) 0%, rgba(20, 10, 6, .45) 34%, rgba(20, 10, 6, 0) 60%); }
.ad-tall .ad-tx { position: absolute; z-index: 1; left: 18px; right: 18px; top: 18px; }
.ad-tall .ad-brand { font-size: 26px; }
.ad-tall .ad-brand em { color: #FFD08A; }
.ad-tall .ad-btn { background: #FFB21E; color: #2A1600; }
.ad-tall .ad-badge { position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 86px; height: 86px; border-radius: 50%; background: #fff; color: #A3281A; display: grid; place-items: center; text-align: center; font-family: var(--font-h); font-weight: 800; font-size: 20px; line-height: 1; transform: rotate(-10deg); box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); }
.ad-tall .ad-badge small { display: block; font-size: 12px; font-weight: 700; margin-top: 3px; }

/* ---------- W ten weekend ---------- */
.wk-row .card-t { min-height: 0; }
.box { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 18px 18px 8px; }
.box .sec-hd { margin-bottom: 6px; }
.box .sec-hd h2 { font-size: 18px; }
.box-sub { font-size: 13px; color: var(--muted); margin: -2px 0 6px 42px; }
.ev { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.ev:first-of-type { border-top: 0; }
.ev img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.ev-d, .ev-m { display: block; }
.ev-d { font-size: 12px; font-weight: 700; color: var(--rasp); letter-spacing: .03em; text-transform: uppercase; }
.ev-t { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-m { font-size: 13px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev:hover .ev-t { color: var(--rasp); }
.box-more { display: flex; justify-content: center; border-top: 1px solid var(--line); margin: 0 -18px; padding: 4px 0; }

/* ---------- blog ---------- */
.posts { display: grid; gap: 12px; }
.post { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; align-items: center; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 10px; transition: box-shadow .2s; }
.post:hover { box-shadow: var(--shadow-up); }
.post-img { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #D9DCE3; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-k { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--rasp); }
.post h3 { font-family: var(--font-h); font-weight: 600; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); margin-top: 3px; }
.post p.post-x { display: none; }
.post-m { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- stopka ---------- */
.foot { margin-top: 48px; background: var(--ink); color: #C4C7D0; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 36px; padding-bottom: 28px; }
.foot-brand { grid-column: 1 / -1; }
.foot .logo { color: #fff; }
.foot-brand p { margin-top: 12px; max-width: 360px; line-height: 1.55; }
.foot-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 600; }
.foot-mail .i { width: 18px; height: 18px; color: var(--coral); }
.foot h3 { font-family: var(--font-h); font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot ul a { display: inline-block; padding: 4px 0; }
.foot ul a:hover, .foot-bar a:hover { color: #fff; }
.foot-cities ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.foot-cities { grid-column: 1 / -1; }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 16px; padding-bottom: 18px; font-size: 13px; color: #9EA2AE; }

/* ---------- dolny pasek ---------- */
.tabbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px -12px rgba(0, 0, 0, .25); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 52px; justify-content: flex-end; padding-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.tabbar a .i { width: 24px; height: 24px; stroke-width: 1.9; }
.tabbar a.on { color: var(--rasp); }
.tabbar a.on .i { stroke-width: 2.3; }
.tab-add span { width: 52px; height: 52px; margin-top: -24px; border-radius: 50%; background: var(--rasp); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(212, 42, 66, .65), 0 0 0 4px #fff; }
.tabbar .tab-add .i { width: 26px; height: 26px; stroke-width: 2.6; }
.tabbar .tab-add { color: var(--ink); }

/* =================== tablet =================== */
@media (min-width: 640px) {
  :root { --gut: 24px; --sec: 44px; --pano-out: 104px; }
  .hero h1 { font-size: 38px; }
  .pill { display: inline-flex; }
  .find { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; }
  .find-q { grid-column: auto; }
  .strip { grid-auto-columns: 150px; gap: 12px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .row { grid-auto-columns: 31%; gap: 16px; }
  .shelf { grid-auto-columns: 22%; gap: 12px; }
  .shorts { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .ad-wide .ad-box { aspect-ratio: 3 / 1; }
  .ad-wide .ad-tx { left: 28px; max-width: 55%; }
  .ad-brand { font-size: 26px; }
  .ad-inlist .ad-box { grid-template-columns: 42% 1fr; align-items: center; }
  .ad-inlist .ad-box > img { aspect-ratio: auto; height: 100%; min-height: 190px; }
  .ad-inlist .ad-tx { padding: 20px 26px; }
  .ad-tall .ad-box { aspect-ratio: 16 / 7; }
  .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .post { display: block; padding: 0; overflow: hidden; }
  .post-img { aspect-ratio: 16 / 9; border-radius: 0; }
  .post-b { padding: 14px 16px 18px; }
  .post h3 { font-size: 17px; margin-top: 6px; }
  .post p.post-x { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 8px; }
  .foot-in { grid-template-columns: 2fr 1fr 1fr; }
  .foot-cities { grid-column: auto; }
  .foot-brand { grid-column: 1 / -1; }
}

/* =================== komputer =================== */
@media (min-width: 1080px) {
  :root { --head-h: 74px; --pano-out: 112px; --sec: 52px; }
  body { padding-bottom: 0; }
  .tabbar { display: none; }

  .logo { --lg: 40px; }
  .hdr-in { gap: 28px; }
  .hdr-nav { display: flex; gap: 2px; }
  .hdr-nav a { padding: 10px 11px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
  .hdr-nav a:hover { color: var(--rasp); background: var(--rose); }
  .hdr-act { display: flex; align-items: center; gap: 6px; margin-left: auto; }
  .hdr-login { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
  .hdr-login:hover { background: var(--bg); }
  .hdr-login .i { width: 20px; height: 20px; }
  .hdr-act .btn { height: 46px; }
  .hdr-icons { display: none; }

  .hero { padding-top: 54px; }
  .hero-dots { display: block; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; }
  .hero h1 { font-size: 54px; margin-bottom: 26px; }
  .find { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) auto; gap: 0; background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 22px 44px -22px rgba(80, 0, 20, .55); }
  .find-f { height: 58px; border-radius: 12px; padding: 0 18px; }
  .find-c { box-shadow: inset 1px 0 0 var(--line); border-radius: 0 12px 12px 0; }
  .find-f:focus-within { box-shadow: 0 0 0 2px var(--ink); }
  .find .btn { height: 58px; padding: 0 30px; margin-left: 8px; }

  .add { padding: 18px 0 30px; }
  .add-card { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: 22px; padding: 28px 28px 26px; box-shadow: 0 30px 60px -28px rgba(80, 0, 20, .6); }
  .add h2 { font-size: 25px; margin-bottom: 8px; }
  .add p { display: block; font-size: 15px; color: var(--muted); line-height: 1.5; }
  .add-types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 20px 0 22px; }
  .add-types a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 2px 9px; border-radius: 12px; font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; color: var(--ink); transition: background-color .15s; }
  .add-types a:hover { background: var(--rose); }
  .add-types span { width: 44px; height: 44px; border-radius: 13px; background: var(--rose); color: var(--rasp); display: grid; place-items: center; }
  .add-types .i { width: 21px; height: 21px; }
  .add .btn { height: 52px; }
  .btn-add { background: var(--rasp); color: #fff; }
  .btn-add:hover { background: var(--rasp-2); }
  .add-photo { display: block; position: absolute; width: 124px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 18px 36px -14px rgba(60, 0, 15, .6); }
  .add-photo img { width: 100%; height: 100%; object-fit: cover; }
  .add-photo.p1 { left: -64px; top: -6px; transform: rotate(-9deg); }
  .add-photo.p2 { right: -46px; bottom: -4px; transform: rotate(8deg); width: 112px; }

  .dzialy { display: none; }
  .pano { margin-top: 46px; }
  .pano-hd { margin-bottom: 16px; }
  .pano-hd h2 { font-size: 23px; }
  .pano-nav { display: flex; }
  .strip { grid-auto-columns: calc((100% - 6 * 14px) / 7); gap: 14px; margin: 0; padding: 0 0 8px; overflow-x: hidden; scroll-behavior: smooth; }
  .panel span { font-size: 16px; left: 14px; bottom: 13px; }

  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; padding-top: 44px; }
  .sec-hd { margin-bottom: 16px; }
  .sec-hd h2 { font-size: 23px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .row { display: grid; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; overflow: visible; margin: 0; padding: 0; }
  .row > :nth-child(n+4) { display: none; }
  .shelf { grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; margin: 0; padding: 0 0 4px; }
  .shorts { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .shorts > :nth-child(n+6) { display: none; }
  .tabs { margin: 0 0 18px; padding: 0; }
  .ad-wide .ad-box { aspect-ratio: auto; height: 228px; }
  .ad-wide .ad-tx { left: 36px; }
  .ad-brand { font-size: 30px; }
  .ad-line { font-size: 15px; }

  .side { align-self: stretch; }
  .side .box { margin-bottom: 24px; }
  .side-stick { position: sticky; top: calc(var(--head-h) + 20px); }
  .ad-tall { margin-top: 0; }
  .ad-tall .ad-box { aspect-ratio: auto; width: 300px; height: 600px; }
  .ad-tall .ad-box > img { object-position: 50% 50%; }
  .ad-tall .ad-box::after { background: linear-gradient(180deg, rgba(20, 10, 6, .86) 0%, rgba(20, 10, 6, .5) 30%, rgba(20, 10, 6, 0) 52%, rgba(20, 10, 6, 0) 74%, rgba(20, 10, 6, .55) 100%); }
  .ad-tall .ad-tx { top: 26px; left: 24px; right: 24px; }
  .ad-tall .ad-brand { font-size: 32px; }
  .ad-tall .ad-badge { right: 20px; bottom: 22px; width: 98px; height: 98px; font-size: 23px; }

  .sec-blog { margin-top: 64px; }
  .foot { margin-top: 72px; }
  .foot-in { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; padding-top: 52px; padding-bottom: 40px; gap: 32px; }
  .foot-brand { grid-column: auto; }
}

@media (min-width: 1280px) {
  .grid, .row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row > :nth-child(4) { display: flex; }
  .shelf { grid-auto-columns: calc((100% - 5 * 14px) / 6); }
  .shorts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .shorts > :nth-child(6) { display: block; }
}

/* Najnowsze: przy trzech kolumnach dwa pełne rzędy zamiast niepełnego trzeciego */
@media (min-width: 640px) and (max-width: 1279px) {
  .grid > :nth-child(n+7) { display: none; }
}

/* ---------- warianty nagłówka do wyboru przez Zamawiającego (podgląd makiety) ---------- */
.warianty { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px var(--gut); background: #16161A; color: #C4C7D0; font-size: 13px; white-space: nowrap; }
.warianty::-webkit-scrollbar { display: none; }
.warianty-t { font-weight: 600; margin-right: 4px; }
.warianty button { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; color: #E9EAEE; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: 13px; font-weight: 600; }
.warianty button:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.warianty button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: none; }
@media (min-width: 1080px) { .warianty { justify-content: center; } }

.add-osoba { display: none; }
.v-fiolet .add-photo, .v-niebieski .add-photo, .v-osoba .add-photo { display: none; }
.v-fiolet .hero-bg::before, .v-fiolet .hero-bg::after, .v-fiolet .hero-dots,
.v-niebieski .hero-bg::before, .v-niebieski .hero-bg::after, .v-niebieski .hero-dots { display: none; }
.v-fiolet .hero-bg { background: linear-gradient(115deg, rgba(31, 10, 66, .86) 0%, rgba(70, 24, 140, .58) 48%, rgba(150, 24, 96, .36) 100%), url('img/h-noc-fiolet.jpg') 50% 56% / cover no-repeat, #2A0F55; }
.v-niebieski .hero-bg { background: linear-gradient(115deg, rgba(3, 10, 32, .82) 0%, rgba(8, 30, 80, .45) 50%, rgba(20, 60, 150, .2) 100%), url('img/h-noc-niebieski.jpg') 50% 56% / cover no-repeat, #0B1D45; }
.v-fiolet .pill, .v-niebieski .pill { background: rgba(255, 255, 255, .14); }
.v-fiolet .hdr, .v-niebieski .hdr { border-bottom-color: transparent; }

/* telefon i tablet: osoba obok „Co nam dziś polecisz?”, wskazuje przycisk Dodaj wpis */
@media (max-width: 1079px) {
  .v-osoba .add { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: end; column-gap: 12px; margin-bottom: -4px; }
  .v-osoba .add-osoba { display: block; width: 112px; height: auto; align-self: end; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); filter: drop-shadow(0 10px 18px rgba(80, 0, 20, .25)); }
  .v-osoba .add-card { padding-bottom: 8px; }
}
@media (min-width: 1080px) {
  .v-osoba .hero-find { max-width: 560px; }
  .v-osoba .find { grid-template-columns: minmax(0, 1fr) 136px auto; }
  .v-osoba .add-osoba { display: block; position: absolute; z-index: 0; right: calc(100% - 6px); bottom: -214px; height: 480px; width: auto; max-width: none; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(80, 0, 20, .28)); }
}

/* ---------- wariant 5: kosmos (według obrazka Zamawiającego z 5.10, 14:19) ---------- */
.kos-tag, .kos-chips, .kos-add, .kos-promo { display: none; }
.v-kosmos .hdr { background: rgba(8, 7, 26, .78); backdrop-filter: blur(12px); border-bottom-color: rgba(255, 255, 255, .1); }
.v-kosmos .hero { margin-top: calc(var(--head-h) * -1); padding-top: calc(22px + var(--head-h)); }
.v-kosmos .logo { color: #fff; }
.v-kosmos .hdr-nav a, .v-kosmos .hdr-login, .v-kosmos .icon-btn { color: #ECEAFF; }
.v-kosmos .hdr-nav a:hover, .v-kosmos .hdr-login:hover, .v-kosmos .icon-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.v-kosmos .hdr-act .btn-primary { background: linear-gradient(90deg, #E8327A, #D42A42); box-shadow: 0 0 18px rgba(232, 50, 122, .45); }
.v-kosmos .hero-bg { background: linear-gradient(180deg, rgba(6, 5, 20, .3) 0%, rgba(6, 5, 20, .12) 45%, rgba(6, 5, 20, .35) 100%), url('img/h-kosmos2.jpg') 34% 40% / cover no-repeat, #0B0920; }
.v-kosmos .hero-bg::before { opacity: .85; }
.v-kosmos .pano-hd h2 { text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.v-kosmos .hero-bg::before { width: 340px; height: 340px; left: calc(50% - 170px); top: 6px; right: auto; bottom: auto; background: none; border: 2px solid rgba(167, 139, 250, .6); box-shadow: 0 0 36px rgba(139, 92, 246, .6), 0 0 90px rgba(56, 189, 248, .22), inset 0 0 46px rgba(139, 92, 246, .45), inset 0 0 110px rgba(56, 189, 248, .16); }
.v-kosmos .hero-bg::after { width: 300px; height: 300px; left: calc(50% - 150px); top: 26px; right: auto; bottom: auto; background: none; border: 1px solid rgba(56, 189, 248, .5); box-shadow: 0 0 26px rgba(56, 189, 248, .35); }
.v-kosmos .hero-dots, .v-kosmos .pill, .v-kosmos .add-photo, .v-kosmos .add-card, .v-kosmos .dzialy, .v-kosmos [aria-labelledby="h-popularne"] { display: none; }
.v-kosmos .hero-find { text-align: center; }
.v-kosmos .hero h1 { text-shadow: 0 0 28px rgba(167, 139, 250, .6); }
.v-kosmos .kos-tag { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; text-align: left; margin: 0 0 18px; padding: 8px 18px; border-radius: 999px; background: linear-gradient(90deg, #FFC531, #FF9DBB); color: #2A1600; font-weight: 700; font-size: 15px; box-shadow: 0 0 26px rgba(255, 180, 90, .55); }
.v-kosmos .kos-tag .i { width: 18px; height: 18px; }
.v-kosmos .find-f { background: rgba(255, 255, 255, .1); color: #D8D2FF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.v-kosmos .find-f input { color: #fff; }
.v-kosmos .find-f input::placeholder { color: rgba(236, 233, 255, .72); }
.v-kosmos .find .btn { background: linear-gradient(90deg, #E8327A, #D42A42); box-shadow: 0 0 20px rgba(232, 50, 122, .5); }
.v-kosmos .kos-chips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 20px calc(var(--gut) * -1) 0; }
.kos-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px var(--gut); }
.kos-row::-webkit-scrollbar { display: none; }
.kc, .kb { flex: none; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; color: #fff; font-weight: 700; white-space: nowrap; transition: transform .15s; }
.kc { height: 40px; padding: 0 15px; font-size: 14px; }
.kb { height: 46px; padding: 0 18px; font-size: 15px; font-family: var(--font-h); font-weight: 600; }
.kc .i { width: 17px; height: 17px; }
.kb .i { width: 19px; height: 19px; }
.kc:hover, .kb:hover { transform: translateY(-2px); }
.c-or { background: linear-gradient(135deg, #EA580C, #C2410C); box-shadow: 0 0 16px rgba(234, 88, 12, .5); }
.c-bl, .b-bl { background: linear-gradient(135deg, #3B82F6, #1D4ED8); box-shadow: 0 0 16px rgba(59, 130, 246, .5); }
.c-vi, .b-vi { background: linear-gradient(135deg, #8B5CF6, #6D28D9); box-shadow: 0 0 16px rgba(139, 92, 246, .5); }
.c-in { background: linear-gradient(135deg, #6366F1, #4338CA); box-shadow: 0 0 16px rgba(99, 102, 241, .5); }
.c-re { background: linear-gradient(135deg, #EF4444, #B91C1C); box-shadow: 0 0 16px rgba(239, 68, 68, .45); }
.c-go { background: linear-gradient(135deg, #FFD25A, #FFB01F); color: #2A1600; box-shadow: 0 0 18px rgba(255, 176, 31, .55); }
.b-ra { background: linear-gradient(135deg, #E8327A, #BE123C); box-shadow: 0 0 16px rgba(232, 50, 122, .5); }
.b-te { background: linear-gradient(135deg, #14B8A6, #0F766E); box-shadow: 0 0 16px rgba(20, 184, 166, .45); }
.b-pi { background: linear-gradient(135deg, #EC4899, #BE185D); box-shadow: 0 0 16px rgba(236, 72, 153, .5); }
.v-kosmos .kos-add { display: inline-flex; align-items: center; gap: 4px; margin-top: 18px; padding: 5px 6px 5px 16px; border-radius: 999px; background: rgba(8, 7, 26, .55); backdrop-filter: blur(6px); color: #F1EFFF; font-weight: 600; font-size: 15px; }
.v-kosmos .kos-add a { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); color: #fff; }
.v-kosmos .kos-add .i { width: 16px; height: 16px; stroke-width: 2.5; }
.v-kosmos .kos-promo { display: block; margin-top: 4px; }
.kos-promo-t { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-h); font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.kos-promo-t .i { color: #FFC531; }
.kos-list { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 8px; }
.kos-list::-webkit-scrollbar { display: none; }
.kp { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 12px 9px 9px; border-radius: 16px; background: var(--kb, rgba(16, 12, 44, .78)); color: #fff; backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--kk, rgba(167, 139, 250, .6)), 0 0 24px var(--kg, rgba(139, 92, 246, .35)); transition: transform .15s; }
.kp:hover { transform: translateX(-3px); }
.kp img { width: 60px; height: 60px; object-fit: cover; border-radius: 12px; }
.kp b { display: block; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kp em { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .9); margin-top: 4px; white-space: nowrap; }
.kp em i { font-style: normal; font-size: 12px; font-weight: 700; color: #2A1600; background: var(--gold); padding: 1px 7px; border-radius: 6px; }
.kp.g1 { --kb: linear-gradient(135deg, rgba(234, 88, 12, .94), rgba(194, 65, 12, .9)); --kk: rgba(253, 186, 116, .85); --kg: rgba(249, 115, 22, .55); }
.kp.g2 { --kb: linear-gradient(135deg, rgba(37, 99, 235, .94), rgba(30, 64, 175, .9)); --kk: rgba(147, 197, 253, .85); --kg: rgba(59, 130, 246, .55); }
.kp.g3 { --kb: linear-gradient(135deg, rgba(124, 58, 237, .94), rgba(91, 33, 182, .9)); --kk: rgba(196, 181, 253, .85); --kg: rgba(139, 92, 246, .55); }
.kp.g4 { --kb: linear-gradient(135deg, rgba(13, 148, 136, .94), rgba(15, 118, 110, .9)); --kk: rgba(94, 234, 212, .85); --kg: rgba(20, 184, 166, .5); }
.kp.g5 { --kb: linear-gradient(135deg, rgba(250, 204, 21, .96), rgba(245, 158, 11, .92)); --kk: rgba(254, 240, 138, .9); --kg: rgba(250, 204, 21, .5); color: #231400; }
.kp.g5 em { color: rgba(35, 20, 0, .85); }

@media (min-width: 1080px) {
  .v-kosmos .hero-bg::before { width: 620px; height: 620px; left: calc(50% - 552px); top: 40px; }
  .v-kosmos .hero-bg::after { width: 560px; height: 560px; left: calc(50% - 522px); top: 70px; }
  .v-kosmos .hero { padding-top: calc(54px + var(--head-h)); }
  .v-kosmos .hero h1 { margin-bottom: 18px; }
  .v-kosmos .find { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 0 36px rgba(139, 92, 246, .45); backdrop-filter: blur(10px); }
  .v-kosmos .find-f { background: transparent; box-shadow: none; backdrop-filter: none; }
  .v-kosmos .find-c { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .22); }
  .v-kosmos .kos-chips { margin: 22px 0 0; }
  .kos-row { flex-wrap: wrap; justify-content: center; overflow: visible; padding: 0; }
  .v-kosmos .add { padding: 0; }
  .kos-list { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 12px; }
}

/* ---------- wariant 6: pani z naklejki Zamawiającego (6.10, 14:08) na ulicy z jego obrazka z 5.10, 12:56 ---------- */
.hero-pani { display: none; }
.v-pani .hero { --pani-h: 312px; --pani-tlo: #7A2D47; }
.v-pani .hero-bg { background: linear-gradient(180deg, rgba(122, 45, 71, 0) calc(var(--pani-h) * .5), var(--pani-tlo) var(--pani-h)) 0 0 / 100% var(--pani-h) no-repeat, url('img/h-miasto-m.jpg') 0 0 / auto var(--pani-h) no-repeat, var(--pani-tlo); }
.v-pani .hero-in { position: relative; }
.v-pani .hero-pani { display: block; position: absolute; z-index: 0; max-width: none; pointer-events: none; }
.v-pani .hero-find { position: relative; z-index: 1; }
.v-pani .hero-bg::before, .v-pani .hero-bg::after, .v-pani .hero-dots, .v-pani .pill, .v-pani .add { display: none; }
.v-pani .hero h1 { text-shadow: 0 2px 16px rgba(60, 0, 20, .5); }
.v-pani .kos-tag { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin: 0 0 16px; padding: 8px 14px; border-radius: 16px; background: linear-gradient(90deg, #FFC531, #FF9DBB); color: #2A1600; font-weight: 700; font-size: 14px; line-height: 1.35; box-shadow: 0 10px 26px -10px rgba(40, 0, 15, .6); }
.v-pani .kos-tag .i { width: 18px; height: 18px; }
.v-pani .kos-add { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; padding: 5px 5px 5px 16px; border-radius: 999px; background: rgba(50, 8, 26, .45); backdrop-filter: blur(6px); color: #fff; font-weight: 600; font-size: 15px; }
.v-pani .kos-add a { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 9px 15px; border-radius: 999px; background: #fff; color: var(--rasp); font-family: var(--font-h); font-weight: 600; font-size: 14px; }
.v-pani .kos-add .i { width: 16px; height: 16px; stroke-width: 2.5; }
.v-pani .pano-hd h2 { text-shadow: 0 2px 14px rgba(40, 0, 15, .7); }

/* telefon i tablet: pani u góry, hasło po jej prawej, wyszukiwarka pod zdjęciem */
@media (max-width: 1079px) {
  .v-pani .hero { padding-top: 0; }
  .v-pani .hero h1 { width: 50%; min-height: calc(var(--pani-h) - 30px); margin: 0 0 0 auto; padding-top: 22px; font-size: 27px; }
  .v-pani .hero-pani { left: calc(-8px - var(--gut)); top: 44px; height: calc(var(--pani-h) - 44px); width: auto; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
}
@media (min-width: 640px) and (max-width: 1079px) {
  .v-pani .hero { --pani-h: 400px; }
  .v-pani .hero-bg { background: linear-gradient(90deg, rgba(122, 45, 71, 0) 300px, var(--pani-tlo) 500px) 0 0 / 100% var(--pani-h) no-repeat, linear-gradient(180deg, rgba(122, 45, 71, 0) 200px, var(--pani-tlo) 400px) 0 0 / 100% var(--pani-h) no-repeat, url('img/h-miasto-m.jpg') 0 0 / auto var(--pani-h) no-repeat, var(--pani-tlo); }
  .v-pani .hero h1 { width: auto; margin-left: 440px; font-size: 38px; }
}
@media (min-width: 1080px) {
  /* karta o szerokości treści: zdjęcie i pani nie rozciągają się na szerokich ekranach */
  .v-pani .hero { padding-top: 26px; }
  .v-pani .hero-bg { display: none; }
  .v-pani .hero-in { display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; min-height: 560px; padding: 48px 56px; border-radius: 24px; background: linear-gradient(90deg, rgba(58, 10, 30, 0) 40%, rgba(58, 10, 30, .38) 100%), url('img/h-miasto.jpg') 50% 45% / cover no-repeat, var(--pani-tlo); box-shadow: 0 28px 56px -30px rgba(60, 0, 20, .5); }
  .v-pani .hero-pani { left: 0; bottom: 0; top: auto; width: min(46%, 620px); height: calc(100% - 32px); object-fit: contain; object-position: 0 100%; }
  .v-pani .hero-find { width: min(600px, 58%); margin-left: auto; }
  .v-pani .pano-hd h2 { color: var(--ink); text-shadow: none; }
  .v-pani .pano { margin-top: 34px; }
  .v-pani .hero h1 { margin-bottom: 18px; font-size: clamp(40px, 3.4vw, 50px); }
  .v-pani .kos-tag { border-radius: 999px; padding: 8px 18px; font-size: clamp(13px, 1.05vw, 15px); }
  .v-pani .find { grid-template-columns: minmax(0, 1fr) clamp(118px, 10.5vw, 150px) auto; }
}

@media (min-width: 1080px) and (max-width: 1279px) {
  .v-pani .find-f { padding: 0 12px; gap: 8px; }
}

/* kategorie krążące nad dłonią pani (dodatek 9.10.2026, na wzór filmu Zamawiającego) */
.orbit { display: none; }
/* z-index 2: kółko nad blokiem z hasłem — na telefonie i tablecie nagłówek h1 (z-index 1, dalej w kodzie) zasłaniał
   linki kategorii (9.11.2026); samo kółko przepuszcza dotyk (pointer-events), łapią go tylko kafelki */
.v-pani .orbit { --r: 70px; --b: 52px; --fs: 8px; --ic: 16px; display: block; position: absolute; z-index: 2; width: calc(2 * var(--r) + var(--b)); height: calc(2 * var(--r) + var(--b)); pointer-events: none; }
.orbit-ring { position: absolute; inset: calc(var(--b) / 2); border: 2px dashed rgba(255, 255, 255, .62); border-radius: 50%; }
.orbit-rot { position: absolute; inset: 0; animation: orbita 28s linear infinite; }
.ob { position: absolute; left: 50%; top: 50%; width: var(--b); height: var(--b); margin: calc(var(--b) / -2) 0 0 calc(var(--b) / -2); transform: rotate(calc(var(--i) * 45deg)) translateY(calc(var(--r) * -1)) rotate(calc(var(--i) * -45deg)); pointer-events: auto; }
.ob-in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 100%; padding: 4px 5px; border-radius: 50%; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 10px 22px -8px rgba(40, 0, 15, .6); animation: orbita 28s linear infinite reverse; transition: background-color .15s; }
.ob-in .i { width: var(--ic); height: var(--ic); color: var(--rasp); flex: none; }
.ob-in b { font-size: var(--fs); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
.ob:hover .ob-in, .ob:focus-visible .ob-in { background: #FFF4D6; }
.orbit:hover .orbit-rot, .orbit:hover .ob-in, .orbit:focus-within .orbit-rot, .orbit:focus-within .ob-in { animation-play-state: paused; }
@keyframes orbita { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit-rot, .ob-in { animation: none; } }
/* telefon (do 759 px): pani mniejsza, kółko nad jej dłonią, liczone od szerokości pani */
@media (max-width: 759px) {
  .v-pani .hero { --pani-h: 430px; --wh: min(280px, 71.8vw); }
  .v-pani .hero h1 { padding-top: 18px; }
  .v-pani .hero-pani { top: calc(var(--pani-h) - var(--wh)); height: var(--wh); }
  .v-pani .orbit { --r: min(70px, 17.95vw); --b: min(52px, 13.33vw); --fs: clamp(7px, 2.05vw, 8px); --ic: min(16px, 4.1vw);
    left: calc(-1px - var(--gut) + 1.018 * var(--wh) - var(--r) - var(--b) / 2); top: calc(385px - .339 * var(--wh) - 2 * var(--r) - var(--b)); }
}
/* tablet: kółko między panią a nagłówkiem, nagłówek przesunięty w prawo */
@media (min-width: 760px) and (max-width: 1079px) {
  .v-pani .orbit { --r: 70px; --b: 52px; left: 244px; top: 46px; }
  .v-pani .hero h1 { margin-left: max(450px, calc(100% - 260px)); font-size: 34px; }
}
@media (min-width: 1080px) {
  .v-pani .find-f input { font-size: 15px; }
  .v-pani .find .btn { padding: 0 22px; }
}
/* laptop: pani 38% szerokości karty, kółko nad jej dłonią (dłoń ok. 87% szerokości i 66% wysokości zdjęcia) */
@media (min-width: 1080px) and (max-width: 1279px) {
  .v-pani .hero-pani { width: 38%; }
  .v-pani .orbit { --r: 66px; --b: 50px; --fs: 7.5px; --ic: 15px; left: calc((100vw - 48px) * .3306 - 81px); top: calc(338px - (100vw - 48px) * .1101); }
  .v-pani .hero-find { width: min(520px, 50%); }
  .v-pani .hero h1 { font-size: 36px; }
}
@media (min-width: 1280px) {
  .v-pani .orbit { --r: 92px; --b: 70px; --fs: 9px; --ic: 21px; left: 343px; top: 80px; }
  .v-pani .hero-find { width: min(556px, 46%); }
  .v-pani .kos-tag { font-size: 14px; }
  .v-pani .find { grid-template-columns: minmax(0, 1fr) 118px auto; }
  .ob-in { gap: 3px; padding: 6px 8px; }
}

/* =================== podstrony: lista kategorii i karta wpisu (8.10.2026) =================== */
.pg { padding-top: 14px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--rasp); }
.crumbs .i { width: 14px; height: 14px; stroke-width: 2.2; color: #A6ABB7; }
.crumbs span { color: var(--ink); font-weight: 600; }

.cat-hd { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 168px; border-radius: 20px; background: #2A1A22; color: #fff; box-shadow: 0 22px 44px -28px rgba(60, 0, 20, .6); }
.cat-hd > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cat-hd::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(44, 8, 22, .9) 0%, rgba(44, 8, 22, .62) 58%, rgba(44, 8, 22, .2) 100%); }
.cat-hd-in { padding: 22px 20px 20px; max-width: 640px; }
.cat-hd h1 { font-family: var(--font-h); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -.025em; }
.cat-hd p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.cat-hd .cat-n { display: inline-flex; margin-top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; color: #fff; }

.subcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 16px calc(var(--gut) * -1) 0; padding: 2px var(--gut); }
.subcats::-webkit-scrollbar { display: none; }
.subcats a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 15px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.subcats a small { font-size: 12px; font-weight: 600; color: var(--muted); }
.subcats a:hover { box-shadow: inset 0 0 0 1px #C5C9D3; }
.subcats a.on { background: var(--ink); color: #fff; box-shadow: none; }
.subcats a.on small { color: rgba(255, 255, 255, .7); }

.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.tools-m .tool-c { grid-column: 1 / -1; }
.tools-m .tool-f, .tools-m .tool-s { justify-content: center; }
.tool { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.tool > .i { width: 19px; height: 19px; color: var(--muted); }
.tool input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; font-weight: 500; color: var(--ink); }
.tool input::placeholder { color: #80869A; opacity: 1; }
.tool select { height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink); -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 22px; }
.tool .chev { position: absolute; right: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.tools-m .tool-s select { padding-right: 0; }
.tool-f { cursor: pointer; }
.tool:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.tools-d { display: none; }
.sw { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 40px; height: 24px; border-radius: 999px; background: #C9CDD6; cursor: pointer; transition: background-color .15s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.sw:checked { background: var(--rasp); }
.sw:checked::after { transform: translateX(16px); }
.tool-sw { cursor: pointer; }
.tool .sw { flex: none; width: 40px; height: 24px; background: #C9CDD6; }
.tool .sw:checked { background: var(--rasp); }

.pg-lista .layout { padding-top: 22px; }
.wyniki { display: flex; justify-content: space-between; gap: 12px; margin: -4px 0 12px; font-size: 14px; color: var(--muted); }
.wyniki b { color: var(--ink); }
.grid-2 { margin-top: var(--sec); }
.strony { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.strony a, .strony span { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.strony a.on { background: var(--ink); color: #fff; box-shadow: none; }
.strony span { background: none; box-shadow: none; color: var(--muted); }

/* okno filtrów od dołu */
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; }
.sheet[hidden] { display: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(16, 10, 14, .52); }
.sheet-in { position: relative; display: flex; flex-direction: column; width: 100%; max-height: 90vh; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -12px 40px -12px rgba(0, 0, 0, .4); animation: wjazd .22s ease-out; }
@keyframes wjazd { from { transform: translateY(48px); opacity: .5; } }
.sheet-hd { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 4px 18px; }
.sheet-hd h2 { font-family: var(--font-h); font-weight: 700; font-size: 20px; color: var(--ink); }
.sheet-b { overflow-y: auto; padding: 0 18px 8px; }
.sheet-g { padding: 14px 0; border-top: 1px solid var(--line); }
.sheet-g:first-child { border-top: 0; }
.sheet-g h3 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.sheet-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sheet-2 > div { min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.chips button.on { background: var(--ink); color: #fff; box-shadow: none; }
.sel { position: relative; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.sel > .i { width: 18px; height: 18px; color: var(--muted); }
.sel select, .sel input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.sel .chev { position: absolute; right: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
.sw-row b { display: block; font-size: 15px; color: var(--ink); }
.sw-row small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.sheet-ft { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-ft .btn { height: 50px; font-size: 16px; }

/* karta wpisu */
.wpis { padding-top: 0; }
.wpis-in { display: flex; flex-direction: column; }
.wpis-l, .wpis-r { display: contents; }
.gal { order: 1; position: relative; margin: 0 calc(var(--gut) * -1); background: #17171B; }
.wpis-hd { order: 2; }
.termin { order: 3; }
.opis { order: 4; }
.det-blok { order: 5; }
.wid-blok { order: 6; }
.autor-blok { order: 7; }
.kontakt { order: 8; }
.tipbox { order: 9; }
.gal-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; aspect-ratio: 4 / 3; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-strip::-webkit-scrollbar { display: none; }
.gal-strip img { width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gal .stk-promo { top: 12px; left: 12px; }
.gal-n { position: absolute; z-index: 1; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .58); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(4px); }
.gal-n .i { width: 15px; height: 15px; }
.gal-n b { font-weight: 700; }
.gal-btn { position: absolute; z-index: 1; top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: none; place-items: center; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); }
.gal-btn .i { width: 22px; height: 22px; stroke-width: 2.4; }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
.gal-th { display: none; }
.wpis-hd .crumbs { margin-bottom: 6px; }
.wpis h1 { font-family: var(--font-h); font-weight: 700; font-size: 23px; line-height: 1.22; letter-spacing: -.02em; color: var(--ink); }
.wpis-cena { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; font-family: var(--font-h); font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: var(--rasp); }
.wpis-cena small { font-family: var(--font); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.wpis-m { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.wpis-m span { display: inline-flex; align-items: center; gap: 5px; }
.wpis-m .i { width: 16px; height: 16px; }
.akcje { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.akcje button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 14px; font-weight: 600; }
.akcje button:hover { box-shadow: inset 0 0 0 1px #C5C9D3; }
.akcje .i { width: 18px; height: 18px; }
.ak-h .i { color: var(--rasp); }
.ak-h[aria-pressed="true"] .i, .zapisz[aria-pressed="true"] .i { fill: currentColor; }
.zapisz[aria-pressed="true"] { color: var(--rasp); }
.blok { margin-top: 14px; padding: 18px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); }
.wpis-hd.blok { margin-top: 0; padding: 14px 0 4px; background: none; box-shadow: none; border-radius: 0; }
.blok h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--font-h); font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--ink); }
.opis p { font-size: 15px; line-height: 1.6; color: var(--text); }
.opis p + p { margin-top: 10px; }
.det { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; margin: 0; }
.det div { padding: 10px 0; border-top: 1px solid var(--line); }
.det div:nth-child(-n+2) { border-top: 0; padding-top: 2px; }
.det dt { font-size: 13px; color: var(--muted); }
.det dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.wideo { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #111; }
.wideo img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.wideo-t { position: absolute; z-index: 1; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(0, 0, 0, .58); color: #fff; font-size: 13px; font-weight: 600; }
.autor { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; }
.av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #FA6479, var(--rasp)); color: #fff; font-family: var(--font-h); font-weight: 700; font-size: 19px; }
.autor-n, .autor-m { display: block; }
.autor-n { font-size: 16px; font-weight: 700; color: var(--ink); }
.autor-m { margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.autor-b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.autor-b .btn { height: 44px; padding: 0 12px; font-size: 14px; }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
.btn-line:hover { background: var(--bg); }
.obserwuj[aria-pressed="true"] { background: var(--rasp); color: #fff; box-shadow: none; }
.tel { display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; margin-bottom: 10px; padding: 0 16px; border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 16px; font-weight: 700; }
.tel .i { width: 19px; height: 19px; color: var(--rasp); }
.tel.pokazany { background: var(--rose); color: var(--rasp); letter-spacing: .02em; }
.kontakt .btn { height: 50px; font-size: 16px; }
.form { display: grid; gap: 10px; margin-top: 12px; }
.form[hidden] { display: none; }
.form label span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form textarea, .form input { width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 16px; color: var(--ink); background: #fff; resize: vertical; }
.form textarea:focus, .form input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--ink); }
.form-x { font-size: 13px; line-height: 1.45; color: var(--muted); }
.tip-x { font-size: 14px; line-height: 1.5; color: var(--muted); }
.tip-x b { color: var(--ink); }
.tip-k { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.tip-k button { height: 44px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 15px; font-weight: 700; }
.tip-k button.on { background: #FFF4D6; color: var(--gold-ink); box-shadow: inset 0 0 0 2px var(--gold); }
.btn-tip { width: 100%; height: 50px; font-size: 16px; background: linear-gradient(90deg, #FFC531, #FF9DBB); color: #2A1600; }
.btn-tip:hover { filter: brightness(1.04); }
.row-4 { grid-auto-columns: 62%; }
.zglos { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.zglos a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.zglos a:hover { color: var(--rasp); }
.zglos .i { width: 15px; height: 15px; }
.kontakt-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px -12px rgba(0, 0, 0, .25); }
.kontakt-bar .btn { height: 50px; font-size: 16px; }
.pg-wpis { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

@media (min-width: 640px) {
  .cat-hd { min-height: 190px; }
  .cat-hd-in { padding: 28px 30px 26px; }
  .cat-hd h1 { font-size: 38px; }
  .row-4 { grid-auto-columns: 40%; }
  .gal { margin: 0; border-radius: 18px; overflow: hidden; }
  .gal-btn { display: grid; }
  .wpis-hd.blok { padding-top: 18px; }
}
@media (min-width: 1080px) {
  .pg { padding-top: 22px; }
  .cat-hd { min-height: 210px; }
  .cat-hd-in { padding: 34px 40px 32px; }
  .cat-hd h1 { font-size: 46px; }
  .cat-hd p { font-size: 16px; }
  .subcats { margin: 18px 0 0; padding: 2px 0; flex-wrap: wrap; overflow: visible; }
  .tools-m { display: none; }
  .tools-d { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
  .tools-d .tool { height: 46px; background: var(--bg); box-shadow: none; }
  .tools-d .tool:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
  .tools-d .tool-c { flex: 1; min-width: 160px; }
  .tools-d .tool-s { margin-left: auto; }
  .pg-lista .layout { padding-top: 26px; }
  .sheet { align-items: center; justify-content: center; }
  .sheet-in { max-width: 560px; border-radius: 22px; }

  .pg-wpis { padding-bottom: 0; }
  .kontakt-bar { display: none; }
  .wpis-in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
  .wpis-l, .wpis-r { display: block; }
  .wpis-r { position: sticky; top: calc(var(--head-h) + 18px); }
  .gal-th { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 8px; background: #fff; }
  .gal-th button { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; opacity: .6; transition: opacity .15s; }
  .gal-th button:hover { opacity: .9; }
  .gal-th button.on { opacity: 1; outline: 2px solid var(--rasp); outline-offset: -2px; }
  .gal-th img { width: 100%; height: 100%; object-fit: cover; }
  .wpis-hd.blok { padding: 20px 22px 22px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); }
  .wpis h1 { font-size: 26px; }
  .wpis-cena { font-size: 32px; }
  .wpis-r .blok { margin-top: 14px; }
  .wpis-r .wpis-hd.blok { margin-top: 0; }
  .wpis-l .blok { margin-top: 18px; padding: 22px 24px; }
  .row-4 { display: grid; grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; overflow: visible; margin: 0; padding: 0; }
  .wpis .ad-inlist { margin-top: 30px; }
}

/* =================== karta wydarzenia i strona shorta (9.10.2026) =================== */
.gal .gal-data { left: 12px; top: 12px; bottom: auto; }
.fakty { display: grid; gap: 14px; }
.fakt { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.fakt-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--rose); color: var(--rasp); display: grid; place-items: center; }
.fakt-ic .i { width: 20px; height: 20px; }
.fakt b { display: block; font-size: 15px; line-height: 1.3; color: var(--ink); }
.fakt > span > span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.btn-maly { height: 40px; margin-top: 8px; padding: 0 14px; font-size: 14px; }
.btn-maly .i { width: 16px; height: 16px; }
.po-dacie-info { display: none; }
.po-dacie .po-dacie-info { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 4px; padding: 12px 14px; border-radius: 14px; background: #FFF4D6; color: #5C4300; font-size: 14px; line-height: 1.45; box-shadow: inset 0 0 0 1px #F5D98A; }
.po-dacie .po-dacie-info .i { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--gold-ink); }
.po-dacie .po-dacie-info a { color: var(--rasp); font-weight: 700; }
.po-dacie .bilety { display: none; }
.zglos span a { color: var(--muted); text-decoration: underline; }

.sh-in { display: grid; gap: 14px; }
/* Telefon: kadr na całą szerokość i od nagłówka do dolnego paska (plan 3.8). Proporcja 9:16 z limitem wysokości
   zwężała kadr i dosuwała go do lewej — 12.10 na iPhonie został szary pas po prawej. */
.sh-player { position: relative; margin: 0 calc(var(--gut) * -1); height: calc(100vh - var(--head-h) - 68px); height: calc(100svh - var(--head-h) - 68px - env(safe-area-inset-bottom)); min-height: 380px; background: #0E0E12; overflow: hidden; color: #fff; isolation: isolate; }
.sh-player > img { width: 100%; height: 100%; object-fit: cover; }
.sh-player::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .78) 100%); pointer-events: none; }
.sh-play { position: absolute; z-index: 2; left: 50%; top: 46%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 255, 255, .24); backdrop-filter: blur(8px); border: 2px solid rgba(255, 255, 255, .75); display: grid; place-items: center; transition: opacity .2s, transform .2s; }
.sh-play .i { width: 30px; height: 30px; margin-left: 5px; color: #fff; }
.sh-play:hover { transform: scale(1.06); }
.sh-pauza { position: absolute; z-index: 2; left: 50%; top: 46%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0, 0, 0, .35); display: none; place-items: center; opacity: 0; transition: opacity .2s; pointer-events: none; }
.sh-pauza .i { width: 26px; height: 26px; color: #fff; }
.sh-player.gra .sh-play { opacity: 0; pointer-events: none; }
.sh-player.gra .sh-pauza { display: grid; }
.sh-player.gra:hover .sh-pauza { opacity: 1; }
.sh-dol { position: absolute; z-index: 2; left: 16px; right: 84px; bottom: 22px; display: grid; gap: 6px; }
.sh-kat { justify-self: start; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); font-size: 13px; font-weight: 700; color: #fff; }
.sh-t { font-family: var(--font-h); font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -.015em; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.sh-m { font-size: 14px; color: rgba(255, 255, 255, .88); }
.sh-boki { position: absolute; z-index: 2; right: 12px; bottom: 26px; display: grid; gap: 14px; }
.sh-b { display: grid; justify-items: center; gap: 4px; color: #fff; font-size: 12px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.sh-b .k { width: 50px; height: 50px; border-radius: 50%; background: rgba(0, 0, 0, .34); backdrop-filter: blur(8px); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.sh-b .k .i { width: 23px; height: 23px; }
.sh-b[aria-pressed="true"] .k .i { fill: #FF4D6D; color: #FF4D6D; }
.sh-pasek { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .22); }
.sh-pasek i { display: block; width: 0; height: 100%; background: #fff; }
.sh-player.gra .sh-pasek i { animation: postep 30s linear forwards; }
.sh-player.stop .sh-pasek i { animation-play-state: paused; }
@keyframes postep { to { width: 100%; } }
.sh-info .blok:first-child { margin-top: 0; }
.sh-opis { font-size: 15px; line-height: 1.6; color: var(--text); }
.sh-czas { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.sh-czas .i { width: 15px; height: 15px; }
.pg-sh .sec { margin-top: 26px; }
@media (max-width: 639px) {
  .pg-sh { padding-top: 0; }
  .sh-dol { bottom: 34px; }   /* nad wystającym przyciskiem „Dodaj” z dolnego paska */
  .sh-boki { bottom: 36px; }
}
@media (min-width: 640px) {
  .sh-player { margin: 0; width: min(100%, 420px); height: auto; min-height: 0; aspect-ratio: 9 / 16; justify-self: center; border-radius: 20px; }
}
@media (min-width: 1080px) {
  .sh-in { grid-template-columns: 420px minmax(0, 420px); justify-content: center; gap: 28px; align-items: start; }
  .sh-player { width: 420px; box-shadow: 0 30px 60px -30px rgba(20, 0, 10, .6); }
  .sh-info { position: sticky; top: calc(var(--head-h) + 18px); }
  .sh-nast { grid-auto-columns: calc((100% - 5 * 14px) / 6); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
