/* Mięsna Pucha v2 — styl starej strony, łagodniej.
   Układ: czarne sekcje jak etykieta puszki, ciepłe jasne sekcje z szarymi łapkami w tle,
   nagłówki w Pacifico, tekst w Poppins 400, duże zaokrąglenia, bez ostrych linii. */
:root {
  /* Kolory */
  --ink: #111113;          /* czarne sekcje */
  --ink-2: #1c1c20;        /* karty na czarnym */
  --cream: #f7f4f0;        /* jasne tło: ciepłe, zamiast ostrej bieli */
  --card: #fffdfb;         /* karty na jasnym */
  --text: #2a2a2e;         /* tekst na jasnym, miękka czerń */
  --muted: #6d6a70;
  --muted-dark: #b9b6bd;
  --soft-line: #ebe5de;
  --pink: #e94f9b;         /* róż marki */
  --pink-deep: #d43f88;
  --pink-band: #e6539c;    /* różowy pas */
  --blue: #76c5ef;
  --orange: #f8981c;
  --teal: #5fd0c8;

  /* Typografia */
  --font-script: "Pacifico", "Brush Script MT", cursive;
  --font: "Poppins", "Segoe UI", system-ui, sans-serif;
  --fs-hero: clamp(2.3rem, 1.2rem + 3.6vw, 4.6rem);
  --fs-h2: clamp(2.1rem, 1.4rem + 2.4vw, 3.6rem);
  --fs-h3: 1.12rem;

  /* Kształty */
  --r-lg: 24px;
  --r-md: 18px;
  --r-pill: 999px;
  --shadow: 0 10px 30px rgba(60, 40, 30, .08);
  --shadow-hover: 0 16px 40px rgba(60, 40, 30, .14);
  --wrap: 1480px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.7;
  color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; text-wrap: balance; }
h3 { font-weight: 600; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: 104px; position: relative; }
.light { background: var(--cream) url("../img/lapki-tlo.svg") center top / 1920px auto repeat-y; }
.dark { background: var(--ink); color: #fff; }

/* Nagłówki sekcji jak na starej stronie: Pacifico, wyśrodkowane, łapki pod spodem */
.title { font-family: var(--font-script); font-weight: 400; font-size: var(--fs-h2); line-height: 1.35; }
.title-block { text-align: center; display: grid; justify-items: center; gap: 14px; margin-bottom: 48px; }
.title-block .paw-row { width: 110px; height: 50px; background: url("../img/lapki2-03.svg") center / contain no-repeat; }
.title-block p { max-width: 62ch; color: var(--muted); }
.dark .title-block p { color: var(--muted-dark); }
.title-block.left { text-align: left; justify-items: start; }

/* Przyciski: miękkie pigułki */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 36px; border-radius: var(--r-pill); border: 2px solid transparent;
  font: 600 1.06rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 8px 20px rgba(233, 79, 155, .3); }
