/*
 * Strona /zamow (etap 3). Wszystkie klasy z prefiksem .tt-, żeby nie wpływać na inne strony.
 * Tokeny z sekcji 7 wytycznych.
 */

/* Czcionka (Source Sans 3 jako „Tota Sans”) jest wczytywana w base.css dla całej strony – zob. public/fonts/README.md */
:root {
    /* Kolory dopasowane do reszty strony totatua.org: jasnoniebieskie tło, białe karty, niebieski z logo. */
    --tt-bg: #DDEEF8;
    --tt-surface: #FFFFFF;
    --tt-text: #212529;
    --tt-muted: #4A5560;
    --tt-muted-strong: #3A444E;
    --tt-line: #D3E4F0;
    --tt-field: #9DB6C9;
    --tt-accent: #0D6EAD;
    --tt-accent-hover: #0B5F96;
    --tt-accent-light: #E3F2FD;
    --tt-subtitle: #0A4F80;
    --tt-success: #1F6B3A;
    --tt-success-bg: #E6F2EA;
    --tt-success-line: #B9D9C3;
    --tt-dark: #0A4F80;
    --tt-shadow: 11px 17px 23px 0 rgba(214, 214, 230, .9);
    --tt-radius-card: 24px;
    --tt-radius-btn: 30px;
    --tt-sans: "Tota Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* @font-face w base.css */
}

body:has(.tt-page) {
    background-color: var(--tt-bg);
}

.tt-page, .tt-topbar, .tt-infobar, .tt-offcanvas {
    font-family: var(--tt-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--tt-text);
}

.tt-page strong, .tt-page b, .tt-offcanvas strong {
    font-family: var(--tt-sans);
    font-weight: 700;
}

.tt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.tt-icon {
    flex: none;
    vertical-align: -0.2em;
}

/* --- Pasek informacyjny i nagłówek z koszykiem --- */

.tt-infobar {
    background: var(--tt-dark);
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 8px 16px;
}

.tt-infobar-long { display: none; }

.tt-topbar {
    background: var(--tt-surface);
    border-bottom: 1px solid var(--tt-line);
}

.tt-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.tt-topbar-title {
    font-family: var(--tt-sans);
    font-weight: 600;
    font-size: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 14px;
    border-radius: var(--tt-radius-btn);
    background: var(--tt-accent);
    border: 1px solid var(--tt-accent);
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

.tt-cart-btn:hover, .tt-cart-btn:focus-visible {
    background: var(--tt-accent-hover);
    color: #fff;
}

.tt-cart-btn.is-empty {
    background: var(--tt-surface);
    color: var(--tt-text);
    border-color: var(--tt-field);
}

.tt-cart-text { display: flex; flex-direction: column; }
.tt-cart-main { font-weight: 700; font-size: 15px; }
.tt-cart-sub { font-size: 13px; opacity: .92; }

/* --- Wstęp --- */

.tt-page h1, .tt-page h2, .tt-page h3, .tt-offcanvas h2 {
    text-align: left;
    text-transform: none;
    color: var(--tt-text);
}

.tt-page h1 {
    font-family: var(--tt-sans);
    font-weight: 600;
    font-size: 30px;
    line-height: 1.15;
    margin: 20px 0 10px;
}

.tt-lead {
    font-size: 17px;
    color: var(--tt-muted-strong);
    max-width: 62ch;
    margin: 0 0 14px;
}

.tt-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 8px;
}

.tt-steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
}

.tt-step-no {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tt-accent-light);
    color: var(--tt-accent-hover);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.tt-offering {
    background: var(--tt-surface);
    box-shadow: var(--tt-shadow);
    border-radius: var(--tt-radius-card);
    padding: 0 16px;
}

.tt-offering summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    font-weight: 700;
    cursor: pointer;
    color: var(--tt-accent-hover);
}

.tt-offering-body { padding-bottom: 14px; font-size: 15px; }
.tt-offering-body p { margin: 0 0 8px; }

.tt-offering-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.tt-offering-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    border-bottom: 1px dashed #C9D6E6;
}

.tt-offering-list li span:last-child { font-weight: 700; white-space: nowrap; }

