body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.search-results.woocommerce {
    background: #fff
}

.z-catalog {
    min-height: 70vh;
    padding: 0 0 64px;
    background: #fff;
    font-family: Outfit, sans-serif
}

.z-catalog__shell {
    width: min(calc(100% - 220px), 1780px);
    margin-inline: auto
}

.z-catalog .woocommerce-breadcrumb {
    margin: 0;
    padding: 16px 0 10px;
    color: #94a3b8;
    font-size: 12px
}

.z-catalog__heading {
    padding: 8px 0 20px
}

.z-catalog__heading>p {
    margin: 0 0 4px;
    color: #1677e8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase
}

.z-catalog__heading h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 40px);
    letter-spacing: -.03em
}

.z-catalog__description {
    max-width: 760px;
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55
}

.z-catalog__description p {
    margin: 0
}

.z-catalog-categories {
    display: flex;
    gap: clamp(16px, 2vw, 30px);
    margin-bottom: 28px;
    padding: 4px 0 26px;
    overflow-x: auto;
    border-bottom: 1px solid #e2e8f0;
    scrollbar-width: none
}

.z-catalog-categories::-webkit-scrollbar {
    display: none
}

.z-catalog-categories a {
    flex: 0 0 130px;
    color: #111827;
    text-align: center;
    text-decoration: none
}

.z-catalog-categories a>span {
    display: grid;
    width: 104px;
    height: 104px;
    margin: 0 auto 10px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #f3f4f6
}

.z-catalog-categories img {
    object-fit: contain;
    transition: transform .2s
}

.z-catalog-categories a:hover img {
    transform: scale(1.06)
}

.z-catalog-categories strong {
    display: block;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis
}

.z-catalog-categories small {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px
}

.z-catalog__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 38px
}

.z-catalog-filters>header {
    display: none
}

.z-catalog-filters section {
    padding: 0 0 24px
}

.z-catalog-filters h3 {
    margin: 0 0 13px;
    color: #111827;
    font-size: 15px
}

.z-catalog-filters ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.z-catalog-filters li+li {
    margin-top: 8px
}

.z-catalog-filters li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #334155;
    font-size: 13px;
    text-decoration: none
}

.z-catalog-filters li a::before {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    content: ''
}

.z-catalog-filters li a span {
    margin-right: auto
}

.z-catalog-filters li a:hover {
    color: #1677e8
}

.z-catalog-filters li small {
    color: #94a3b8
}

.z-price-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.z-price-filter label span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 11px
}

.z-price-filter input {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font: inherit
}

.z-price-filter button {
    grid-column: 1/-1;
    min-height: 40px;
    border: 0;
    border-radius: 5px;
    background: #1677e8;
    color: #fff;
    font-weight: 700
}

.z-status-filter a {
    justify-content: flex-start !important
}

.z-catalog-sort {
    display: flex;
    min-height: 54px;
    margin-bottom: 22px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e2e8f0
}

.z-catalog-sort .woocommerce-result-count,
.z-catalog-sort .woocommerce-ordering {
    margin: 0
}

.z-catalog-sort .woocommerce-result-count {
    color: #64748b;
    font-size: 12px
}

.z-catalog-sort select {
    min-height: 38px;
    padding: 0 34px 0 10px;
    border: 0;
    background: #fff;
    color: #334155;
    font: 500 12px Outfit, sans-serif
}

.z-catalog-results ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 42px 22px;
    margin: 0 !important
}

.z-catalog-results ul.products::before,
.z-catalog-results ul.products::after {
    display: none !important
}

.z-catalog-results ul.products li.product {
    position: relative;
    display: flex;
    float: none !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important
}

.z-catalog-results ul.products li.product a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: #111827;
    text-decoration: none
}

.z-catalog-results ul.products li.product a img {
    order: 1;
    width: 100% !important;
    aspect-ratio: 1/1;
    margin: 0 0 10px !important;
    padding: 8px;
    object-fit: contain;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: border-color .18s
}

.z-catalog-results ul.products li.product:hover a img {
    border-color: #111827
}

.z-catalog-rating {
    display: flex;
    order: 2;
    min-height: 18px;
    margin: 0 0 7px;
    align-items: center;
    gap: 9px
}

.z-catalog-rating>span {
    display: flex;
    color: #dbe2ec;
    font-size: 13px;
    letter-spacing: 1px
}

.z-catalog-rating i {
    font-style: normal
}

