/* =========================================================
   CENNIK PRODUKTU – zwarty układ zgodny ze StrefaWydruku.pl
   Plik do podmiany: /_css/cennik.css
   ========================================================= */

.price-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    color: #4f5d67;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.48;
}

.price-list p,
.price-list li,
.price-list td,
.price-list th,
.price-list a {
    font-size: 13px;
}

.price-list strong {
    font-weight: 600;
}

.price-list__intro,
.price-list__notes,
.price-list--unavailable {
    grid-column: 1 / -1;
    padding: 10px 12px;
    background: #f3f8fb;
    border: 1px solid #dbe7ed;
    border-radius: 4px;
}

.price-list__intro {
    margin: 0;
}

.price-list__intro p,
.price-list__notes p,
.price-list--unavailable p {
    margin: 0 0 5px !important;
    font-size: 13px !important;
    line-height: 1.45;
}

.price-list__intro p:last-child,
.price-list__notes p:last-child,
.price-list--unavailable p:last-child {
    margin-bottom: 0 !important;
}

.price-list__updated {
    color: #71808a;
    font-size: 12px !important;
}

.price-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce5ea;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(30, 54, 68, 0.055);
}

/* Wyższa specyficzność usuwa czarny kolor odziedziczony z #content h3. */
body #content .price-card > h3 {
    min-height: 36px;
    margin: 0 !important;
    padding: 8px 11px !important;
    box-sizing: border-box;
    color: #fff !important;
    background: linear-gradient(100deg, #078fc4 0%, #12a4da 100%) !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
}

.price-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.price-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.price-table th,
.price-table td {
    padding: 7px 6px;
    color: #52606a;
    text-align: center;
    line-height: 1.3;
    border: 0;
    border-bottom: 1px solid #e7edf1;
}

.price-table th {
    color: #42515c;
    background: #eef4f7;
    font-weight: 500;
}

.price-table td strong {
    font-weight: 500;
}

.price-table tbody tr:nth-child(even) {
    background: #fafcfd;
}

.price-table tbody tr:hover {
    background: #eef8fc;
}

.price-table tbody tr:last-child td {
    border-bottom: 0;
}

.price-table__ask {
    color: #078fc4 !important;
    font-weight: 500;
    text-decoration: underline;
}

.price-list__notes {
    margin: 0;
    border-left: 3px solid #0b9ed4;
}

.price-list--unavailable {
    text-align: center;
}

.price-list__button {
    display: inline-block;
    margin-top: 5px;
    padding: 8px 13px;
    color: #fff !important;
    background: #079bcf;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.price-list__button:hover,
.price-list__button:focus-visible {
    background: #087ead;
    transform: translateY(-1px);
}

@media (max-width: 760px) {
    .price-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .price-list__intro,
    .price-list__notes,
    .price-list--unavailable {
        grid-column: 1;
    }
}

@media (max-width: 440px) {
    .price-list,
    .price-list p,
    .price-list li,
    .price-list td,
    .price-list th,
    .price-list a {
        font-size: 12px !important;
    }

    .price-table th,
    .price-table td {
        padding: 7px 4px;
    }

    body #content .price-card > h3 {
        font-size: 13px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .price-list__button {
        transition: none;
    }
}

