/* ============================================================
   Category pages (templates/archive/category.php). After the canvas
   "Strona kategorii /plakaty/ — propozycje UX" (Oct 2026): H1 44 px
   with a lead and fact pills, a sticky bar of filters on the posters'
   features, the grid, "Pokaż kolejne", the beige band of reasons,
   links to other categories, the category's text beside its FAQ.
   Wide screens: each filter a chip with its list underneath. Below
   1025 px: one "Filtry" button, the lists in a sheet from below.
   ============================================================ */

.pb-archive,
.pb-trust,
.pb-about {
    --pb-ink: #23231f;
    --pb-heading: #2a2a2a;
    --pb-body: #3a3a34;
    --pb-muted: #6b6a62;
    --pb-line: #e8e1d5;
    --pb-line-warm: #e5ded2;
    --pb-pill: #cfc8bb;
    --pb-sand: #f7f3ec;
    color: var(--pb-body);
    font-size: 16px;
    line-height: 1.6;
}

.pb-archive {
    padding-top: 0;
}

.pb-archive h1,
.pb-archive h2,
.pb-about h2 {
    margin: 0;
    color: var(--pb-heading);
    font-family: var(--font-heading);
    font-weight: 400;
}

.pb-archive p,
.pb-trust p {
    margin: 0;
}

/* ---- Crumbs, H1, lead, facts ------------------------------ */

.pb-archive .pb-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #767676;
    font-size: 12px;
    line-height: 1.6;
}

.pb-archive .pb-crumbs a {
    color: #767676;
}

.pb-archive .pb-crumbs [aria-current] {
    color: var(--pb-ink);
}

.pb-archive__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 56px;
    padding: 16px 0 32px;
}

.pb-archive__intro {
    flex: 1 1 560px;
    max-width: 760px;
}

/* With the category's room picture: copy left, picture right. */
.pb-archive__head--image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    gap: 32px 64px;
}

.pb-archive__head--image .pb-archive__intro {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 720px;
}

.pb-archive__intro .pb-archive__facts {
    margin-top: 22px;
}

.pb-archive__media {
    position: relative;
    display: block;
    /* The room pictures are portrait with the poster high on the wall:
       a square cut from the top keeps the poster whole. */
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--color-surface-warm);
}

.pb-archive__img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: 50% 12%;
    transition: transform .4s;
}

/* The plus over the room picture (as on the home hero) and its card. */
.pb-archive .pb-spot {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: transform .2s, background-color .2s;
}

.pb-spot::before,
.pb-spot::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: var(--pb-ink);
    transition: transform .2s;
}

.pb-spot::after {
    transform: rotate(90deg);
}

.pb-spot[aria-expanded="true"]::before {
    transform: rotate(45deg);
}

.pb-spot[aria-expanded="true"]::after {
    transform: rotate(135deg);
}

.pb-archive .pb-spot:hover,
.pb-archive .pb-spot:focus-visible {
    background: #fff;
    transform: scale(1.08);
}

@media (prefers-reduced-motion: no-preference) {
    .pb-spot[aria-expanded="false"] {
        animation: pb-spot-pulse 2.4s ease-out infinite;
    }

    @keyframes pb-spot-pulse {
        0% { box-shadow: 0 4px 14px rgba(0, 0, 0, .25), 0 0 0 0 rgba(255, 255, 255, .55); }
        70%, 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, .25), 0 0 0 14px rgba(255, 255, 255, 0); }
    }
}

.pb-archive .pb-spot__card {
    position: absolute;
    right: 12px;
    bottom: 72px;
    z-index: 2;
    display: flex;
    gap: 14px;
    width: min(280px, calc(100% - 24px));
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
    color: var(--pb-ink);
    text-decoration: none;
    box-sizing: border-box;
}

.pb-spot__card[hidden] {
    display: none !important;
}

.pb-spot__thumb {
    display: grid;
    flex: none;
    place-items: center;
    width: 72px;
    aspect-ratio: 768 / 1075;
    border-radius: 4px;
    background: var(--color-surface-warm);
}

.pb-spot__thumb img {
    display: block;
    width: 84%;
    height: auto;
    box-shadow: 1px 2px 4px rgba(35, 35, 31, .18);
}

