/* ==========================================================================
   Traficar Cennik – Frontend Styles
   Design system: ITCAvantGardePro headings, Roboto body, #7114ac accent
   ========================================================================== */

/* Roboto from Google Fonts (free) – ITCAvantGardePro assumed loaded by theme */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

.tc-wrap {
    /* ── Brand palette ────────────────────────────────────────── */
    --tc-primary:        #7114ac;
    --tc-secondary:      #9234ce;
    --tc-teal:           #28b19f;
    --tc-navy:           #262262;

    /* ── Surface / background ─────────────────────────────────── */
    --tc-bg:             #ffffff;
    --tc-bg-alt:         #f5f5f5;
    --tc-card-bg:        #ffffff;
    --tc-primary-light:  #f1c0ff;
    --tc-primary-tint:   #fdcafe;

    /* ── Text ─────────────────────────────────────────────────── */
    --tc-text:           #000000;
    --tc-text-muted:     #666666;

    /* ── Borders ──────────────────────────────────────────────── */
    --tc-border:         #f5f5f5;
    --tc-border-inner:   #f5f5f5;

    /* ── Radius scale (from design.md) ────────────────────────── */
    --tc-radius-xs:      3px;
    --tc-radius-sm:      5px;
    --tc-radius-btn:     6px;
    --tc-radius:         12px;
    --tc-radius-pill:    60px;

    /* ── Shadows (extracted from traficar.pl) ─────────────────── */
    --tc-shadow:         rgba(0,0,0,.2) 0px 3px 5px 0px;
    --tc-shadow-hover:   rgba(0,0,0,.15) 0px 4px 16px 0px;
    --tc-shadow-high:    rgba(0,0,0,.5) 0px 10px 15px -3px, rgba(0,0,0,.4) 0px 4px 6px -4px;

    /* ── Spacing base: 5 px ───────────────────────────────────── */
    --sp1:  5px;
    --sp2:  10px;
    --sp3:  15px;
    --sp4:  20px;
    --sp5:  25px;
    --sp6:  30px;

    /* ── Typography ───────────────────────────────────────────── */
    --tc-font-heading:   'ITCAvantGardePro', 'Avant Garde', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;
    --tc-font-body:      'Roboto', sans-serif;

    font-family: var(--tc-font-body);
    font-size: 16px;
    color: var(--tc-text);
    background: var(--tc-bg);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--sp3) 40px;
    box-sizing: border-box;
}

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

/* --------------------------------------------------------------------------
   Geo notice
   -------------------------------------------------------------------------- */
.tc-geo-notice {
    display: flex;
    align-items: center;
    gap: var(--sp2);
    background: #fdf4ff;
    border: 1px solid rgba(113,20,172,.18);
    border-radius: var(--tc-radius-btn);
    padding: var(--sp2) var(--sp3);
    margin-bottom: var(--sp4);
    font-family: var(--tc-font-body);
    font-size: 14px;
    color: var(--tc-text);
    box-shadow: rgba(0,0,0,.2) 0px 3px 5px 0px;
}

.tc-geo-icon {
    color: var(--tc-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.tc-geo-text {
    flex: 1;
}

.tc-geo-dismiss {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--tc-text-muted);
    padding: 2px var(--sp1);
    font-size: 16px;
    line-height: 1;
    border-radius: var(--tc-radius-sm);
    transition: color .15s, background .15s;
}

.tc-geo-dismiss:hover {
    color: var(--tc-text);
    background: rgba(0,0,0,.06);
}

/* --------------------------------------------------------------------------
   City switcher  — pill, 60 px radius (design.md: radius-card 60px)
   -------------------------------------------------------------------------- */
.tc-switcher {
    display: flex;
    gap: 0;
    background: var(--tc-bg-alt);
    border: 1.25px solid rgba(113,20,172,.25);
    border-radius: var(--tc-radius-pill);
    padding: 4px;
    width: fit-content;
    margin: 0 auto var(--sp6);
    box-shadow: rgba(0,0,0,.2) 0px 3px 5px 0px;
}

.tc-city-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border: none;
    border-radius: var(--tc-radius-pill);
    background: transparent;
    color: var(--tc-text-muted);
    font-family: var(--tc-font-body);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, color .2s, box-shadow .2s;
    white-space: nowrap;
    line-height: 1.3;
    min-height: 44px; /* touch target */
}

