.w2p-catalog-page {
    background: #fff;
}

.w2p-catalog-page .w2p-main {
    padding: 0;
}

.w2p-catalog-shell {
    margin-inline: auto;
    max-width: 104rem;
    padding: 1.45rem clamp(1.25rem, 2.5vw, 2.5rem) 2.75rem;
}

.w2p-breadcrumb {
    align-items: center;
    color: #667085;
    display: flex;
    font-size: 0.9rem;
    gap: 0.55rem;
}

.w2p-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.w2p-breadcrumb a:hover {
    color: var(--w2p-color-brand-strong);
}

.w2p-breadcrumb svg {
    fill: none;
    height: 0.9rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 0.9rem;
}

.w2p-catalog-intro {
    align-items: end;
    border-bottom: 1px solid #d8dce3;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding: 1.05rem 0 1.35rem;
}

.w2p-catalog-intro h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 0;
}

.w2p-catalog-intro p,
.w2p-catalog-results__heading p {
    color: var(--w2p-color-text-muted);
    margin: 0.6rem 0 0;
}

.w2p-catalog-intro__count {
    color: #475467;
    flex: 0 0 auto;
    font-size: 0.9rem;
    padding-bottom: 0.1rem;
}

.w2p-catalog-layout {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 18.5rem minmax(0, 1fr);
    padding-top: 1rem;
}

.w2p-category-panel {
    border: 1px solid #d8dce3;
    border-radius: 0.55rem;
    padding: 1rem;
}

.w2p-category-panel h2 {
    font-size: 1rem;
    margin: 0 0 1.1rem;
}

.w2p-category-panel__content[aria-busy='true'] {
    min-height: 8rem;
}

.w2p-category-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.w2p-category-tree--nested {
    margin: 0.25rem 0 0 1rem;
}

.w2p-category-tree__item + .w2p-category-tree__item {
    margin-top: 0.2rem;
}

.w2p-category-tree__item > a {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0.35rem;
    color: #344054;
    display: flex;
    font-size: 0.88rem;
    gap: 0.65rem;
    min-height: 2.2rem;
    padding: 0.45rem 0.6rem;
    text-decoration: none;
}

.w2p-category-tree:not(.w2p-category-tree--nested) > .w2p-category-tree__item > a {
    font-weight: 600;
}

.w2p-category-tree__item > a:hover {
    background: #f8fafc;
    color: #172b4d;
}

.w2p-category-tree__item.is-current > a {
    border-color: #172b4d;
    color: #172b4d;
}

.w2p-category-tree__item > a svg {
    fill: none;
    flex: 0 0 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1rem;
}

.w2p-category-tree__bullet {
    background: #172b4d;
    border-radius: 50%;
    flex: 0 0 0.3rem;
    height: 0.3rem;
    margin-left: 0.35rem;
    width: 0.3rem;
}

.w2p-category-state,
.w2p-product-state {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 0.4rem;
    color: var(--w2p-color-text-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 0.65rem;
    justify-content: center;
    min-height: 6.5rem;
    padding: 1rem;
    text-align: center;
}

.w2p-category-state p,
.w2p-product-state p {
    margin: 0;
}

.w2p-category-state button,
.w2p-product-state button {
    background: #fff;
    border: 1px solid #172b4d;
    border-radius: 0.35rem;
    color: #172b4d;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    min-height: 2.25rem;
    padding: 0.45rem 0.7rem;
}

.w2p-category-state--error,
.w2p-product-state--error {
    border-color: #f1c7c2;
    color: #8a2c25;
}

.w2p-category-state__spinner {
    animation: w2p-category-spin 0.8s linear infinite;
    border: 0.15rem solid #d8dce3;
    border-radius: 50%;
    border-top-color: #172b4d;
    height: 1.25rem;
    width: 1.25rem;
}

@keyframes w2p-category-spin {
    to {
        transform: rotate(1turn);
    }
}

.w2p-catalog-results {
    min-width: 0;
}

.w2p-catalog-results__heading {
    min-height: 4.4rem;
    padding: 0.55rem 0 1rem;
}

.w2p-catalog-results__heading h2 {
    font-size: 1.35rem;
    letter-spacing: -0.025em;
    margin: 0;
}

.w2p-catalog-products {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.w2p-catalog-product {
    background: #fff;
    border: 1px solid #d8dce3;
    border-radius: 0.55rem;
    display: grid;
    grid-template-columns: minmax(7.5rem, 46%) minmax(0, 54%);
    min-height: 15.5rem;
    overflow: hidden;
    padding: 1rem;
}

.w2p-catalog-product__visual {
    background-color: #f6f6f5;
    background-image: url("../images/login-print-products-Fi6OkTn.png");
    background-repeat: no-repeat;
    border-radius: 0.35rem;
    min-height: 13.5rem;
}

.w2p-catalog-product__visual--standard,
.w2p-catalog-product__visual--recycled {
    background-position: 96% 67%;
    background-size: 310% auto;
}

.w2p-catalog-product__visual--premium,
.w2p-catalog-product__visual--coated {
    background-position: 88% 96%;
    background-size: 330% auto;
}

.w2p-catalog-product__visual--folded {
    background-position: 54% 48%;
    background-size: 220% auto;
}

.w2p-catalog-product__visual--name-card {
    background-position: 3% 72%;
    background-size: 280% auto;
}

.w2p-catalog-product__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-left: 1rem;
}

.w2p-catalog-product h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0.7rem 0 0;
}

