/* =========================================================
   BC BRICK — PRODUCT CATALOG
========================================================= */

.site-main.bc-catalog {
    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;

    color: var(--bc-color-text);
    background: var(--bc-color-background);
}

.bc-catalog *,
.bc-catalog *::before,
.bc-catalog *::after {
    box-sizing: border-box;
}

.bc-catalog a {
    color: inherit;
}


/* =========================================================
   SHARED EYEBROW
========================================================= */

.bc-catalog-eyebrow {
    display: flex;
    margin: 0 0 var(--bc-space-3);
    align-items: center;
    gap: var(--bc-space-3);
    color: var(--bc-color-accent);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 700;
    line-height: var(--bc-line-height-small);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bc-catalog-eyebrow::before {
    width: var(--bc-space-6);
    height: 2px;
    flex: 0 0 auto;
    background: currentColor;
    content: "";
}


/* =========================================================
   INTRO
========================================================= */

.bc-catalog-intro {
    background: var(--bc-color-background);
    padding-top: var(--bc-space-5);
}

.bc-catalog-intro__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr);
    align-items: end;
    gap: var(--bc-grid-gap-lg);
}

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

.bc-catalog-intro__title {
    max-width: var(--bc-container-content);
    margin: 0;
    color: var(--bc-color-text);
    font-family: var(--bc-font-heading);
    font-size: var(--bc-font-size-h1);
    font-weight: 700;
    line-height: var(--bc-line-height-h1);
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.bc-catalog-intro__description {
    max-width: var(--bc-container-narrow);
    justify-self: end;
    color: var(--bc-color-text-muted);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-lg);
    line-height: var(--bc-line-height-body);
}

.bc-catalog-intro__description > * {
    margin: 0;
}

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


/* =========================================================
   BREADCRUMBS
========================================================= */

.bc-catalog-breadcrumb {
    margin-bottom: var(--bc-space-10);
}

.bc-catalog-breadcrumb__list {
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--bc-space-2);
    color: var(--bc-color-text-muted);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-caption);
    line-height: var(--bc-line-height-small);
    list-style: none;
}

.bc-catalog-breadcrumb__item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.bc-catalog-breadcrumb__link {
    color: var(--bc-color-text-muted);
    text-decoration: none;
    transition: color var(--bc-transition);
}

.bc-catalog-breadcrumb__link:focus-visible {
    color: var(--bc-color-primary);
}

@media (hover: hover) and (pointer: fine) {
    .bc-catalog-breadcrumb__link:hover {
        color: var(--bc-color-primary);
    }
}

.bc-catalog-breadcrumb__separator {
    display: grid;
    width: var(--bc-space-4);
    height: var(--bc-space-4);
    flex: 0 0 auto;
    place-items: center;
    color: var(--bc-color-border);
}

.bc-catalog-breadcrumb__separator svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.bc-catalog-breadcrumb__current {
    color: var(--bc-color-text);
    font-weight: 600;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.bc-catalog-heading {
    max-width: var(--bc-container-content);
    margin-bottom: var(--bc-space-8);
}

.bc-catalog-heading h2 {
    margin: 0;
    color: var(--bc-color-text);
    font-family: var(--bc-font-heading);
    font-size: var(--bc-font-size-h2);
    font-weight: 700;
    line-height: var(--bc-line-height-h2);
    letter-spacing: -0.03em;
}


/* =========================================================
   FEATURED CATEGORIES
========================================================= */

.bc-catalog-categories {
    background: var(--bc-color-background);
    padding-top: 0;
    padding-bottom: 0;
}

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

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

.bc-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-surface);
    text-decoration: none;
    transition:
        border-color var(--bc-transition),
        color var(--bc-transition);
}

.bc-category-card__link:focus-visible {
    border-color: var(--bc-color-primary);
    color: var(--bc-color-text);
}

@media (hover: hover) and (pointer: fine) {
    .bc-category-card__link:hover {
        border-color: var(--bc-color-primary);
        color: var(--bc-color-text);
    }
}

.bc-category-card__link:focus-visible {
    outline: 2px solid var(--bc-color-focus);
    outline-offset: var(--bc-space-1);
}

.bc-category-card__media {
    position: relative;
    display: grid;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    place-items: center;
    padding: var(--bc-space-6);
}