.pb-spot__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.pb-spot__name {
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.3;
}

.pb-spot__price {
    font-size: 14px;
    font-weight: 600;
}

.pb-spot__price del {
    margin-left: 4px;
    color: var(--pb-muted);
    font-weight: 400;
}

.pb-spot__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
}

.pb-spot__go svg {
    width: 14px;
    height: 14px;
}

.pb-archive__title {
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -.005em;
}

.pb-archive__lead {
    margin-top: 14px !important;
    font-size: 17px;
    line-height: 1.6;
}

.pb-archive__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

.pb-archive__facts li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--pb-sand);
    line-height: 1.2;
}

.pb-archive__facts svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--color-primary);
}

/* ---- Przeglądaj kategorie (under the grid) ---------------
   Plain links in columns, footer-like, so they never pass for the
   filters above the grid: these go to another page, filters narrow
   this one. */

.pb-browse {
    padding: 56px 0 8px;
    border-bottom: 1px solid var(--pb-line);
}

.pb-browse h2.pb-browse__title {
    margin: 0 0 24px;
    color: var(--pb-heading);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
}

.pb-browse__columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px 24px;
    padding-bottom: 48px;
}

.pb-browse h3.pb-browse__heading {
    margin: 0 0 12px;
    color: var(--pb-muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pb-browse__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-browse__list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    padding: 5px 0;
}

.pb-browse .pb-browse__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pb-ink);
    font-size: 15px;
    text-decoration: none;
}

.pb-browse .pb-browse__link:hover {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pb-browse__dot {
    width: 12px;
    height: 12px;
    flex: none;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}

.pb-browse__count {
    color: #767676;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

/* ---- Bar: filters, count, sort ---------------------------- */

.pb-shop__bar {
    position: sticky;
    top: var(--pb-sticky-top, 0px);
    z-index: 20;
    transition: top .2s;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 14px 0;
    border-block: 1px solid var(--pb-line);
    background: #fff;
}

.pb-shop__phone {
    display: none;
}

.pb-filters {
    margin: 0;
}

.pb-filters__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pb-filters__sheet-head,
.pb-filters__sheet-foot {
    display: none;
}

.pb-filter {
    position: relative;
}

.pb-filter__toggle,
.pb-shop__open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--pb-pill);
    border-radius: 999px;
    background: #fff;
    color: var(--pb-heading);
    font: 600 15px/1 var(--font-body);
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
}

.pb-filter__toggle:hover,
.pb-filter__toggle.is-on,
.pb-filter__toggle[aria-expanded="true"] {
    border-color: var(--pb-ink);
    background: #f5f2eb;
}

.pb-filter__caret {
    width: 14px;
    height: 14px;
    transition: transform 160ms;
}

.pb-filter__toggle[aria-expanded="true"] .pb-filter__caret {
    transform: rotate(180deg);
}

.pb-filter__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 30;
    display: none;
    width: 320px;
    min-width: 0;
    margin: 0;
    padding: 16px 20px 20px;
    border: 1px solid var(--pb-line-warm);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(35, 35, 31, .12);
    box-sizing: border-box;
}

.pb-filter--swatch .pb-filter__panel {
    width: 580px;
    padding: 20px 24px 20px;
}

.pb-filter.is-open .pb-filter__panel {
    display: block;
}

.pb-filter__lead {
    width: 16px;
    height: 16px;
}

/* "Więcej filtrów": the less used features side by side. */
.pb-filter__panel--more {
    width: 640px;
    padding: 20px 24px;
}

.pb-filter__groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 32px;
}

.pb-filter__group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.pb-archive .pb-fold__toggle {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    pointer-events: none;
    cursor: default;
}

.pb-fold__n,
.pb-shop__summary {
    display: none;
}

.pb-filter__panel--more .pb-filter__legend {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 6px;
    overflow: visible;
    clip-path: none;
    color: var(--pb-muted);
    font: 700 12px/1.4 var(--font-body);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pb-filter__legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.pb-filter__hint {
    margin: 0 0 6px !important;
    color: var(--pb-muted);
    font-size: 13px;
}

.pb-filter__options {
    display: flex;
    flex-direction: column;
}

.pb-filter--swatch .pb-filter__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 32px;
}

