/* =========================================================
   BC BRICK — WOOCOMMERCE CATALOG
========================================================= */

.bc-catalog.site-main {
    padding-block: 0 var(--bc-section-lg);
    overflow: hidden;
}

/* =========================================================
   CATALOG HERO
========================================================= */

.bc-catalog-hero {
    padding-top: var(--bc-space-6);
}

.bc-catalog-hero__inner {
    position: relative;
    display: grid;
    min-height: 390px;
    overflow: hidden;
    padding: var(--bc-space-11) var(--bc-space-12);
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: var(--bc-space-12);
    border-radius: var(--bc-radius-lg);
    background:
        linear-gradient(112deg, #f8f2f0 0%, #f5e8e6 55%, #efe0dc 100%);
    isolation: isolate;
}

.bc-catalog-hero__inner::before {
    position: absolute;
    z-index: -1;
    right: -120px;
    bottom: -220px;
    width: 520px;
    aspect-ratio: 1;
    border: 1px solid rgba(107, 12, 42, 0.1);
    border-radius: 50%;
    content: "";
}

.bc-catalog-hero__content {
    position: relative;
    z-index: 2;
    max-width: 830px;
}

.woocommerce .bc-catalog-breadcrumb {
    display: flex;
    margin: 0 0 var(--bc-space-9);
    flex-wrap: wrap;
    align-items: center;
    gap: var(--bc-space-2);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-sm);
    line-height: 1.5;
}

.woocommerce .bc-catalog-breadcrumb a {
    color: var(--bc-color-text-muted);
    text-decoration: none;
}

.woocommerce .bc-catalog-breadcrumb a:hover {
    color: var(--bc-color-primary);
}

.bc-catalog-breadcrumb__separator {
    color: rgba(107, 12, 42, 0.32);
}

.bc-catalog-hero__eyebrow,
.bc-catalog-section-heading__eyebrow {
    display: flex;
    margin: 0 0 var(--bc-space-4);
    align-items: center;
    gap: var(--bc-space-3);
    color: var(--bc-color-accent);
    font-size: var(--bc-font-size-caption);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bc-catalog-hero__eyebrow::before,
.bc-catalog-section-heading__eyebrow::before {
    width: var(--bc-space-7);
    height: 2px;
    flex: 0 0 auto;
    content: "";
    background: var(--bc-color-accent);
}

.bc-catalog-hero__title {
    max-width: 820px;
    font-size: clamp(46px, 5vw, var(--bc-font-size-h1));
    letter-spacing: -0.045em;
}

.bc-catalog-hero__description {
    max-width: 700px;
    margin-top: var(--bc-space-6);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-lg);
    line-height: 1.55;
}

.bc-catalog-hero__description > * + * {
    margin-top: var(--bc-space-4);
}

.bc-catalog-hero__visual {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 1.25;
    place-items: center;
}

.bc-catalog-hero__visual svg {
    position: relative;
    z-index: 2;
    width: 100%;
    fill: none;
    stroke: var(--bc-color-primary);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.78;
}

.bc-catalog-hero__brick {
    position: absolute;
    display: block;
    border: 1px solid rgba(107, 12, 42, 0.13);
    border-radius: var(--bc-radius-sm);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 18px 40px rgba(107, 12, 42, 0.06);
}

.bc-catalog-hero__brick--one {
    top: 8%;
    right: 4%;
    width: 145px;
    height: 70px;
    transform: rotate(8deg);
}

.bc-catalog-hero__brick--two {
    bottom: 10%;
    left: 0;
    width: 112px;
    height: 54px;
    transform: rotate(-9deg);
}

.bc-catalog-hero__brick--three {
    right: 10%;
    bottom: 2%;
    width: 82px;
    height: 40px;
    background: rgba(191, 78, 36, 0.1);
    transform: rotate(13deg);
}

/* =========================================================
   CATEGORY CARDS
========================================================= */

.bc-catalog-categories {
    padding-top: var(--bc-section-sm);
}

.bc-catalog-section-heading {
    display: flex;
    margin-bottom: var(--bc-space-9);
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--bc-space-8);
}