.bc-category-card__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
}

.bc-category-card__brick-mark {
    width:
        min(
            62%,
            220px
        );
    fill: none;
    stroke: var(--bc-color-accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    opacity: 0.35;
}

.bc-category-card__body {
    display: grid;
    min-height: 164px;
    padding: var(--bc-space-5);
    grid-template-columns:
        minmax(0, 1fr)
        var(--bc-space-11);
    align-items: stretch;
    gap: var(--bc-space-4);
    border-top: 1px solid var(--bc-color-border);
    background: var(--bc-color-surface);
}

.bc-category-card__copy {
    display: grid;
    min-width: 0;
    grid-template-rows:
        auto
        var(--bc-space-9)
        auto;
    align-content: start;
}

.bc-category-card__number {
    display: block;
    margin-bottom: var(--bc-space-3);
    color: var(--bc-color-accent);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 700;
    line-height: var(--bc-line-height-small);
}

.bc-category-card__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--bc-color-text);
    font-family: var(--bc-font-heading);
    font-size: var(--bc-font-size-body);
    font-weight: 700;
    line-height: var(--bc-line-height-small);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bc-category-card__count {
    align-self: end;
    margin: var(--bc-space-2) 0 0;
    color: var(--bc-color-text-muted);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    line-height: var(--bc-line-height-small);
}

.bc-category-card__arrow {
	display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    align-self: end;
    border: 1px solid var(--bc-color-primary);
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-primary);
    background: transparent;
    transition: color var(--bc-transition), border-color var(--bc-transition), background-color var(--bc-transition);
}

.bc-category-card__arrow svg {
    width: var(--bc-space-5);
    height: var(--bc-space-5);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.bc-category-card__link:focus-visible
.bc-category-card__arrow {
    color: var(--bc-color-white);
    background: var(--bc-color-primary);
}

@media (hover: hover) and (pointer: fine) {
    .bc-category-card__link:hover
    .bc-category-card__arrow {
        color: var(--bc-color-white);
        background: var(--bc-color-primary);
    }
}


/* =========================================================
   PRODUCTS SECTION
========================================================= */

.bc-catalog-products {
    overflow: visible;
    background: var(--bc-color-background);
}

.bc-catalog-products > .container {
    overflow: visible;
}

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

.bc-catalog-products__layout {
    --bc-catalog-sidebar-column: 360px;

    display: grid;

    grid-template-columns:
        var(--bc-catalog-sidebar-column)
        minmax(0, 1fr);

    align-items: stretch;

    column-gap: var(--bc-space-9);
    row-gap: 0;

    overflow: visible;
}


/* =========================================================
   SIDEBAR
========================================================= */

.bc-catalog-sidebar {
    position: sticky;

    top: calc(
        var(--bc-header-height, 84px)
        + var(--bc-space-4)
    );

    min-width: 0;
    height: fit-content;

    align-self: start;

    overflow: visible;

    border: 0;
    box-shadow: none;
}


.bc-catalog-sidebar__sticky {
    position: static;

    width: 100%;

    padding: var(--bc-space-5);

    border: 0;
    border-radius: var(--bc-radius-sm);

    background: var(--bc-color-background-soft);

    box-shadow: none;
}


.bc-catalog-filter {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.bc-catalog-filter__heading {
    margin: 0;
    padding:
        0
        0
        var(--bc-space-3);
    border-bottom: 1px solid var(--bc-color-border);
    color: var(--bc-color-accent);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 700;
    line-height: var(--bc-line-height-small);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bc-catalog-filter__body {
    padding-top: var(--bc-space-3);
}


/* =========================================================
   SIDEBAR — CATEGORY NAVIGATION
========================================================= */

.bc-catalog-nav__all,
.bc-catalog-nav__link {
    position: relative;
    display: grid;
    min-height: var(--bc-space-9);
    padding:
        var(--bc-space-2)
        var(--bc-space-2);
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: var(--bc-space-2);
    color: var(--bc-color-text);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 500;
    line-height: var(--bc-line-height-small);
    text-decoration: none;
    transition: color var(--bc-transition);
}

.bc-catalog-nav__all:focus-visible,
.bc-catalog-nav__all.is-current,
.bc-catalog-nav__link:focus-visible,
.bc-catalog-nav__link.is-current {
    color: var(--bc-color-primary);
}

@media (hover: hover) and (pointer: fine) {
    .bc-catalog-nav__all:hover,
    .bc-catalog-nav__link:hover {
        color: var(--bc-color-primary);
    }
}

.bc-catalog-nav__all.is-current,
.bc-catalog-nav__link.is-current {
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-primary);
    background:
        color-mix(
            in srgb,
            var(--bc-color-primary) 7%,
            transparent
        );
    font-weight: 700;
}

.bc-catalog-nav__all:focus-visible,
.bc-catalog-nav__link:focus-visible {
    outline: 2px solid var(--bc-color-focus);
    outline-offset: var(--bc-space-1);
}

.bc-catalog-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bc-catalog-nav__list--depth-0,
.bc-catalog-nav__list--depth-1,
.bc-catalog-nav__list--depth-2 {
    background: transparent;
}

.bc-catalog-nav__list--depth-1
.bc-catalog-nav__link {
    min-height: var(--bc-space-7);
    padding-left: var(--bc-space-5);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-caption);
}

.bc-catalog-nav__list--depth-2
.bc-catalog-nav__link {
    padding-left: var(--bc-space-6);
}

.bc-catalog-nav__link small {
    color: inherit;
    font-size: var(--bc-font-size-caption);
    font-weight: 500;
    opacity: 0.66;
}


/* =========================================================
   SIDEBAR — BRICK SIZE
========================================================= */

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

.bc-catalog-size {
    display: grid;
    min-width: 0;
    min-height: 92px;
    padding:
        var(--bc-space-2)
        var(--bc-space-1);
    place-items: center;
    align-content: center;
    gap: var(--bc-space-1);
    border: 0;
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-text-muted);
    background: var(--bc-color-background-soft);
    text-align: center;
    text-decoration: none;
    transition:
        color var(--bc-transition),
        background-color var(--bc-transition);
}