.pb-filter--swatch .pb-option {
    gap: 10px;
}

.pb-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    margin: 0;
    color: var(--pb-heading);
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
}

.pb-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.pb-option__box {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid #8a877d;
    border-radius: 4px;
    background: #fff;
    color: #fff;
}

.pb-option__box svg {
    width: 14px;
    height: 14px;
    opacity: 0;
}

.pb-option input:checked + .pb-option__box {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.pb-option input:checked + .pb-option__box svg {
    opacity: 1;
}

.pb-option__swatch {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}

.pb-option input:checked + .pb-option__swatch {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pb-ink);
}

.pb-option input:focus-visible + span {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.pb-option input:checked ~ .pb-option__name {
    font-weight: 700;
}

.pb-option.is-empty {
    color: #a3a198;
    cursor: default;
}

.pb-option.is-empty .pb-option__box {
    border-color: #d6d3cb;
}

.pb-option.is-empty .pb-option__swatch {
    background:
        linear-gradient(to top right, transparent calc(50% - 1px), #8a877d calc(50% - 1px), #8a877d calc(50% + 1px), transparent calc(50% + 1px)),
        var(--swatch);
    opacity: .5;
}

.pb-option.is-empty .pb-option__count {
    color: #b5b2a9;
}

.pb-option__name {
    flex: 1;
    line-height: 1.25;
}

.pb-option__name::first-letter {
    text-transform: uppercase;
}

.pb-option__count {
    color: #767676;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.pb-filter__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--pb-line);
}

.pb-filter__clear,
.pb-filters__reset {
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pb-heading);
    font: 600 15px/44px var(--font-body);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: none;
    cursor: pointer;
}

.pb-archive .pb-filter__clear:hover,
.pb-archive .pb-filter__clear:focus-visible,
.pb-archive .pb-filters__close:hover,
.pb-about .pb-about__more:hover,
.pb-about .pb-about__more:focus-visible {
    padding: 0;
    background: none;
    box-shadow: none;
    color: var(--color-primary-dark);
}

.pb-archive .pb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--radius-base, 5px);
    background: var(--color-primary);
    color: #fff;
    font: 700 16px/1.2 var(--font-body);
    text-transform: none;
    cursor: pointer;
    transition: background-color .2s;
}

.pb-archive .pb-btn:hover,
.pb-archive .pb-btn:focus-visible {
    background: var(--color-primary-dark);
    color: #fff;
}

.pb-shop__count {
    margin-left: auto !important;
    color: var(--pb-muted);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pb-shop__order {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--color-surface-warm);
}

.pb-archive .pb-shop__order a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--pb-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.pb-archive .pb-shop__order a:hover {
    color: var(--pb-ink);
}

.pb-archive .pb-shop__order a[aria-current] {
    background: #fff;
    box-shadow: 0 1px 3px rgba(35, 35, 31, .12);
    color: var(--pb-ink);
}

/* "Na ścianie" (components/archive-view-toggle.php): a switch, so it
   does not read as a second sort. Drawn from html.pb-view-room, set
   before paint, not from aria-checked, which the script only syncs later.
   button.pb-view outranks WoodMart's :is(button, …) rules: grey :hover,
   min-height: var(--btn-height), padding, line-height. */
button.pb-view {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    min-height: 0;
    margin: 0;
    padding: 0 4px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: var(--pb-muted);
    font: 600 14px/1.6 var(--font-body);
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
}

button.pb-view:hover {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--pb-ink);
}

button.pb-view:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.pb-view__track {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 24px;
    border-radius: 999px;
    background: #cfc8bb;
    transition: background-color .16s;
}

.pb-view__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(35, 35, 31, .2);
    transition: transform .16s;
}

html.pb-view-room button.pb-view {
    color: var(--pb-ink);
}

html.pb-view-room .pb-view__track {
    background: var(--color-primary);
}

html.pb-view-room .pb-view__track::after {
    transform: translateX(16px);
}

@media (prefers-reduced-motion: reduce) {
    .pb-view__track,
    .pb-view__track::after {
        transition: none;
    }
}

.pb-shop__sort {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--pb-muted);
    font-size: 15px;
    font-weight: 400;
}

