.thanks-page {
    --thanks-green: #568d12;
    --thanks-green-dark: #315d32;
    --thanks-green-soft: #edf6e4;
    --thanks-ink: #203029;
    --thanks-muted: #68756e;
    --thanks-line: #dce7dc;
    padding: 34px 0 72px;
    color: var(--thanks-ink);
    background:
        radial-gradient(circle at 8% 4%, rgba(143, 190, 72, .17), transparent 28rem),
        radial-gradient(circle at 93% 30%, rgba(98, 157, 3, .08), transparent 25rem),
        linear-gradient(180deg, #fbfdf9, #fff 46rem);
}
.thanks-page *, .thanks-page *::before, .thanks-page *::after { box-sizing: border-box; }
.thanks-wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.thanks-hero { max-width: 790px; margin: 0 auto 34px; text-align: center; }
.thanks-ladybug { display: block; width: 118px; height: auto; margin: 0 auto 7px; }
.thanks-kicker { margin: 0 0 8px; color: var(--thanks-green); font-size: 13px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.thanks-title { margin: 0; color: var(--thanks-ink); font-size: clamp(36px, 6vw, 58px); line-height: 1.06; font-weight: 850; }
.thanks-intro { max-width: 690px; margin: 16px auto 0; color: var(--thanks-muted); font-size: 17px; line-height: 1.7; }
.thanks-summary { display: inline-flex; margin-top: 15px; padding: 7px 12px; border-radius: 999px; background: var(--thanks-green-soft); color: var(--thanks-green-dark); font-size: 13px; font-weight: 800; }
.thanks-gallery-card { padding: 22px; border: 1px solid var(--thanks-line); border-radius: 25px; background: rgba(255, 255, 255, .97); box-shadow: 0 16px 45px rgba(42, 69, 49, .1); }
.thanks-gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.thanks-gallery-heading h2 { margin: 0; color: var(--thanks-ink); font-size: clamp(22px, 3vw, 29px); font-weight: 820; }
.thanks-gallery-heading span { flex: 0 0 auto; color: var(--thanks-muted); font-size: 13px; font-weight: 750; }
.thanks-gallery { display: grid; width: 85%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 auto; }
.thanks-photo { position: relative; display: block; min-width: 0; height: max-content; overflow: hidden; align-self: start; border: 1px solid var(--thanks-line); border-radius: 17px; background: #f2f6ef; box-shadow: 0 7px 20px rgba(43, 69, 50, .08); }
.thanks-page .thanks-photo img { display: block; width: 100%; height: auto; margin: 0; border: 0 !important; object-fit: contain; transition: transform .3s ease; }
.thanks-photo::after { content: 'Powiększ'; position: absolute; right: 9px; bottom: 9px; padding: 6px 9px; border-radius: 999px; background: rgba(24, 39, 31, .76); color: #fff; font-size: 11px; opacity: 0; transform: translateY(5px); transition: .22s; }
.thanks-photo:hover img { transform: scale(1.02); }
.thanks-photo:hover::after { opacity: 1; transform: translateY(0); }
.thanks-empty { margin: 0; padding: 40px 20px; border: 1px dashed #b8cbb5; border-radius: 18px; color: var(--thanks-muted); text-align: center; }
.thanks-pagination { margin-top: 34px; }
.thanks-pagination-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.thanks-page-link { display: grid; min-width: 42px; height: 42px; padding: 0 10px; place-items: center; border: 1px solid var(--thanks-line); border-radius: 11px; background: #fff; color: var(--thanks-green-dark); font-weight: 800; text-decoration: none !important; }
.thanks-page-link:hover { border-color: var(--thanks-green); background: var(--thanks-green-soft); color: var(--thanks-green-dark); }
.thanks-page-link.is-current { border-color: var(--thanks-green-dark); background: var(--thanks-green-dark); color: #fff; }
.thanks-page-link.is-disabled { color: #a7aea9; pointer-events: none; }
.thanks-page-ellipsis { display: grid; min-width: 28px; height: 42px; place-items: center; color: var(--thanks-muted); }
@media (max-width: 850px) { .thanks-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .thanks-page { padding: 24px 0 50px; }
    .thanks-wrap { width: min(100% - 18px, 520px); }
    .thanks-hero { margin-bottom: 25px; }
    .thanks-ladybug { width: 94px; }
    .thanks-intro { font-size: 15px; }
    .thanks-gallery-card { padding: 13px; border-radius: 19px; }
    .thanks-gallery-heading { align-items: flex-start; flex-direction: column; gap: 5px; padding: 5px 4px 0; }
    .thanks-gallery { width: 100%; grid-template-columns: 1fr; gap: 11px; }
    .thanks-photo { border-radius: 14px; }
    .thanks-page-link { min-width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .thanks-photo img, .thanks-photo::after { transition: none; } }