.bc-catalog-size:focus-visible,
.bc-catalog-size.is-active {
    color: var(--bc-color-primary);
    background:
        color-mix(
            in srgb,
            var(--bc-color-accent) 8%,
            var(--bc-color-background-soft)
        );
}

@media (hover: hover) and (pointer: fine) {
    .bc-catalog-size:hover {
        color: var(--bc-color-primary);
        background:
            color-mix(
                in srgb,
                var(--bc-color-accent) 8%,
                var(--bc-color-background-soft)
            );
    }
}

.bc-catalog-size:focus-visible {
    outline: 2px solid var(--bc-color-focus);
    outline-offset: var(--bc-space-1);
}

.bc-catalog-size__visual {
    display: grid;
    width: var(--bc-space-11);
    height: var(--bc-space-9);
    place-items: center;
}

.bc-catalog-size__visual > svg {
    width: 100%;
    height: 100%;
    fill:
        color-mix(
            in srgb,
            var(--bc-color-accent) 7%,
            transparent
        );
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.35;
}

.bc-catalog-size__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}

.bc-catalog-size > span:last-child {
    overflow-wrap: anywhere;
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-caption);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
}


/* =========================================================
   PRODUCT GRID
========================================================= */

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

.bc-catalog
ul.products.bc-catalog-grid::before,
.bc-catalog
ul.products.bc-catalog-grid::after {
    display: none !important;
    content: none !important;
}

.bc-catalog
ul.products.bc-catalog-grid
li.product.bc-product-card {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   PRODUCT CARD
   Existing composition preserved.
========================================================= */

.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-surface);
    transition: border-color var(--bc-transition);
}

@media (hover: hover) and (pointer: fine) {
    .bc-product-card__inner:hover {
        border-color: var(--bc-color-primary);
    }
}

.bc-product-card__media {
    position: relative;
    display: flex;

    width: 100%;
    aspect-ratio: 1 / 1;

    padding: var(--bc-space-6);

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #fff;
    text-decoration: none;
}

.bc-product-card__image {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    margin: 0 !important;

    object-fit: contain !important;
    object-position: center;
}

.bc-product-card__placeholder {
    display: grid;
    width: 150px;
    place-items: center;
}

