/*
Theme Name: Стильный декор Bokawall
Template: blocksy
Version: 1.6.1
Text Domain: bokawall
*/

.bw-external-metrics {
    color: #77736c;
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-top: 0.45rem;
}

.bw-external-metrics span {
    color: #a05a3b;
    padding: 0 0.2rem;
}

.bw-card-fit {
    color: #a05a3b;
    font-size: 0.75rem;
    line-height: 1.35;
    margin: 0.55rem 0 0;
}

.bw-card-story {
    color: #77736c;
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    margin-top: 0.8rem;
    text-transform: uppercase;
}

.bw-icon {
    color: #a05a3b;
    display: block;
    height: 2.25rem;
    margin-bottom: 1rem;
    width: 2.25rem;
}

.bw-kicker .bw-icon {
    display: inline-block;
    height: 1rem;
    margin: 0 0.35rem 0 0;
    vertical-align: -0.2rem;
    width: 1rem;
}

.bw-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.65rem;
}

.bw-product-tag {
    border: 1px solid #d9d3c9;
    border-radius: 999px;
    color: #77736c;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    text-transform: uppercase;
}

.bw-section {
    margin: clamp(3rem, 8vw, 7rem) 0;
}

.bw-section-heading {
    margin-bottom: 1.5rem;
    max-width: 42rem;
}

.bw-section-heading h2 {
    margin: 0.2rem 0 0.6rem;
}

.bw-section-heading p {
    color: #77736c;
}

.bw-kicker {
    color: #a05a3b !important;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0;
    text-transform: uppercase;
}

.bw-inspiration {
    border-bottom: 1px solid #d9d3c9;
    border-top: 1px solid #d9d3c9;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

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

.bw-utp-grid article,
.bw-guide-card {
    background: #f4f0e9;
    border: 1px solid #e2dbd0;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.bw-guide-card {
    overflow: hidden;
    padding: 0 0 clamp(1.25rem, 3vw, 2rem);
    position: relative;
}

.bw-guides--starter .bw-guides-grid {
    counter-reset: bw-guide-step;
}

.bw-guides--starter .bw-guide-card {
    counter-increment: bw-guide-step;
}

.bw-guides--starter .bw-guide-card::before {
    align-items: center;
    background: #a05a3b;
    border: 3px solid #fffdf8;
    border-radius: 50%;
    color: #fff;
    content: counter(bw-guide-step, decimal-leading-zero);
    display: flex;
    font-size: .75rem;
    font-weight: 700;
    height: 2.8rem;
    justify-content: center;
    left: .8rem;
    position: absolute;
    top: .8rem;
    width: 2.8rem;
    z-index: 2;
}

.bw-guides--starter .bw-guide-card__visual {
    background-position: center;
    background-size: cover;
    inset: 0;
    height: auto;
    padding: 0;
    position: absolute;
    z-index: 0;
}

.bw-guides--starter .bw-guide-card__visual::before {
    background: linear-gradient(180deg, rgba(20, 31, 29, .1), rgba(20, 31, 29, .88));
    border: 0;
    inset: 0;
    opacity: 1;
}

.bw-guides--starter .bw-guide-card__visual::after {
    display: none;
}

.bw-guides--starter .bw-guide-card__visual img {
    height: 100%;
    object-fit: cover;
    opacity: 0;
    width: 100%;
}

.bw-guides--starter .bw-guide-card {
    background: #1e302d;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 28.8rem;
    padding: 1.25rem;
}

.bw-guides--starter .bw-guide-card > :not(.bw-guide-card__visual) {
    margin-left: 0;
    margin-right: 0;
    position: relative;
    z-index: 1;
}

.bw-guides--starter .bw-guide-card > h3 {
    background: rgba(20, 31, 29, .32);
    color: #fff;
    margin: auto 0 1rem;
    padding: .2rem .45rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .9);
}

.bw-guides--starter .bw-guide-card > h3 a {
    color: #fff;
}

