

/* ===== Sekcja: obraz + tekst (shortcode [oferta_kategoria_sekcja]) ===== */

.zs-kat-sekcja {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin: 48px 0;
}

.zs-kat-sekcja--tylko-tekst {
    grid-template-columns: 1fr;
}

.zs-kat-sekcja__obraz img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.zs-kat-sekcja__tresc {
    font-size: 16px;
    line-height: 1.8;
    color: #2a2a2a;
}

.zs-kat-sekcja__tresc p {
    margin-bottom: 1.1em !important;
}

.zs-kat-sekcja__tresc h2 {
    font-size: clamp(18px, 2vw, 24px) !important;
    margin-top: 1.6em !important;
    margin-bottom: 0.5em !important;
    line-height: 1.25 !important;
}

.zs-kat-sekcja__tresc h3 {
    font-size: clamp(15px, 1.6vw, 18px) !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-top: 1.4em !important;
    margin-bottom: 0.4em !important;
}

.zs-kat-sekcja__tresc ul {
    list-style: none;
    padding: 0 !important;
    margin-bottom: 1.2em !important;
}

.zs-kat-sekcja__tresc ul li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 15px;
    line-height: 1.6;
}

.zs-kat-sekcja__tresc ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 7px;
    height: 7px;
    background: #12613F;
    border-radius: 50%;
}

.zs-kat-sekcja__tresc strong {
    font-weight: 700;
    color: #12613F;
}

@media (max-width: 1025px) {
    .zs-kat-sekcja {
        grid-template-columns: 1fr;
        gap: 28px;
        margin: 32px 0;
    }
}


/* ===== Kategoria oferty – opis + linki do produktów ===== */
.zs-kat-opis__tresc p {
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    color: #000;
}

.zs-kat-opis__tresc h2, .zs-kat-opis__tresc h3 {
    margin: 20px 0!important;
}

.zs-kat-opis__tresc li{
    margin-left: 20px;
    padding: 0;
}

.zs-kat-opis__tresc{
    margin-top: 50px;
}



/* Linki-tabu: anchor o tej samej formie co button.zs-ot__tab */
a.zs-ot__tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-decoration: none !important;
}

.zs-kat-opis__linki{
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 1025px) {
    .zs-kat-opis__linki {
        flex-direction: column;
        align-items: center;
        row-gap: 18px;
        margin-top: 40px;
    }
}


/* ===== Single oferta – nawigacja powrotu do kategorii ===== */
.zs-sp-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 36px 65px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #000;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}
.zs-sp-back::before {
    content: "\2190"; /* ← */
    font-size: 16px;
}
.zs-sp-back:hover {
    color: #12613F;
}

@media (max-width: 1025px) {
    .zs-sp-back {
        padding: 24px 20px;
    }
}


/* ===== Single oferta – tytuł produktu ===== */
.zs-sp .zs-ot__post-title {
    width: 100%;
    background-color: #E6EEEA;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    padding: 44px 40px;
    margin: 0 0 60px 0!important;
}

@media (max-width: 1025px) {
    .zs-sp .zs-ot__post-title {
        font-size: 20px;
        padding: 32px 24px;
    }
}


/* ===== Single oferta – linki do pozostałych produktów z kategorii ===== */
.zs-produkty-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 65px 108px;
}
.zs-produkty-nav__tytul {
    font-size: 36px;
    line-height: 60px;
    letter-spacing: 4px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 50px 0;
}
.zs-produkty-nav__linki {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: calc(5% / 4);
    row-gap: 20px;
}
.zs-produkty-nav .zs-ot__tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-decoration: none !important;
}
/* Bieżący produkt: wygląd zakładki aktywnej, ale nie jest klikalny */
.zs-produkty-nav span.zs-ot__tab.is-active {
    cursor: default;
}

@media (max-width: 1025px) {
    .zs-produkty-nav {
        padding: 0 20px 70px;
    }
    .zs-produkty-nav__tytul {
        font-size: 20px;
        line-height: 34px;
        letter-spacing: 2px;
        margin: 0 0 32px 0;
    }
    .zs-produkty-nav__linki {
        flex-direction: column;
        align-items: center;
        row-gap: 18px;
    }
}




/* =========================
   GŁÓWNY KONTENER
========================= */

.zs-kat-opis {
    max-width: 1400px;
    margin: 0 auto;
    color: #1f2937;
    font-size: 18px;
    line-height: 1.8;
}

.zs-kat-opis__tresc {
    padding: 0;
}

/* =========================
   MENU MODELI
========================= */



.zs-ot__tab {
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #111827;
    font-weight: 600;
    transition: .3s;
}

.zs-ot__tab:hover {
    background: #0f766e;
    color: #fff;
    transform: translateY(-2px);
}


/* ===== CTA: [vakomax_cta] ===== */

.vakomax-cta {
    background: #12613F;
    padding: 48px 56px;
    margin: 48px 0;
}

.vakomax-cta__content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.vakomax-cta__buttons {
    justify-content: center;
}

.vakomax-cta__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px !important;
}

.vakomax-cta h2 {
    font-size: clamp(20px, 2.4vw, 28px) !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.25 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.vakomax-cta p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    margin-bottom: 28px !important;
}

.vakomax-cta__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.vakomax-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    cursor: pointer !important;
}

.vakomax-btn--primary {
    background: #fff;
    color: #12613F !important;
    border: 2px solid #fff;
}

.vakomax-btn--primary:hover {
    background: #E6EEEA;
    border-color: #E6EEEA;
}

.vakomax-btn--secondary {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.vakomax-btn--secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1025px) {
    .vakomax-cta {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .vakomax-cta__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .vakomax-btn {
        text-align: center;
    }
}


/* ===== FAQ accordion: .faq-opis ===== */

.faq-opis {
    margin: 48px 0;
}

.faq-opis h2 {
    font-size: clamp(20px, 2.2vw, 26px) !important;

    margin-bottom: 24px !important;
    margin-top: 0 !important;
    padding-bottom: 12px;
}

.faq-opis__pytanie {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer !important;
    user-select: none;
    transition: color 0.18s;
}

.faq-opis__pytanie:first-of-type {
    border-top: 1px solid #e0e0e0;
}

.faq-opis__pytanie strong {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a;
    line-height: 1.4;
    transition: color 0.18s;
}

.faq-opis__pytanie:hover strong,
.faq-opis__pytanie.is-open strong {
    color: #12613F !important;
}

.faq-opis__pytanie::after {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #12613F;
    border-radius: 50%;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: transform 0.25s ease;
}

.faq-opis__pytanie.is-open::after {
    transform: rotate(180deg);
}

.faq-opis__odpowiedz {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #3a3a3a !important;
    padding: 0 !important;
    margin: 0 !important;
}

.faq-opis__pytanie.is-open + .faq-opis__odpowiedz {
    padding-bottom: 16px !important;
}

.single-oferta main#content {
    max-width: 1480px!important;
    padding: 0 20px;
}