.bc-catalog-section-heading h2,
.bc-catalog-products__heading h2 {
    font-size: var(--bc-font-size-h3);
    letter-spacing: -0.035em;
}

.bc-catalog-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--bc-grid-gap);
}

.bc-catalog-category-card {
    min-width: 0;
}

.bc-catalog-category-card__link {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-text);
    background: var(--bc-color-background);
    text-decoration: none;
    transition:
        color var(--bc-transition),
        border-color var(--bc-transition),
        box-shadow var(--bc-transition),
        transform var(--bc-transition);
}

.bc-catalog-category-card__link:hover {
    border-color: rgba(107, 12, 42, 0.34);
    color: var(--bc-color-text);
    box-shadow: var(--bc-shadow-md);
    transform: translateY(-4px);
}

.bc-catalog-category-card__media {
    position: relative;
    display: grid;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    place-items: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.86), transparent 52%),
        var(--bc-color-background-soft);
}

.bc-catalog-category-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bc-catalog-category-card__link:hover .bc-catalog-category-card__image {
    transform: scale(1.035);
}

.bc-catalog-category-card__placeholder {
    width: 52%;
    fill: none;
    stroke: rgba(107, 12, 42, 0.28);
    stroke-width: 2;
}

.bc-catalog-category-card__index {
    position: absolute;
    top: var(--bc-space-4);
    left: var(--bc-space-4);
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(107, 12, 42, 0.14);
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-primary);
    background: rgba(255, 255, 255, 0.88);
    font-size: var(--bc-font-size-caption);
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.bc-catalog-category-card__body {
    display: flex;
    min-height: 134px;
    padding: var(--bc-space-6);
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--bc-space-4);
    border-top: 1px solid var(--bc-color-border);
}

.bc-catalog-category-card__body h3 {
    font-size: var(--bc-font-size-h6);
    line-height: 1.25;
}

.bc-catalog-category-card__body p {
    margin-top: var(--bc-space-2);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-sm);
}

.bc-catalog-category-card__arrow {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-primary);
    transition: color var(--bc-transition), border-color var(--bc-transition), background-color var(--bc-transition);
}

.bc-catalog-category-card__link:hover .bc-catalog-category-card__arrow {
    border-color: var(--bc-color-primary);
    color: var(--bc-color-white);
    background: var(--bc-color-primary);
}

.bc-catalog-category-card__arrow svg {
    width: var(--bc-space-6);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--bc-transition);
}

.bc-catalog-category-card__link:hover .bc-catalog-category-card__arrow svg {
    transform: translateX(2px);
}

/* =========================================================
   PRODUCT AREA AND CATEGORY NAVIGATION
========================================================= */

.bc-catalog-products {
    padding-top: var(--bc-section-md);
}

.bc-catalog-products__heading {
    display: flex;
    margin-bottom: var(--bc-space-9);
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--bc-space-8);
}

.bc-catalog-products__layout {
    display: grid;
    align-items: start;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: var(--bc-space-9);
}

.bc-catalog-sidebar {
    position: sticky;
    top: calc(var(--bc-header-height) + var(--bc-space-6));
    padding: var(--bc-space-6);
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    background: var(--bc-color-background-soft);
}

.bc-catalog-sidebar__title {
    margin-bottom: var(--bc-space-5);
    padding-bottom: var(--bc-space-4);
    border-bottom: 1px solid var(--bc-color-border);
    color: var(--bc-color-text);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bc-catalog-nav ul {
    padding: 0;
    list-style: none;
}

.bc-catalog-nav__all,
.bc-catalog-nav__parent,
.bc-catalog-nav__child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--bc-space-3);
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-text);
    line-height: 1.35;
    text-decoration: none;
    transition: color var(--bc-transition), background-color var(--bc-transition);
}

.bc-catalog-nav__all,
.bc-catalog-nav__parent {
    min-height: 46px;
    padding: var(--bc-space-3) var(--bc-space-4);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
}

.bc-catalog-nav__all {
    margin-bottom: var(--bc-space-2);
}