.bc-product-card__placeholder svg {
    fill:
        color-mix(
            in srgb,
            var(--bc-color-accent) 7%,
            transparent
        );
    stroke: var(--bc-color-accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.bc-product-card__badge {
    position: absolute;
    top: var(--bc-space-3);
    left: var(--bc-space-3);
    padding:
        var(--bc-space-1)
        var(--bc-space-2);
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-white);
    background: var(--bc-color-accent);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-caption);
    font-weight: 700;
    line-height: var(--bc-line-height-small);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

.bc-product-card__category {
    margin:
        0
        0
        var(--bc-space-2);
    color: var(--bc-color-accent);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-caption);
    font-weight: 700;
    line-height: var(--bc-line-height-small);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bc-catalog
ul.products
li.product
.bc-product-card__title,
.bc-product-card__title {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--bc-color-text);
    font-family: var(--bc-font-heading);
    font-size: var(--bc-font-size-body) !important;
    font-weight: 700 !important;
    line-height: var(--bc-line-height-small) !important;
    letter-spacing: -0.01em;
}

.bc-product-card__title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bc-product-card__footer {
    display: flex;
    margin-top: auto;
    padding-top: var(--bc-space-4);
    flex-direction: column;
    gap: var(--bc-space-3);
}

.bc-catalog
ul.products
li.product
.price.bc-product-card__price,
.bc-product-card__price {
    display: flex !important;
    margin: 0 !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--bc-space-1);
    color: var(--bc-color-text) !important;
    font-family: var(--bc-font-heading);
    font-size: var(--bc-font-size-h6) !important;
    font-weight: 700 !important;
    line-height: var(--bc-line-height-h6);
}

.bc-product-card__price del {
    color: var(--bc-color-text-muted);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-caption);
    font-weight: 500;
    opacity: 0.7;
}

.bc-product-card__price ins {
    color: var(--bc-color-accent);
    text-decoration: none;
}

.bc-product-card__price small {
    color: var(--bc-color-text-muted);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-caption);
    font-weight: 500;
}

.bc-product-card__price.is-request {
    color: var(--bc-color-accent) !important;
    font-size: var(--bc-font-size-body) !important;
}

.bc-catalog
ul.products
li.product
.bc-product-card__button,
.bc-product-card__button {
    display: grid !important;
    width: 100% !important;
    min-height: var(--bc-space-10);
    margin: 0 !important;
    padding:
        var(--bc-space-2)
        var(--bc-space-4) !important;
    place-items: center;
    border: 1px solid var(--bc-color-primary) !important;
    border-radius: var(--bc-radius-sm) !important;
    color: var(--bc-color-primary) !important;
    background: transparent !important;
    font-family: var(--bc-font-main) !important;
    font-size: var(--bc-font-size-button) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center;
    text-decoration: none !important;
    transition:
        color var(--bc-transition),
        border-color var(--bc-transition),
        background-color var(--bc-transition) !important;
}

.bc-catalog
ul.products
li.product
.bc-product-card__button:focus-visible,
.bc-product-card__button:focus-visible {
    color: var(--bc-color-white) !important;
    border-color: var(--bc-color-primary) !important;
    background: var(--bc-color-primary) !important;
}

@media (hover: hover) and (pointer: fine) {
    .bc-catalog
    ul.products
    li.product
    .bc-product-card__button:hover,
    .bc-product-card__button:hover {
        color: var(--bc-color-white) !important;
        border-color: var(--bc-color-primary) !important;
        background: var(--bc-color-primary) !important;
    }
}


/* =========================================================
   PAGINATION
========================================================= */

.bc-catalog-pagination {
    padding:
        var(--bc-space-6)
        0
        0;
}

.bc-catalog-pagination
.page-numbers {
    display: flex;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    gap: var(--bc-space-2);
    border: 0 !important;
    list-style: none;
}

.bc-catalog-pagination
.page-numbers li {
    margin: 0 !important;
    border: 0 !important;
}

.bc-catalog-pagination
a.page-numbers,
.bc-catalog-pagination
span.page-numbers {
    display: grid;
    width: var(--bc-space-10);
    height: var(--bc-space-10);
    padding: 0 !important;
    place-items: center;
    border: 1px solid var(--bc-color-border) !important;
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-text);
    background: var(--bc-color-surface);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.bc-catalog-pagination