.bw-guides--starter .bw-guide-card__body {
    background: rgba(20, 31, 29, .72);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

@supports (backdrop-filter: blur(8px)) {
    .bw-guides--starter .bw-guide-card__body {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.bw-guides--starter .bw-guide-card h3 a,
.bw-guides--starter .bw-guide-card .bw-text-link {
    color: #fff;
}

.bw-guides--starter .bw-guide-card p:not(.bw-kicker) {
    color: rgba(255, 255, 255, .82);
}

.bw-guides--starter .bw-guide-card__body .bw-kicker {
    color: #e0b59d;
    margin: 0 0 .45rem;
}

.bw-guides--starter .bw-guide-card__body .bw-text-link {
    display: inline;
    margin-top: 0;
}

.bw-guide-card > :not(.bw-guide-card__visual) {
    margin-left: clamp(1.25rem, 3vw, 2rem);
    margin-right: clamp(1.25rem, 3vw, 2rem);
}

.bw-guide-card__visual {
    align-items: flex-start;
    background-color: #d8c1a9;
    color: #1e302d;
    display: flex;
    flex-direction: column;
    height: 12rem;
    justify-content: flex-end;
    overflow: hidden;
    padding: 1.25rem;
    position: relative;
    text-decoration: none;
}

.bw-guide-card__visual::before,
.bw-guide-card__visual::after {
    border: 1px solid currentColor;
    content: "";
    opacity: 0.35;
    position: absolute;
}

.bw-guide-card__visual::before {
    border-radius: 50%;
    height: 12rem;
    right: -2rem;
    top: -4rem;
    width: 12rem;
}

.bw-guide-card__visual::after {
    height: 8rem;
    right: 2rem;
    top: 1.25rem;
    transform: rotate(45deg);
    width: 8rem;
}

.bw-guide-card__visual > span,
.bw-guide-card__visual b,
.bw-guide-card__visual small {
    position: relative;
    z-index: 1;
}

.bw-guide-card__visual .bw-icon {
    color: currentColor;
    height: 2.5rem;
    margin: 0 0 auto;
    width: 2.5rem;
}

.bw-guide-card__visual b {
    font-size: 1.15rem;
}

.bw-guide-card__visual small {
    margin-top: 0.25rem;
    opacity: 0.7;
}

.bw-guide-card__visual--wood {
    background-color: #b77a4c;
    background-image: repeating-linear-gradient(78deg, transparent 0 18px, rgba(68, 35, 20, 0.16) 19px 21px);
    color: #fff8ef;
}

.bw-guide-card__visual--paint {
    background-color: #cbd4ce;
    background-image: linear-gradient(135deg, transparent 0 35%, rgba(160, 90, 59, 0.65) 36% 39%, transparent 40% 100%);
    color: #1e302d;
}

.bw-guide-card__visual--size {
    background-color: #d8c1a9;
    background-image: linear-gradient(90deg, transparent 49%, rgba(30, 48, 45, 0.2) 50% 51%, transparent 52%), linear-gradient(0deg, transparent 49%, rgba(30, 48, 45, 0.2) 50% 51%, transparent 52%);
    background-size: 3rem 3rem;
}

.bw-utp-grid h3,
.bw-guide-card h3 {
    margin: 0.35rem 0 0.65rem;
}

.bw-utp-grid p,
.bw-guide-card p {
    color: #77736c;
    margin-bottom: 0;
}

.bw-catalog-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bw-catalog-card {
    background: #1e302d;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 9rem;
    padding: 1rem;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease;
}

.bw-catalog-card:hover,
.bw-catalog-card:focus-visible {
    background: #a05a3b;
    color: #fff;
    transform: translateY(-3px);
}

.bw-catalog-card__index {
    color: #d8b49d;
    font-size: 0.72rem;
    margin-bottom: auto;
}

.bw-catalog-card .bw-icon {
    color: #d8b49d;
    height: 2rem;
    margin: 0.6rem 0 1.1rem;
    width: 2rem;
}

.bw-catalog-card strong {
    font-size: 1.05rem;
}

.bw-catalog-card small {
    color: #d6ddd8;
    margin-top: 0.35rem;
}

.bw-trust {
    align-items: center;
    border-bottom: 1px solid #d9d3c9;
    border-top: 1px solid #d9d3c9;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(10rem, 0.35fr) 1fr;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.bw-trust-stat {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.bw-trust-stat b {
    color: #a05a3b;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
}

.bw-trust-stat .bw-icon {
    color: #a05a3b;
    height: 2.5rem;
    margin: 0 0 1rem;
    width: 2.5rem;
}

.bw-trust-stat span {
    color: #77736c;
    margin-top: 0.75rem;
    text-align: center;
}

.bw-text-link {
    color: #a05a3b;
    display: inline-block;
    font-weight: 700;
    margin-top: 1rem;
}

.bw-product-fit {
    background: #f4f0e9;
    border-left: 4px solid #a05a3b;
    margin: 2rem 0;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.bw-product-fit h2 {
    margin: 0.35rem 0 0.7rem;
}

.bw-product-fit > p {
    color: #77736c;
}

.bw-product-fit ul {
    display: grid;
    gap: 0.5rem 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
}

.bw-product-fit li {
    border-bottom: 1px solid #ddd5ca;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.bw-product-fit li span {
    color: #77736c;
}

.bw-product-fit li strong {
    text-align: right;
}

.bw-steps {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bw-steps div {
    align-items: center;
    display: flex;
    gap: 0.65rem;
}

.bw-steps b {
    align-items: center;
    background: #1e302d;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2rem;
    height: 2rem;
    justify-content: center;
}

@media (max-width: 800px) {
    body.bw-home .bw-compare {
        background-image: linear-gradient(rgba(20, 31, 29, .82), rgba(20, 31, 29, .82)), url("https://images.unsplash.com/photo-1618220179428-22790b461013?auto=format&fit=crop&w=1600&q=82");
        background-position: center;
        background-size: cover;
        box-sizing: border-box;
        color: #fff;
        padding: 2.5rem 1.25rem;
    }

    .bw-compare-grid {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .bw-compare-grid article {
        background: rgba(20, 31, 29, .72);
        border: 1px solid rgba(255, 255, 255, .2);
        padding: 1.25rem;
    }

    .bw-compare-grid article.is-featured {
        background: rgba(168, 96, 63, .88);
        border-color: transparent;
    }

    .bw-compare-grid article.is-summary {
        background: rgba(244, 240, 233, .96);
        border-color: rgba(216, 180, 157, .7);
        color: #1e302d;
    }

    .bw-compare-grid article.is-summary h3 {
        color: #1e302d;
    }

    .bw-compare-grid article.is-summary p,
    .bw-compare-grid article.is-summary ul {
        color: #5f625d;
    }

    .bw-compare-grid article > span {
        color: #d8b49d;
        font-size: .75rem;
        letter-spacing: .12em;
    }

    .bw-compare-grid h3 {
        color: #fff;
        margin: .75rem 0 1rem;
    }

    .bw-compare-grid ul {
        color: rgba(255, 255, 255, .8);
        margin: 0;
        padding-left: 1.2rem;
    }

    .bw-utp-grid,
    .bw-guides-grid,
    .bw-catalog-grid,
    .bw-trust,
    .bw-product-fit ul,
    .bw-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .bw-utp-grid,
    .bw-guides-grid,
    .bw-catalog-grid,
    .bw-trust,
    .bw-product-fit ul,
    .bw-steps {
        grid-template-columns: 1fr;
    }
    .bw-product-fit li {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.15rem;
    }
    .bw-product-fit li strong {
        text-align: left;
    }
}

/* Keep homepage cards intentionally light: title, rating, price, action. */
body.bw-home .woocommerce ul.products li.product .bw-product-tags,
body.bw-home .woocommerce-page ul.products li.product .bw-product-tags,
body.bw-home .woocommerce ul.products li.product .bw-card-fit,
body.bw-home .woocommerce-page ul.products li.product .bw-card-fit,
body.bw-home .woocommerce ul.products li.product .bw-card-story,
body.bw-home .woocommerce-page ul.products li.product .bw-card-story {
    display: none;
}

body.bw-home .woocommerce ul.products li.product > a:first-child,
body.bw-home .woocommerce-page ul.products li.product > a:first-child {
    padding-bottom: 0.7rem;
}

body.bw-home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.bw-home .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    min-height: 0;
    margin-bottom: 0.65rem;
}

body.bw-home .woocommerce ul.products li.product .bw-external-metrics,
body.bw-home .woocommerce-page ul.products li.product .bw-external-metrics {
    margin: 0 0 0.65rem;
}

body.bw-home .woocommerce ul.products li.product > p:last-child,
body.bw-home .woocommerce-page ul.products li.product > p:last-child {
    margin-top: auto;
    margin-bottom: 0.75rem;
}

/* Keep WooCommerce product grids dense on desktop without changing card markup. */
.woocommerce ul.products {
    display: grid;
    gap: clamp(1rem, 1.8vw, 1.65rem);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: rgba(244, 240, 233, 0.55);
    float: none;
    margin: 0;
    padding: 0.75rem;
    position: relative;
    width: auto;
    transition: background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within,
.woocommerce-page ul.products li.product:hover,
.woocommerce-page ul.products li.product:focus-within {
    background: #f4f0e9;
    box-shadow: 0 0.9rem 2rem rgba(30, 48, 45, 0.07);
    transform: translateY(-3px);
}

.woocommerce ul.products li.product > a:first-child,
.woocommerce-page ul.products li.product > a:first-child {
    display: block;
}

.woocommerce ul.products li.product .ct-media-container,
.woocommerce-page ul.products li.product .ct-media-container {
    aspect-ratio: 3 / 4;
    background: #ebe5dc;
    overflow: hidden;
}

.woocommerce ul.products li.product .ct-media-container img,
.woocommerce-page ul.products li.product .ct-media-container img {
    height: 100%;
    object-fit: contain;
    width: 100%;
    transition: transform 360ms ease;
}

.woocommerce ul.products li.product:hover .ct-media-container img,
.woocommerce-page ul.products li.product:hover .ct-media-container img {
    transform: scale(1.035);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    min-height: 2.8em;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    margin-top: 0.8rem;
}

.woocommerce ul.products li.product::after,
.woocommerce-page ul.products li.product::after {
    border: 1px solid rgba(160, 90, 59, 0);
    border-radius: 0.35rem;
    bottom: 0;
    content: "";
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.woocommerce ul.products li.product:hover::after,
.woocommerce ul.products li.product:focus-within::after,
.woocommerce-page ul.products li.product:hover::after,
.woocommerce-page ul.products li.product:focus-within::after {
    border-color: rgba(160, 90, 59, 0.55);
    box-shadow: 0 0.7rem 1.6rem rgba(30, 48, 45, 0.08);
}

/* Product cards follow the benchmark anatomy: image, context, proof, price, action. */
body.bw-home,
body.bw-home button,
body.bw-home input,
body.bw-home select,
body.bw-home textarea {
    font-family: "Figtree", sans-serif;
}

body.bw-home h1,
body.bw-home h2,
body.bw-home h3,
body.bw-home .woocommerce-loop-product__title {
    font-family: "Merriweather", Georgia, serif;
}

body.bw-home .bw-hero,
body.bw-home .bw-kicker,
body.bw-home .bw-card-story,
body.bw-home .bw-card-fit,
body.bw-home .bw-product-tag,
body.bw-home .bw-external-metrics,
body.bw-home .woocommerce ul.products li.product .price,
body.bw-home .woocommerce ul.products li.product .button {
    font-family: "Figtree", sans-serif;
}

body.bw-home .woocommerce ul.products li.product,
body.bw-home .woocommerce-page ul.products li.product {
    background: #fffdf8;
    border: 1px solid #e2dbd0;
    border-radius: 0;
    box-shadow: 0 0.8rem 2.2rem rgba(35, 54, 61, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

body.bw-home .woocommerce ul.products li.product > a:first-child,
body.bw-home .woocommerce-page ul.products li.product > a:first-child {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0 1.05rem 0.95rem;
}

body.bw-home .woocommerce ul.products li.product > a:first-child > img,
body.bw-home .woocommerce-page ul.products li.product > a:first-child > img {
    aspect-ratio: 3 / 4;
    background: #eee8de;
    display: block;
    margin: 0 -1.05rem 0.5rem;
    max-width: none;
    object-fit: contain;
    width: calc(100% + 2.1rem);
}

body.bw-home .woocommerce ul.products li.product > a:first-child > p:empty {
    display: none;
}

body.bw-home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.bw-home .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    color: #23363d;
    font-size: clamp(0.92rem, 1.1vw, 1.08rem);
    font-weight: 400;
    line-height: 1.35;
    margin: 0.1rem 0 0.55rem;
    min-height: 2.7em;
}

body.bw-home .woocommerce ul.products li.product .price,
body.bw-home .woocommerce-page ul.products li.product .price {
    color: #23363d;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.2;
    margin: 0;
}

body.bw-home .bw-product-tags {
    gap: 0.35rem;
    margin-top: 0.8rem;
}

body.bw-home .bw-product-tag {
    background: #f4f0e9;
    border: 0;
    border-radius: 0;
    color: #766140;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.45rem;
    text-transform: uppercase;
}

body.bw-home .bw-external-metrics {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

body.bw-home .bw-rating-stars {
    color: #a05a3b;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
}

body.bw-home .bw-rating-summary {
    color: #77736c;
    font-size: 0.72rem;
}

body.bw-home .bw-card-fit {
    border-top: 1px solid #e2dbd0;
    color: #77736c;
    font-size: 0.74rem;
    line-height: 1.4;
    margin: 0.85rem 0 0;
    padding-top: 0.7rem;
}

body.bw-home .woocommerce ul.products li.product > p:last-child,
body.bw-home .woocommerce-page ul.products li.product > p:last-child {
    align-items: center;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    margin: auto 0.85rem 0;
    padding: 0.5rem 0 0.75rem;
}

body.bw-home .bw-card-story {
    color: #766140;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    margin: 0;
    text-transform: none;
}

body.bw-home .woocommerce ul.products li.product .add_to_cart_button,
body.bw-home .woocommerce-page ul.products li.product .add_to_cart_button {
    background: #23363d;
    border: 1px solid #23363d;
    border-radius: 0;
    color: #fffdf8;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.42rem 0.72rem;
    transition: background-color 180ms ease, color 180ms ease;
}

body.bw-home .woocommerce ul.products li.product .add_to_cart_button:hover,
body.bw-home .woocommerce ul.products li.product .add_to_cart_button:focus-visible,
body.bw-home .woocommerce-page ul.products li.product .add_to_cart_button:hover,
body.bw-home .woocommerce-page ul.products li.product .add_to_cart_button:focus-visible {
    background: #a05a3b;
    border-color: #a05a3b;
    color: #fffdf8;
}

body.bw-home .woocommerce ul.products li.product:hover,
body.bw-home .woocommerce ul.products li.product:focus-within,
body.bw-home .woocommerce-page ul.products li.product:hover,
body.bw-home .woocommerce-page ul.products li.product:focus-within {
    border-color: #c6b29e;
    box-shadow: 0 1.1rem 2.5rem rgba(35, 54, 61, 0.11);
    transform: translateY(-4px);
}

body.bw-home .woocommerce ul.products li.product::after,
body.bw-home .woocommerce-page ul.products li.product::after {
    display: none;
}

.bw-popular ul.products.columns-1 { grid-template-columns: 1fr; }
.bw-popular ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bw-popular ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bw-popular ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .woocommerce ul.products {
        gap: 0.65rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        padding: 0.5rem;
    }
}

/* The two curated sections use four cards per row on wide screens. */
@media (min-width: 801px) {
    body.bw-home #bw-popular > .woocommerce,
    body.bw-home #bw-inspiration > .woocommerce {
        margin-inline: auto;
        max-width: 100%;
        width: fit-content;
    }

    body.bw-home #bw-popular > .woocommerce > ul.products,
    body.bw-home #bw-inspiration > .woocommerce > ul.products {
        width: fit-content;
    }
}

.bw-popular ul.products,
.bw-inspiration ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) and (min-width: 801px) {
    .bw-popular ul.products,
    .bw-inspiration ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .bw-popular ul.products,
    .bw-inspiration ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .bw-popular ul.products,
    .bw-inspiration ul.products {
        grid-template-columns: 1fr;
    }
}

.bw-catalog-slider {
    align-items: center;
    display: flex;
    justify-content: center;
}

.bw-slider-controls {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bw-slider-controls > span {
    color: #77736c;
    font-size: 0.8rem;
}

.bw-slider-controls__buttons {
    display: flex;
    gap: 0.5rem;
}

.bw-catalog-slider .bw-catalog-grid {
    width: 100%;
}

.bw-catalog-slider .bw-catalog-card {
    flex-basis: clamp(13rem, 18vw, 18rem);
}

/* Infographic layout overrides. */
.bw-utp-flow,
.bw-trust-flow {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
}

.bw-utp-flow::before,
.bw-trust-flow::before {
    background: #d9d3c9;
    content: "";
    height: 1px;
    left: 9%;
    position: absolute;
    right: 9%;
    top: 1.25rem;
}

.bw-utp-flow article,
.bw-trust-flow article {
    background: #f4f0e9;
    border: 1px solid #e2dbd0;
    padding: 1.25rem;
    position: relative;
    z-index: 1;
}

.bw-trust-flow article h3 {
    font-size: 1.05rem;
    margin: 0 0 .55rem;
}

.bw-trust-flow article p {
    color: #77736c;
    font-size: .88rem;
    line-height: 1.45;
    margin: 0;
}

.bw-utp-flow article i,
.bw-trust-flow article > b {
    background: #a05a3b;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 1.1rem;
    padding: 0.35rem 0.55rem;
}

.bw-utp-flow h3,
.bw-trust-flow h3 {
    margin: 0 0 0.5rem;
}

.bw-utp-flow p,
.bw-trust-flow p {
    color: #77736c;
    margin: 0;
}

.bw-why-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: relative;
}

.bw-why-grid::before {
    background: rgba(216, 180, 157, .45);
    content: "";
    height: 1px;
    left: 5%;
    position: absolute;
    right: 5%;
    top: 1.35rem;
}

.bw-why-grid article {
    background: rgba(244, 240, 233, .94);
    border: 1px solid rgba(226, 219, 208, .9);
    min-width: 0;
    padding: 1.25rem;
    position: relative;
    z-index: 1;
}

.bw-why-card__image {
    aspect-ratio: 1;
    display: block;
    height: auto;
    margin: -1.25rem -1.25rem 1.25rem;
    max-width: calc(100% + 2.5rem);
    object-fit: cover;
    width: calc(100% + 2.5rem);
}

.bw-why-card__number {
    background: #a05a3b;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    height: 2.7rem;
    justify-content: center;
    left: 1rem;
    position: absolute;
    top: 1rem;
    width: 2.7rem;
    z-index: 2;
}

.bw-why-grid h3 {
    margin: 0 0 .55rem;
}

.bw-why-grid p {
    color: #77736c;
    font-size: .9rem;
    margin: 0;
}

.bw-utp-result,
.bw-trust-foot {
    align-items: center;
    background: #1e302d;
    color: #fff;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
}

.bw-utp-result strong,
.bw-trust-foot strong {
    color: #d8b49d;
    white-space: nowrap;
}

.bw-trust-foot em {
    color: #d6ddd8;
    font-size: 0.85rem;
    margin-left: auto;
}

.bw-compare-note {
    align-items: center;
    background: rgba(30, 48, 45, .88);
    border-left: 3px solid #d8b49d;
    color: #fff;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
}

.bw-compare-note strong {
    color: #d8b49d;
    white-space: nowrap;
}

.bw-compare-note span {
    color: rgba(255, 255, 255, .8);
}

.bw-catalog-slider {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    overflow-x: hidden;
}

.bw-catalog-grid {
    display: flex;
    gap: 1rem;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0.25rem 0.15rem 0.75rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.bw-catalog-grid::-webkit-scrollbar {
    display: none;
}

.bw-catalog-card {
    flex: 0 0 clamp(10rem, 18vw, 13rem);
}

.bw-catalog-card img {
    aspect-ratio: 1;
    border-radius: 0.75rem;
    display: block;
    height: auto;
    margin: 0.4rem 0 1rem;
    object-fit: cover;
    width: 100%;
}

.bw-slider-button {
    align-items: center;
    background: #f4f0e9;
    border: 1px solid #d9d3c9;
    border-radius: 50%;
    color: #1e302d;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.25rem;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.bw-slider-button:hover,
.bw-slider-button:focus-visible {
    background: #a05a3b;
    color: #fff;
}

.bw-guide-card__visual {
    height: auto;
    padding: 0;
}

.bw-guide-card__visual::before,
.bw-guide-card__visual::after {
    display: none;
}

.bw-guide-card__visual img {
    aspect-ratio: 1;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

body.bw-scroll-header {
    overflow-x: hidden;
}

body.bw-scroll-header #header {
    position: sticky;
    top: 0;
    transform: translateY(0);
    transition: transform .42s cubic-bezier(.22, .61, .36, 1), box-shadow .42s ease;
    z-index: 30;
}

body.bw-scroll-header.bw-header-past-threshold #header {
    box-shadow: 0 10px 30px rgba(20, 31, 29, .1);
}

body.bw-scroll-header.bw-header-hidden #header {
    transform: translateY(-105%);
}

body.bw-scroll-header.bw-header-visible #header {
    transform: translateY(0);
}

.bw-external-metric-link {
    text-decoration: none !important;
}

body.bw-home::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
    content: "";
    inset: 0;
    opacity: .08;
    pointer-events: none;
    position: fixed;
    z-index: 40;
}

/* Motion is layered: section heading, content, then the individual items. */
body.bw-js .bw-reveal-heading,
body.bw-js .bw-reveal-body,
body.bw-js .bw-reveal-card {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity .62s ease, transform .62s cubic-bezier(.22, .61, .36, 1);
}

body.bw-js .bw-reveal-body {
    transition-delay: .08s;
}

body.bw-js .bw-reveal-card {
    transition-delay: var(--bw-reveal-delay, .08s);
}

body.bw-js .bw-reveal.is-in-view .bw-reveal-heading,
body.bw-js .bw-reveal.is-in-view .bw-reveal-body,
body.bw-js .bw-reveal.is-in-view .bw-reveal-card {
    opacity: 1;
    transform: translateY(0);
}

body.bw-js .bw-reveal-card .ct-media-container,
body.bw-js .bw-reveal-card > a:first-child {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    body.bw-js .bw-reveal-heading,
    body.bw-js .bw-reveal-body,
    body.bw-js .bw-reveal-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.bw-before-after {
    --bw-before-after-position: 52%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, .3);
    max-width: 74rem;
    overflow: hidden;
    position: relative;
}

.bw-before-after__image {
    background-position: center;
    background-size: cover;
    inset: 0;
    position: absolute;
}

.bw-before-after__label {
    background: rgba(20, 31, 29, .78);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    left: 1rem;
    letter-spacing: .12em;
    padding: .45rem .65rem;
    position: absolute;
    text-transform: uppercase;
    top: 1rem;
}

.bw-before-after__image--after {
    background-image: url("assets/showcase/stencil-room-after.png");
}

.bw-before-after__image--before {
    background-image: linear-gradient(rgba(20, 31, 29, .2), rgba(20, 31, 29, .2)), url("assets/showcase/stencil-room-before.jpeg");
    clip-path: inset(0 calc(100% - var(--bw-before-after-position)) 0 0);
}

.bw-before-after__handle {
    background: #fff;
    bottom: 0;
    left: var(--bw-before-after-position);
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
}

.bw-before-after__handle::after {
    align-items: center;
    background: #fff;
    border: 2px solid #a05a3b;
    border-radius: 50%;
    color: #a05a3b;
    content: "↔";
    display: flex;
    font-size: 1rem;
    height: 2.75rem;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2.75rem;
}

.bw-before-after input {
    cursor: ew-resize;
    height: 100%;
    inset: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.bw-showcase-layout {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 3fr) minmax(14rem, 1fr);
    max-width: 90rem;
}

.bw-showcase-figure {
    aspect-ratio: 16 / 9;
    margin: 0;
    min-width: 0;
}

.bw-showcase-figure .bw-before-after {
    height: 100%;
    max-width: none;
}

.bw-showcase-caption {
    color: #77736c;
    font-size: .82rem;
    margin: .7rem 0 0;
}

.bw-showcase-meta {
    display: grid;
    gap: 1rem;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    min-width: 0;
}

.bw-showcase-meta article {
    background: #f2eee7;
    border: 1px solid rgba(30, 48, 45, .12);
    min-height: 0;
    overflow: hidden;
    padding: .85rem 1rem;
}

.bw-showcase-index {
    color: #a05a3b;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.bw-showcase-meta h3 {
    font-size: 1rem;
    margin: .3rem 0 .35rem;
}

.bw-showcase-meta p {
    color: #77736c;
    font-size: .82rem;
    line-height: 1.4;
    margin: 0;
}

.bw-showcase-note {
    align-items: center;
    background: #1e302d;
    color: #fff;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    max-width: 90rem;
    padding: 1rem 1.25rem;
}

.bw-showcase-note strong {
    color: #d8b49d;
    white-space: nowrap;
}

.bw-showcase-note span {
    color: rgba(255, 255, 255, .8);
}

.bw-showcase-link {
    color: #fff;
    font-weight: 700;
    margin-left: auto;
    white-space: nowrap;
}

.bw-catalog-intents {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: -0.5rem 0 1.25rem;
}

.bw-catalog-intents a {
    border: 1px solid rgba(30, 48, 45, .2);
    color: #1e302d;
    font-size: .82rem;
    padding: .55rem .8rem;
    text-decoration: none;
}

.bw-catalog-intents a:hover,
.bw-catalog-intents a:focus-visible {
    background: #1e302d;
    color: #fff;
}

/* Blocksy constrains direct children of entry-content; these screens are intentional full-bleed blocks. */
body.bw-home .entry-content.is-layout-constrained {
    max-width: none;
}

body.bw-home .hero-section.is-width-constrained {
    display: none;
}

body.bw-home .ct-container-full {
    padding-top: 0;
}

body.bw-home .entry-content.is-layout-constrained > .bw-hero-screen,
body.bw-home .entry-content.is-layout-constrained > .bw-section {
    box-sizing: border-box;
    margin-block: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: none !important;
    width: 100vw !important;
}

/* Editorial home layout with ordinary document scrolling. */
@media (min-width: 801px) {
    body.bw-home .bw-hero-screen,
    body.bw-home .bw-section {
        background-color: #263632;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border: 0;
        color: #fff;
        display: block;
        min-height: 0;
        margin-inline: calc(50% - 50vw);
        padding: clamp(4rem, 8vw, 8rem) max(5vw, 1.25rem);
        position: relative;
        isolation: isolate;
        width: 100vw;
    }

    body.bw-home .bw-hero-screen {
        align-content: center;
        display: grid;
        min-height: clamp(28rem, 64vh, 44rem);
    }

    body.bw-home .bw-hero-screen::before,
    body.bw-home .bw-section::before {
        background: linear-gradient(90deg, rgba(20, 31, 29, .86), rgba(20, 31, 29, .42) 58%, rgba(20, 31, 29, .2));
        content: "";
        inset: 0;
        position: absolute;
        z-index: -1;
    }

    body.bw-home .bw-hero-screen::after {
        background-image: var(--bw-scene-image, url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=2400&q=82")), repeating-radial-gradient(circle at 20% 20%, rgba(216, 180, 157, .18) 0 1px, transparent 1px 10px);
        background-position: center, 20% 20%;
        background-size: cover, 280px 280px;
        content: "";
        inset: -2%;
        opacity: .62;
        pointer-events: none;
        position: absolute;
        transition: opacity .26s ease;
        z-index: -1;
    }

    body.bw-home .bw-hero-screen.bw-scene-fading::after {
        opacity: 0;
    }

    body.bw-home .bw-hero-screen > *,
    body.bw-home .bw-section > * {
        position: relative;
    }

    body.bw-home .bw-hero-screen {
        background-image: url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=2400&q=82");
    }

    body.bw-home .bw-utp {
        background-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=2400&q=82");
    }

    body.bw-home .bw-catalog-nav {
        background-image: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=2400&q=82");
    }

    body.bw-home .bw-trust {
        background-image: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2400&q=82");
    }

    body.bw-home .bw-guides {
        background-image: url("https://images.unsplash.com/photo-1600494603989-9650cf6ddd3d?auto=format&fit=crop&w=2400&q=82");
    }

    body.bw-home .bw-compare {
        background-image: url("https://images.unsplash.com/photo-1618220179428-22790b461013?auto=format&fit=crop&w=2400&q=82");
    }

    body.bw-home .bw-help {
        background-image: url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=2400&q=82");
    }

    body.bw-home .bw-section-heading,
    body.bw-home .bw-hero-screen > * {
        max-width: 52rem;
    }

    body.bw-home .bw-section-heading p:not(.bw-kicker),
    body.bw-home .bw-editorial {
        color: rgba(255, 255, 255, .78);
    }

    body.bw-home .bw-catalog-slider,
    body.bw-home .bw-popular .woocommerce,
    body.bw-home .bw-inspiration .woocommerce,
    body.bw-home .bw-guides-grid {
        width: min(100%, 90rem);
    }

    body.bw-home .bw-hero {
        color: #fff !important;
        font-size: clamp(2.8rem, 7vw, 7rem);
        line-height: .96;
        max-width: 14ch;
    }

    body.bw-home .bw-hero-screen .bw-editorial {
        color: rgba(255, 255, 255, .82) !important;
    }

    .bw-hero-screen__link {
        border-bottom: 1px solid rgba(255, 255, 255, .6);
        color: #fff;
        display: inline-flex;
        gap: .75rem;
        margin-top: 2rem;
        padding-bottom: .45rem;
        width: fit-content;
    }

    body.bw-home .bw-section .bw-section-heading h2 {
        color: #fff;
        font-size: clamp(2rem, 4vw, 4.5rem);
        max-width: 13ch;
    }

    body.bw-home .bw-section .bw-utp-flow,
    body.bw-home .bw-section .bw-trust-flow {
        max-width: 90rem;
    }

    .bw-compare-grid {
        display: grid;
        gap: 1rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 90rem;
        width: min(100%, 90rem);
    }

    .bw-compare-grid article,
    .bw-help-card {
        background: rgba(20, 31, 29, .72);
        border: 1px solid rgba(255, 255, 255, .2);
        padding: clamp(1.25rem, 3vw, 2.5rem);
    }

    .bw-compare-grid article.is-featured {
        background: rgba(168, 96, 63, .88);
        border-color: transparent;
    }

    .bw-compare-grid article > span {
        color: #d8b49d;
        font-size: .75rem;
        letter-spacing: .12em;
    }

    .bw-compare-grid h3,
    .bw-help-card h2 {
        color: #fff;
        margin: .75rem 0 1rem;
    }

    .bw-compare-grid ul {
        color: rgba(255, 255, 255, .8);
        margin: 0;
        padding-left: 1.2rem;
    }

    .bw-help-card {
        max-width: 62rem;
    }

    .bw-help-card > p:not(.bw-kicker) {
        color: rgba(255, 255, 255, .82);
        max-width: 52rem;
    }

    .bw-help-steps {
        display: flex;
        flex-wrap: wrap;
        gap: .75rem 1.5rem;
        margin: 1.5rem 0;
    }

    .bw-help-steps span {
        align-items: center;
        display: inline-flex;
        gap: .5rem;
    }

    .bw-help-steps b {
        align-items: center;
        border: 1px solid #d8b49d;
        border-radius: 50%;
        color: #d8b49d;
        display: inline-flex;
        height: 1.7rem;
        justify-content: center;
        width: 1.7rem;
    }

    .bw-help-link {
        border-bottom: 1px solid #d8b49d;
        color: #fff;
        display: inline-flex;
        gap: .75rem;
        padding-bottom: .45rem;
    }

    .bw-screen-nav {
        align-items: flex-end;
        display: flex;
        flex-direction: column;
        gap: .55rem;
        position: fixed;
        right: clamp(1rem, 2.5vw, 2.5rem);
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
    }

    .bw-screen-nav a {
        align-items: center;
        color: rgba(255, 255, 255, .72);
        display: flex;
        gap: .55rem;
        justify-content: flex-end;
        text-decoration: none;
    }

    .bw-screen-nav a::before {
        background: currentColor;
        border: 1px solid currentColor;
        border-radius: 50%;
        content: "";
        display: block;
        height: .5rem;
        transition: transform .25s ease, background-color .25s ease;
        width: .5rem;
    }

    .bw-screen-nav a span {
        font-size: .62rem;
        letter-spacing: .08em;
        opacity: 0;
        transform: translateX(.5rem);
        transition: opacity .25s ease, transform .25s ease;
    }

    .bw-screen-nav a:hover,
    .bw-screen-nav a:focus-visible,
    .bw-screen-nav a.is-active {
        color: #fff;
    }

    .bw-screen-nav a:hover span,
    .bw-screen-nav a:focus-visible span,
    .bw-screen-nav a.is-active span {
        opacity: 1;
        transform: translateX(0);
    }

    .bw-screen-nav a.is-active::before {
        background: #d8b49d;
        transform: scale(1.45);
    }
}

@media (max-width: 800px) {
    .bw-compare-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .bw-compare-note strong {
        white-space: normal;
    }

    body.bw-home #bw-utp,
    body.bw-home #bw-catalog-nav,
    body.bw-home #bw-help,
    body.bw-home #bw-showcase,
    body.bw-home #bw-popular,
    body.bw-home #bw-trust,
    body.bw-home #bw-inspiration,
    body.bw-home #bw-guides {
        background-color: #263632;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        box-sizing: border-box;
        color: #fff;
        margin-bottom: 0;
        margin-top: 0;
        padding: 2.5rem 1.25rem;
    }

    body.bw-home #bw-utp {
        background-image: linear-gradient(rgba(20, 31, 29, .82), rgba(20, 31, 29, .82)), url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1600&q=82");
    }

    body.bw-home #bw-catalog-nav {
        background-image: linear-gradient(rgba(20, 31, 29, .82), rgba(20, 31, 29, .82)), url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1600&q=82");
    }

    body.bw-home #bw-help,
    body.bw-home #bw-showcase {
        background-image: linear-gradient(rgba(20, 31, 29, .82), rgba(20, 31, 29, .82)), url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1600&q=82");
    }

    body.bw-home #bw-popular {
        background-image: linear-gradient(rgba(20, 31, 29, .82), rgba(20, 31, 29, .82)), url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1600&q=82");
    }

    body.bw-home #bw-trust {
        background-image: linear-gradient(rgba(20, 31, 29, .82), rgba(20, 31, 29, .82)), url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1600&q=82");
    }

    body.bw-home #bw-inspiration {
        background-image: linear-gradient(rgba(20, 31, 29, .82), rgba(20, 31, 29, .82)), url("https://images.unsplash.com/photo-1600494603989-9650cf6ddd3d?auto=format&fit=crop&w=1600&q=82");
    }

    body.bw-home #bw-guides {
        background-image: linear-gradient(rgba(20, 31, 29, .82), rgba(20, 31, 29, .82)), url("https://images.unsplash.com/photo-1600494603989-9650cf6ddd3d?auto=format&fit=crop&w=1600&q=82");
    }

    body.bw-home .bw-section-heading h2 {
        color: #fff;
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    body.bw-home .bw-section-heading p:not(.bw-kicker),
    body.bw-home .bw-utp-flow p,
    body.bw-home .bw-trust-flow p {
        color: rgba(255, 255, 255, .78);
    }

    .bw-showcase-meta {
        grid-template-columns: 1fr;
    }

    .bw-showcase-layout {
        grid-template-columns: 1fr;
    }

    .bw-showcase-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .bw-showcase-link {
        margin-left: 0;
    }

    body.bw-home #bw-catalog-nav .bw-catalog-slider,
    body.bw-home div.woocommerce,
    body.bw-home #bw-popular .woocommerce,
    body.bw-home #bw-inspiration .woocommerce,
    body.bw-home #bw-guides .bw-guides-grid {
        box-sizing: border-box;
        width: 100%;
    }

    body.bw-home #bw-help .bw-help-card {
        background: rgba(20, 31, 29, .72);
        border: 1px solid rgba(255, 255, 255, .2);
        box-sizing: border-box;
        max-width: none;
        padding: 1.25rem;
    }

    body.bw-home #bw-help .bw-help-steps {
        display: grid;
        gap: .75rem;
        margin: 1.25rem 0;
    }

    body.bw-home #bw-help .bw-help-steps span {
        align-items: center;
        display: flex;
        gap: .5rem;
        line-height: 1.4;
        min-width: 0;
    }

    body.bw-home #bw-help .bw-help-steps b {
        flex: 0 0 1.7rem;
    }

    body.bw-home #bw-help .bw-help-link {
        box-sizing: border-box;
        flex-wrap: wrap;
        line-height: 1.4;
        max-width: 100%;
    }

    body.bw-home .bw-compare-grid .bw-reveal-card {
        background: rgba(20, 31, 29, .94);
        color: #fff;
    }

    body.bw-home .bw-compare-grid .bw-reveal-card h3 {
        color: #fff;
    }

    body.bw-home .bw-compare-grid .bw-reveal-card p,
    body.bw-home .bw-compare-grid .bw-reveal-card ul {
        color: rgba(255, 255, 255, .84);
    }

    body.bw-home .bw-details {
        background: #f4f0e9;
        box-sizing: border-box;
        margin: 0;
        max-width: none;
        padding: clamp(3rem, 6vw, 6.5rem) clamp(1.25rem, 8vw, 9rem);
    }

    body.bw-home .bw-details > * {
        margin-left: auto;
        margin-right: auto;
        max-width: 76rem;
    }

    body.bw-home .bw-details > :first-child {
        margin-top: 0;
    }

    body.bw-home .bw-details h2 {
        line-height: 1.15;
        margin-bottom: 1rem;
    }

    body.bw-home .bw-details h3 {
        line-height: 1.25;
        margin-bottom: .7rem;
        margin-top: 2.2rem;
    }

    body.bw-home .bw-details p,
    body.bw-home .bw-details li {
        line-height: 1.7;
    }

    body.bw-home .bw-details ul {
        padding-left: 1.25rem;
    }

    .bw-hero-screen__link {
        margin-top: 1.25rem;
    }
}