.btn-pink:hover { background: var(--pink-deep); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { min-height: 52px; padding: 0 24px; font-size: .98rem; }
.btn-lg { min-height: 68px; padding: 0 44px; font-size: 1.15rem; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* Nagłówek strony */
.site-header { background: var(--ink); color: #fff; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 40px; min-height: 84px; }
.logo img { width: 150px; }
.nav { display: flex; gap: 30px; align-items: center; font-size: .92rem; margin-right: auto; }
.nav a { text-decoration: none; color: #e6e4e8; }
.nav a:hover { color: var(--pink); }
.nav .shop { border: 1.5px solid var(--pink); padding: 6px 16px; border-radius: var(--r-pill); color: #fff; }
.nav .shop:hover { background: var(--pink); color: #fff; }
.cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.cart svg { width: 24px; height: 24px; }
.cart b { position: absolute; top: 4px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px;
  background: var(--pink); font-size: .68rem; display: grid; place-items: center; }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; width: 44px; height: 44px; }
.menu-btn svg { width: 26px; height: 26px; }

/* Hero */
.hero { padding-block: 64px 88px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-paws { width: 340px; max-width: 100%; height: 42px; background: url("../img/lapki-03.svg") left center / auto 42px no-repeat; }
.hero h1 { font-family: var(--font-script); font-weight: 400; font-size: var(--fs-hero); line-height: 1.3; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero .sub { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 500; color: #fff; max-width: 34ch; }
.hero p { color: #d9d7dc; max-width: 52ch; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 4px 0 0; color: #cfcdd3; font-size: .95rem; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: "✓"; color: var(--teal); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.hero-img { position: relative; display: grid; place-items: center; }
.hero-img::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 4%; height: 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent); z-index: 0; }
.hero-img img { position: relative; z-index: 1; width: 100%; max-width: 640px; }

/* O marce */
.about { text-align: center; display: grid; justify-items: center; gap: 18px; }
.about h3 { font-size: 1.3rem; }
.about p { max-width: 70ch; color: var(--muted); }
.about strong { color: var(--text); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.chip { background: var(--card); border-radius: var(--r-pill); padding: 10px 20px; box-shadow: var(--shadow); font-size: .92rem; }
.chip b { font-weight: 600; color: var(--pink-deep); }

/* Dwie drogi zakupu */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.path { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease; }
.path:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.path > div { display: grid; gap: 8px; min-width: 0; }
.path h3 { font-family: var(--font-script); font-weight: 400; font-size: 1.6rem; line-height: 1.4; }
.path p { color: var(--muted); }
.path .go { color: var(--pink-deep); font-weight: 500; margin-top: 6px; }
.path .icons { display: flex; gap: 6px; }
.path .icons img { width: 56px; height: 56px; }
.path .help { width: 150px; }

/* Co tu znajdziesz (czarna) */
.inside { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.inside-copy { display: grid; gap: 16px; min-width: 0; }
.inside-copy .title { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); }
.inside-copy h3 { font-size: 1.1rem; }
.inside-copy p { color: #d4d2d8; }
.inside-copy strong { color: #fff; font-weight: 600; }
.inside-img img { max-width: 360px; margin-inline: auto; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; }
.feature { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 28px 18px; }
.feature:not(:nth-child(4n)) { border-right: 1px dashed rgba(255,255,255,.18); }
.feature:nth-child(-n+4) { border-bottom: 1px dashed rgba(255,255,255,.18); }
.feature img, .feature .badge { width: 68px; height: 68px; }
.feature .badge { border: 2px solid var(--orange); border-radius: 50%; display: grid; place-items: center; color: var(--orange); font-weight: 600; font-size: .68rem; line-height: 1.15; }
.feature h3 { font-size: .95rem; font-weight: 500; }
.flavours { margin-top: 48px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.flavours p { color: var(--muted-dark); }
.flavours ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.flavours li { background: var(--ink-2); border-radius: var(--r-pill); padding: 8px 18px; font-size: .9rem; }

/* Produkty */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-rows: auto 1fr;
  transition: box-shadow .2s ease, transform .2s ease; }
.product:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.product-img { aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 60%, #2a2a2f, #0d0d0f 70%); display: grid; place-items: center; overflow: hidden; }
.product-img img { width: 86%; height: 86%; object-fit: contain; }
.product-body { padding: 22px 24px 24px; display: grid; gap: 8px; align-content: start; text-align: center; justify-items: center; }
.product h3 { font-size: var(--fs-h3); font-weight: 500; }
.product .note { color: var(--muted); font-size: .88rem; }
.price { font-size: 1.3rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.price-todo { color: var(--muted); font-size: 1rem; font-weight: 500; }
.add { margin-top: 8px; }
.add .tick { display: none; }
.add.added { background: #2fa36b; box-shadow: none; }
.add.added .tick { display: inline-block; }
.tag { font-size: .72rem; font-weight: 500; padding: 4px 12px; border-radius: var(--r-pill); color: #fff; }
.tag.cat { background: var(--pink); }
.tag.dog { background: #3c9fd6; }
.tag.mono { background: #e88a12; }
.center { text-align: center; margin-top: 40px; }

/* Różowy pas jak na starej stronie */
.band { background: var(--pink-band); color: #fff; padding-block: 64px 0; overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: end; }
.band-pic img { max-width: 300px; margin-inline: auto; }
.band-copy { display: grid; gap: 22px; padding-bottom: 64px; min-width: 0; }
.band-copy .title { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); }
.band-copy > p { max-width: 54ch; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; background: rgba(255,255,255,.14); border-radius: var(--r-md); padding: 16px 18px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: .92rem; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--pink-deep); display: grid; place-items: center; font-weight: 600; }
.steps b { display: block; font-weight: 600; }
.band-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-white { background: #fff; color: var(--pink-deep); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-line-white { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-line-white:hover { background: rgba(255,255,255,.15); }

/* Schroniska: stan pusty */
.shelter-empty { max-width: 760px; margin-inline: auto; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 40px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.shelter-empty h3 { font-size: 1.25rem; }
.shelter-empty p { color: var(--muted); max-width: 56ch; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.post { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; display: grid; grid-template-rows: auto 1fr;
  transition: box-shadow .2s ease, transform .2s ease; }
.post:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.post-img { aspect-ratio: 4 / 3; background: #0e0e10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.post h3 { font-size: 1rem; line-height: 1.4; }
.post span { color: var(--pink-deep); font-size: .86rem; font-weight: 500; }

/* Cytat */
.quote { text-align: center; padding-block: 56px; }
.quote p { font-family: var(--font-script); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); line-height: 1.6; max-width: 30ch; margin-inline: auto; }

/* Stopka */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-block: 56px 28px; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-top .logo-col img { width: 160px; margin-bottom: 14px; }
.footer-top .script { font-family: var(--font-script); color: #fff; font-size: 1.15rem; line-height: 1.5; }
.site-footer h4 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--pink); }
.footer-paws { height: 40px; margin-block: 36px 20px; background: url("../img/lapki-03.svg") center / auto 40px no-repeat; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }

/* Tablet */
@media (max-width: 980px) {
  .hero .wrap, .inside, .band .wrap { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-copy { justify-items: center; }
  .hero-paws { background-position: center; }
  .hero-actions { justify-content: center; }
  .hero-img { order: -1; }
  .hero-img img { max-width: 360px; }
  .products { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature { border: 0 !important; }
  .band-pic { order: 2; }
  .band-copy { padding-bottom: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .logo-col { grid-column: 1 / -1; }
}
/* Telefon */
@media (max-width: 760px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 84px; flex-direction: column; align-items: flex-start; gap: 0; background: var(--ink);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open a { padding: 12px 0; }
  .nav.open .shop { padding: 8px 18px; margin-top: 8px; }
  .site-header .wrap { justify-content: space-between; gap: 12px; }
  .menu-btn { display: grid; place-items: center; }
  .logo img { width: 128px; }
  .section { padding-block: 64px; }
  .paths, .products, .steps { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .path .icons, .path .help { grid-row: 1; }
}
@media (max-width: 440px) {
  .posts, .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn, .band-actions .btn { width: 100%; }
  .shelter-empty { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== v3: szeroko i czytelnie ===== */
.topbar { background: var(--pink); color: #fff; text-align: center; font-weight: 600; font-size: .98rem; }
.topbar a { display: block; padding: 12px 16px; text-decoration: none; }
.topbar a:hover { background: var(--pink-deep); }

/* Trzy mocne powody zamiast akapitów */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reason { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 36px 32px; display: grid; gap: 10px; align-content: start; }
.reason .big { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--pink-deep); font-variant-numeric: tabular-nums; }
.reason:nth-child(2) .big { color: #2f93c9; }
.reason:nth-child(3) .big { color: #e3830f; }
.reason h3 { font-size: 1.3rem; }
.reason p { color: var(--muted); }

/* Dwie drogi jako wielkie CTA */
.paths { gap: 32px; }
.path { padding: 44px; grid-template-columns: 1fr auto; align-items: center; }
.path h3 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem); }
.path p { font-size: 1.05rem; max-width: 40ch; }
.path .btn { justify-self: start; margin-top: 14px; }
.path .icons img { width: 84px; height: 84px; }
.path .help { width: 220px; }
.path.dark-card { background: var(--ink); color: #fff; }
.path.dark-card p { color: var(--muted-dark); }

.lead-line { text-align: center; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 500; max-width: 46ch; margin: -24px auto 48px; }
.dark .lead-line { color: #fff; }

/* Produkty szerzej */
.products { gap: 32px; }
.product-body { padding: 26px 28px 30px; gap: 10px; }
.product h3 { font-size: 1.3rem; font-weight: 600; }
.price { font-size: 1.7rem; }
.product .add { width: 100%; }

/* Różowy pas: jeden mocny komunikat + duży przycisk */
.band .wrap { grid-template-columns: .7fr 1.3fr; }
.band-pic img { max-width: 380px; }
.band-copy .title { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem); }
.band-copy .sub { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); font-weight: 500; max-width: 40ch; }
.steps { grid-template-columns: repeat(4, 1fr); }
.steps li { grid-template-columns: 1fr; font-size: .95rem; padding: 18px; }

.inside-copy .key { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.7rem); font-weight: 600; line-height: 1.35; color: #fff; }

@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .path { padding: 32px; }
}
@media (max-width: 980px) {
  .band .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .path { grid-template-columns: 1fr; }
  .path .btn { justify-self: center; }
  .path .help { width: 160px; }
  .steps { grid-template-columns: 1fr; }
  .btn-lg { min-height: 60px; padding: 0 28px; font-size: 1.05rem; }
}
.path .help { border-radius: 16px; }

/* ===== v4 ===== */
/* Hero wypełnia cały ekran: następna sekcja nie wystaje */
.hero { min-height: calc(100vh - 84px - 45px); min-height: calc(100svh - 84px - 45px); display: grid; align-items: center; padding-block: 48px; }

/* Łapki pod tytułami: szerszy pasek */
.title-block .paw-row { width: min(420px, 90%); height: 46px; background: url("../img/lapki-03.svg") center / contain no-repeat; }

/* Łapki w stopce na całą szerokość */
.footer-paws { height: 56px; margin-block: 40px 24px; background: url("../img/lapki-03.svg") left center / auto 56px repeat-x; }

/* Karta "Dla schroniska": ciepły róż zamiast czerni */
.path.pink-card { background: linear-gradient(135deg, #fde3ef, #fbd0e4); color: var(--text); }
.path.pink-card p { color: #6b4a5b; }
.path.pink-card .help { box-shadow: 0 8px 20px rgba(212, 63, 136, .18); }

/* Różowy pas: kroki jako jedna ścieżka na białych kartach */
.flow { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: 0 18px 40px rgba(120, 20, 70, .25); overflow: hidden; }
.flow li { position: relative; padding: 24px 22px 24px; display: grid; gap: 4px; align-content: start; }
.flow li + li { border-left: 1px solid #f3dbe7; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--pink); color: #fff; display: grid; place-items: center; font-size: .85rem; z-index: 1; }
.flow .n { width: 40px; height: 40px; border-radius: 50%; background: #fde3ef; color: var(--pink-deep); display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.flow li:last-child .n { background: var(--pink); color: #fff; }
.flow b { font-size: 1.02rem; font-weight: 600; }
.flow span:not(.n) { color: var(--muted); font-size: .92rem; }
.band-actions { align-items: center; gap: 28px; margin-top: 6px; }
.band .btn-dark { box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.band .btn-dark:hover { background: #000; }
.text-link { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.text-link:hover { text-decoration-thickness: 2.5px; }

@media (max-width: 1100px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(3) { border-left: 0; }
  .flow li:nth-child(n+3) { border-top: 1px solid #f3dbe7; }
  .flow li:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow li { border-left: 0 !important; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .flow li + li { border-top: 1px solid #f3dbe7; }
  .flow .n { grid-row: span 2; margin: 0; }
  .flow li::after { display: none; }
  .band-actions { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ===================== Podstrony ===================== */
.wrap.narrow { max-width: 880px; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; justify-content: inherit; }
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.btn-disabled { background: #e9e4de; color: var(--muted); cursor: not-allowed; }
.btn-ghost-dark { border-color: var(--text); color: var(--text); }
.btn-ghost-dark:hover { background: var(--text); color: #fff; }
.text-link-dark { color: var(--text); font-weight: 500; }
.full { width: 100%; }

/* Komunikaty */
.flashes { padding-top: 16px; display: grid; gap: 10px; }
.flash { border-radius: var(--r-md); padding: 14px 18px; font-weight: 500; background: #e3f5ea; color: #1d6b42; }
.flash a { color: inherit; }
.flash-error { background: #fde3e3; color: #9b1c1c; margin-bottom: 20px; }

/* Nagłówek podstrony */
.page-head { padding-top: 56px; text-align: center; }
.page-head .wrap { display: grid; justify-items: center; gap: 12px; padding-bottom: 28px; }
.page-head .title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.page-lead { color: #d9d7dc; max-width: 60ch; font-size: 1.08rem; }
.page-head .paws { height: 46px; background: url("../img/lapki-03.svg") left center / auto 46px repeat-x; opacity: .9; }
.crumbs { font-size: .86rem; color: var(--muted-dark); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs-light { color: var(--muted); margin-bottom: 24px; }
.crumbs-light a:hover { color: var(--pink-deep); }

/* Filtry sklepu */
.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--r-pill); background: var(--card); box-shadow: var(--shadow); text-decoration: none; font-weight: 500; }
.chip-link img { width: 24px; height: 24px; }
.chip-link.on { background: var(--ink); color: #fff; }
.chip-link.on img { filter: invert(1); }
.product h3 a { text-decoration: none; }
.product a.product-img { display: grid; }
.price s { color: var(--muted); font-weight: 400; font-size: .8em; margin-right: 6px; }

.cta-strip { margin-top: 72px; background: var(--pink-band); color: #fff; border-radius: var(--r-lg); padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-strip .title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.cta-strip p { max-width: 52ch; }

/* Karta produktu */
.pp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pp-main { background: radial-gradient(circle at 50% 60%, #2a2a2f, #0d0d0f 70%); border-radius: var(--r-lg); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.pp-main img { width: 86%; height: 86%; object-fit: contain; }
.pp-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.pp-thumbs button { width: 84px; height: 84px; padding: 6px; border-radius: 14px; border: 2px solid transparent; background: #111; cursor: pointer; }
.pp-thumbs button:hover, .pp-thumbs button:focus-visible { border-color: var(--pink); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pp-info { display: grid; gap: 16px; justify-items: start; }
.pp-info .title { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.pp-short { font-size: 1.1rem; color: var(--muted); }
.pp-price { font-size: 2.2rem; font-weight: 600; }
.pp-price s { font-size: .6em; color: var(--muted); font-weight: 400; }
.stock { font-weight: 500; font-size: .95rem; }
.stock::before { content: "●"; margin-right: 8px; }
.stock.in { color: #1d8a55; } .stock.low { color: #c46b00; } .stock.out { color: #b42318; }
.buy-box { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.qty { display: inline-flex; align-items: center; background: var(--card); border-radius: var(--r-pill); box-shadow: var(--shadow); padding: 4px; }
.qty button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--text); }
.qty button:hover { background: #f3ede6; }
.qty input { width: 54px; text-align: center; border: 0; background: transparent; font: 600 1.05rem var(--font); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.gift-box { width: 100%; background: linear-gradient(135deg, #fde3ef, #fbd0e4); border-radius: var(--r-md); padding: 18px 20px; display: grid; gap: 10px; }
.gift-title { font-weight: 600; }
.gift-row { display: flex; flex-wrap: wrap; gap: 10px; }
.gift-row select { flex: 1 1 160px; min-width: 0; }
.pp-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.pp-details .rich { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px; }

/* Treści z edytora */
.rich { line-height: 1.75; }
.rich h2 { font-size: 1.4rem; margin: 1.4em 0 .5em; }
.rich h3 { font-size: 1.15rem; margin: 1.2em 0 .4em; }
.rich > :first-child { margin-top: 0; }
.rich p, .rich ul, .rich ol { margin: 0 0 1em; }
.rich a { color: var(--pink-deep); }
.rich img { border-radius: var(--r-md); margin: 1em 0; }
.rich blockquote { margin: 1em 0; padding: 14px 20px; border-left: 4px solid var(--pink); background: #fdf1f7; border-radius: 0 12px 12px 0; }
.rich table { width: 100%; border-collapse: collapse; } .rich td, .rich th { padding: 8px; border-bottom: 1px solid var(--soft-line); text-align: left; }
.article { padding: clamp(24px, 4vw, 48px); }
.post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 28px; background: #111; }
.posts-3 { grid-template-columns: repeat(3, 1fr); }

/* Formularze */
.form-card { padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.form-card h2 { font-size: 1.3rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span2 { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.field small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], input:not([type]), select, textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--text); background: #fff; border: 1.5px solid #e2dbd3; border-radius: 12px; padding: 12px 14px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(233,79,155,.18); }
.has-err input, .has-err textarea, .has-err select { border-color: #d92d20; }
.field-err { color: #b42318; font-size: .86rem; font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--pink); flex: none; }
.check a { color: var(--pink-deep); }
.company-box summary { cursor: pointer; font-weight: 500; color: var(--pink-deep); }
.company-box .grid2 { margin-top: 14px; }
.info-card p { color: var(--muted); }

/* Koszyk i kasa */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.checkout-main { display: grid; gap: 20px; min-width: 0; }
.cart-lines { padding: 8px 24px; min-width: 0; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto auto 36px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--soft-line); }
.cl-img { width: 76px; height: 76px; border-radius: 14px; background: #111; display: grid; place-items: center; overflow: hidden; }
.cl-img img { width: 100%; height: 100%; object-fit: contain; }
.cl-name { display: grid; gap: 2px; min-width: 0; }
.cl-name a { font-weight: 600; text-decoration: none; }
.cl-name span { color: var(--muted); font-size: .88rem; }
.cl-name .warn { color: #b42318; }
.cl-total { font-size: 1.05rem; white-space: nowrap; }
.cl-remove { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f3ede6; font-size: 1.3rem; cursor: pointer; color: var(--muted); }
.cl-remove:hover { background: #fde3e3; color: #b42318; }
.cart-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 0; }
.cart-summary { padding: 28px; display: grid; gap: 12px; position: sticky; top: 100px; }
.cart-summary h2 { font-size: 1.25rem; }
.sum-row, .sum-line { display: flex; justify-content: space-between; gap: 12px; }
.sum-line { font-size: .92rem; color: var(--muted); }
.sum-row { padding-top: 10px; border-top: 1px solid var(--soft-line); }
.sum-row.muted { color: var(--muted); font-size: .9rem; }
.sum-row.total { font-size: 1.3rem; font-weight: 600; }
.pay-note { text-align: center; color: var(--muted); font-size: .86rem; }
.ship-options { display: grid; gap: 10px; }
.ship-opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid #e2dbd3; border-radius: 14px; cursor: pointer; }
.ship-opt:has(input:checked) { border-color: var(--pink); background: #fff6fa; }
.ship-opt input { accent-color: var(--pink); width: 20px; height: 20px; }
.ship-opt span { display: grid; } .ship-opt small { color: var(--muted); }
.big-ok { font-size: 1.25rem; font-weight: 600; color: #1d6b42; }

/* Liczniki i schroniska */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.counters div { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 26px; text-align: center; display: grid; gap: 4px; }
.counters strong { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: var(--pink-deep); font-variant-numeric: tabular-nums; }
.counters span { color: var(--muted); }
.counters.small { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 0; }
.counters.small strong { font-size: 2.2rem; }
.shelter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shelter-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.shelter-photo { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #fde3ef, #d9eef9); display: grid; overflow: hidden; }
.shelter-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph { display: block; width: 100%; height: 100%; background: url("../img/pomagamy-razem.webp") center / 70% auto no-repeat; opacity: .9; }
.shelter-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.shelter-body h3 { font-size: 1.2rem; } .shelter-body h3 a { text-decoration: none; }
.city { color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 8px; }
.mini-stats div { background: #f8f3ee; border-radius: 14px; padding: 12px; display: grid; }
.mini-stats strong { font-size: 1.5rem; line-height: 1.1; }
.mini-stats span { font-size: .8rem; color: var(--muted); }
.shelter-body .btn { justify-self: start; }

/* Formularz "postaw puszkę" */
.donate { display: grid; gap: 22px; }
.donate-step { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.donate-step h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.donate-step h2 small { font-weight: 400; color: var(--muted); font-size: .9rem; }
.donate-step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 1rem; flex: none; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pick input, .pkg input[type=radio] { position: absolute; opacity: 0; }
.pick { position: relative; cursor: pointer; }
.pick-in { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 12px; border: 2px solid #ece5dd; border-radius: 16px; transition: border-color .15s ease, background-color .15s ease; }
.pick-in img, .pick-in .ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background-color: #fde3ef; background-size: 80%; }
.pick-text { display: grid; } .pick-text small { color: var(--muted); }
.pick input:checked + .pick-in { border-color: var(--pink); background: #fff6fa; }
.pick input:focus-visible + .pick-in, .pkg input:focus-visible + .pkg-in { outline: 3px solid var(--blue); outline-offset: 2px; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.pkg { position: relative; cursor: pointer; }
.pkg-in { display: grid; justify-items: center; gap: 2px; padding: 20px 12px; border: 2px solid #ece5dd; border-radius: 18px; text-align: center; transition: border-color .15s ease, background-color .15s ease; }
.pkg-in b { font-size: 2.4rem; line-height: 1.1; }
.pkg-in small { color: var(--muted); }
.pkg-in strong { margin-top: 6px; color: var(--pink-deep); font-size: 1.1rem; }
.pkg input:checked + .pkg-in { border-color: var(--pink); background: #fff6fa; }
.pkg-custom { margin-top: 6px; max-width: 120px; text-align: center; padding: 8px; }
.sign-row { display: flex; flex-wrap: wrap; gap: 14px; }
.sign-row input { flex: 1 1 280px; min-width: 0; }

/* Dostawy */
.deliv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deliv { display: grid; background: var(--ink-2); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; }
.deliv img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.deliv span { padding: 16px 20px; display: grid; color: var(--muted-dark); font-size: .92rem; }
.deliv b { color: #fff; font-size: 1.05rem; }
.deliv-list { display: grid; gap: 20px; }
.deliv-item { padding: 24px; display: grid; gap: 14px; }
.deliv-item header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.photo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.photo-row img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; width: 100%; }
.deliv-item blockquote { margin: 0; padding: 14px 18px; background: #fdf1f7; border-radius: 12px; font-style: italic; }
.donor-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.donor-chips li { background: var(--card); box-shadow: var(--shadow); border-radius: var(--r-pill); padding: 8px 18px; font-size: .92rem; }
.sh-top { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.sh-photo { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #fde3ef, #d9eef9); display: grid; }
.sh-photo img { width: 100%; height: 100%; object-fit: cover; }
.sh-info { display: grid; gap: 22px; justify-items: start; }
.sh-info .counters, .sh-info .rich { width: 100%; }
.band-slim { padding-block: 56px; }
.band-slim .wrap { grid-template-columns: 1fr; }
.band-slim .band-copy { padding-bottom: 0; }

.join-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.join-steps div { background: var(--card); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 18px; display: flex; gap: 12px; align-items: center; }
.join-steps .n { width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-weight: 600; flex: none; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.big-line { font-size: 1.3rem; font-weight: 600; }
.footer-bottom .company { color: #8d8a92; }

@media (max-width: 1100px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .shelter-grid, .deliv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .pp, .pp-details, .sh-top, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .posts-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid2, .counters, .join-steps, .shelter-grid, .deliv-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 60px 1fr 36px; grid-template-areas: "img name rm" "img qty total"; row-gap: 10px; }
  .cl-img { grid-area: img; width: 60px; height: 60px; } .cl-name { grid-area: name; } .cart-line .qty { grid-area: qty; justify-self: start; }
  .cl-total { grid-area: total; justify-self: end; } .cl-remove { grid-area: rm; }
  .cta-strip { padding: 28px 22px; }
  .posts-3 { grid-template-columns: 1fr; }
}

/* Karta produktu: dwa przyciski obok siebie */
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; margin-top: 8px; }
.card-actions .add-form { display: contents; }
.card-actions .btn { flex: 1 1 auto; margin: 0; padding: 0 18px; white-space: nowrap; }
.product .card-actions .add { width: auto; margin-top: 0; }
.btn-gift { background: #fde3ef; color: var(--pink-deep); border-color: transparent; }
.btn-gift svg { width: 16px; height: 16px; flex: none; }
.btn-gift:hover { background: var(--pink-deep); color: #fff; }

/* Wybór Paczkomatu na mapie */
.point-box { display: grid; gap: 10px; }
.point-pick { justify-self: start; }
.point-chosen { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--pink); background: #fff6fa; border-radius: 14px; }
.point-chosen svg { width: 28px; height: 28px; color: var(--pink-deep); }
.point-chosen div { display: grid; min-width: 0; }
.point-chosen span { color: var(--muted); font-size: .9rem; }
.has-err .point-pick { box-shadow: 0 0 0 3px rgba(217,45,32,.25); }
.map-dialog { width: min(1100px, 96vw); height: min(760px, 90vh); padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.map-dialog[open] { display: grid; grid-template-rows: auto 1fr; }
.map-dialog::backdrop { background: rgba(17,17,19,.6); }
.map-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--ink); color: #fff; }
.map-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; cursor: pointer; }
.map-body { position: relative; min-height: 0; }
.map-body inpost-geowidget { display: block; width: 100%; height: 100%; }
.map-loading { padding: 40px; text-align: center; color: var(--muted); }
@media (max-width: 640px) { .map-dialog { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; border-radius: 0; } }

/* =====================================================================
   TELEFON: kompaktowy układ (wersja 2)
   ===================================================================== */
@media (max-width: 760px) {
  body { font-size: 15px; line-height: 1.6; }
  .section { padding-block: 44px; }
  .title { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.2rem); }
  .title-block { margin-bottom: 24px; gap: 8px; }
  .title-block .paw-row { width: 220px; height: 30px; }
  .lead-line { margin: -10px auto 24px; font-size: 1rem; }
  .btn { min-height: 52px; padding: 0 24px; font-size: 1rem; }
  .btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.02rem; }

  /* Pasek i nagłówek */
  .topbar { font-size: .8rem; font-weight: 500; }
  .topbar a { padding: 9px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .site-header .wrap { min-height: 62px; }
  .logo img { width: 118px; }
  .cart { width: 42px; height: 42px; }
  .nav.open { top: 62px; padding: 6px max(20px, env(safe-area-inset-right, 0px)) 22px max(20px, env(safe-area-inset-left, 0px)); box-shadow: 0 20px 40px rgba(0,0,0,.4); border-top: 1px solid #26262b; }
  .nav.open a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid #222226; }
  .nav.open .shop { border: 0; background: var(--pink); text-align: center; margin-top: 14px; padding: 14px; width: 100%; }

  /* Hero */
  .hero { min-height: 0; padding-block: 18px 40px; text-align: left; }
  .hero .wrap { gap: 6px; }
  .hero-img img { max-width: 250px; }
  .hero-img::after { display: none; }
  .hero-copy { justify-items: stretch; gap: 16px; }
  .hero-paws { display: none; }
  .hero h1 { font-size: 2.35rem; line-height: 1.25; }
  .hero h1 em { display: block; }
  .hero .sub { font-size: 1.02rem; font-weight: 400; color: #dcdae0; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { justify-content: flex-start; gap: 6px 18px; font-size: .88rem; }

  /* Dwie drogi: zwarte karty */
  .paths { gap: 14px; }
  .path { padding: 22px; grid-template-columns: 1fr 64px; text-align: left; justify-items: stretch; gap: 14px; align-items: start; }
  .path h3 { font-size: 1.55rem; }
  .path p { font-size: .95rem; }
  .path .btn { justify-self: stretch; margin-top: 8px; min-height: 48px; }
  .path .icons, .path .help { grid-row: auto; grid-column: 2; grid-row-start: 1; }
  .path .icons { flex-direction: column; gap: 2px; }
  .path .icons img { width: 48px; height: 48px; }
  .path .help { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }

  /* Co tu znajdziesz */
  .inside { gap: 20px; }
  .inside-img { order: -1; }
  .inside-img img { max-width: 200px; }
  .inside-copy .key { font-size: 1.15rem; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 32px; }
  .feature { background: var(--ink-2); border-radius: 16px; padding: 16px 10px; gap: 8px; }
  .feature img, .feature .badge { width: 50px; height: 50px; }
  .feature h3 { font-size: .84rem; line-height: 1.35; }
  .flavours { margin-top: 28px; }
  .flavours li { padding: 6px 14px; font-size: .84rem; }

  /* Karuzele przewijane w bok */
  .rail { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 4px max(16px, env(safe-area-inset-left, 0px)) 18px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 80%; scroll-snap-align: center; min-width: 0; }
  .rail.posts > * { flex-basis: 72%; }
  .center { margin-top: 18px; }
  .center .btn { width: 100%; }

  /* Karty produktów */
  .product-body { padding: 16px 18px 20px; gap: 6px; }
  .product h3 { font-size: 1.1rem; }
  .price { font-size: 1.4rem; }
  .card-actions { flex-direction: column; gap: 8px; }
  .card-actions .btn { min-height: 46px; flex: none; width: 100%; }

  /* Różowy pas */
  .band { padding-block: 40px; }
  .band-pic { display: none; }
  .band-copy { gap: 16px; }
  .band-copy .title { font-size: 2rem; }
  .band-copy .sub { font-size: 1rem; font-weight: 400; }
  .flow li { padding: 14px 16px; }
  .band-actions .btn { width: 100%; }
  .text-link { text-align: center; }

  /* Schroniska, blog */
  .shelter-empty { padding: 26px 20px; }
  .counters { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
  .counters div { padding: 14px 6px; border-radius: 16px; }
  .counters strong { font-size: 1.7rem; }
  .counters span { font-size: .74rem; line-height: 1.3; }
  .post-body { padding: 14px 16px 18px; }
  .post h3 { font-size: .95rem; }

  .quote { padding-block: 36px; }
  .quote p { font-size: 1.2rem; }

  /* Stopka */
  .site-footer { padding-block: 36px 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-top .logo-col { grid-column: 1 / -1; }
  .footer-top .logo-col img { width: 130px; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
  .footer-paws { height: 34px; background-size: auto 34px; margin-block: 26px 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  /* Podstrony */
  .page-head { padding-top: 26px; }
  .page-head .wrap { padding-bottom: 16px; gap: 8px; }
  .page-head .title { font-size: 2.05rem; }
  .page-lead { font-size: .95rem; }
  .page-head .paws { height: 30px; background-size: auto 30px; }
  .filters { margin-bottom: 22px; gap: 8px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .chip-link { padding: 9px 16px; white-space: nowrap; flex: none; }
  .cta-strip { margin-top: 40px; }
  .cta-strip .btn { width: 100%; }

  /* Sklep: 2 kolumny */
  .products:not(.rail) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .products:not(.rail) .product-body { padding: 12px 12px 14px; }
  .products:not(.rail) .product h3 { font-size: .92rem; line-height: 1.3; }
  .products:not(.rail) .note { display: none; }
  .products:not(.rail) .tag { font-size: .64rem; padding: 3px 8px; }
  .products:not(.rail) .price { font-size: 1.12rem; }
  .products:not(.rail) .card-actions .btn { min-height: 40px; padding: 0 10px; font-size: .8rem; white-space: normal; line-height: 1.2; }

  /* Karta produktu */
  .product-page { padding-top: 18px; }
  .crumbs-light { margin-bottom: 14px; font-size: .8rem; }
  .pp { gap: 20px; }
  .pp-main { aspect-ratio: 4 / 3; }
  .pp-main img { height: 92%; }
  .pp-info { gap: 12px; }
  .pp-price { font-size: 1.9rem; }
  .buy-box { display: grid; grid-template-columns: auto 1fr; width: 100%; gap: 10px; }
  .buy-box .btn { width: 100%; padding: 0 16px; }
  .pp-details { margin-top: 28px; gap: 14px; }
  .pp-details .rich { padding: 22px; }

  /* Formularze, koszyk, kasa */
  .form-card { padding: 20px; gap: 14px; }
  .cart-lines { padding: 4px 16px; }
  .cart-summary { padding: 20px; }
  .donate-step { padding: 20px; gap: 14px; }
  .donate-step h2 { font-size: 1.15rem; }
  .pkg-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pkg-in { padding: 14px 8px; }
  .pkg-in b { font-size: 2rem; }
  .pick-grid { grid-template-columns: 1fr; }
  .sign-row .btn { width: 100%; }
  .contact-grid, .sh-top { gap: 16px; }
  .article { padding: 22px 20px; }
  .rich { font-size: .98rem; }
}

/* Menu: wejście do panelu schroniska */
.nav .panel-link { display: inline-flex; align-items: center; gap: 7px; color: #f0c9dc; }
.nav .panel-link svg { width: 18px; height: 18px; color: var(--pink); }
.nav .panel-link:hover { color: #fff; }
@media (max-width: 1100px) and (min-width: 761px) { .nav { gap: 20px; font-size: .88rem; } }
@media (max-width: 760px) {
  .nav.open .panel-link { order: 10; margin-top: 4px; color: #fff; border-bottom: 0; }
  .nav.open .shop { order: 11; }
}

/* Zapotrzebowanie na karmę (zgłoszenie schroniska) */
.needs { border: 0; margin: 0; padding: 20px; background: #faf6f1; border-radius: var(--r-md); display: grid; gap: 16px; }
.needs legend { font-weight: 600; font-size: 1.05rem; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.needs legend small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.needs-group { display: grid; gap: 8px; }
.needs-title { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.needs-group.vet .needs-title { color: var(--pink-deep); }
.needs-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.need { position: relative; cursor: pointer; }
.need input { position: absolute; opacity: 0; }
.need span { display: inline-block; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1.5px solid #e2dbd3; font-size: .9rem; transition: background-color .15s, border-color .15s; }
.need span::before { content: "+ "; color: var(--muted); }
.need input:checked + span { background: var(--pink); border-color: var(--pink); color: #fff; }
.need input:checked + span::before { content: "✓ "; color: #fff; }
.need input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