.tt-link {
    color: var(--tt-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.tt-link:hover { color: var(--tt-accent-hover); text-decoration: underline; }

/* --- Przyciski grup --- */

.tt-groupnav { margin: 20px 0 4px; }

.tt-groupnav ul {
    list-style: none;
    margin: 0 -16px;
    padding: 0 16px 6px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.tt-groupnav li { flex: none; scroll-snap-align: start; }

.tt-groupnav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--tt-field);
    background: var(--tt-surface);
    color: var(--tt-text);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}

.tt-groupnav a:hover, .tt-groupnav a:focus-visible {
    border-color: var(--tt-accent);
    color: var(--tt-accent-hover);
}

.tt-groupnav .tt-long { display: none; }

/* --- Sekcje grup i karty --- */

.tt-group {
    margin-top: 28px;
    scroll-margin-top: 16px;
}

.tt-page h2 {
    font-family: var(--tt-sans);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 6px;
}

.tt-group-intro {
    color: var(--tt-muted-strong);
    margin: 0 0 14px;
    max-width: 70ch;
}

.tt-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

/* Link z kotwicą #produkt-{id} (np. z drogamaryi.pl): karta wyróżniona */
.tt-card { scroll-margin-top: 16px; }
.tt-card:target { border-color: var(--tt-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tt-accent) 25%, transparent), var(--tt-shadow); }

.tt-card {
    background: var(--tt-surface);
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius-card);
    box-shadow: var(--tt-shadow);
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding: 12px;
    min-width: 0;
}

.tt-cover {
    position: relative;
    width: 92px;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    background: #EFEDE6;
}

.tt-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tt-cover-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 8px;
    background: var(--tt-accent-light);
    color: var(--tt-accent-hover);
    font-family: var(--tt-sans);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
}

.tt-pdf-flag {
    display: none;
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--tt-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 1px 7px;
    border-radius: 6px;
}

.tt-is-pdf .tt-pdf-flag { display: block; }

.tt-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tt-badge {
    align-self: flex-start;
    background: var(--tt-accent-light);
    color: var(--tt-accent-hover);
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 10px;
    margin: 0 0 6px;
}

.tt-subtitle {
    color: var(--tt-subtitle);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px;
}

.tt-page h3.tt-card-title {
    font-family: var(--tt-sans);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
    margin: 0 0 6px;
}

.tt-short {
    font-size: 15px;
    color: var(--tt-muted-strong);
    margin: 0 0 10px;
}

.tt-variant {
    display: inline-flex;
    align-self: flex-start;
    border: 1px solid var(--tt-field);
    border-radius: 999px;
    padding: 2px;
    margin: 0 0 6px;
    background: var(--tt-surface);
}

.tt-variant button {
    border: 0;
    background: transparent;
    color: var(--tt-text);
    border-radius: 999px;
    min-height: 40px;
    min-width: 72px;
    padding: 0 14px;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

.tt-variant button[aria-pressed="true"] {
    background: var(--tt-accent);
    color: #fff;
}

.tt-pane { display: flex; flex-direction: column; flex: 1; }
.tt-pane[hidden] { display: none; }

.tt-facts {
    font-size: 14px;
    color: var(--tt-muted);
    margin: 0 0 10px;
}

.tt-buy {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
}

.tt-price {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
}

.tt-panel { display: flex; flex-direction: column; align-items: flex-end; }

/* --- Przyciski i licznik --- */

.tt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 18px;
    border-radius: var(--tt-radius-btn);
    border: 2px solid transparent;
    font-family: var(--tt-sans);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.tt-btn-primary { background: var(--tt-accent); color: #fff; }
.tt-btn-primary:hover, .tt-btn-primary:focus-visible { background: var(--tt-accent-hover); color: #fff; }
.tt-btn-secondary { background: var(--tt-surface); color: var(--tt-accent); border-color: var(--tt-accent); }
.tt-btn-secondary:hover, .tt-btn-secondary:focus-visible { color: var(--tt-accent-hover); border-color: var(--tt-accent-hover); }

.tt-page :focus-visible, .tt-topbar :focus-visible, .tt-offcanvas :focus-visible {
    outline: 3px solid var(--tt-accent-hover);
    outline-offset: 2px;
}

.tt-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--tt-field);
    border-radius: var(--tt-radius-btn);
    background: var(--tt-surface);
}

.tt-step {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--tt-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}

.tt-step:hover { background: var(--tt-accent-light); }

.tt-step-qty {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
}

.tt-incart {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0 0;
    color: var(--tt-success);
    font-size: 14px;
    font-weight: 700;
}

.tt-contact {
    margin: 40px 0 24px;
    padding-top: 20px;
    border-top: 1px solid var(--tt-line);
    color: var(--tt-muted-strong);
    font-size: 15px;
    text-align: center;
}

.tt-contact a { color: var(--tt-accent); font-weight: 600; }

/* --- Panel „Dodano do wysyłki” --- */

.tt-offcanvas.offcanvas-end { width: 420px; max-width: 100%; }

.tt-offcanvas.offcanvas-bottom {
    height: auto;
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
}

.tt-added {
    background: var(--tt-success-bg);
    border-bottom: 1px solid var(--tt-success-line);
    align-items: flex-start;
}

.tt-added-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--tt-success);
    font-size: 18px;
    font-weight: 700;
}