@media (min-width: 1101px) {
    .bw-compare-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bw-why-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .bw-utp-flow,
    .bw-trust-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .bw-utp-flow::before,
    .bw-trust-flow::before,
    .bw-why-grid::before {
        display: none;
    }
}

@media (max-width: 520px) {
    .bw-utp-flow,
    .bw-trust-flow {
        grid-template-columns: 1fr;
    }

    .bw-why-grid {
        grid-template-columns: 1fr;
    }

    .bw-utp-result,
    .bw-trust-foot {
        align-items: flex-start;
        flex-direction: column;
    }
    .bw-trust-foot em {
        margin-left: 0;
    }
    .bw-catalog-slider {
        grid-template-columns: 1fr;
    }
    .bw-slider-button {
        display: none;
    }
}

/* Centered product card rhythm: title, rating, price, action. */
body.bw-home .woocommerce ul.products li.product,
body.bw-home .woocommerce-page ul.products li.product {
    text-align: center;
}

body.bw-home .woocommerce ul.products li.product a,
body.bw-home .woocommerce-page ul.products li.product a,
body.bw-home .woocommerce ul.products li.product a:hover,
body.bw-home .woocommerce-page ul.products li.product a:hover {
    text-decoration: none;
}

body.bw-home .woocommerce ul.products li.product > a:first-child,
body.bw-home .woocommerce-page ul.products li.product > a:first-child {
    align-items: center;
}