.pb-shop__sort-icon {
    display: none;
    width: 18px;
    height: 18px;
}

.pb-shop__sort select {
    width: auto;
    height: 44px;
    padding: 0 32px 0 12px;
    border: 1px solid var(--pb-pill);
    border-radius: 5px;
    background-color: #fff;
    color: var(--pb-heading);
    font: 600 15px var(--font-body);
}

.pb-shop__chosen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
}

.pb-shop__chosen-label {
    color: var(--pb-muted);
    font-size: 13px;
}

.pb-archive .pb-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--pb-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.pb-archive .pb-chip::first-letter {
    text-transform: uppercase;
}

.pb-archive .pb-chip svg {
    width: 12px;
    height: 12px;
}

.pb-archive .pb-chip:hover {
    background: #000;
    color: #fff;
}

.pb-archive .pb-shop__clear {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---- Grid, promo tile, more ------------------------------- */

.pb-shop__grid {
    padding-top: 32px;
}

.pb-shop__grid.is-loading {
    opacity: .5;
    transition: opacity .2s;
}

/* The space the next page's cards will fill (pb-archive.js), a screen tall
   so that nothing visible moves when they arrive. */
.pb-grid__hold {
    grid-column: 1 / -1;
    height: 100vh;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--color-surface-warm, #f6f3ed) 0%, #fbf9f5 50%, var(--color-surface-warm, #f6f3ed) 100%) 0 0 / 200% 100%;
    animation: pb-hold 1.2s linear infinite;
}

@keyframes pb-hold {
    to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pb-grid__hold { animation: none; }
}

.pb-promo {
    display: grid !important;
    grid-column: 1 / -1;
    grid-row: auto !important;
    /* Not the product cards' subgrid rows: the band has its own. */
    grid-template-rows: none !important;
    grid-template-columns: 300px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 40px;
    padding: 20px 40px 20px 20px;
    border-radius: 12px;
    background: var(--pb-sand);
    color: var(--pb-body);
    text-decoration: none;
    box-sizing: border-box;
}

.pb-promo:hover {
    color: var(--pb-body);
}

/* A bit of wall: the page's first posters framed above a shelf. */
.pb-promo__wall {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    height: 190px;
    padding: 0 28px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #efe8dc, #e6dccb);
    overflow: hidden;
    box-sizing: border-box;
}

.pb-promo__frame {
    position: relative;
    z-index: 1;
    display: block;
    flex: none;
    width: 25%;
    aspect-ratio: 5 / 7;
    padding: 5px;
    border: 3px solid #2b2925;
    background: #fff;
    box-shadow: 3px 6px 10px rgba(35, 35, 31, .22);
    box-sizing: border-box;
    transition: transform .3s;
}

.pb-promo__frame--1 {
    width: 32%;
    order: 2;
}

.pb-promo__frame--2 {
    order: 3;
}

.pb-promo__frame--3 {
    order: 1;
    width: 22%;
}

.pb-promo__img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.pb-promo__shelf {
    position: absolute;
    right: 14px;
    bottom: 22px;
    left: 14px;
    height: 8px;
    border-radius: 2px;
    background: #b89f7c;
    box-shadow: 0 4px 8px rgba(35, 35, 31, .18);
}

.pb-promo:hover .pb-promo__frame--1 {
    transform: translateY(-4px);
}

.pb-promo__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.pb-promo__badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--pb-ink);
    color: #fff;
    font: 700 11px/1 var(--font-body);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pb-promo__title {
    color: var(--pb-heading);
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1.2;
}

.pb-promo__text {
    max-width: 440px;
    font-size: 15px;
    line-height: 1.5;
}

.pb-promo__tiers {
    display: flex;
    gap: 0;
}

.pb-promo__tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 24px;
    text-align: center;
}

.pb-promo__tier + .pb-promo__tier {
    border-left: 1px solid #ddd3c2;
}

.pb-promo__value {
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 1.05;
    white-space: nowrap;
}

.pb-promo__label {
    margin-top: 4px;
    color: var(--pb-muted);
    font-size: 14px;
    white-space: nowrap;
}