.tc-city-btn:hover:not(.tc-active) {
    color: var(--tc-primary);
    background: rgba(113,20,172,.06);
}

.tc-city-btn.tc-active {
    background: var(--tc-primary);
    color: #ffffff;
    box-shadow: rgba(0,0,0,.2) 0px 3px 5px 0px;
}

/* --------------------------------------------------------------------------
   City panels
   -------------------------------------------------------------------------- */
.tc-city-panel {
    display: none;
    animation: tc-fade-in .22s ease;
}

.tc-city-panel.tc-visible {
    display: block;
}

@keyframes tc-fade-in {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Vehicle section (group) — "Samochody osobowe" / "Samochody dostawcze"
   -------------------------------------------------------------------------- */
.tc-vehicle-section {
    margin-bottom: var(--sp6);
}

.tc-vehicle-section--alt {
    background: #F5F5F5;
    border-radius: var(--tc-radius);
    padding: var(--sp5) var(--sp4) var(--sp5);
    margin-left: calc(var(--sp4) * -1);
    margin-right: calc(var(--sp4) * -1);
}

.tc-section-title {
    margin: 0 0 var(--sp3);
    font-family: var(--tc-font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--tc-text);
    line-height: 1.2;
    text-align: center;
}

.tc-cennik-heading {
    text-align: center;
    font-family: var(--tc-font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--tc-text-muted);
    margin: 0 0 6px;
}

/* --------------------------------------------------------------------------
   Vehicle cards grid
   -------------------------------------------------------------------------- */
.tc-vehicles {
    display: grid;
    gap: var(--sp3);
    margin-bottom: var(--sp3);
}

/* --------------------------------------------------------------------------
   Vehicle card — split layout: image left / purple pricing right
   -------------------------------------------------------------------------- */
.tc-vehicle-card {
    display: flex;
    border-radius: var(--tc-radius);
    box-shadow: var(--tc-shadow);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.tc-vehicle-card:hover {
    box-shadow: var(--tc-shadow-hover);
    transform: translateY(-2px);
}

/* LEFT panel — white, ~38% width */
.tc-card-left {
    flex: 0 0 38%;
    min-width: 0;
    background: #ffffff;
    border: 1.25px solid var(--tc-border);
    border-right: none;
    border-radius: var(--tc-radius) 0 0 var(--tc-radius);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Badge — pill, top-right of left panel */
.tc-badge {
    position: absolute;
    top: var(--sp2);
    right: var(--sp2);
    background: var(--tc-primary);
    color: #ffffff;
    font-family: var(--tc-font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--tc-radius-pill);
    line-height: 1.5;
    z-index: 2;
    box-shadow: rgba(0,0,0,.2) 0px 2px 4px 0px;
}

/* Car image area */
.tc-car-image-wrap {
    flex: 1;
    background: #faf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px 12px;
    min-height: 100px;
}

.tc-car-img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 310;
    object-fit: contain;
}

.tc-car-img-placeholder {
    color: #d8b4fe;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Car name + subtitle */
.tc-car-info {
    padding: 10px 16px 16px;
    border-top: 1px solid var(--tc-border);
    text-align: center;
}

.tc-car-name {
    margin: 0 0 4px;
    font-family: var(--tc-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--tc-text);
    line-height: 1.25;
}

.tc-car-subtitle {
    margin: 0;
    font-family: var(--tc-font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--tc-text-muted);
    line-height: 1.3;
}

/* RIGHT panel — purple, fills remaining width */
.tc-card-right {
    flex: 1;
    min-width: 0;
    background: var(--tc-primary);
    border-radius: 0 var(--tc-radius) var(--tc-radius) 0;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Pricing columns inside right panel
   -------------------------------------------------------------------------- */
.tc-plan-cols {
    flex: 1;
    display: grid;
    gap: 0;
}

.tc-cols-1 .tc-plan-cols { grid-template-columns: 1fr; }
.tc-cols-2 .tc-plan-cols { grid-template-columns: repeat(2, 1fr); }
.tc-cols-3 .tc-plan-cols { grid-template-columns: repeat(3, 1fr); }

.tc-plan-col {
    padding: 22px 20px 20px;
    border-right: 1px solid rgba(255,255,255,.18);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tc-plan-col:last-child {
    border-right: none;
}

/* "Na godziny" – nieco ciemniejszy fiolet */
.tc-plan-col--godz {
    background: rgba(0,0,0,.13);
}

/* "Na doby" – jeszcze ciemniejszy, wyraźnie odróżniony */
.tc-plan-col--doba {
    background: rgba(0,0,0,.26);
}

/* Column header */
.tc-plan-col-head {
    font-family: var(--tc-font-body);
    font-size: 17px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    text-align: center;
}

.tc-plan-col-head sup {
    font-size: .7em;
}

/* Badge per plan column (e.g. "Nowość") */
.tc-plan-badge {
    display: inline-flex;
    align-items: center;
    background: #27B19E;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 2px 8px;
    border-radius: var(--tc-radius-pill);
    line-height: 1.5;
    flex-shrink: 0;
}

/* "lub" separator between multi-package rows */
.tc-pc-or {
    font-family: var(--tc-font-body);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 0;
    line-height: 1;
    margin: 1px 0;
    text-align: center;
}

/* Hide the alignment ghost row that sits right after "lub" —
   it would create an ugly gap between the two package prices */
.tc-pc-or + .tc-pc-row--ghost {
    display: none;
}

/* Column body */
.tc-plan-col-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

/* Price row */
.tc-pc-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: nowrap;
}

.tc-pc-icon {
    flex-shrink: 0;
    color: var(--tc-icon-color, rgba(255,255,255,.7));
    display: flex;
    align-items: center;
}
/* Override any theme styles that force SVG fill */
.tc-pc-icon svg,
.tc-pc-icon svg path {
    fill: var(--tc-icon-color, rgba(255,255,255,.7));
}

.tc-pc-value {
    font-family: var(--tc-font-body);
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1.2;
}

.tc-pc-unit {
    font-family: var(--tc-font-body);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,.75);
    white-space: nowrap;
}

/* ── Omnibus / Promotional price display ──────────────────── */

/* Old (struck-through) price row */
.tc-pc-row--old {
    gap: 4px;
    margin-bottom: -4px;
}

.tc-pc-old {
    font-family: var(--tc-font-body);
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,.42);
    text-decoration: line-through;
    text-decoration-color: rgba(255,255,255,.5);
    white-space: nowrap;
    line-height: 1.2;
}

.tc-pc-unit-old {
    font-family: var(--tc-font-body);
    font-size: 12px;
    color: rgba(255,255,255,.35);
    text-decoration: line-through;
    white-space: nowrap;
}

/* Spacer — same width as icon+gap to align promo price under old price value */
.tc-pc-icon--indent {
    width: 19px;
    flex-shrink: 0;
    display: block;
}

/* Promotional (new) price */
.tc-pc-value--promo {
    color: #28B19F;
}

/* Ghost row — preserves space when column has no promo (alignment across columns) */
.tc-pc-row--ghost {
    visibility: hidden;
    pointer-events: none;
    margin-bottom: -4px;
}

/* Omnibus required text: "Najniższa cena z ostatnich 30 dni..." */
.tc-pc-omnibus {
    font-family: var(--tc-font-body);
    font-size: 10px;
    font-weight: 400;
    color: rgba(255,255,255,.5);
    font-style: normal;
    line-height: 1.4;
    padding-left: 19px;
    margin-top: 2px;
    white-space: normal;
}

/* ── Secondary rows — same size as primary */
.tc-pc-row--sm .tc-pc-value {
    font-size: 24px;
    font-weight: 900;
}

.tc-pc-row--sm .tc-pc-unit {
    font-size: 14px;
}

/* Multi-package rows in Na godziny (slightly de-emphasized when paired with "lub") */
.tc-pc-row--multi .tc-pc-value {
    font-size: 22px;
}

/* Card footer — "Minuta jazdy 0 zł" + footnote */
.tc-card-footer {
    padding: 8px 14px 9px;
    background: rgba(0,0,0,.18);
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
}

.tc-card-footer-main {
    font-family: var(--tc-font-body);
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.4;
}

.tc-card-footer-main strong {
    font-weight: 900;
    color: #ffffff;
}

.tc-card-footer-note {
    font-family: var(--tc-font-body);
    font-size: 12px;
    color: rgba(255,255,255,.85);
    margin-top: 4px;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Responsive — stack vertically on small screens
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .tc-vehicle-card {
        flex-direction: column;
    }

    .tc-card-left {
        flex: none;
        width: 100%;
        border-radius: var(--tc-radius) var(--tc-radius) 0 0;
        border-right: 1.25px solid var(--tc-border);
        border-bottom: none;
    }

    .tc-card-right {
        border-radius: 0 0 var(--tc-radius) var(--tc-radius);
    }

    .tc-car-image-wrap {
        min-height: 80px;
        padding: 16px 24px 10px;
    }

    .tc-plan-cols {
        grid-template-columns: 1fr !important;
    }

    .tc-plan-col {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .tc-plan-col:last-child {
        border-bottom: none;
    }

}

/* --------------------------------------------------------------------------
   Benefits strip — icons from assets/img/*.svg, like on traficar.pl/cennik/
   -------------------------------------------------------------------------- */
.tc-benefits {
    background: #fdf4ff;
    border: 1px solid rgba(113,20,172,.12);
    border-radius: var(--tc-radius);
    padding: var(--sp6) 30px var(--sp5);
    box-shadow: rgba(0,0,0,.2) 0px 3px 5px 0px;
}

.tc-benefits-title {
    margin: 0 0 var(--sp5);
    font-family: var(--tc-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--tc-text);
    text-transform: uppercase;
    letter-spacing: .05em;
    text-align: center;
}

.tc-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp5) var(--sp6);
}

.tc-benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp2);
    flex: 1 1 120px;
    max-width: 160px;
}

