/* Pila Pasák commercial catalogue — archive pages only. */
body.pp-catalogue-archive .site-main {
    background: #ffffff;
}

body.pp-catalogue-archive .pila-shop-hero,
body.pp-catalogue-archive .woocommerce-breadcrumb,
body.pp-catalogue-archive .woocommerce-products-header,
body.pp-catalogue-archive .wd-shop-tools,
body.pp-catalogue-archive .shop-loop-head,
body.pp-catalogue-archive .wd-builder-off-canvas,
body.pp-catalogue-archive .area-sidebar-shop,
body.pp-catalogue-archive .wd-filter-buttons,
body.pp-catalogue-archive .woocommerce-notices-wrapper:empty {
    display: none !important;
}

.pp-catalogue-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.6rem, 8vw, 6.8rem) 0 clamp(3.2rem, 7vw, 5.8rem);
    background:
        radial-gradient(circle at 87% 25%, rgba(255,255,255,.14), transparent 30%),
        linear-gradient(128deg, #0b2f20 0%, #087a43 62%, #0a8d4e 100%);
    color: #fff;
}

.pp-catalogue-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -145px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025);
    pointer-events: none;
}

.pp-catalogue-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
}

.pp-catalogue-hero__content {
    max-width: 780px;
}

.pp-catalogue-eyebrow {
    margin: 0 0 .8rem;
    color: #a9edc4;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.pp-catalogue-hero h1 {
    max-width: 850px;
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 5rem);
    letter-spacing: -.045em;
}

.pp-catalogue-hero__content > p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.pp-catalogue-primary-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: .82rem 1.35rem;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #075d35 !important;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.pp-catalogue-primary-button:hover {
    transform: translateY(-2px);
    background: #f0fff5;
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.pp-catalogue-main {
    padding-top: clamp(2rem, 5vw, 3.7rem);
    padding-bottom: clamp(4.2rem, 8vw, 7rem);
}

.pp-catalogue-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    padding-bottom: 1.7rem;
    border-bottom: 1px solid var(--pila-line, #dfe8e1);
}

.pp-catalogue-filters__label {
    margin-right: .25rem;
    color: var(--pila-ink, #171a18);
    font-weight: 800;
}

.pp-catalogue-filter {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: .45rem;
    padding: .55rem .9rem;
    border: 1px solid #d9e4dc;
    border-radius: 999px;
    background: #fff;
    color: #26332b !important;
    font-size: .9rem;
    font-weight: 740;
    line-height: 1;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.pp-catalogue-filter:hover {
    transform: translateY(-1px);
    border-color: #0a7a44;
    color: #075d35 !important;
}

.pp-catalogue-filter.is-active {
    border-color: #087a43;
    background: #087a43;
    color: #fff !important;
}

.pp-catalogue-filter__count {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 .35rem;
    border-radius: 999px;
    background: #eef5f0;
    color: #47564c;
    font-size: .72rem;
    font-weight: 850;
}

.pp-catalogue-filter.is-active .pp-catalogue-filter__count {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.pp-catalogue-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.45rem 0 1.6rem;
}

.pp-catalogue-count .woocommerce-result-count,
.pp-catalogue-sort .woocommerce-ordering {
    float: none !important;
    margin: 0 !important;
}

.pp-catalogue-count .woocommerce-result-count {
    color: #68756c;
    font-size: .93rem;
}

.pp-catalogue-sort .woocommerce-ordering select {
    min-width: 190px;
    min-height: 45px;
    padding: .58rem 2.5rem .58rem .8rem;
    border: 1px solid #d6e1d9;
    border-radius: 11px;
    background-color: #fff;
    color: #253229;
}

.pp-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
}

.pp-product-card.product {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dfe8e1;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 32px rgba(12,45,28,.055);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.pp-product-card.product:hover {
    transform: translateY(-5px);
    border-color: #b9d4c1;
    box-shadow: 0 22px 48px rgba(12,45,28,.11);
}

.pp-product-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / .82;
    background: #f3f6f3;
}

.pp-product-card__media img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    transition: transform .38s ease;
}

.pp-product-card:hover .pp-product-card__media img {
    transform: scale(1.035);
}

.pp-product-card__status {
    position: absolute;
    z-index: 2;
    top: .8rem;
    left: .8rem;
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: .34rem .65rem;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #087a43;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .02em;
    box-shadow: 0 5px 16px rgba(0,0,0,.08);
}

.pp-product-card__status.is-unavailable {
    color: #8b2f22;
}

.pp-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.05rem 1.05rem 1.15rem;
}

.pp-product-card__category {
    margin-bottom: .45rem;
    color: #087a43 !important;
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .085em;
    line-height: 1.35;
    text-decoration: none;
    text-transform: uppercase;
}