.bc-catalog-nav__all:hover,
.bc-catalog-nav__parent:hover,
.bc-catalog-nav__child:hover,
.bc-catalog-nav__all.is-current,
.bc-catalog-nav__parent.is-current,
.bc-catalog-nav__child.is-current {
    color: var(--bc-color-primary);
    background: var(--bc-color-primary-soft);
}

.bc-catalog-nav__all.is-current,
.bc-catalog-nav__parent.is-current {
    font-weight: 700;
}

.bc-catalog-nav__all svg {
    width: var(--bc-space-5);
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bc-catalog-nav__item + .bc-catalog-nav__item {
    margin-top: var(--bc-space-1);
}

.bc-catalog-nav__count {
    min-width: 24px;
    color: var(--bc-color-text-muted);
    font-size: 11px;
    line-height: 1;
    text-align: right;
}

.bc-catalog-nav__children {
    display: grid;
    margin: var(--bc-space-1) 0 var(--bc-space-2);
    gap: 2px;
}

.bc-catalog-nav__child {
    min-height: 38px;
    padding: var(--bc-space-2) var(--bc-space-3) var(--bc-space-2) var(--bc-space-7);
    color: var(--bc-color-text-muted);
    font-size: 13px;
}

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

.bc-catalog-toolbar {
    display: flex;
    min-height: 58px;
    margin-bottom: var(--bc-space-6);
    padding-bottom: var(--bc-space-5);
    align-items: center;
    justify-content: space-between;
    gap: var(--bc-space-6);
    border-bottom: 1px solid var(--bc-color-border);
}

.woocommerce .bc-catalog-toolbar .woocommerce-result-count {
    float: none;
    margin: 0;
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-sm);
    line-height: 1.5;
}

.bc-catalog-toolbar__sort {
    display: flex;
    align-items: center;
    gap: var(--bc-space-3);
}

.bc-catalog-toolbar__sort > span {
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-caption);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.woocommerce .bc-catalog-toolbar .woocommerce-ordering {
    float: none;
    margin: 0;
}

.woocommerce .bc-catalog-toolbar .woocommerce-ordering select {
    width: auto;
    min-width: 250px;
    min-height: 48px;
    padding: 10px 42px 10px 14px;
    border-color: var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    background-color: var(--bc-color-background);
    font-size: var(--bc-font-size-body-sm);
}

/* =========================================================
   PRODUCT CARDS
========================================================= */

.woocommerce .bc-catalog-results ul.products {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--bc-grid-gap);
    list-style: none;
}

.woocommerce .bc-catalog-results ul.products::before,
.woocommerce .bc-catalog-results ul.products::after {
    display: none;
}

.woocommerce .bc-catalog-results ul.products li.product.bc-product-card {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    list-style: none;
}

.bc-product-card__inner {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    background: var(--bc-color-background);
    transition: border-color var(--bc-transition), box-shadow var(--bc-transition), transform var(--bc-transition);
}

.bc-product-card__inner:hover {
    border-color: rgba(107, 12, 42, 0.3);
    box-shadow: var(--bc-shadow-md);
    transform: translateY(-4px);
}

.bc-product-card__media {
    position: relative;
    display: grid;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    place-items: center;
    color: var(--bc-color-text);
    background:
        radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.92), transparent 54%),
        var(--bc-color-background-soft);
    text-decoration: none;
}

.woocommerce ul.products li.product .bc-product-card__image {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: var(--bc-space-5);
    object-fit: contain;
    transition: transform 0.5s ease;
}

.bc-product-card__inner:hover .bc-product-card__image {
    transform: scale(1.035);
}

.bc-product-card__placeholder {
    display: grid;
    width: 58%;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
}

.bc-product-card__placeholder svg {
    width: 70%;
    fill: none;
    stroke: rgba(107, 12, 42, 0.28);
    stroke-width: 2;
}