.tc-benefit-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tc-benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tc-benefit-check {
    color: var(--tc-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40,177,159,.12);
    border-radius: 50%;
    padding: 8px;
    width: 64px;
    height: 64px;
}

.tc-benefit-label {
    font-family: var(--tc-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--tc-text);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Accordion (shared — Spot & Extra Fees)
   -------------------------------------------------------------------------- */
.tc-accordion {
    margin-top: var(--sp4);
}

.tc-accordion-bar {
    display: flex;
    justify-content: center;
}

.tc-accordion-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp2);
    padding: 11px 28px;
    background: var(--tc-bg);
    border: 2px solid var(--tc-primary);
    border-radius: var(--tc-radius-pill);
    color: var(--tc-primary);
    font-family: var(--tc-font-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, color .18s;
    white-space: nowrap;
    min-height: 44px;
}

.tc-accordion-btn:hover {
    background: var(--tc-primary);
    color: #ffffff;
}

.tc-accordion-chevron {
    display: flex;
    align-items: center;
    transition: transform .22s;
}

.tc-accordion-btn[aria-expanded="true"] .tc-accordion-chevron {
    transform: rotate(180deg);
}

.tc-accordion-body {
    margin-top: var(--sp4);
    background: var(--tc-bg);
    border: 1.25px solid var(--tc-border);
    border-radius: var(--tc-radius);
    overflow: hidden;
    box-shadow: var(--tc-shadow);
}