span.page-numbers.current,
.bc-catalog-pagination
a.page-numbers:focus-visible {
    color: var(--bc-color-white);
    border-color: var(--bc-color-primary) !important;
    background: var(--bc-color-primary);
}

@media (hover: hover) and (pointer: fine) {
    .bc-catalog-pagination
    a.page-numbers:hover {
        color: var(--bc-color-white);
        border-color: var(--bc-color-primary) !important;
        background: var(--bc-color-primary);
    }
}


/* =========================================================
   EMPTY
========================================================= */

.bc-catalog-empty {
    display: grid;
    min-height: 360px;
    padding: var(--bc-space-8);
    place-items: center;
    align-content: center;
    color: var(--bc-color-text-muted);
    text-align: center;
}

.bc-catalog-empty svg {
    width: var(--bc-space-12);
    margin-bottom: var(--bc-space-4);
    fill: none;
    stroke: var(--bc-color-accent);
    stroke-width: 1.5;
}

.bc-catalog-empty h3 {
    margin: 0;
    color: var(--bc-color-text);
    font-family: var(--bc-font-heading);
    font-size: var(--bc-font-size-h5);
    font-weight: 600;
    line-height: var(--bc-line-height-h5);
}

.bc-catalog-empty p {
    max-width: var(--bc-container-narrow);
    margin:
        var(--bc-space-3)
        0
        var(--bc-space-4);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    line-height: var(--bc-line-height-body);
}

.bc-catalog-empty a {
    color: var(--bc-color-primary);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 700;
}


/* =========================================================
   DELIVERY
========================================================= */

.bc-catalog-delivery {
    color: var(--bc-color-white);
    background: var(--bc-color-primary);
    margin-bottom: 68px;
}

.bc-catalog-delivery__inner {
    display: grid;
    min-height: var(--bc-section-sm);
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    align-items: center;
}

.bc-catalog-delivery__item {
    display: grid;
    min-height: var(--bc-space-12);
    padding:
        var(--bc-space-4)
        var(--bc-space-7);
    grid-template-columns:
        var(--bc-space-11)
        minmax(0, 1fr);
    align-items: center;
    gap: var(--bc-space-4);
}

.bc-catalog-delivery__item
+ .bc-catalog-delivery__item {
    border-left:
        1px solid
        color-mix(
            in srgb,
            var(--bc-color-white) 24%,
            transparent
        );
}

.bc-catalog-delivery__icon,
.bc-catalog-delivery__icon svg {
    display: block;
    width: var(--bc-space-10);
    height: var(--bc-space-10);
}

.bc-catalog-delivery__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.bc-catalog-delivery__item strong {
    max-width: var(--bc-container-narrow);
    color: var(--bc-color-white);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
}

.bc-catalog-missing {
    min-height: 420px;
    padding-block: var(--bc-section-md);
}


/* =========================================================
   <= 1199
========================================================= */

@media (max-width: 1199px) {

    .bc-catalog-categories__grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
    .bc-catalog-products__layout {
        --bc-catalog-sidebar-column: 320px;

        grid-template-columns:
            var(--bc-catalog-sidebar-column)
            minmax(0, 1fr);

        column-gap: var(--bc-space-8);
    }

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

}


/* =========================================================
   <= 991
========================================================= */