.bc-product-card__badge {
    position: absolute;
    top: var(--bc-space-4);
    left: var(--bc-space-4);
    padding: 7px 10px;
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-white);
    background: var(--bc-color-accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bc-product-card__content {
    display: flex;
    min-height: 300px;
    padding: var(--bc-space-6);
    flex: 1 1 auto;
    flex-direction: column;
}

.bc-product-card__category {
    margin: 0 0 var(--bc-space-3);
    color: var(--bc-color-accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title.bc-product-card__title {
    min-height: 2.8em;
    padding: 0;
    color: var(--bc-color-text);
    font-family: var(--bc-font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: -0.015em;
}

.bc-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.bc-product-card__title a:hover {
    color: var(--bc-color-primary);
}

.bc-product-card__attributes {
    display: grid;
    margin: var(--bc-space-5) 0 0;
    padding: var(--bc-space-4) 0;
    gap: var(--bc-space-2);
    border-top: 1px solid var(--bc-color-border);
    border-bottom: 1px solid var(--bc-color-border);
}

.bc-product-card__attributes > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--bc-space-3);
    font-size: var(--bc-font-size-caption);
    line-height: 1.4;
}

.bc-product-card__attributes dt {
    color: var(--bc-color-text-muted);
}

.bc-product-card__attributes dd {
    margin: 0;
    color: var(--bc-color-text);
    font-weight: 600;
    text-align: right;
}

.bc-product-card__footer {
    display: flex;
    margin-top: auto;
    padding-top: var(--bc-space-6);
    align-items: center;
    justify-content: space-between;
    gap: var(--bc-space-4);
}

.woocommerce ul.products li.product .bc-product-card__price {
    margin: 0;
    color: var(--bc-color-primary);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.woocommerce ul.products li.product .bc-product-card__price del {
    display: block;
    margin-bottom: 2px;
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-caption);
    font-weight: 500;
    opacity: 0.7;
}

.woocommerce ul.products li.product .bc-product-card__price ins {
    text-decoration: none;
}

.woocommerce ul.products li.product .bc-product-card__price.is-request {
    color: var(--bc-color-text);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
}

.bc-product-card__button.button {
    min-height: 44px;
    padding: 10px 13px;
    flex: 0 0 auto;
    font-size: 13px;
}

.bc-product-card__button svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--bc-transition);
}

.bc-product-card__button:hover svg {
    transform: translateX(2px);
}

/* =========================================================
   PAGINATION AND EMPTY STATE
========================================================= */

.woocommerce nav.woocommerce-pagination {
    margin-top: var(--bc-space-10);
    text-align: left;
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    margin: 0;
    gap: var(--bc-space-2);
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    overflow: visible;
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: grid;
    min-width: 46px;
    height: 46px;
    padding: 0 var(--bc-space-3);
    place-items: center;
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-text);
    background: var(--bc-color-background);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    border-color: var(--bc-color-primary);
    color: var(--bc-color-white);
    background: var(--bc-color-primary);
}

.bc-catalog-empty {
    display: grid;
    min-height: 340px;
    padding: var(--bc-space-10);
    place-items: center;
    align-content: center;
    gap: var(--bc-space-5);
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    background: var(--bc-color-background-soft);
    color: var(--bc-color-text-muted);
    text-align: center;
}

.bc-catalog-empty svg {
    width: 76px;
    fill: none;
    stroke: var(--bc-color-primary);
    stroke-width: 2;
    opacity: 0.45;
}

