/* The WooCommerce shop archive uses the same paper and ink as the story pages. */
:is(.woocommerce-shop, .tax-product_cat) .main-page-wrapper {
    background: #fffaf3;
}

:is(.woocommerce-shop, .tax-product_cat) .wd-page-title {
    --archive-art: url("shop-candle-workbench.webp");
    --archive-art-small: url("shop-candle-workbench-mobile.webp");
    background: linear-gradient(110deg, #fbf2e5, #efddc6);
    position: relative;
    isolation: isolate;
    padding-block: clamp(38px, 6vw, 92px);
    border-bottom: 1px solid #e7d8c7;
}

.term-200g-candles .wd-page-title {
    --archive-art: url("glass-candle-collection.webp");
    --archive-art-small: url("glass-candle-collection-mobile.webp");
    background: linear-gradient(110deg, #f8f4fa, #e5dbea);
}

.term-400g-candles .wd-page-title {
    --archive-art: url("jar-candle-collection.webp");
    --archive-art-small: url("jar-candle-collection-mobile.webp");
    background: linear-gradient(110deg, #fbefdf, #e9cb9e);
}

:is(.woocommerce-shop, .tax-product_cat) .wd-page-title-bg {
    display: block;
    position: absolute;
    inset: 0 0 0 auto;
    height: 100%;
    width: auto;
    max-width: 100%;
    aspect-ratio: 3 / 1;
    background: var(--archive-art) right center / auto 100% no-repeat;
    mask-image: linear-gradient(to right, transparent, #000 35%);
    pointer-events: none;
}

:is(.woocommerce-shop, .tax-product_cat) .wd-page-title-bg img {
    display: none;
}

:is(.woocommerce-shop, .tax-product_cat) .wd-page-title > .container {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    align-items: flex-start;
}

:is(.woocommerce-shop, .tax-product_cat) .wd-title-wrapp {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding-inline: clamp(12px, 4vw, 66px);
}

:is(.woocommerce-shop, .tax-product_cat) .wd-page-title h1 {
    color: #402c22;
    font: 400 clamp(44px, 5vw, 72px)/1.1 Georgia, serif;
    letter-spacing: -.035em;
}

:is(.woocommerce-shop, .tax-product_cat) .shop-loop-head {
    padding-bottom: 14px;
    border-bottom: 1px solid #dfcdb9;
}

.woocommerce-shop .shop-loop-head { display: none; }
.woocommerce-shop .wd-page-title {
    --archive-art: url("shop-workbench-panorama.webp");
    --archive-art-small: url("shop-workbench-panorama-mobile.webp");
}
.woocommerce-shop .wd-page-title-bg {
    inset: 0;
    width: 100%;
    aspect-ratio: auto;
    background-size: cover;
    background-position: center;
    mask-image: none;
}
@media (min-width: 768px) {
    .woocommerce-shop .wd-page-title {
        aspect-ratio: 2172 / 422;
        padding-block: 0;
        display: flex;
        align-items: center;
    }
}
.woocommerce-shop .wd-sidebar .xena-clear-filters {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #bca38b;
    border-radius: 999px;
    color: #523825;
    font-size: 14px;
    font-weight: 600;
}
.woocommerce-shop .xena-clear-filters:is(:hover, :focus-visible) { background-color: #fffaf3; }
@media (max-width: 1024px) {
    .woocommerce-shop .shop-loop-head:has(.wd-show-sidebar-btn) {
        display: flex;
        justify-content: flex-start;
        padding: 0;
        margin-bottom: 16px;
        border: 0;
    }
    .woocommerce-shop .shop-loop-head > .wd-shop-tools:first-child,
    .woocommerce-shop .shop-loop-head :is(.wd-products-per-page, .wd-products-shop-view, .woocommerce-ordering) {
        display: none;
    }
    .woocommerce-shop .wd-show-sidebar-btn .wd-action-text { display: inline; }
    .woocommerce-shop .wd-show-sidebar-btn a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding-inline: 16px;
        border-radius: 999px;
        border: 1px solid #dfcdb9;
        color: #523825;
    }
}

:is(.woocommerce-shop, .tax-product_cat) .wd-sidebar .widget-title {
    font: 400 23px/1.25 Georgia, serif;
    color: #523825;
    text-transform: none;
}

:is(.woocommerce-shop, .tax-product_cat) .wd-product .product-element-top {
    border: 1px solid #e8dacc;
    border-radius: 14px;
}

:is(.woocommerce-shop, .tax-product_cat) .wd-product .wd-entities-title {
    font: 400 clamp(17px, 1.5vw, 22px)/1.25 Georgia, serif;
    color: #402c22;
}

:is(.woocommerce-shop, .tax-product_cat) .wd-product .price {
    color: #88491e;
}

:is(.woocommerce-shop, .tax-product_cat) .wd-product .wd-product-cats a {
    color: #746355;
}

@media (min-width: 1025px) {
    :is(.woocommerce-shop, .tax-product_cat) .wd-sidebar .widget-area {
        padding: 24px;
        background: #f6eee3;
        border: 1px solid #e7d8c7;
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    :is(.woocommerce-shop, .tax-product_cat) .wd-page-title {
        padding-block: 20px;
        min-height: clamp(112px, 33.33vw, 220px);
        margin-bottom: 22px;
    }
    :is(.woocommerce-shop, .tax-product_cat) .wd-page-title-bg {
        background-image: var(--archive-art-small);
    }
    :is(.woocommerce-shop, .tax-product_cat) .wd-page-title h1 {
        max-width: 49%;
        font-size: clamp(30px, 6vw, 44px);
    }
}