body.bw-home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.bw-home .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    text-align: center;
    width: 100%;
}

body.bw-home .woocommerce ul.products li.product .bw-external-metrics,
body.bw-home .woocommerce-page ul.products li.product .bw-external-metrics {
    justify-content: center;
    width: 100%;
}

body.bw-home .woocommerce ul.products li.product .price,
body.bw-home .woocommerce-page ul.products li.product .price {
    text-align: center;
    width: 100%;
}

body.bw-home .woocommerce ul.products li.product > p:last-child,
body.bw-home .woocommerce-page ul.products li.product > p:last-child {
    justify-content: center;
    width: calc(100% - 1.5rem);
}

body.bw-home .woocommerce ul.products li.product .add_to_cart_button,
body.bw-home .woocommerce-page ul.products li.product .add_to_cart_button {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    min-height: 35px;
    text-decoration: none;
}

body.bw-home .woocommerce ul.products li.product > figure,
body.bw-home .woocommerce-page ul.products li.product > figure {
    margin-bottom: 0.75rem;
}

body.bw-home .woocommerce ul.products li.product .ct-woo-card-actions,
body.bw-home .woocommerce-page ul.products li.product .ct-woo-card-actions {
    padding-bottom: 0.75rem;
    padding-top: 0.5rem;
}