@media (max-width: 991px) {

    .bc-catalog-sidebar {
        position: static;

        top: auto;

        height: auto;

        align-self: start;
    }

    .bc-catalog-intro__grid {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: var(--bc-space-5);
    }

    .bc-catalog-intro__description {
        max-width: var(--bc-container-narrow);
        justify-self: start;
    }

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

        grid-template-columns:
            minmax(0, 1fr);

        gap: var(--bc-space-7);
    }

    .bc-catalog-sidebar__sticky {
        position: static;

        display: grid;

        width: 100%;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: var(--bc-grid-gap);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    /* =====================================================
       GENERAL
    ===================================================== */

    .bc-catalog-breadcrumb {
        margin-bottom: var(--bc-space-6);
    }

    .bc-catalog-heading {
        margin-bottom: var(--bc-space-6);
    }


    /* =====================================================
       FEATURED CATEGORIES — MOBILE SLIDER

       One complete card is visible at a time.
       Other cards are available by horizontal swipe.
    ===================================================== */

    .bc-catalog-categories {
        overflow: hidden;
    }

    .bc-catalog-categories > .container {
        overflow: visible;
    }

/* =====================================================
   FEATURED CATEGORIES — MOBILE SLIDER
===================================================== */

.bc-catalog-categories {
    overflow: hidden;
}

.bc-catalog-categories > .container {
    overflow: visible;
}

.bc-catalog-categories__grid {
    display: grid;

    width: 100%;
    min-width: 0;

    grid-template-columns: none;
    grid-auto-flow: column;

    /*
     * Картка трохи вужча за екран,
     * тому справа видно наступну.
     */
    grid-auto-columns: calc(100% - 40px);

    gap: var(--bc-space-3);

    overflow-x: auto;
    overflow-y: hidden;

    padding-right: var(--bc-space-4);

    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;

    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

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

.bc-catalog-categories__grid > .bc-category-card {
    width: 100%;
    min-width: 0;

    scroll-snap-align: start;
    scroll-snap-stop: always;
}

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

    .bc-catalog-categories__grid > .bc-category-card {
        width: 100%;
        min-width: 0;

        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .bc-category-card__body {
        min-height: 124px;

        padding: var(--bc-space-4);

        grid-template-columns:
            minmax(0, 1fr)
            var(--bc-space-10);

        gap: var(--bc-space-3);
    }

    .bc-category-card__copy {
        grid-template-rows:
            auto
            auto
            auto;

        align-content: center;
    }

    .bc-category-card__number {
        margin-bottom: var(--bc-space-2);

        font-size: var(--bc-font-size-caption);
    }

    .bc-category-card__title {
        font-size: var(--bc-font-size-body);
    }

    .bc-category-card__count {
        margin-top: var(--bc-space-2);

        font-size: var(--bc-font-size-caption);
    }

    .bc-category-card__arrow {
        width: var(--bc-space-10);
        height: var(--bc-space-10);
    }


    /* =====================================================
       PRODUCTS LAYOUT
    ===================================================== */

    .bc-catalog-products__layout {
        display: block;
		margin-top: 50px;
        width: 100%;
        min-width: 0;
    }


    /* =====================================================
       SIDEBAR
    ===================================================== */

    .bc-catalog-sidebar {
        position: static;

        width: 100%;
        min-width: 0;
        height: auto;

        margin: 0 0 var(--bc-space-7);

        overflow: visible;
    }

    .bc-catalog-sidebar__sticky {
        position: static;

        display: block;

        width: 100%;
        min-width: 0;

        padding: var(--bc-space-4);

        border-radius: var(--bc-radius-sm);

        background: var(--bc-color-background-soft);
    }


    /* =====================================================
       FILTER BLOCKS
    ===================================================== */

    .bc-catalog-filter {
        display: block;

        width: 100%;
        min-width: 0;

        margin: 0;

        overflow: visible;
    }

    .bc-catalog-filter + .bc-catalog-filter {
        margin-top: var(--bc-space-6);
        padding-top: var(--bc-space-5);

        border-top: 1px solid var(--bc-color-border);
    }

    .bc-catalog-filter__heading {
        width: 100%;

        margin: 0;

        padding:
            0
            0
            var(--bc-space-3);

        border-bottom: 1px solid var(--bc-color-border);

        font-size: var(--bc-font-size-body-sm);
    }

    .bc-catalog-filter__body {
        display: block;

        width: 100%;
        min-width: 0;

        padding-top: var(--bc-space-3);
    }


    /* =====================================================
       CATALOG — "ALL PRODUCTS"
    ===================================================== */

    .bc-catalog-nav__all {
        display: flex !important;

        width: 100% !important;
        min-width: 0;
        min-height: 48px;

        margin: 0 0 var(--bc-space-2) !important;

        padding:
            var(--bc-space-3)
            var(--bc-space-3) !important;

        align-items: center;

        border-radius: var(--bc-radius-sm);

        white-space: normal;
    }


    /* =====================================================
       CATALOG TREE

       Hard reset here is intentional.
       It prevents global ul/li styles from turning
       the catalog into the compressed horizontal mess.
    ===================================================== */

    .bc-catalog-sidebar .bc-catalog-nav__list {
        display: block !important;

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        columns: auto !important;
        column-count: 1 !important;

        list-style: none !important;
    }

    .bc-catalog-sidebar .bc-catalog-nav__list > li {
        display: block !important;

        float: none !important;

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        grid-column: auto !important;
    }

    .bc-catalog-sidebar .bc-catalog-nav__link {
        display: flex !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px;

        margin: 0 !important;

        padding:
            var(--bc-space-3)
            var(--bc-space-3) !important;

        align-items: center;
        justify-content: space-between;

        gap: var(--bc-space-3);

        border-radius: var(--bc-radius-sm);

        font-size: var(--bc-font-size-body-sm);

        line-height: var(--bc-line-height-small);

        text-align: left;
        white-space: normal;

        overflow-wrap: normal;
        word-break: normal;
    }

    .bc-catalog-sidebar
    .bc-catalog-nav__list--depth-0
    > li
    + li {
        margin-top: var(--bc-space-1) !important;
    }

    .bc-catalog-sidebar
    .bc-catalog-nav__list--depth-1 {
        margin:
            var(--bc-space-1)
            0
            var(--bc-space-2) !important;

        padding-left: var(--bc-space-3) !important;
    }

    .bc-catalog-sidebar
    .bc-catalog-nav__list--depth-1
    .bc-catalog-nav__link {
        min-height: 40px;

        padding:
            var(--bc-space-2)
            var(--bc-space-3) !important;

        color: var(--bc-color-text-muted);

        font-size: var(--bc-font-size-caption);
    }

    .bc-catalog-sidebar
    .bc-catalog-nav__list--depth-2 {
        padding-left: var(--bc-space-3) !important;
    }

    .bc-catalog-sidebar
    .bc-catalog-nav__link small {
        flex: 0 0 auto;

        margin-left: auto;

        white-space: nowrap;
    }


    /*
     * Current category.
     */

    .bc-catalog-sidebar
    .bc-catalog-nav__link.is-current,
    .bc-catalog-sidebar
    .bc-catalog-nav__all.is-current {
        color: var(--bc-color-primary);

        background:
            color-mix(
                in srgb,
                var(--bc-color-primary) 7%,
                transparent
            );

        font-weight: 700;
    }


    /* =====================================================
       BRICK SIZE
    ===================================================== */

    .bc-catalog-size-grid {
        display: grid;

        width: 100%;
        min-width: 0;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: var(--bc-space-2);
    }

    .bc-catalog-size {
        width: 100%;
        min-width: 0;
        min-height: 96px;

        padding:
            var(--bc-space-2)
            var(--bc-space-2);
    }

    .bc-catalog-size__visual {
        width: var(--bc-space-10);
        height: var(--bc-space-8);
    }

    .bc-catalog-size > span:last-child {
        max-width: 100%;

        overflow-wrap: normal;
        word-break: normal;

        font-size: var(--bc-font-size-caption);
    }


    /* =====================================================
       PRODUCT GRID
    ===================================================== */

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

    .bc-catalog
    ul.products.bc-catalog-grid {
        grid-template-columns: minmax(0, 1fr);

        gap: var(--bc-space-4) !important;
    }

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


    /* =====================================================
       DELIVERY
    ===================================================== */

    .bc-catalog-delivery__inner {
        grid-template-columns: minmax(0, 1fr);

        padding-block: var(--bc-space-3);
    }

    .bc-catalog-delivery__item {
        min-height: var(--bc-space-12);

        padding-inline: var(--bc-space-5);
    }

    .bc-catalog-delivery__item
    + .bc-catalog-delivery__item {
        border-top:
            1px solid
            color-mix(
                in srgb,
                var(--bc-color-white) 20%,
                transparent
            );

        border-left: 0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 479px) {

    .bc-catalog-sidebar__sticky {
        padding: var(--bc-space-3);
    }

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

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .bc-catalog-breadcrumb__link,
    .bc-category-card__link,
    .bc-category-card__arrow,
    .bc-catalog-nav__all,
    .bc-catalog-nav__link,
    .bc-catalog-size,
    .bc-product-card__inner,
    .bc-product-card__button {
        transition: none;
    }

}