.w2p-catalog-product__summary {
    color: var(--w2p-color-text-muted);
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0.75rem 0 1rem;
}

.w2p-catalog-product__details {
    display: grid;
    gap: 0.65rem;
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.w2p-catalog-product__details li {
    align-items: center;
    display: flex;
    font-size: 0.82rem;
    gap: 0.55rem;
    white-space: nowrap;
}

.w2p-catalog-product__details svg {
    fill: none;
    flex: 0 0 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 1rem;
}

.w2p-catalog-product__action {
    align-items: center;
    background: #fff;
    border: 1px solid #172b4d;
    border-radius: 0.35rem;
    color: #172b4d;
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 600;
    justify-content: center;
    margin-top: auto;
    min-height: 2.55rem;
    padding: 0.55rem 0.75rem;
    text-decoration: none;
}

.w2p-catalog-product__action:hover {
    background: #172b4d;
    color: #fff;
}

.w2p-catalog-pagination {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 2rem 0 0;
}

.w2p-catalog-pagination p {
    color: #475467;
    font-size: 0.85rem;
    margin: 0;
}

.w2p-catalog-pagination nav {
    align-items: center;
    display: flex;
    gap: 0.65rem;
}

.w2p-catalog-pagination button,
.w2p-catalog-pagination nav > span {
    align-items: center;
    background: #fff;
    border: 1px solid #d8dce3;
    border-radius: 0.4rem;
    color: var(--w2p-color-text);
    display: inline-flex;
    font: inherit;
    font-size: 0.84rem;
    justify-content: center;
    min-height: 2.45rem;
    min-width: 2.45rem;
    padding: 0.55rem 0.75rem;
}

.w2p-catalog-pagination button {
    gap: 0.5rem;
}

.w2p-catalog-pagination button:disabled {
    cursor: not-allowed;
    opacity: 1;
}

.w2p-catalog-pagination nav > span.is-current {
    background: #172b4d;
    border-color: #172b4d;
    color: #fff;
}

.w2p-catalog-pagination svg {
    fill: none;
    height: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1rem;
}

@media (max-width: 86rem) {
    .w2p-catalog-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 64rem) {
    .w2p-catalog-layout {
        grid-template-columns: 15rem minmax(0, 1fr);
    }

    .w2p-catalog-products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 44rem) {
    .w2p-catalog-shell {
        padding-inline: 1rem;
    }

    .w2p-catalog-intro {
        align-items: start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .w2p-catalog-layout {
        grid-template-columns: 1fr;
    }

    .w2p-category-panel {
        overflow-x: auto;
    }

    .w2p-catalog-product {
        grid-template-columns: minmax(7.5rem, 42%) minmax(0, 58%);
    }

    .w2p-catalog-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .w2p-catalog-pagination nav {
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }
}

@media (max-width: 30rem) {
    .w2p-catalog-product {
        grid-template-columns: 1fr;
    }

    .w2p-catalog-product__visual {
        min-height: 11rem;
    }

    .w2p-catalog-product__content {
        padding: 0.25rem 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .w2p-category-state__spinner {
        animation: none;
    }
}
