/* Portal lokalny – style wg makiety (makieta/Main.dc.html). Mobile first. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/jakarta/plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/jakarta/plus-jakarta-sans-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 {
  --text: #14211C;
  --muted: #4A5A53;
  --muted-2: #5E6E67;
  --bg: #F3F5F4;
  --card: #FFFFFF;
  --line: #DDE3E0;
  --line-soft: #EEF2F0;
  --line-strong: #C9D2CE;
  --accent: #0F6B4F;
  --accent-link: #0F5E46;
  --accent-soft: #EAF4EF;
  --warn: #B45309;
  --warn-soft: #FFF4E0;
  --warn-line: #F0D9AE;
  --warn-text: #5C3B06;
  --dark: #14211C;
  --dark-2: #1F302A;
  --dark-muted: #C9D6D0;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent-link); }
a:hover { color: #0A4433; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid #F2B33D; outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 10; background: #FFF; padding: 10px 14px; border-radius: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Przyciski – min. 44 px wysokości */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 16px; border-radius: 10px;
  font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #FFF; }
.btn-primary:hover { background: #0B5640; color: #FFF; }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: #FFF; font-weight: 600; }
.btn-outline:hover { border-color: var(--text); color: var(--text); }
.btn-dark { background: var(--dark); color: #FFF; }
.btn-dark:hover { background: #000; color: #FFF; }
.btn-light { background: #FFF; color: var(--text); }
.btn-light:hover { background: var(--bg); color: var(--text); }

/* Nagłówek */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  padding-top: 12px; padding-bottom: 12px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-height: 44px; }
.logo:hover { color: var(--text); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #FFF;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo-tag { font-size: 13px; font-weight: 600; color: var(--accent-link); }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; order: 3; width: 100%; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--bg); }
.header-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Pasek „na dziś” */
.today { background: var(--dark); color: #FFF; }
.today .wrap {
  padding-top: 10px; padding-bottom: 10px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 14px;
}
.today-item { display: flex; align-items: center; gap: 8px; }
.today-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.today-src { color: #B9C6C0; font-size: 12px; width: 100%; }

/* Komunikat */
.alert { background: var(--warn-soft); border-bottom: 1px solid var(--warn-line); }
.alert .wrap {
  padding-top: 10px; padding-bottom: 10px;
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--warn-text);
}
.alert-tag { background: var(--warn); color: #FFF; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.alert a { color: var(--warn-text); font-weight: 600; }

/* Hero */
.hero { background: var(--card); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 36px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; max-width: 760px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Układ: treść + kolumna boczna */
.layout { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.layout-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.layout-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.section-title { font-size: 26px; }
.side-title { font-size: 18px; }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted-2); }

/* Komunikaty w kolumnie bocznej */
.notices { display: flex; flex-direction: column; gap: 12px; }
.notice { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.notice:last-child { border-bottom: 0; padding-bottom: 0; }
.notice-src { font-size: 12px; font-weight: 700; color: var(--muted-2); }
.notice-title { font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; }
a.notice-title:hover { text-decoration: underline; color: var(--text); }
.notice-body { font-size: 14px; color: var(--muted); }

/* Na dziś – karty na stronie głównej */
.today-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.today-card { display: flex; flex-direction: column; gap: 4px; }
.today-card .label { font-size: 12px; font-weight: 700; color: var(--accent-link); text-transform: uppercase; letter-spacing: 0.04em; }
.today-card .value { font-size: 18px; font-weight: 700; }

/* Sekcja dla firm */
.pricing { background: var(--dark); color: #FFF; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.pricing h2 { font-size: 28px; }
.pricing .lead { font-size: 16px; color: var(--dark-muted); max-width: 620px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.plan { background: var(--dark-2); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.plan-name { font-weight: 700; font-size: 16px; }
.plan-price { font-size: 30px; font-weight: 800; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--dark-muted); }
.plan-desc { font-size: 14px; color: var(--dark-muted); }
.plan-light { background: #FFF; color: var(--text); }
.plan-light .plan-price small, .plan-light .plan-desc { color: var(--muted); }
.pricing .btn { align-self: flex-start; }

/* Strony tekstowe (regulamin, prywatność) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.prose h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.prose h2 { font-size: 20px; margin-top: 12px; }
.prose ul { margin: 0; padding-left: 20px; }
.draft { background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--warn-text); border-radius: 12px; padding: 12px 16px; font-size: 14px; }

/* Stopka */
.site-footer { background: var(--card); border-top: 1px solid var(--line); }
.site-footer .wrap {
  padding-top: 24px; padding-bottom: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted);
}
.site-footer strong { color: var(--text); }
.footer-links { display: flex; gap: 4px 16px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Wyszukiwarka i kategorie */
.search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; }
.search input {
  flex: 999 1 280px; min-width: 0; height: 52px; padding: 0 18px;
  border: 1.5px solid var(--line-strong); border-radius: 12px; font: inherit; font-size: 16px; color: var(--text); background: #FFF;
}
.search input::placeholder { color: var(--muted-2); }
.search .btn { flex: 1 0 auto; height: 52px; padding: 0 26px; border-radius: 12px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  background: #EEF2F0; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600;
}
.chip span { color: var(--muted-2); font-weight: 500; }
.chip:hover { background: #E2E8E5; color: var(--text); }
.chip.is-active { background: var(--dark); color: #FFF; }
.chip.is-active span { color: #B9C6C0; }
.hero-compact .wrap { padding-top: 20px; padding-bottom: 24px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs-page { padding-top: 20px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.more { font-weight: 600; font-size: 15px; }

/* Kafelki firm */
.firms { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.firm { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.firm-featured { border-color: var(--dark); }
.firm-photo { display: block; height: 120px; background: #E4EAE7; }
.firm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.firm-badge { position: absolute; top: 10px; left: 10px; background: var(--dark); color: #FFF; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.firm:not(:has(.firm-photo)) .firm-badge { position: static; align-self: flex-start; margin: 14px 16px 0; }
.firm-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.firm-cat { font-size: 12px; font-weight: 700; color: var(--accent-link); text-transform: uppercase; letter-spacing: 0.04em; }
.firm-name { font-size: 17px; font-weight: 700; color: var(--text); text-decoration: none; }
a.firm-name::after { content: ''; position: absolute; inset: 0; }
a.firm-name:hover { color: var(--accent-link); }
.firm-info { font-size: 14px; color: var(--muted); }
.firm-open { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.firm-open.is-open { color: var(--accent-link); }
.firm-tel { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

/* Wizytówka */
.btn-lg { min-height: 52px; padding: 14px 20px; border-radius: 12px; font-size: 16px; gap: 8px; }
.btn-outline.btn-lg { border-width: 1.5px; }
.biz-cover { margin-top: 16px; height: 220px; border-radius: 18px; overflow: hidden; background: #E4EAE7; }
.biz-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-head { padding: 20px 0 8px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.biz-title { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.biz-cat { font-size: 13px; font-weight: 700; color: var(--accent-link); text-transform: uppercase; letter-spacing: 0.05em; }
.biz-title h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.biz-meta .is-open { color: var(--accent-link); font-weight: 700; }
.biz-meta .is-closed { color: #8A2C1B; font-weight: 700; }
.biz-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.layout-biz { padding-top: 8px; }
.biz-main { gap: 28px; }
.biz-section { display: flex; flex-direction: column; gap: 14px; }
.biz-section h2 { font-size: 22px; }
.card.biz-section { border-radius: 16px; padding: 24px; }
.biz-text { font-size: 16px; line-height: 1.6; color: #2E3D37; }
.price-list { display: flex; flex-direction: column; gap: 12px; }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
.price-row:last-child { border-bottom: 0; padding-bottom: 0; }
.price-row strong { white-space: nowrap; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gallery a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #E4EAE7; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-side { border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
.biz-side h2 { font-size: 18px; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.hours-row.is-today { font-weight: 700; }
.biz-link { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; font-weight: 600; }
.map { min-height: 160px; border-radius: 12px; background: #DDE6E1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; overflow: hidden; }
.map iframe { width: 100%; height: 220px; border: 0; border-radius: 12px; }
.map:has(iframe) { padding: 0; background: none; }

/* Formularze */
.form { display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 14px; font-weight: 600; }
.form input[type=text], .form input[type=email], .form textarea {
  min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 16px; color: var(--text); background: #FFF;
}
.form textarea { resize: vertical; }
.form .btn { min-height: 46px; margin-top: 4px; font-size: 15px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; color: var(--muted); }
.form-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.form-err { font-size: 13px; color: #8A2C1B; font-weight: 600; }
.form-ok { background: var(--accent-soft); color: var(--accent-link); border-radius: 10px; padding: 12px; font-weight: 600; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pakiety – rozszerzenia */
.plan { position: relative; }
.plan-flag { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--warn); color: #FFF; text-transform: uppercase; letter-spacing: 0.04em; }
.plan-features { margin: 4px 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; flex: 1; }
.plan-features li { padding-left: 22px; position: relative; }
.plan-features li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .8; }
.plans-full .plan { gap: 10px; }
.plans-full .plan .btn { align-self: stretch; }
.plan-addon { font-size: 14px; color: var(--dark-muted); }
.plan-addon strong { color: #FFF; }
.btn-outline-light { border-color: #5A6B64; color: #FFF; background: transparent; font-weight: 600; }
.btn-outline-light:hover { border-color: #FFF; color: #FFF; }
.pricing-full h2 { font-size: 26px; }
.plans-full { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan-addon-card { background: var(--dark-2); border-radius: 14px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.plan-addon-card > div { display: flex; flex-direction: column; gap: 4px; max-width: 640px; }
.layout-single { flex-direction: column; align-items: stretch; }
.steps, .faq { display: flex; flex-direction: column; gap: 14px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: step; }
.steps-list li { display: flex; flex-direction: column; gap: 6px; counter-increment: step; }
.steps-list li::before { content: counter(step); width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-link); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.split > * { flex: 1 1 360px; min-width: 0; }
.order { display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; min-height: 44px; list-style-position: outside; }
.faq details p { padding: 0 20px 16px; font-size: 15px; }
.form select { min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 16px; color: var(--text); background: #FFF; }

/* Promocje */
.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.promo { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.promo-photo { display: block; aspect-ratio: 16 / 9; background: #E4EAE7; }
.promo-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.promo h3 { font-size: 18px; line-height: 1.3; }
.promo h3 a { color: var(--text); text-decoration: none; }
.promo h3 a:hover { text-decoration: underline; }
.promo-price { font-size: 20px; font-weight: 800; }
.promo-price s { font-size: 15px; font-weight: 500; color: var(--muted-2); margin-left: 6px; }
.promo-price-lg { font-size: 28px; }
.promo-where { font-size: 14px; }
.promo-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.promo-more { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.tag-business { background: #E3EEFB; color: #173E73; }
.tag-resident { background: #FDEBD3; color: #7A3D05; }
.vote { display: flex; align-items: center; gap: 4px; }
.vote form { margin: 0; }
.vote-btn { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-strong); background: #FFF; font: inherit; font-weight: 700; cursor: pointer; }
.vote-up { color: var(--accent-link); }
.vote-down { color: #8A2C1B; }
.vote-up.is-on { background: var(--accent); border-color: var(--accent); color: #FFF; }
.vote-down.is-on { background: #8A2C1B; border-color: #8A2C1B; color: #FFF; }
.vote-score { font-weight: 700; font-size: 15px; min-width: 32px; text-align: center; }
.share-deal { background: var(--accent-soft); border: 1px dashed #8DBBA7; border-radius: 14px; padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.share-deal p { font-size: 15px; }
.promo-detail { display: flex; flex-direction: column; gap: 14px; border-radius: 16px; padding: 24px; }
.promo-detail h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -0.03em; }
.promo-image { width: 100%; max-height: 480px; object-fit: contain; border-radius: 12px; background: var(--bg); }
.promo-facts { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.promo-facts div { display: flex; gap: 12px; }
.promo-facts dt { min-width: 70px; color: var(--muted-2); font-weight: 600; }
.promo-facts dd { margin: 0; }
.comment { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.comment p { font-size: 15px; }
.comment:target { background: var(--warn-soft); border-radius: 8px; padding: 8px; }
.biz-promo { background: var(--warn-soft); border: 1px solid var(--warn-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--warn-text); }
.biz-promo-tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--warn); color: #FFF; }
.biz-promo h2 { font-size: 24px; }
.biz-promo h2 a { color: var(--text); text-decoration: none; }
.biz-promo .promo-price { color: var(--text); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.form-row > div { display: flex; flex-direction: column; gap: 8px; }
.form input[type=date], .form input[type=url], .form input[type=file] { min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 16px; background: #FFF; }
.radios { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.radios legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.radios .form-check { font-size: 15px !important; color: var(--text); align-items: center; min-height: 32px; }

/* Ogłoszenia */
.ads { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.ad { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.ad:hover { border-color: var(--line-strong); color: var(--text); }
.ad-promoted { border-color: #E8B67A; }
.ad-photo { position: relative; aspect-ratio: 4 / 3; background: #E4EAE7; }
.ad-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-badge { position: absolute; top: 8px; left: 8px; background: var(--warn); color: #FFF; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; }
.ad-badge-static { position: static; }
.ad-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.ad-title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.ad-price { font-size: 18px; font-weight: 800; }
.ad-price.is-free { color: var(--accent-link); }
.ad-price-lg { font-size: 28px; }
.ad-gallery { display: flex; flex-direction: column; gap: 10px; }
.ad-gallery-main { width: 100%; max-height: 520px; object-fit: contain; background: #E4EAE7; border-radius: 16px; }
.ad-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.ad-thumbs a { flex: none; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; }
.ad-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chip-sm { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.radios-inline { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
.radios-inline legend { width: 100%; }
/* Paczki */
.bags-section { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.bags-head { display: flex; flex-direction: column; gap: 6px; max-width: 600px; }
.bags-tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-link); }
.bags { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.bag { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: #FFF; }
.bag-photo { height: 96px; background: #EADBC4; position: relative; }
.bag-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bag-left { position: absolute; top: 8px; right: 8px; background: var(--accent-link); color: #FFF; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.bag-left.is-low { background: var(--warn); }
.bag-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bag-firm { font-size: 13px; font-weight: 700; color: var(--accent-link); }
.bag-title { font-size: 16px; font-weight: 700; }
.bag-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.bag-prices { display: flex; align-items: baseline; gap: 8px; }
.bag-price { font-size: 22px; font-weight: 800; }
.bag-prices s { font-size: 14px; color: var(--muted-2); }
.reservation { display: flex; flex-direction: column; gap: 14px; border-radius: 16px; padding: 24px; }
.reservation h1 { font-size: 24px; }
.res-code { font-size: 56px; font-weight: 800; letter-spacing: 0.18em; color: var(--accent-link); background: var(--accent-soft); border-radius: 14px; text-align: center; padding: 12px; font-variant-numeric: tabular-nums; }
/* Praca i zlecenia */
.work-list { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.work-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--text); }
.work-row:last-child { border-bottom: 0; }
.work-row:hover { background: #FAFBFA; color: var(--text); }
.work-main { flex: 999 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.work-title { font-size: 16px; font-weight: 600; }
.work-pay { font-size: 16px; font-weight: 800; white-space: nowrap; }
.tag-job { background: #E3EEFB; color: #173E73; white-space: nowrap; }
.tag-task { background: #FDEBD3; color: #7A3D05; white-space: nowrap; }

/* Płatności */
.invoice-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.invoice-fields { display: none; flex-direction: column; gap: 8px; }
.invoice-box { position: relative; }
.inv-toggle { position: absolute; left: 12px; top: 14px; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.inv-label { padding-left: 30px; min-height: 28px; align-items: center; font-size: 15px !important; color: var(--text) !important; cursor: pointer; }
.inv-toggle:checked ~ .invoice-fields { display: flex; }
.checkout-summary { display: flex; flex-direction: column; gap: 10px; }
.checkout-summary > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.checkout-total { border-top: 1px solid var(--line-soft); padding-top: 10px; font-size: 18px !important; }
.checkout-total strong { font-size: 24px; }
.pay-method { padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px !important; color: var(--text) !important; }
.pay-method:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.blik-input { font-size: 28px !important; letter-spacing: 0.4em; text-align: center; max-width: 240px; font-variant-numeric: tabular-nums; }
.blik-box { display: flex; flex-direction: column; gap: 12px; }
.blik-box h2 { font-size: 20px; }
.blik-box ol { margin: 0; padding-left: 20px; }
.blik-data { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.blik-data div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.blik-data dt { color: var(--muted-2); font-weight: 600; font-size: 14px; }
.blik-data dd { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.btn-copy { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.pay-paid { color: var(--accent-link); }
.pay-awaiting { color: var(--warn); }
.pay-expired, .pay-canceled { color: var(--muted-2); }

/* Wydarzenia, nekrologi, newsletter */
.side-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.side-box { display: flex; flex-direction: column; gap: 12px; }
.side-links { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.event-row { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--text); min-height: 44px; }
.event-row:hover .event-title { text-decoration: underline; }
.event-date { width: 54px; flex: none; border-radius: 10px; background: var(--accent-soft); text-align: center; padding: 6px 0; display: flex; flex-direction: column; }
.event-day { font-size: 20px; font-weight: 800; color: var(--accent-link); line-height: 1.1; }
.event-mon { font-size: 12px; font-weight: 700; color: var(--accent-link); }
.event-date-lg { width: 72px; padding: 10px 0; }
.event-date-lg .event-day { font-size: 28px; }
.event-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.event-title { font-size: 15px; font-weight: 600; }
.events-month { display: flex; flex-direction: column; gap: 12px; }
.events-list { display: flex; flex-direction: column; gap: 12px; }
.event-head { display: flex; gap: 16px; align-items: center; }
.obit-mini { padding: 12px; background: var(--bg); border-radius: 10px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.obituary { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.obituary h2 { font-size: 20px; margin: 0; }
.nl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-row input { flex: 999 1 160px; min-width: 0; }
.nl-row .btn { flex: 1 0 auto; min-height: 44px; margin: 0; }

@media (min-width: 768px) { .bags-section { padding: 24px; } }

@media (min-width: 768px) { .ads { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

@media (min-width: 768px) {
  :root { --gutter: 24px; }
  .site-header .wrap { padding-top: 16px; padding-bottom: 16px; }
  .main-nav { order: 0; width: auto; }
  .today-src { width: auto; margin-left: auto; }
  .hero .wrap { padding-top: 48px; padding-bottom: 40px; gap: 20px; }
  .layout { padding-top: 40px; padding-bottom: 40px; }
  .pricing { padding: 32px; }
  .biz-cover { height: 300px; }
  .hero-compact .wrap { padding-top: 24px; padding-bottom: 32px; }
}