.pb-promo__link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 5px;
    background: var(--color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.pb-promo:hover .pb-promo__link {
    background: var(--color-primary-dark);
}

.pb-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 48px 0 56px;
}

.pb-more__status {
    color: var(--pb-muted);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.pb-more__track {
    width: 240px;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pb-line);
}

.pb-more__bar {
    display: block;
    height: 100%;
    background: var(--color-primary);
    transition: width .3s;
}

.pb-archive .pb-more__button {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 28px;
    border: 1.5px solid var(--pb-ink);
    border-radius: 5px;
    background: #fff;
    color: var(--pb-ink);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.pb-archive .pb-more__button:hover {
    background: var(--pb-ink);
    color: #fff;
}

.pb-more__pages {
    display: flex;
    gap: 4px;
    font-size: 14px;
}

.pb-more__pages .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--pb-muted);
    text-decoration: none;
}

.pb-more__pages .current {
    background: var(--color-surface-warm);
    color: var(--pb-ink);
    font-weight: 700;
}

.pb-shop__empty {
    padding: 56px 0;
    text-align: center;
}

.pb-shop__empty-title {
    margin-bottom: 8px !important;
    color: var(--pb-heading);
    font-family: var(--font-heading);
    font-size: 24px;
}

/* ---- Reasons band ----------------------------------------- */

.pb-trust {
    margin-inline: calc(50% - 50vw);
    background: var(--color-surface-warm);
}

.pb-trust__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: var(--container-width, 1700px);
    margin-inline: auto;
    padding: 40px 15px;
    box-sizing: border-box;
}

.pb-trust__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pb-trust__icon {
    width: 28px;
    height: 28px;
    flex: none;
    color: var(--color-primary);
}

.pb-trust__title {
    color: var(--pb-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.pb-trust__text {
    margin-top: 4px !important;
    font-size: 14px;
    line-height: 1.5;
}

/* ---- The category's text and FAQ -------------------------- */

.pb-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    padding: 56px 0 64px;
}

.pb-about--single {
    grid-template-columns: minmax(0, 760px);
}

.pb-about h2 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.2;
}

.pb-about h3 {
    margin: 20px 0 8px;
    color: var(--pb-heading);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
}

.pb-about p,
.pb-about li {
    color: #4c4c4c;
    font-size: 16px;
    line-height: 1.6;
}

.pb-about a {
    color: var(--color-primary);
    text-decoration: underline;
}

.pb-about__body {
    position: relative;
}

.pb-about__text.is-folded .pb-about__body {
    max-height: 260px;
    overflow: hidden;
}

.pb-about__text.is-folded .pb-about__body::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 80px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

.pb-about__more {
    height: 44px;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-primary);
    font: 700 15px var(--font-body);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: none;
    cursor: pointer;
}

.pb-about .pb-about__title {
    margin-bottom: 4px;
}

.pb-faq-item {
    border-bottom: 1px solid var(--pb-line);
}

.pb-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    color: var(--pb-ink);
    font: 600 16px/1.4 var(--font-body);
    list-style: none;
    cursor: pointer;
}

.pb-faq-item summary::-webkit-details-marker {
    display: none;
}

.pb-faq-item__icon svg {
    display: block;
    width: 18px;
    height: 18px;
    transition: transform .2s;
}

.pb-faq-item[open] .pb-faq-item__icon svg {
    transform: rotate(45deg);
}

.pb-faq-item__answer {
    padding-bottom: 18px;
}

.pb-faq-item__answer p {
    margin: 0 0 10px;
    font-size: 15px;
}

/* ---- Narrower screens ------------------------------------- */