.tt-added-icon {
    background: var(--tt-success);
    color: #fff;
    border-radius: 50%;
    padding: 3px;
    width: 24px;
    height: 24px;
}

.tt-added-text { margin: 4px 0 0 32px; font-size: 15px; }

.tt-offcanvas h2.tt-panel-heading {
    font-family: var(--tt-sans);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
}

.tt-panel-list { list-style: none; padding: 0; margin: 0; }

.tt-panel-item {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--tt-line);
}

.tt-thumb {
    position: relative;
    width: 46px;
    height: 65px;
    border-radius: 4px;
    overflow: hidden;
    background: #EFEDE6;
}

.tt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-thumb .tt-pdf-flag { display: block; top: auto; bottom: 3px; right: 3px; font-size: 10px; padding: 0 4px; }

.tt-panel-info { min-width: 0; }
.tt-panel-name { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; }
.tt-panel-meta { display: block; font-size: 13px; color: var(--tt-muted); }

.tt-sum { margin: 14px 0 6px; }
.tt-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.tt-sum dt { font-weight: 400; }
.tt-sum dd { margin: 0; font-weight: 600; }
.tt-sum .tt-sum-total { border-top: 1px solid var(--tt-line); margin-top: 6px; padding-top: 10px; font-size: 17px; }
.tt-sum .tt-sum-total dt, .tt-sum .tt-sum-total dd { font-weight: 700; }

.tt-note { font-size: 14px; color: var(--tt-muted-strong); margin: 0; }

.tt-panel-actions { display: grid; gap: 10px; margin-top: 16px; }
.tt-panel-actions .tt-btn { width: 100%; }

/* --- Kroki 2–4: pasek kroków, podsumowanie, formularz --- */

.tt-container-narrow { max-width: 1100px; }

.tt-stepsbar { margin: 20px 0 8px; }

.tt-stepsbar ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 14px;
    color: var(--tt-muted);
}

.tt-stepsbar li { display: flex; align-items: center; gap: 6px; }

.tt-stepsbar-no {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--tt-field);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    background: var(--tt-surface);
}