body.bw-home .woocommerce ul.products li.product > .entry-meta,
body.bw-home .woocommerce-page ul.products li.product > .entry-meta {
    display: none;
}

body.bw-home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.bw-home .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-height: 2.7em;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 1101px) {
    body.bw-home .bw-popular ul.products,
    body.bw-home .bw-inspiration ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) and (min-width: 801px) {
    body.bw-home .bw-popular ul.products,
    body.bw-home .bw-inspiration ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    body.bw-home .bw-popular ul.products,
    body.bw-home .bw-inspiration ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

body.bw-home .woocommerce ul.products li.product > a.woocommerce-loop-product__link,
body.bw-home .woocommerce-page ul.products li.product > a.woocommerce-loop-product__link,
body.bw-home .woocommerce ul.products li.product > a.woocommerce-loop-product__link:hover,
body.bw-home .woocommerce-page ul.products li.product > a.woocommerce-loop-product__link:hover,
body.bw-home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.bw-home .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
body.bw-home .woocommerce ul.products li.product .price,
body.bw-home .woocommerce-page ul.products li.product .price,
body.bw-home .woocommerce ul.products li.product .price *,
body.bw-home .woocommerce-page ul.products li.product .price * {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.ct-header .site-branding[data-id="logo"] .site-title a {
    display: block;
    width: 230px;
    height: 76px;
    overflow: hidden;
    background: url("assets/logo-bokawall-mandala.png") center / contain no-repeat;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
}

@media (max-width: 999.98px) {
    .ct-header .site-branding[data-id="logo"] .site-title a {
        width: 170px;
        height: 62px;
    }
}

/* Keep the reviews form out of the initial product flow until its tab is chosen. */
.woocommerce-tabs #tab-reviews {
    display: none !important;
}

.woocommerce-tabs #tab-reviews.bw-reviews-open {
    display: block !important;
}
