/* Oprawa szablonów CPT; nie zmienia globalnego nagłówka witryny. */
.vitromont-product-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.vitromont-product-content > * {
    margin-block-start: 0;
    margin-block-end: 0;
}
.vitromont-product-nav {
    position: sticky;
    top: var(--vitromont-header-offset, 0px);
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e2e2e2;
    font-family: Inter, Arial, sans-serif;
}
.vitromont-product-nav__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(15px,3vw,38px);
    max-width: 1240px;
    min-height: 60px;
    margin: 0 auto;
    padding: 0 32px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}
.vitromont-product-nav__inner::-webkit-scrollbar {
    display: none;
}
.vitromont-product-nav a {
    color: #232323;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    text-decoration: none;
}
.vitromont-product-nav a:hover {
    color: #375170;
}
.vitromont-product-nav a:focus-visible {
    outline: 3px solid #375170;
    outline-offset: 4px;
}
.vitromont-product-archive .vm-archive-intro {
    padding: 56px 0 76px;
    text-align: center;
    margin-top: 104px;
    background: linear-gradient(315deg, #d6d8e0 0%, #eaebf0 100%);
}
.vitromont-product-archive .vm-archive-intro .vm-copy {
    max-width: 710px;
    margin: 16px auto 0;
}
.post-type-archive-produkty .wp-site-blocks > p:last-of-type {
display: none;
}
.vitromont-product-archive .vm-archive-list {
    padding-bottom: 64px;
    background: #fff;
}
.vitromont-product-archive .vm-archive-category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
    padding: 72px 0;
    border-top: 1px solid #e2e2e2;
}
.vitromont-product-archive .vm-archive-category:nth-child(even) .vm-photo {
    order: 2;
}
.vitromont-product-archive .vm-archive-category .vm-photo {
    height: 390px;
}
.vitromont-product-archive .vm-archive-category--bez-zdjecia {
    grid-template-columns: 1fr;
}
.vitromont-product-archive .vm-archive-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
}
.vitromont-product-archive .vm-archive-subtitle {
    font-size: 18px;
    line-height: 1.5;
}
.vitromont-product-archive .vm-archive-subtitle::before {
    content: "";
    display: block;
    width: 64px;
    height: 12px;
    margin-bottom: 16px;
    background: linear-gradient(#d6d8e0,#d6d8e0) left center / 64px 2px no-repeat;
}
.vitromont-product-archive .vm-archive-cta {
    padding: 94px 0;
    text-align: center;
    background: #213e60;
}
.vitromont-product-archive .vm-archive-cta h2 {
    color: #fff;
}
.vitromont-product-archive .vm-archive-cta .vm-copy {
    max-width: 720px;
    margin: 16px auto 28px;
    color: rgba(255,255,255,.86);
}
.vitromont-product-archive .vm-archive-pagination {
    padding: 24px 0;
}
@media (max-width: 850px) {
    .vitromont-product-archive .vm-archive-category {
        gap: 32px;
    }
}
@media (max-width: 760px) {
    .vitromont-product-nav {
        border-bottom: 0;
    }
    .vitromont-product-nav__inner {
        justify-content: flex-start;
        gap: 20px;
        padding: 0 20px;
    }
    .vitromont-product-nav a {
        font-size: 13px;
    }
    .vitromont-product-archive .vm-archive-intro {
        padding: 40px 0 52px;
    }
    .vitromont-product-archive .vm-archive-category {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 48px 0;
    }
    .vitromont-product-archive .vm-archive-category:nth-child(even) .vm-photo {
        order: 0;
    }
    .vitromont-product-archive .vm-archive-category .vm-photo {
        height: 250px;
    }
    .vitromont-product-archive .vm-archive-copy {
        gap: 16px;
    }
    .vitromont-product-archive .vm-archive-cta {
        padding: 72px 0;
    }
}