/* WooCommerce notices stay inside the results column. */
.bc-catalog-results > .woocommerce-notices-wrapper:not(:empty) {
    margin-bottom: var(--bc-space-6);
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    border-top-color: var(--bc-color-accent);
    border-radius: var(--bc-radius-sm);
    background: var(--bc-color-background-soft);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1279px) {
    .bc-catalog-hero__inner {
        min-height: 360px;
        padding: var(--bc-space-10);
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: var(--bc-space-10);
    }

    .bc-catalog-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bc-catalog-products__layout {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: var(--bc-space-7);
    }

    .woocommerce .bc-catalog-results ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .bc-catalog.site-main {
        padding-bottom: var(--bc-section-md);
    }

    .bc-catalog-hero__inner {
        min-height: 340px;
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .bc-catalog-hero__visual {
        opacity: 0.72;
    }

    .bc-catalog-products__layout {
        display: block;
    }

    .bc-catalog-sidebar {
        position: static;
        margin-bottom: var(--bc-space-7);
        overflow: hidden;
    }

    .bc-catalog-sidebar__title {
        margin-bottom: var(--bc-space-4);
    }

    .bc-catalog-nav {
        display: flex;
        margin-inline: calc(var(--bc-space-2) * -1);
        padding: var(--bc-space-1) var(--bc-space-2) var(--bc-space-2);
        overflow-x: auto;
        gap: var(--bc-space-2);
        scrollbar-width: none;
    }

    .bc-catalog-nav::-webkit-scrollbar {
        display: none;
    }

    .bc-catalog-nav__all,
    .bc-catalog-nav__parent {
        min-height: 42px;
        white-space: nowrap;
    }

    .bc-catalog-nav__all svg,
    .bc-catalog-nav__count,
    .bc-catalog-nav__children {
        display: none;
    }

    .bc-catalog-nav__list {
        display: flex;
        gap: var(--bc-space-2);
    }

    .bc-catalog-nav__item + .bc-catalog-nav__item {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .bc-catalog-hero {
        padding-top: var(--bc-space-4);
    }

    .bc-catalog-hero__inner {
        display: block;
        min-height: 0;
        padding: var(--bc-space-7) var(--bc-space-6) var(--bc-space-9);
        border-radius: var(--bc-radius-sm);
    }

    .woocommerce .bc-catalog-breadcrumb {
        margin-bottom: var(--bc-space-8);
        font-size: var(--bc-font-size-caption);
    }

    .bc-catalog-hero__title {
        font-size: 40px;
        letter-spacing: -0.035em;
    }

    .bc-catalog-hero__description {
        margin-top: var(--bc-space-5);
        font-size: 16px;
    }

    .bc-catalog-hero__visual {
        position: absolute;
        right: -70px;
        bottom: -65px;
        width: 250px;
        opacity: 0.1;
    }

    .bc-catalog-categories {
        padding-top: var(--bc-space-11);
    }

    .bc-catalog-section-heading,
    .bc-catalog-products__heading {
        margin-bottom: var(--bc-space-7);
    }

    .bc-catalog-section-heading h2,
    .bc-catalog-products__heading h2 {
        font-size: 32px;
    }

    .bc-catalog-categories__grid {
        display: flex;
        width: calc(100% + var(--bc-page-padding));
        padding-right: var(--bc-page-padding);
        overflow-x: auto;
        gap: var(--bc-space-4);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .bc-catalog-categories__grid::-webkit-scrollbar {
        display: none;
    }

    .bc-catalog-category-card {
        flex: 0 0 min(82vw, 340px);
        scroll-snap-align: start;
    }

    .bc-catalog-category-card__body {
        min-height: 118px;
        padding: var(--bc-space-5);
    }

    .bc-catalog-products {
        padding-top: 0;
    }

    .bc-catalog-sidebar {
        margin-bottom: var(--bc-space-6);
        padding: 0;
    }

    .bc-catalog-toolbar {
        display: block;
    }

    .bc-catalog-toolbar__sort {
        margin-top: var(--bc-space-4);
        align-items: flex-start;
        flex-direction: column;
        gap: var(--bc-space-2);
    }

    .woocommerce .bc-catalog-toolbar .woocommerce-ordering,
    .woocommerce .bc-catalog-toolbar .woocommerce-ordering select {
        width: 100%;
    }

    .woocommerce .bc-catalog-results ul.products {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--bc-space-5);
    }

    .bc-product-card__content {
        min-height: 270px;
    }
}

@media (max-width: 479px) {
    .bc-catalog-hero__inner {
        padding-inline: var(--bc-space-5);
    }

    .bc-catalog-hero__title {
        font-size: 36px;
    }

    .bc-product-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .bc-product-card__button.button {
        width: 100%;
    }

    .woocommerce nav.woocommerce-pagination ul {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bc-catalog-category-card__link,
    .bc-catalog-category-card__image,
    .bc-product-card__inner,
    .bc-product-card__image {
        transition: none;
    }
}