.tc-accordion-body[hidden] {
    display: none;
}

/* --------------------------------------------------------------------------
   Extra fees table
   -------------------------------------------------------------------------- */
.tc-fees-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--tc-font-body);
    table-layout: fixed;
}

.tc-fees-th {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--tc-text);
    text-align: left;
    border-bottom: 2px solid var(--tc-border);
    background: var(--tc-bg-alt);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Round the header corners to match the accordion body */
.tc-fees-table thead tr:first-child th:first-child {
    border-top-left-radius: calc(var(--tc-radius) - 2px);
}
.tc-fees-table thead tr:first-child th:last-child {
    border-top-right-radius: calc(var(--tc-radius) - 2px);
}

.tc-fees-th--right {
    text-align: right;
    white-space: nowrap;
    width: 30%;
}

.tc-fees-row:nth-child(even) {
    background: #fdfcff;
}

.tc-fees-event {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--tc-primary);
    line-height: 1.5;
    vertical-align: top;
    word-break: break-word;
}

.tc-fees-amount {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tc-text);
    text-align: right;
    white-space: nowrap;
    vertical-align: top;
    width: 30%;
}

@media (max-width: 520px) {
    .tc-fees-table {
        table-layout: fixed;
    }

    .tc-fees-th:first-child,
    .tc-fees-event {
        width: 62%;
    }

    .tc-fees-th--right,
    .tc-fees-amount {
        width: 38%;
        white-space: normal;
        word-break: break-word;
    }

    .tc-fees-event {
        font-size: 12px;
        padding: 10px 10px 10px 12px;
    }

    .tc-fees-amount {
        font-size: 12px;
        padding: 10px 12px 10px 6px;
    }

    .tc-fees-th {
        font-size: 11px;
        padding: 10px 10px 10px 12px;
    }
}