.tt-stepsbar .is-done { color: var(--tt-success); }
.tt-stepsbar .is-done .tt-stepsbar-no { background: var(--tt-success); border-color: var(--tt-success); color: #fff; }
.tt-stepsbar .is-done .tt-icon { width: 14px; height: 14px; }
.tt-stepsbar .is-current { color: var(--tt-text); font-weight: 700; }
.tt-stepsbar .is-current .tt-stepsbar-no { background: var(--tt-accent); border-color: var(--tt-accent); color: #fff; }

.tt-checkout { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

.tt-summary {
    background: var(--tt-surface);
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius-card);
    box-shadow: var(--tt-shadow);
    padding: 16px;
}

.tt-page h2.tt-summary-title, .tt-page h2.tt-transfer-title {
    font-family: var(--tt-sans);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.tt-summary-item { grid-template-columns: 46px 1fr auto; }
.tt-summary-amount { font-weight: 600; white-space: nowrap; }
.tt-summary-change { margin: 2px 0 0; }
.tt-note-strong { font-weight: 600; margin-top: 6px; }

.tt-form { display: grid; gap: 18px; }

.tt-fieldset {
    background: var(--tt-surface);
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius-card);
    box-shadow: var(--tt-shadow);
    padding: 16px;
    margin: 0;
    min-width: 0;
}

.tt-fieldset legend {
    float: left;
    width: 100%;
    font-family: var(--tt-sans);
    font-weight: 600;
    font-size: 21px;
    margin: 0 0 12px;
    padding: 0;
}

.tt-fieldset legend + * { clear: both; }

.tt-row { display: flex; flex-wrap: wrap; gap: 0 16px; }
.tt-row > .tt-field { flex: 1 1 100%; }

.tt-field { margin-bottom: 14px; }
.tt-field:last-child { margin-bottom: 0; }

.tt-label { display: block; font-weight: 600; margin-bottom: 4px; }
.tt-req { color: #A3261B; }
.tt-opt { font-weight: 400; color: var(--tt-muted); font-size: 14px; }

.tt-input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    font: inherit;
    color: var(--tt-text);
    background: var(--tt-surface);
    border: 1px solid var(--tt-field);
    border-radius: 14px;
}

.tt-input:focus { border-color: var(--tt-accent); outline: 3px solid rgba(44, 106, 177, .25); outline-offset: 0; }
.tt-input[readonly] { background: #F2F1EC; }
.tt-input.is-invalid { border-color: #A3261B; }

.tt-hint { margin: 4px 0 0; font-size: 14px; color: var(--tt-muted); }
.tt-error { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: #A3261B; }

.tt-radio-cards { display: grid; gap: 10px; margin-bottom: 4px; }

.tt-radio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px 14px;
    border: 1px solid var(--tt-field);
    border-radius: 18px;
    background: var(--tt-surface);
    cursor: pointer;
}

.tt-radio-card:has(input:checked) { border-color: var(--tt-accent); background: var(--tt-accent-light); box-shadow: inset 0 0 0 1px var(--tt-accent); }
.tt-radio-input { width: 20px; height: 20px; accent-color: var(--tt-accent); flex: none; margin: 0; }
.tt-radio-text { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; flex: 1; }
.tt-radio-title { font-weight: 700; }
.tt-radio-price { color: var(--tt-muted-strong); }

.tt-delivery-panel { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--tt-line); }
.tt-delivery-panel[hidden] { display: none; }

.tt-locker { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tt-locker-chosen { margin: 0; }
.tt-locker-map { height: 560px; margin-top: 12px; border: 1px solid var(--tt-line); border-radius: 12px; overflow: hidden; }
.tt-locker-map[hidden] { display: none; }

.tt-consent { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; font-size: 15px; }
.tt-consent .tt-error { grid-column: 2; }
.tt-checkbox { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--tt-accent); }
.tt-consent a { color: var(--tt-accent); font-weight: 600; }

.tt-btn-block { width: 100%; }
.tt-submit { min-height: 52px; font-size: 17px; }

.tt-alert { border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; }
.tt-alert-error { background: #FBEAE8; color: #7A1D14; border: 1px solid #E8BFB9; font-weight: 600; }
.tt-alert-info { background: var(--tt-accent-light); color: var(--tt-text); }

.tt-success {
    background: var(--tt-success-bg);
    border: 1px solid var(--tt-success-line);
    border-radius: var(--tt-radius-card);
    padding: 14px 16px;
    margin: 12px 0 8px;
}

.tt-success p { margin: 4px 0 0 32px; }
.tt-success p.tt-success-title { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--tt-success); font-weight: 700; font-size: 18px; }

.tt-transfer { background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-card);
    box-shadow: var(--tt-shadow); padding: 16px; margin: 16px 0; }
.tt-transfer-data { margin: 8px 0 0; }
.tt-transfer-data div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; padding: 4px 0; }
.tt-transfer-data dt { font-weight: 400; color: var(--tt-muted-strong); }
.tt-transfer-data dd { margin: 0; font-weight: 600; }

.tt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 16px; }

/* --- Krok 3: kwota, sposób; krok 4: podziękowanie --- */

.tt-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.tt-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 8px 10px;
    border: 1px solid var(--tt-field);
    border-radius: 18px;
    background: var(--tt-surface);
    color: var(--tt-text);
    font-family: var(--tt-sans);
    cursor: pointer;
}

.tt-amount[aria-pressed="true"] { border-color: var(--tt-accent); background: var(--tt-accent-light); box-shadow: inset 0 0 0 1px var(--tt-accent); }
.tt-amount-value { font-weight: 700; font-size: 19px; }
.tt-amount-label { font-size: 13px; color: var(--tt-muted-strong); }
.tt-amount-other { margin-top: 12px; max-width: 220px; }
.tt-amount-other[hidden], .tt-transfer-wrap[hidden] { display: none; }

.tt-radio-text-col { flex-direction: column; justify-content: flex-start; }

.tt-linkbtn {
    background: none;
    border: 0;
    padding: 10px 0;
    min-height: 44px;
    color: var(--tt-accent);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    justify-self: center;
}

.tt-linkbtn:hover { color: var(--tt-accent-hover); }

.tt-why {
    background: var(--tt-surface);
    box-shadow: var(--tt-shadow);
    border-radius: var(--tt-radius-card);
    padding: 16px 18px;
}

