/* SMAKO — Kebab · Ogień · Chleb
   Kolory: węgiel (coal), żar (ember), płomień (flame), ciasto (dough). Typografia: Oswald + Manrope. */

/* ---------- Fonts (lokalnie, bez Google Fonts) ---------- */
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("../fonts/oswald-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("../fonts/oswald-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("../fonts/oswald-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url("../fonts/oswald-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url("../fonts/oswald-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url("../fonts/oswald-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("../fonts/manrope-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("../fonts/manrope-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("../fonts/manrope-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ---------- Tokens ---------- */
:root {
  --coal: #1A120E;        /* tło: ciepły węgiel */
  --coal-2: #241914;      /* powierzchnie */
  --coal-3: #33241C;      /* linie, obramowania nieaktywne */
  --ember: #F0532F;       /* żar: ramki i akcje (z tablicy menu w lokalu) */
  --ember-deep: #C93A1B;
  --flame: #FFB23F;       /* płomień: status "otwarte" */
  --dough: #FFF6E8;       /* ciasto: pasek z ceną */
  --cream: #F6ECDD;       /* tekst */
  --ash: #B9A799;         /* tekst pomocniczy */
  --ash-dark: #7A6A60;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --r-tile: 16px;
  --r-btn: 999px;
  --top-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 64px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--coal); color: var(--cream); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
:where(ul[role="list"], .langs ul, .chips ul) { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--flame); color: var(--coal); padding: 10px 16px; border-radius: 8px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); border: 1.5px solid transparent; font: 800 0.95rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--ember { background: var(--ember); color: #fff; }
.btn--ember:hover { background: var(--ember-deep); }
.btn--ghost { background: transparent; color: var(--cream); border-color: color-mix(in srgb, var(--cream) 35%, transparent); }
.btn--ghost:hover { border-color: var(--ember); color: #fff; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.link { color: var(--ember); font-weight: 800; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--flame); }

/* ---------- Nagłówek ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--coal) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-stuck { border-bottom-color: var(--coal-3); }
.top__in { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; height: var(--top-h); display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand__word { font: 700 1.75rem/0.9 var(--display); letter-spacing: 0.02em; color: #fff; }
.brand__tag { font: 600 .62rem/1 var(--body); letter-spacing: .14em; color: var(--ember); margin-top: 5px; white-space: nowrap; }
.nav { display: flex; gap: 26px; }
.nav a, .top__home { font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ash); }
.nav a:hover, .top__home:hover { color: #fff; }
.langs ul { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--coal-2); border: 1px solid var(--coal-3); }
.langs a { display: grid; place-items: center; min-width: 36px; height: 32px; padding: 0 6px; border-radius: 999px; font: 800 .72rem/1 var(--body); letter-spacing: .06em; text-decoration: none; color: var(--ash); }
.langs a:hover { color: #fff; }
.langs a[aria-current="true"] { background: var(--cream); color: var(--coal); }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 420px) {
  :root { --top-h: 60px; }
  .brand__word { font-size: 1.45rem; }
  .brand__tag { display: none; }
  .langs a { min-width: 32px; height: 30px; padding: 0 4px; }
  .top__cta { padding: 0 13px; }
  .top__home { font-size: .85rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--slate) center / cover no-repeat; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; background: linear-gradient(to bottom, transparent, var(--coal)); }
.hero__in { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(32px, 6vw, 88px) 0 clamp(48px, 7vw, 104px); }
.hero__words { display: flex; flex-direction: column; gap: 0; font: 700 clamp(4.2rem, 11.5vw, 10.5rem)/1.18 var(--display); text-transform: uppercase; letter-spacing: .015em; color: #fff; }
.hero__words i { font-style: normal; color: var(--ember); }
.hero__sub { margin-top: clamp(20px, 3vw, 32px); font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cream); max-width: 34ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; font-size: .95rem; color: var(--ash); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ash-dark); }
.status.is-open { color: var(--flame); }
.status.is-open::before { background: var(--flame); box-shadow: 0 0 0 4px color-mix(in srgb, var(--flame) 25%, transparent); }

.hero__pics { position: relative; aspect-ratio: 1 / 1.02; }
.pic { position: absolute; overflow: hidden; border-radius: var(--r-tile); border: 2px solid var(--ember); background: #000; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic--a { width: 52%; aspect-ratio: 3 / 4; left: 0; top: 4%; }
.pic--b { width: 54%; aspect-ratio: 1; right: 0; top: 0; }
.pic--c { width: 50%; aspect-ratio: 4 / 3; right: 8%; bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero__words span { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__words span:nth-child(2) { animation-delay: .08s; }
  .hero__words span:nth-child(3) { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 28px; }
  .hero__pics { aspect-ratio: auto; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; gap: 10px; }
  .pic { position: static; width: auto; }
  .pic--a { grid-row: span 2; aspect-ratio: auto; height: 100%; }
  .pic--b, .pic--c { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Nagłówki sekcji ---------- */
.h2 { font: 700 clamp(2.2rem, 5vw, 3.6rem)/1 var(--display); text-transform: uppercase; color: #fff; letter-spacing: .005em; }
.label-box { display: inline-block; background: var(--ember); color: #fff; font: 700 clamp(1.25rem, 2.6vw, 1.6rem)/1 var(--display); text-transform: uppercase; letter-spacing: .03em; padding: 9px 14px 10px; border-radius: 4px; }

/* ---------- Trzy słowa ---------- */
.pillars { padding: clamp(56px, 8vw, 112px) 0; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.pillar img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-tile); }
.pillar__word { margin-top: 22px; font: 700 clamp(2.6rem, 4.6vw, 3.8rem)/0.95 var(--display); text-transform: uppercase; color: #fff; }
.pillar__tr { display: block; margin-top: 6px; font: 600 1rem/1.2 var(--body); text-transform: none; color: var(--ember); letter-spacing: 0; }
.pillar p { margin: 12px 0 18px; color: var(--ash); max-width: 38ch; }
@media (max-width: 860px) {
  .pillars__grid { grid-template-columns: 1fr; gap: 44px; }
  .pillar { display: grid; grid-template-columns: 38% 1fr; column-gap: 18px; align-items: start; }
  .pillar img { grid-row: span 3; aspect-ratio: 1; }
  .pillar__word { margin-top: 0; }
  .pillar p { margin: 8px 0 12px; font-size: .95rem; }
  .pillar .link { justify-self: start; }
}

/* ---------- Tablica menu (kafelki jak w lokalu) ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.tile { display: flex; flex-direction: column; border: 2px solid var(--ember); border-radius: var(--r-tile); overflow: hidden; background: #0c0807; }
.tile__img { aspect-ratio: 1; background: #000; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__name { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 12px 10px; background: #0c0807; min-height: 72px; border-top: 1px solid var(--coal-3); }
.tile__name h3 { font: 600 clamp(.98rem, 1.5vw, 1.12rem)/1.15 var(--display); text-transform: uppercase; letter-spacing: .05em; color: #fff; overflow-wrap: anywhere; hyphens: auto; }
.tile__name p { margin-top: 5px; font-size: .78rem; line-height: 1.35; color: var(--ash); }
.tile__price { display: flex; justify-content: center; background: var(--dough); color: var(--ember-deep); border-top: 2px solid var(--ember); }
.opt { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 8px 4px 9px; min-width: 0; }
.opt + .opt { border-left: 1.5px dashed color-mix(in srgb, var(--ember) 55%, transparent); }
.opt small { font: 800 .64rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #6e5e55; }
.opt b { font: 700 1.2rem/1.1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.tile__price--opts .opt b { font-size: 1.08rem; }
.tile--plain .tile__name { min-height: 96px; }

.board--row { grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2)) 18px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); scrollbar-width: thin; scrollbar-color: var(--coal-3) transparent; }
.board--row .tile { scroll-snap-align: start; }

@media (max-width: 560px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board--row { grid-template-columns: none; grid-auto-columns: 62%; }
  .tile { border-width: 1.5px; border-radius: 13px; }
  .tile__name { min-height: 62px; padding: 10px 6px; }
  .tile__name h3 { font-size: .9rem; letter-spacing: .035em; }
  .tile__name p { font-size: .72rem; }
  .opt { padding: 7px 2px 8px; }
  .opt small { font-size: .58rem; letter-spacing: .06em; }
  .opt b { font-size: 1.02rem; }
  .tile__price--opts .opt b { font-size: .9rem; }
}

/* ---------- Wybrane ---------- */
.picks { padding-bottom: clamp(56px, 8vw, 104px); }
.picks__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }

/* ---------- Promocja ---------- */
.promo { padding: clamp(40px, 6vw, 72px) 0; background: var(--coal-2); border-block: 1px solid var(--coal-3); }
.promo__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.promo__copy p { margin-top: 16px; color: var(--cream); font-size: 1.08rem; max-width: 32ch; }
.promo__items { display: grid; gap: 12px; }
.promo__items li { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 10px 18px 10px 10px; border: 2px solid var(--ember); border-radius: var(--r-tile); background: #0c0807; }
.promo__items img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.promo__items h3 { font: 600 1.15rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.promo__items p { color: var(--ash); font-size: .88rem; margin-top: 3px; }
.promo__price { background: var(--dough); color: var(--ember-deep); font: 700 1.6rem/1 var(--display); padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
@media (max-width: 760px) {
  .promo__in { grid-template-columns: 1fr; }
  .promo__items li { grid-template-columns: 60px 1fr auto; gap: 12px; padding-right: 10px; }
  .promo__items img { width: 60px; height: 60px; }
  .promo__items h3 { font-size: 1rem; }
  .promo__price { font-size: 1.25rem; padding: 8px 10px; }
}

/* ---------- Kontakt ---------- */
.visit { padding: clamp(56px, 8vw, 112px) 0; }
.visit__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.facts { margin-top: 32px; display: grid; gap: 26px; }
.facts dt { font-weight: 800; font-size: .85rem; color: var(--ember); margin-bottom: 6px; }
.facts dd { font-size: 1.1rem; }
.facts a { text-decoration: none; border-bottom: 1px solid var(--coal-3); }
.facts a:hover { border-color: var(--ember); }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; }
.hours th, .hours td { padding: 7px 0; text-align: left; font-weight: 400; border-bottom: 1px solid var(--coal-3); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--flame); font-weight: 800; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.map { position: relative; min-height: 380px; border-radius: var(--r-tile); overflow: hidden; border: 2px solid var(--coal-3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; background: var(--coal-2); isolation: isolate; }
.map::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--slate) center / cover; opacity: .45; }
.map p { color: var(--ash); font-size: .85rem; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .visit__in { grid-template-columns: 1fr; } .map { min-height: 300px; } }

/* ---------- Stopka ---------- */
.foot { border-top: 1px solid var(--coal-3); padding: 48px 0 28px; background: #120c09; }
.foot__in { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; align-items: start; }
.foot__brand { display: flex; flex-direction: column; gap: 8px; }
.foot__brand .brand__word { font-size: 2.4rem; }
.foot__tag { color: var(--ash); }
.foot__addr { font-style: normal; color: var(--cream); line-height: 1.8; }
.foot__addr a, .foot__links a { text-decoration: none; }
.foot__addr a:hover, .foot__links > a:hover { color: var(--ember); }
.foot__links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-weight: 600; }
.foot__copy { width: min(var(--max), 100% - 2 * var(--gutter)); margin: 36px auto 0; color: var(--ash-dark); font-size: .82rem; }
@media (max-width: 760px) { .foot__in { grid-template-columns: 1fr; } }

/* ---------- Strona menu ---------- */
.mhead { position: relative; isolation: isolate; padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.mhead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--slate) center / cover; opacity: .5; }
.mhead::after { content: ""; position: absolute; inset: auto 0 0; height: 60%; z-index: -1; background: linear-gradient(transparent, var(--coal)); }
.mhead__title { font: 700 clamp(3.4rem, 10vw, 7rem)/0.9 var(--display); text-transform: uppercase; color: #fff; }
.mhead__lede { margin-top: 10px; color: var(--ash); }
.search { position: relative; margin-top: 22px; max-width: 520px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--ash); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 0 92px 0 48px; border-radius: 999px; border: 1.5px solid var(--coal-3); background: var(--coal-2); color: #fff; font: 600 1rem var(--body); -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--ash-dark); }
.search input:focus { outline: none; border-color: var(--ember); }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear { position: absolute; right: 6px; top: 6px; bottom: 6px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--coal-3); color: var(--cream); font: 700 .82rem var(--body); cursor: pointer; }

.chips { position: sticky; top: var(--top-h); z-index: 30; background: color-mix(in srgb, var(--coal) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--coal-3); }
.chips ul { display: flex; gap: 8px; overflow-x: auto; padding: 12px max(var(--gutter), calc((100vw - var(--max)) / 2)); scrollbar-width: none; }
.chips ul::-webkit-scrollbar { display: none; }
.chips a { display: block; white-space: nowrap; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--coal-3); font: 600 .88rem/1 var(--body); text-decoration: none; color: var(--cream); }
.chips a:hover { border-color: var(--ember); }
.chips a.is-active { background: var(--ember); border-color: var(--ember); color: #fff; }

.mbody { padding: 8px 0 40px; }
.mcat { padding-top: clamp(28px, 4vw, 44px); }
.mcat__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.mcat__head p { color: var(--ash); font-size: .95rem; }
.mcat[hidden], .tile[hidden] { display: none; }
.noresults { padding: 40px 0 0; color: var(--ash); font-size: 1.05rem; }
.mnote { margin-top: 40px; color: var(--ash); font-size: .9rem; text-align: center; }
.totop { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 35; width: 48px; height: 48px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.totop[hidden] { display: none; }
.totop svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ctx-menu .foot { margin-top: 24px; }

/* ---------- Podpowiedź języka ---------- */
.lang-hint { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--cream); color: var(--coal); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); max-width: calc(100% - 96px); }
@media (min-width: 760px) { .lang-hint { left: 50%; transform: translateX(-50%); } }
.lang-hint[hidden] { display: none; }
.lang-hint a { font-weight: 800; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-hint button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--coal); }

/* ---------- Strony treści / 404 ---------- */
.prose-page { padding: clamp(40px, 6vw, 80px) 0; min-height: 50vh; }
.prose { font-size: 1.05rem; }
.prose > * + * { margin-top: 1em; }
.prose a { color: var(--ember); }
.notfound__code { font: 700 clamp(5rem, 16vw, 10rem)/0.9 var(--display); color: transparent; -webkit-text-stroke: 2px var(--ember); }
