.catalog-toolbar { display: block; border-block: 1px solid var(--color-border); }
.catalog-toolbar-inner { display: flex; align-items: stretch; justify-content: space-between; min-height: 68px; padding-right: 0; }
.catalog-toolbar h1 { display: flex; align-items: center; min-width: 0; margin: 0; padding: 0; color: #000; font: 400 38px/1 var(--font-brand); }
.catalog-actions { flex-shrink: 0; }
.catalog-actions > * { border-left: 1px solid var(--color-border); }
.catalog-actions .sorting summary, .catalog-actions .filter-toggle { gap: 12px; padding: 0 40px; color: #000; font: 300 14px/1 var(--font-body); text-transform: uppercase; text-decoration: none; }
.catalog-actions svg { width: 18px; height: 18px; transition: transform 280ms ease; }
.filter-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.catalog-actions .sorting ul { width: 290px; padding: 32px; border: 1px solid var(--color-border); background: #fff; box-shadow: 0 2px 4px #1616160d, 0 7px 7px #1616160a, 0 17px 10px #16161608, 0 30px 12px #16161603, 0 46px 13px #16161600; }
.catalog-actions .sorting li { margin: 0; }
.catalog-actions .sorting li a { display: flex; align-items: center; width: 100%; height: 42px; color: #000; font: 400 18px/18px var(--font-body); text-decoration: none; transition: color 280ms ease; }
.catalog-actions .sorting a[aria-current] { font-weight: 500; }
.catalog-actions .sorting li a:hover, .catalog-actions .sorting li a:focus-visible { color: var(--color-muted); }
.catalog-content { padding-block: 40px 80px; }
.catalog-content ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; }
.catalog-content nav.woocommerce-pagination { margin: 40px 0 0; text-align: center; }
.catalog-content nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin: 0; padding: 0; border: 0; list-style: none; }
.catalog-content nav.woocommerce-pagination ul li { display: block; float: none; margin: 0; padding: 0; border: 0; }
.catalog-content nav.woocommerce-pagination ul li a, .catalog-content nav.woocommerce-pagination ul li span:not(.screen-reader-text) { display: flex; align-items: center; justify-content: center; width: 48px; height: 43px; margin: 0; padding: 0; border-bottom: 1px solid var(--color-border); background: transparent; color: #000; font: 400 18px/18px var(--font-body); text-decoration: none; transition: border-color 280ms ease; }
.catalog-content nav.woocommerce-pagination ul li span.current, .catalog-content nav.woocommerce-pagination ul li a:hover, .catalog-content nav.woocommerce-pagination ul li a:focus-visible { border-bottom-color: #000; background: transparent; color: #000; }
.catalog-content .woocommerce-pagination .prev svg { transform: rotate(180deg); }
.filters-drawer { --filter-padding: 32px; --filter-backdrop-opacity: .3; width: min(500px, 100%); overflow: hidden; }
.filters-drawer::backdrop { background: rgb(22 22 22 / var(--filter-backdrop-opacity)); }
.filters-drawer .overlay-heading { height: 110px; padding: 0 var(--filter-padding); }
.filters-drawer .overlay-heading h2 { font: 400 30px/1 var(--font-brand); }
.filters-drawer .overlay-heading .icon-button { width: 44px; height: 44px; flex-shrink: 0; }
.filters-drawer .filter-groups { min-height: 0; padding: 16px var(--filter-padding); scrollbar-width: none; }
.filters-drawer .filter-groups::-webkit-scrollbar { display: none; }
.filters-drawer .filter-group { padding: 24px 0; }
.filters-drawer .filter-group:last-child { border-bottom: 0; }
.filters-drawer .filter-group summary { align-items: center; cursor: pointer; font: 400 24px/29px var(--font-brand); }
.filters-drawer .filter-group summary::-webkit-details-marker { display: none; }
.filters-drawer .filter-group summary svg { width: 18px; height: 18px; flex-shrink: 0; }
.filters-drawer .filter-group fieldset { margin-top: 24px; }
.filters-drawer .filter-choice { position: relative; min-height: 42px; padding: 8px 0; gap: 8px; color: var(--color-text); font: 400 18px/22px var(--font-body); }
.filters-drawer .filter-choice input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.filters-drawer .filter-choice > span:last-child { position: relative; transition: font-weight 280ms ease, padding-left 280ms ease; }
.filters-drawer .filter-choice:hover > span:last-child, .filters-drawer .filter-choice input:checked ~ span:last-child { font-weight: 500; }
.filters-drawer .filter-choice:not(.filter-choice--color) > span:last-child::before { content: ''; position: absolute; left: 0; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--color-text); opacity: 0; transition: opacity 280ms ease; }
.filters-drawer .filter-choice:not(.filter-choice--color) input:checked ~ span:last-child { padding-left: 20px; }
.filters-drawer .filter-choice input:checked ~ span:last-child::before { opacity: 1; }
.filters-drawer .filter-choice:has(input:focus-visible) { outline: 1px solid var(--color-text); outline-offset: 2px; }
.filters-drawer .filter-choice--color { gap: 12px; }
.filters-drawer .filter-choice .swatch { position: relative; flex-shrink: 0; width: 16px; height: 16px; border: 1px solid transparent; transition: border-color 280ms ease, background-color 280ms ease; }
.filters-drawer .filter-choice .swatch.is-white { border-color: var(--color-border); }
.filters-drawer .filter-choice input:checked + .swatch { border-color: var(--color-text); background: #fff; }
.filters-drawer .filter-choice .swatch::before { content: ''; position: absolute; inset: 1px; background: var(--swatch); opacity: 0; transition: opacity 280ms ease; }
.filters-drawer .filter-choice input:checked + .swatch::before { opacity: 1; }
.filters-drawer .filter-choice:hover .swatch { border-color: var(--color-text); }
.filters-drawer .filter-footer { padding: var(--filter-padding); }
.filters-drawer .filter-footer .button { display: flex; align-items: center; justify-content: center; height: 45px; min-height: 45px; padding: 8px 10px; background: var(--color-text); color: #fff; font: 500 14px/1 var(--font-body); text-transform: capitalize; transition: background 280ms ease; }
.filters-drawer .filter-footer .button:hover { background: #363636; }
.filters-drawer .filter-footer a { font-size: 14px; }
.filter-chips .filter-chip { transition: color 280ms ease, background-color 280ms ease; }
.filter-chips .filter-chip:hover { background: var(--color-text); color: #fff; text-decoration: none; }
.filter-chips > a:not(.filter-chip), .filters-drawer .filter-footer a { position: relative; width: fit-content; justify-self: center; text-decoration: none; }
.filter-chips > a:not(.filter-chip)::after, .filters-drawer .filter-footer a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms ease; }
.filter-chips > a:not(.filter-chip):hover::after, .filter-chips > a:not(.filter-chip):focus-visible::after, .filters-drawer .filter-footer a:hover::after, .filters-drawer .filter-footer a:focus-visible::after { transform: scaleX(1); }
.catalog-content .woocommerce-no-products-found .woocommerce-info { display: flex; align-items: center; justify-content: center; min-height: 180px; margin: 0; padding: 48px 24px; border: 0; border-block: 1px solid var(--color-border); background: #fff; color: var(--color-text); text-align: center; font: 400 24px/29px var(--font-brand); }
.catalog-content .woocommerce-no-products-found .woocommerce-info::before { display: none; }
@media (max-width: 768px) {
    .filters-drawer { --filter-padding: 24px; width: min(320px, 100%); }
    .filters-drawer .overlay-heading { height: 92px; }
    .filters-drawer .filter-groups { padding-block: 8px; }
    .filters-drawer .filter-group { padding-block: 20px; }
    .filters-drawer .filter-group summary { font-size: 20px; line-height: 24px; }
    .filters-drawer .filter-choice { min-height: 33px; font-size: 14px; line-height: 17px; }
    .catalog-content .woocommerce-no-products-found .woocommerce-info { min-height: 160px; padding: 32px 16px; font-size: 20px; line-height: 24px; }
}
@media (max-width: 1024px) {
    .catalog-toolbar-inner { display: block; min-height: 0; padding: 0; }
    .catalog-toolbar h1 { height: 63px; padding-inline: var(--page-gutter); border-bottom: 1px solid var(--color-border); font-size: 32px; line-height: 32px; }
    .catalog-actions { width: 100%; height: 43px; border-top: 0; }
    .catalog-actions > * { flex: 1; min-width: 0; }
    .catalog-actions > :first-child { border-left: 0; }
    .catalog-actions .sorting summary, .catalog-actions .filter-toggle { padding: 0; font-weight: 400; }
    .catalog-actions .sorting ul { left: 16px; right: auto; width: 200px; padding: 24px; }
    .catalog-actions .sorting li a { height: 33px; font-size: 14px; line-height: 14px; }
    .catalog-content { padding-block: 16px 80px; }
    .catalog-content ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-content nav.woocommerce-pagination { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .catalog-actions svg, .catalog-actions .sorting li a, .catalog-content nav.woocommerce-pagination ul li a { transition: none; }
}