.tc-fees-footnotes {
    padding: 16px;
    border-top: 1px solid var(--tc-border);
    background: var(--tc-bg-alt);
}

.tc-fees-footnote {
    margin: 0 0 6px;
    font-family: var(--tc-font-body);
    font-size: 12px;
    color: var(--tc-text-muted);
    line-height: 1.5;
}

.tc-fees-footnote:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Parking fees — "Opłata za postój" grouped layout
   -------------------------------------------------------------------------- */
.tc-parking-fees {
    margin-top: var(--sp4);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    background: #ffffff;
    overflow: hidden;
}

.tc-pf-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px 0;
}

.tc-pf-divider {
    flex: 1;
    height: 1px;
    background: rgba(113,20,172,.2);
}

.tc-pf-title {
    font-family: var(--tc-font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--tc-text);
    white-space: nowrap;
    letter-spacing: .03em;
}

.tc-pf-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0 24px 8px;
    border-bottom: 1px solid var(--tc-border);
}

.tc-pf-section {
    padding: 14px 0 10px;
}

.tc-pf-section + .tc-pf-section {
    border-left: 1px solid var(--tc-border);
    padding-left: 24px;
    padding-right: 8px;
}

.tc-pf-section--full {
    padding: 14px 24px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tc-pf-section--full .tc-pf-row {
    width: 100%;
    max-width: 380px;
    justify-content: space-between;
}

.tc-pf-section-head {
    margin: 0 0 10px;
    font-family: var(--tc-font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--tc-text);
    text-align: center;
}

.tc-pf-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
}

.tc-pf-event {
    font-family: var(--tc-font-body);
    font-size: 13px;
    color: var(--tc-text);
    flex: 1;
}

.tc-pf-fee {
    display: inline-block;
    background: var(--tc-primary);
    color: #ffffff;
    font-family: var(--tc-font-body);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--tc-radius-pill);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .tc-pf-two-col {
        grid-template-columns: 1fr;
        padding: 0 16px 8px;
    }

    .tc-pf-section + .tc-pf-section {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--tc-border);
        padding-top: 10px;
    }

    .tc-pf-section--full {
        padding: 10px 16px;
    }

    .tc-pf-title-row {
        padding: 14px 16px 0;
    }
}

/* --------------------------------------------------------------------------
   Traficar Spot grid
   -------------------------------------------------------------------------- */
.tc-spot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp5) var(--sp5);
    padding: var(--sp5);
}

.tc-spot-vehicle {
    /* no border — clean card look */
}

.tc-spot-vehicle-name {
    margin: 0 0 var(--sp3);
    font-family: var(--tc-font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--tc-text);
    text-align: center;
}

.tc-spot-location {
    margin-bottom: var(--sp3);
}

.tc-spot-location:last-child {
    margin-bottom: 0;
}

.tc-spot-location-name {
    margin: 0 0 6px;
    font-family: var(--tc-font-body);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    /* first location = orange (Lotniska i Dworce), subsequent = gray */
    color: var(--tc-text-muted);
}

.tc-spot-location:first-child .tc-spot-location-name {
    color: #d97706; /* amber — Lotniska i Dworce */
}

.tc-spot-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: var(--tc-radius-sm);
    overflow: hidden;
}

.tc-spot-col {
    background: var(--tc-primary);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 10px;
    gap: 2px;
}

/* "Na godziny" – lekko ciemniejszy */
.tc-spot-col:first-child {
    background: linear-gradient(rgba(0,0,0,.13) 0%, rgba(0,0,0,.13) 100%), var(--tc-primary);
}

/* "Na doby" – wyraźnie ciemniejszy */
.tc-spot-col:last-child {
    background: linear-gradient(rgba(0,0,0,.26) 0%, rgba(0,0,0,.26) 100%), var(--tc-primary);
}

.tc-spot-cell-head {
    font-family: var(--tc-font-body);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.25;
    opacity: 1;
}