@media (max-width: 1200px) {
    .pb-promo {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 20px 32px;
    }

    .pb-promo__wall {
        grid-row: span 3;
    }

    .pb-promo__tiers,
    .pb-promo__link {
        justify-self: start;
    }

    .pb-promo__tier:first-child {
        padding-left: 0;
    }

    .pb-browse__columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pb-trust__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .pb-archive__head--image {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 24px 32px;
    }

    .pb-shop__bar {
        gap: 0;
        margin-inline: -15px;
        padding: 0;
        box-shadow: 0 6px 16px rgba(35, 35, 31, .06);
    }

    .pb-shop__phone {
        display: block;
        flex: 1 1 0;
        min-width: 0;
        border-right: 1px solid var(--pb-line);
    }

    .pb-shop__open {
        justify-content: center;
        width: 100%;
        height: 52px;
        border: 0;
        border-radius: 0;
        font-weight: 700;
    }

    .pb-shop__open svg {
        width: 18px;
        height: 18px;
    }

    .pb-shop__badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        border-radius: 999px;
        background: var(--color-primary);
        color: #fff;
        font-size: 12px;
    }

    .pb-shop__order {
        display: none;
    }

    .pb-shop__sort {
        display: flex;
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        position: relative;
        height: 52px;
        color: var(--pb-ink);
    }

    .pb-shop__sort-label {
        display: none;
    }

    .pb-shop__sort-icon {
        display: block;
    }

    .pb-shop__sort select {
        height: 52px;
        padding: 0 4px;
        border: 0;
        background: none;
        font-weight: 700;
    }

    .pb-shop__count {
        display: none;
    }

    .pb-shop__summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 12px 0 0;
        color: var(--pb-muted);
        font-size: 13px;
    }

    .pb-shop__summary-count {
        margin: 0 !important;
    }

    /* On a phone the bar holds Filtry and the sort; the pair sits beside
       the count below it. */
    button.pb-view--bar {
        display: none;
    }

    button.pb-view {
        font-size: 13px;
    }

    /* Over WoodMart's floating header (z-index 390) while the sheet is open. */
    .pb-filters-open .pb-shop__bar {
        z-index: 100001;
    }

    .pb-shop__chosen {
        gap: 8px 10px;
        padding-top: 10px;
    }

    .pb-archive .pb-chip {
        height: 40px;
        padding: 0 14px;
        font-size: 14px;
    }

    .pb-archive .pb-chip svg {
        width: 14px;
        height: 14px;
    }

    .pb-archive .pb-shop__clear {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        font-size: 14px;
    }

    /* The form becomes a sheet from below. */
    .pb-filters {
        position: fixed;
        inset: 64px 0 0;
        z-index: 100001;
        display: none;
        flex-direction: column;
        border-radius: 12px 12px 0 0;
        background: #fff;
        box-shadow: 0 0 0 100vmax rgba(35, 35, 31, .45);
    }

    .pb-filters.is-open {
        display: flex;
    }

    .pb-filters-open .scrollToTop {
        display: none !important;
    }

    .pb-filters__sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 8px 8px 16px;
        border-bottom: 1px solid var(--pb-line);
    }

    .pb-archive .pb-filters__sheet-title {
        font-size: 22px;
    }

    .pb-filters__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: none;
        color: var(--pb-heading);
    }

    .pb-filters__close svg {
        width: 20px;
        height: 20px;
    }

    .pb-filters__list {
        flex: 1;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 24px;
        padding: 20px 16px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .pb-filter__toggle {
        display: none;
    }

    .pb-filter__panel,
    .pb-filter--swatch .pb-filter__panel,
    .pb-filter__panel--more {
        position: static;
        display: block;
        width: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .pb-filter__legend {
        position: static;
        width: auto;
        height: auto;
        margin-bottom: 10px;
        overflow: visible;
        clip-path: none;
        color: var(--pb-ink);
        font: 700 16px/1.4 var(--font-body);
    }

    .pb-filter__hint,
    .pb-filter__actions {
        display: none;
    }

    /* Values as pills. */
    .pb-filter__options {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .pb-filter .pb-option {
        gap: 6px;
        min-height: 40px;
        padding: 0 14px;
        border: 1px solid var(--pb-pill);
        border-radius: 999px;
        font-size: 14px;
        font-weight: 600;
    }

    .pb-filter .pb-option__box {
        display: none;
    }

    .pb-filter .pb-option.is-empty {
        border-style: dashed;
        border-color: #e2ded6;
    }

    .pb-filter .pb-option:has(input:checked) {
        border-color: var(--pb-ink);
        background: var(--pb-ink);
        color: #fff;
    }

    .pb-filter .pb-option:has(input:checked) .pb-option__count {
        color: var(--pb-line);
    }

    .pb-filter .pb-option:has(input:focus-visible) {
        outline: 2px solid var(--color-primary);
        outline-offset: 2px;
    }

    .pb-option__count {
        font-size: 12px;
        font-weight: 400;
    }

    /* Colours: swatch over name, five a row. */
    .pb-filter--swatch .pb-filter__options {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px 2px;
    }

    .pb-filter--swatch .pb-option,
    .pb-filter--swatch .pb-option:has(input:checked) {
        flex-direction: column;
        gap: 6px;
        min-height: 64px;
        padding: 4px 0;
        border: 0;
        background: none;
        color: var(--pb-body);
        font-size: 11px;
        font-weight: 400;
        text-align: center;
    }

    .pb-filter--swatch .pb-option__swatch {
        width: 30px;
        height: 30px;
    }

    .pb-filter--swatch .pb-option__count {
        display: none;
    }

    /* Every filter an accordion: closed unless something in it is
       picked, so the sheet opens as a short list of features. */
    .pb-filters__list {
        gap: 0;
        padding-top: 4px;
    }

    .pb-filter__groups {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .pb-fold {
        border-bottom: 1px solid var(--pb-line) !important;
    }

    .pb-archive .pb-fold .pb-filter__legend {
        width: 100%;
        margin: 0;
    }

    .pb-archive .pb-fold__toggle,
    .pb-archive .pb-fold__toggle:hover,
    .pb-archive .pb-fold__toggle:focus {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 56px;
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
        color: var(--pb-ink);
        font: 700 16px/1.3 var(--font-body);
        letter-spacing: 0;
        text-align: left;
        text-transform: none;
        pointer-events: auto;
        cursor: pointer;
    }

    .pb-fold__n {
        margin-left: 4px;
        color: var(--color-primary);
    }

    .pb-fold__toggle::after {
        content: "+";
        margin-left: auto;
        font-size: 22px;
        font-weight: 400;
        line-height: 1;
    }

    .pb-fold.is-unfolded .pb-fold__toggle::after {
        content: "−";
    }

    .pb-fold:not(.is-unfolded) .pb-filter__options {
        display: none;
    }

    .pb-fold.is-unfolded .pb-filter__options {
        padding-bottom: 18px;
    }

    .pb-filters__sheet-foot {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px 24px;
        border-top: 1px solid var(--pb-line);
        box-shadow: 0 -6px 20px rgba(35, 35, 31, .08);
    }

    .pb-filters__sheet-foot .pb-btn {
        flex: 1;
        min-height: 48px;
        font-size: 17px;
    }

    .pb-about {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .pb-archive__title {
        font-size: 33px;
    }

    .pb-archive__lead {
        font-size: 15px;
    }

    .pb-archive__head {
        padding-bottom: 20px;
    }

    .pb-archive__facts {
        display: none;
    }

    .pb-archive__head--image {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .pb-archive__media {
        aspect-ratio: 4 / 3;
        order: -1;
    }

    .pb-browse__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pb-browse h2.pb-browse__title {
        font-size: 24px;
    }

    .pb-shop__grid {
        padding-top: 20px;
    }

    .pb-promo {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 12px 12px 20px;
    }

    .pb-promo__wall {
        grid-row: auto;
        height: 170px;
    }

    .pb-promo__copy,
    .pb-promo__tiers,
    .pb-promo__link {
        margin-inline: 8px;
    }

    .pb-promo__badge {
        display: none;
    }

    .pb-promo__title {
        font-size: 22px;
    }

    .pb-promo__text {
        font-size: 14px;
    }

    .pb-promo__value {
        font-size: 32px;
    }

    .pb-promo__link {
        justify-content: center;
        justify-self: stretch;
    }

    .pb-more {
        padding: 36px 0 40px;
    }

    .pb-archive .pb-more__button {
        justify-content: center;
        width: 100%;
    }

    .pb-trust__inner {
        gap: 18px 14px;
        padding: 24px 15px;
    }

    .pb-trust__item {
        gap: 10px;
    }

    .pb-trust__icon {
        width: 22px;
        height: 22px;
    }

    .pb-trust__title {
        font-size: 14px;
    }

    .pb-trust__text {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pb-archive__img,
    .pb-spot,
    .pb-more__bar,
    .pb-faq-item__icon svg {
        transition: none;
    }
}