.tt-page h2.tt-why-title, .tt-page .tt-next h2 {
    font-family: var(--tt-sans);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.tt-page h2.tt-why-title { display: flex; align-items: center; gap: 8px; color: var(--tt-subtitle); }
.tt-why-heart { color: #D9534F; flex: none; }
.tt-why-list { list-style: none; padding: 0; margin: 0 0 12px; }
.tt-why-list li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.tt-why-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--tt-accent); }
.tt-why-mass { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--tt-accent-light); font-size: 15px; }

.tt-thanks { max-width: 760px; }
.tt-next { background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-card);
    box-shadow: var(--tt-shadow); padding: 16px 18px; margin: 16px 0; }
.tt-next ol { padding-left: 20px; margin: 0; }
.tt-next li { margin-bottom: 6px; }
.tt-thanks-mass { font-weight: 600; }

/* Krok 3: logotypy sposobów ofiary, ramka BLIK */
.tt-radio-logo { flex: none; height: 24px; width: auto; max-width: 90px; object-fit: contain; }
.tt-transfer-logo { height: 22px; width: auto; vertical-align: -4px; margin-right: 4px; }
.tt-transfer .tt-note { margin: 8px 0 0; }

/* Krok 4: PayPal, stałe wsparcie, etykieta wariantu w podglądzie panelu */
.tt-btn-paypal, .tt-btn-paypal:hover, .tt-btn-paypal:focus-visible { background: #FFC439; border-color: #FFC439; color: #111; }
.tt-btn-paypal:hover { background: #F2B52B; border-color: #F2B52B; }
.tt-btn-paypal img { height: 20px; width: auto; }

.tt-support { background: var(--tt-accent-light); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-card);
    padding: 16px 18px; margin: 16px 0; }
.tt-page .tt-support h2 { font-family: var(--tt-sans); font-size: 22px; font-weight: 600; color: var(--tt-subtitle); margin: 0 0 6px; }
.tt-support p { margin: 0 0 12px; }
.tt-support-links { display: flex; flex-wrap: wrap; gap: 10px; }

.tt-preview-label { display: inline-block; margin: 24px 0 4px; padding: 2px 10px; border-radius: 999px;
    background: var(--tt-dark); color: #fff; font-size: 13px; font-weight: 600; }
.tt-link-inline { color: var(--tt-accent); font-weight: 600; }

/* --- Teksty z panelu (pola HTML z edytora) --- */
.tt-contact p, .tt-consent-label p, .tt-rich p { margin: 0; }
.tt-contact p + p, .tt-rich p + p { margin-top: 6px; }
.tt-consent-label a, .tt-rich a { color: var(--tt-accent); font-weight: 600; }

/* --- Komputer --- */

@media (min-width: 768px) {
    .tt-infobar-long { display: inline; }
    .tt-infobar-short { display: none; }

    .tt-topbar { position: sticky; top: 0; z-index: 1020; }
    .tt-group { scroll-margin-top: 84px; }
    .tt-card { scroll-margin-top: 84px; }

    .tt-page h1 { font-size: 44px; margin-top: 32px; }
    .tt-page h2 { font-size: 30px; }

    .tt-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 32px;
        align-items: start;
    }

    .tt-offering { margin-top: 32px; }

    .tt-groupnav ul { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
    .tt-groupnav .tt-long { display: inline; }
    .tt-groupnav .tt-short-label { display: none; }

    .tt-group { margin-top: 44px; }

    .tt-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 20px;
    }

    .tt-card {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
        overflow: hidden;
    }

    .tt-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        border-radius: 0;
        border-bottom: 1px solid var(--tt-line);
    }

    .tt-cover-fallback { font-size: 20px; padding: 24px; }
    .tt-pdf-flag { top: 10px; right: 10px; font-size: 13px; padding: 2px 9px; }

    .tt-card-body { padding: 16px; flex: 1; }

    .tt-checkout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 360px;
        align-items: start;
        gap: 28px;
    }

    .tt-checkout-summary { grid-column: 2; grid-row: 1; position: sticky; top: 16px; }
    .tt-checkout-form { grid-column: 1; grid-row: 1; }

    .tt-row > .tt-field.tt-col { flex: 1 1 0; }
    .tt-row > .tt-field.tt-col-wide { flex: 2 1 0; }
    .tt-row > .tt-field.tt-col-narrow { flex: 1 1 0; }

    .tt-radio-cards { grid-template-columns: 1fr 1fr; }
    .tt-radio-cards-stack { grid-template-columns: 1fr; }
    .tt-fieldset { padding: 20px 22px; }

    .tt-amounts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