.pp-product-card__title {
    width: 100%;
    min-height: 2.55em;
    margin: 0 0 .55rem;
    font-size: clamp(1rem, 1.3vw, 1.16rem) !important;
    line-height: 1.28;
    letter-spacing: -.02em;
}

.pp-product-card__title a {
    color: #18201b !important;
    text-decoration: none;
}

.pp-product-card__title a:hover {
    color: #087a43 !important;
}

.pp-product-card__quote-label {
    margin: 0 0 .9rem;
    color: #768078;
    font-size: .88rem;
}

.pp-product-card__quote {
    display: flex;
    width: 100%;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-top: auto;
    padding: .63rem .78rem;
    border: 1px solid #cfe0d4;
    border-radius: 10px;
    background: #f7fbf8;
    color: #075d35 !important;
    font-size: .88rem;
    font-weight: 820;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.pp-product-card__quote:hover {
    border-color: #087a43;
    background: #087a43;
    color: #fff !important;
}

.pp-catalogue-pagination {
    display: flex;
    justify-content: center;
    padding-top: 2.5rem;
}

.pp-catalogue-pagination .woocommerce-pagination ul.page-numbers {
    display: flex !important;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 0 !important;
    border: 0 !important;
}

.pp-catalogue-pagination .woocommerce-pagination ul.page-numbers li {
    border: 0 !important;
}

.pp-catalogue-pagination .page-numbers a,
.pp-catalogue-pagination .page-numbers span {
    display: grid !important;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    padding: .5rem !important;
    border: 1px solid #d6e2d9 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #29362d !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.pp-catalogue-pagination .page-numbers .current,
.pp-catalogue-pagination .page-numbers a:hover {
    border-color: #087a43 !important;
    background: #087a43 !important;
    color: #fff !important;
}

.pp-catalogue-empty {
    padding: 4rem 1.5rem;
    border: 1px solid #dfe8e1;
    border-radius: 18px;
    background: #f6faf7;
    text-align: center;
}

.pp-catalogue-empty h2 {
    margin-bottom: .5rem;
}

.pp-catalogue-cta {
    padding: clamp(3.5rem, 7vw, 5.8rem) 0;
    background: #10231a;
    color: #d9e8dd;
}

.pp-catalogue-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.pp-catalogue-cta h2 {
    max-width: 830px;
    margin: 0 0 .65rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.pp-catalogue-cta p:last-child {
    max-width: 760px;
    margin: 0;
    color: #bdcec2;
}

.pp-catalogue-primary-button--light {
    background: #fff;
    color: #075d35 !important;
}

/* Remove all former-theme grid controls from these archive cards. */
body.pp-catalogue-archive .wd-buttons,
body.pp-catalogue-archive .wd-wishlist-btn,
body.pp-catalogue-archive .wd-compare-btn,
body.pp-catalogue-archive .quick-view,
body.pp-catalogue-archive .compare-button,
body.pp-catalogue-archive .wishlist-button,
body.pp-catalogue-archive .product-grid-item,
body.pp-catalogue-archive .products.elements-grid,
body.pp-catalogue-archive ul.products {
    display: none !important;
}

@media (max-width: 1120px) {
    .pp-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .pp-catalogue-hero__inner,
    .pp-catalogue-cta__inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .pp-catalogue-hero__inner > .pp-catalogue-primary-button,
    .pp-catalogue-cta__inner > .pp-catalogue-primary-button {
        justify-self: start;
    }

    .pp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .9rem;
    }
}

@media (max-width: 640px) {
    .pp-catalogue-hero {
        padding: 3.25rem 0 3.5rem;
    }

    .pp-catalogue-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.45rem);
    }

    .pp-catalogue-filters {
        flex-wrap: nowrap;
        margin-inline: -20px;
        padding-inline: 20px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .pp-catalogue-filters__label,
    .pp-catalogue-filter {
        flex: 0 0 auto;
    }

    .pp-catalogue-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .pp-catalogue-sort,
    .pp-catalogue-sort .woocommerce-ordering,
    .pp-catalogue-sort .woocommerce-ordering select {
        width: 100%;
    }

    .pp-product-card__body {
        padding: .85rem .8rem .95rem;
    }

    .pp-product-card__title {
        min-height: 0;
        font-size: .96rem !important;
    }

    .pp-product-card__category {
        font-size: .65rem;
    }

    .pp-product-card__quote-label {
        font-size: .79rem;
    }

    .pp-product-card__quote {
        padding: .6rem .65rem;
        font-size: .8rem;
    }
}

@media (max-width: 430px) {
    .pp-product-grid {
        grid-template-columns: 1fr;
    }

    .pp-product-card__media {
        aspect-ratio: 1.2 / .82;
    }
}