.z-catalog-rating i.is-filled {
    color: #fbbf24
}

.z-catalog-rating small {
    color: #526176;
    font-size: 12px
}

.z-catalog-results .woocommerce-loop-product__title {
    display: -webkit-box;
    order: 3;
    min-height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.4 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.z-catalog-results .price {
    display: flex !important;
    order: 4;
    min-height: 24px;
    margin-top: 9px !important;
    align-items: center;
    gap: 7px;
    color: #16a34a !important;
    font: 700 18px/18px Outfit, sans-serif !important;
    white-space: nowrap
}

.z-catalog-results .price ins {
    order: 1;
    text-decoration: none
}

.z-catalog-results .price del {
    order: 2;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    opacity: 1
}

.z-catalog-discount {
    order: 3;
    margin-left: auto;
    padding: 5px 7px;
    border-radius: 5px;
    background: #ffe4e6;
    color: #9f1239;
    font-size: 11px;
    font-weight: 700;
    line-height: 1
}

.z-catalog-results li.product .button,
.z-catalog-results span.onsale {
    display: none !important
}

.z-catalog-results .woocommerce-pagination {
    margin-top: 54px
}

.z-catalog-results .woocommerce-pagination ul {
    display: flex !important;
    justify-content: center;
    gap: 5px;
    border: 0 !important
}

.z-catalog-results .woocommerce-pagination li {
    border: 0 !important
}

.z-catalog-results .woocommerce-pagination a,
.z-catalog-results .woocommerce-pagination span {
    display: grid !important;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    place-items: center;
    border-radius: 50%;
    color: #111827
}

.z-catalog-results .woocommerce-pagination .current {
    background: #1677e8 !important;
    color: #fff !important
}

.z-catalog__toolbar-mobile {
    display: none
}

@media(max-width:1250px) {
    .z-catalog-results ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }
}

@media(max-width:980px) {
    .z-catalog__layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px
    }

    .z-catalog-results ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:759px) {
    .z-catalog__shell {
        width: calc(100% - 20px)
    }

    .z-catalog__heading {
        padding-bottom: 14px
    }

    .z-catalog__heading h1 {
        font-size: 27px
    }

    .z-catalog-categories {
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 16px
    }

    .z-catalog-categories a {
        flex-basis: 92px
    }

    .z-catalog-categories a>span {
        width: 78px;
        height: 78px
    }

    .z-catalog-categories strong {
        font-size: 11px
    }

    .z-catalog-categories small {
        font-size: 10px
    }

    .z-catalog__toolbar-mobile {
        display: flex;
        padding: 8px 0;
        justify-content: flex-end
    }

    .z-catalog__toolbar-mobile button {
        min-height: 38px;
        padding: 7px 13px;
        border: 1px solid #cbd5e1;
        border-radius: 5px;
        background: #fff;
        color: #111827;
        font-weight: 700
    }

    .z-catalog__layout {
        display: block
    }

    .z-catalog-filters {
        position: fixed;
        z-index: 100001;
        top: 0;
        left: 0;
        width: min(340px, 88vw);
        height: 100dvh;
        padding: 18px;
        overflow-y: auto;
        background: #fff;
        transform: translateX(-105%);
        transition: transform .22s
    }

    .z-catalog-filters.is-open {
        transform: translateX(0)
    }

    .z-catalog-filters>header {
        display: flex;
        margin-bottom: 22px;
        align-items: center;
        justify-content: space-between
    }

    .z-catalog-filters>header h2 {
        margin: 0
    }

    .z-catalog-filters>header button {
        padding: 0;
        border: 0;
        background: transparent;
        font-size: 28px
    }

    .z-catalog-filter-overlay {
        position: fixed;
        z-index: 100000;
        inset: 0;
        background: rgba(15, 23, 42, .48)
    }

    body.z-filters-open {
        overflow: hidden
    }

    .z-catalog-sort {
        min-height: 48px;
        margin-bottom: 16px
    }

    .z-catalog-sort .woocommerce-result-count {
        max-width: 48%
    }

    .z-catalog-sort select {
        max-width: 150px
    }

    .z-catalog-results ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 10px
    }

    .z-catalog-results ul.products li.product a img {
        padding: 4px;
        border-radius: 6px
    }

    .z-catalog-results .woocommerce-loop-product__title {
        min-height: 34px;
        font-size: 12px !important
    }

    .z-catalog-results .price {
        font-size: 16px !important
    }
}