.tc-spot-cell-val {
    font-family: var(--tc-font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--tc-spot-value-color, #ffffff);
}

.tc-spot-footnote {
    margin: 0;
    padding: var(--sp2) var(--sp5);
    font-family: var(--tc-font-body);
    font-size: 12px;
    color: var(--tc-primary);
    line-height: 1.5;
    border-top: 1px solid var(--tc-border);
}

.tc-spot-footnote + .tc-spot-footnote {
    color: var(--tc-text-muted);
    border-top: none;
    padding-top: 0;
}

/* --------------------------------------------------------------------------
   Responsive  (Mobile < 640px, Tablet 640–1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .tc-car-name { font-size: 18px; }
}

@media (max-width: 640px) {
    .tc-switcher {
        width: 100%;
        border-radius: var(--tc-radius);
    }

    .tc-city-btn {
        flex: 1;
        padding: 12px var(--sp2);
        font-size: 14px;
        border-radius: var(--tc-radius-btn);
    }

    /* Stack plans vertically on mobile */
    .tc-pricing-plans,
    .tc-cols-2 .tc-pricing-plans,
    .tc-cols-3 .tc-pricing-plans {
        grid-template-columns: 1fr;
    }

    .tc-plan {
        border-right: none;
        border-bottom: 1px solid var(--tc-border);
    }

    .tc-plan:last-child {
        border-bottom: none;
    }

    .tc-car-image-wrap {
        padding: 15px 20px 8px;
        min-height: 80px;
    }

    .tc-car-img {
        width: 100%;
    }

    .tc-card-header {
        padding: var(--sp2) var(--sp3);
    }

    .tc-plan {
        padding: var(--sp2) var(--sp3);
    }

    .tc-benefits {
        padding: var(--sp4) var(--sp3);
    }

    .tc-benefits-list {
        gap: var(--sp4) var(--sp3);
    }

    .tc-benefit-item {
        flex: 1 1 100px;
        max-width: 130px;
    }

    .tc-benefit-icon {
        width: 48px;
        height: 48px;
    }

    .tc-badge {
        top: var(--sp1);
        right: var(--sp2);
        font-size: 10px;
        padding: 3px 10px;
    }

    /* ~80% font scale on mobile per design.md */
    .tc-car-name    { font-size: 16px; }
    .tc-plan-label  { font-size: 11px; }
    .tc-row-value   { font-size: 13px; }
    .tc-plan-row--highlight .tc-row-value { font-size: 15px; }

    /* Spot grid: single column on mobile */
    .tc-spot-grid {
        grid-template-columns: 1fr;
        padding: var(--sp3);
        gap: var(--sp4);
    }

    .tc-accordion-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .tc-fees-event,
    .tc-fees-amount {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .tc-wrap { padding: 0 5px 30px; }
}

/* ==========================================================================
   Banner – Nowy cennik  (dyskretny, wzorowany na tc-geo-notice)
   ========================================================================== */

.tc-new-pricing-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fdf4ff;
    border: 1px solid rgba(113,20,172,.22);
    border-radius: var(--tc-radius-btn);
    padding: 10px 16px;
    margin-bottom: var(--sp4);
    font-family: var(--tc-font-body);
    font-size: 14px;
    color: var(--tc-text);
    box-shadow: 0 2px 6px rgba(113,20,172,.10);
}

.tc-new-pricing-banner__icon {
    color: var(--tc-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.tc-new-pricing-banner__text {
    flex: 1;
    line-height: 1.4;
}

.tc-new-pricing-banner .tc-new-pricing-banner__btn {
    display: inline-flex;
    align-items: center;
    background: var(--tc-bg);
    color: var(--tc-primary) !important;
    font-family: var(--tc-font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 9px 22px;
    border: 2px solid var(--tc-primary);
    border-radius: var(--tc-radius-pill);
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .18s, color .18s;
    flex-shrink: 0;
    cursor: pointer;
    min-height: 40px;
}

.tc-new-pricing-banner .tc-new-pricing-banner__btn:hover,
.tc-new-pricing-banner .tc-new-pricing-banner__btn:focus {
    background: var(--tc-primary);
    color: #fff !important;
    text-decoration: none !important;
    outline: none;
}

.tc-new-pricing-banner .tc-new-pricing-banner__btn:visited {
    color: var(--tc-primary) !important;
}
