/*
shop-page-style
*/

/* Shared scope: shop archive + category + tag + promo page 8184 */

/* === GLOBAL: Shop + Category + Tag archives + Promo page === */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .storefront-breadcrumb {
    display: none;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) div#secondary {
    display: none;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination {
    display: none;
}

body.woof_search_is_going:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination,
body.karissa-woof-filtered-results:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: clamp(22px, 3vw, 40px) auto clamp(18px, 2.5vw, 34px);
    clear: both;
}

body.woof_search_is_going:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .storefront-sorting nav.woocommerce-pagination,
body.karissa-woof-filtered-results:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .storefront-sorting nav.woocommerce-pagination {
    display: none !important;
}

body.woof_search_is_going:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination ul.page-numbers,
body.karissa-woof-filtered-results:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

body.woof_search_is_going:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination li,
body.karissa-woof-filtered-results:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination li {
    list-style: none;
    margin: 0;
}

body.woof_search_is_going:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination .page-numbers,
body.karissa-woof-filtered-results:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(17, 17, 17, .16);
    background: #fff;
    color: #111;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

body.woof_search_is_going:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination .page-numbers.current,
body.woof_search_is_going:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination .page-numbers:hover,
body.woof_search_is_going:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination .page-numbers:focus-visible,
body.karissa-woof-filtered-results:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination .page-numbers.current,
body.karissa-woof-filtered-results:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination .page-numbers:hover,
body.karissa-woof-filtered-results:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination .page-numbers:focus-visible {
    border-color: #111;
    background: #111;
    color: #fff;
}

body.woof_search_is_going:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination .page-numbers.dots,
body.karissa-woof-filtered-results:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: #777;
    min-width: 20px;
    padding: 0 2px;
}

body.karissa-woof-nextlink-infinite-ready:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) nav.woocommerce-pagination {
    display: none !important;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .karissa-woof-infinite-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(100%, 280px);
    min-height: 44px;
    margin: clamp(22px, 4vw, 42px) auto clamp(18px, 3vw, 36px);
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    transition: opacity .18s ease, background-color .18s ease, color .18s ease;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .karissa-woof-infinite-trigger:hover,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .karissa-woof-infinite-trigger:focus-visible {
    background: #fff;
    color: #111;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .karissa-woof-infinite-trigger.is-loading {
    cursor: wait;
    opacity: 1;
    border-color: rgba(17, 17, 17, .16);
    background: #fff;
    color: #111;
    box-shadow: 0 8px 26px rgba(17, 17, 17, .06);
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .karissa-woof-infinite-trigger.is-loading::before {
    content: "";
    width: 15px;
    height: 15px;
    border: 2px solid rgba(17, 17, 17, .16);
    border-top-color: #c04b76;
    border-radius: 999px;
    animation: karissaInfiniteSpin .75s linear infinite;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .karissa-woof-infinite-trigger[hidden] {
    display: none !important;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) ul.products ~ .storefront-sorting,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) ul.products ~ .woocommerce-ordering {
    display: none !important;
}

@keyframes karissaInfiniteSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .karissa-woof-infinite-trigger.is-loading::before {
        animation: none;
    }
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) header.woocommerce-products-header {
    width: 95%;
    margin: 0 auto;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) h1.woocommerce-products-header__title.page-title {
    text-align: center;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: .25px;
}
.page-id-8184 h1 {
    text-align: center;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: .25px;
}


body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) p.woocommerce-result-count {
    display: none;
}

/* if you have a woof_results_by_ajax container */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) div#woof_results_by_ajax {}

/* hide the 3rd storefront-sorting in the AJAX container */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) div#woof_results_by_ajax .storefront-sorting:nth-child(3) {
    display: none;
}

/* TOOLBAR / SORT */
body.page-id-8184 .storefront-sorting {padding-left: 0 !important;padding-right: 0 !important;}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .storefront-sorting {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 15px 20px 12px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0 !important;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .woocommerce-notices-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    order: 1;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .storefront-sorting p.woocommerce-result-count {
    display: block;
    width: calc(100% - 160px);
    order: 2;
    margin: 0;
    color: #111;
    font-weight: bold;
    font-size: 15px;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .mobile-filter-menu {
    width: 69px;
    order: 3;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) div#sidebar-filter-opener {
    color: #111;
    font-weight: bold;
    font-size: 15px;
    padding-right: 13px;
    cursor: pointer;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .sort-filter-button {
    width: 91px;
    order: 4;
    position: relative;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) button#sort-toggle-btn {
    padding: 0 0 0 13px;
    border-left: 1px solid #ddd;
    background: transparent;
    color: #111;
    font-weight: bold;
    font-size: 15px;
    font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
    letter-spacing: .25px;
    line-height: 1.6;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .orderby-wrapper {
    position: absolute;
    z-index: 999;
    background: #fff;
    padding: 19px;
    right: -1px;
    top: 36px;
    width: 255px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .orderby-wrapper.orderby-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity 0.3s ease, visibility 0s;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .orderby-wrapper form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .orderby-wrapper form label {
    margin: 10px 0;
    display: flex;
    align-items: center;
    line-height: 1;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .orderby-wrapper form br {
    display: none;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) input.orderby-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #aaa;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) input.orderby-checkbox:checked {
    background-color: #ffffff;
    border-color: #000000;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) input.orderby-checkbox:checked:before {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #111;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) input.orderby-checkbox:hover {
    border-color: #0056b3;
    background-color: #f1f1f1;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) input.orderby-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgb(99 99 99 / 50%);
}
body.page-id-8184 .mobile-filter-menu {
    display: none !important;
}

body.page-id-8184 .sort-filter-button {
    display: none !important;
}

body.page-id-8184 p.woocommerce-result-count {
    text-align: center;
    width: 100% !important;
}

body.page-id-8184 nav.woocommerce-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    order: 3;
}


/* SIDEBAR / WOOF OFF-CANVAS */
#shop-sidebar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999999;
    height: 100%;
    left: -100%;
    display: flex;
    transition: left 0.8s cubic-bezier(.77, 0, .175, 1), background-color 1.2s cubic-bezier(.77, 0, .175, 1);
    background-color: transparent;
}

.open-filter {
    left: 0 !important;
    background-color: hsl(0deg 0% 0% / 50%) !important;
}

.close-filter-btn {
    position: absolute;
    width: 100%;
    height: 100%;
}

#shop-sidebar .woof_redraw_zone {
    width: 320px;
    top: 0;
    left: 0;
    height: 100%;
    background: #fff;
    position: relative;
    z-index: 99999;
    padding: 20px;
    overflow-y: auto;
}

#shop-sidebar .woof_redraw_zone label.woof_section_tab_label {
    display: none !important;
}

#shop-sidebar .woof_redraw_zone .woof_section_tab {
    height: auto;
    opacity: 1;
}

.woof_childs_list_opener span.woof_is_closed {
    background: url(/wp-content/uploads/2024/12/plus.svg) !important;
    background-size: 17px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.woof_childs_list_opener span.woof_is_opened {
    background: url(/wp-content/uploads/2024/12/minus.svg) !important;
    background-size: 17px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.woof_checkbox_label {
    font-size: 13px;
}

.woof_container_inner h4 {
    line-height: 1;
}

.woof_price3_search_container .irs--square.irs-with-grid {
    width: calc(100% - 40px);
    margin: 0 auto;
}

.woof_container_checkbox.woof_container_2 ul.woof_list.woof_list_checkbox {
    display: flex;
    flex-wrap: wrap;
}

.woof_container_checkbox.woof_container_2 ul.woof_list.woof_list_checkbox li {
    width: 70px;
    display: flex;
}

li.woof_term_25 {
    width: 200px !important;
}

/* PRICE 4 labels */
body .woof .woof_price4_search_container label:first-child {
    display: inline-block !important;
    position: absolute;
    width: 47%;
    top: -17px;
    left: 9px;
    line-height: 1;
    outline: none !important;
}

body .woof .woof_price4_search_container label:nth-child(3) {
    display: inline-block !important;
    position: absolute;
    width: 47%;
    top: -17px;
    right: -11px;
    line-height: 1;
    outline: none !important;
}

.woof_price4_search_container .woof_price_filter_txt_container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.woof_price4_search_container .woof_price_filter_txt {
    min-width: 60px !important;
    width: calc(50% - 10px);
}

/* === STYLE FOR PRODUCT CARDS (Shop + Category + Tag + Promo page) === */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) ul.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 5px;
    justify-content: start;
    align-items: start;
    width: calc(100% - 10px);
    margin: 0 auto;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) ul.products::before {
    display: none;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) ul.products::after {
    display: none;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) li.product {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) a.woocommerce-LoopProduct-link {}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) a.woocommerce-LoopProduct-link img {
    height: calc((45vw + 4px) * 1.33);
    object-fit: cover;
    object-position: center;
    width: 100%;
    margin-bottom: 22px !important;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .product_type_variable {
    display: none;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) a.woocommerce-LoopProduct-link h2.woocommerce-loop-product__title {
    font-size: 14px !important;
    font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
    font-weight: bold !important;
    text-align: center;
    line-height: 1.4;
    margin: 0px 0px 5px 0px !important;
    color: #111111;
    /* min-height: 40px; */
    max-inline-size: 20ch;
    display: inline-block;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .woocommerce-Price-amount.amount bdi {
    color: #111111;
    font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 13px;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) a.woocommerce-LoopProduct-link span.onsale {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    width: 100%;
    height: calc((45vw + 4px) * 1.33);
    overflow: hidden;
    border: none;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) button#load-more {
    color: #111111;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid #111111;
    padding: 10px 10px 0 10px;
    display: inline-block;
    margin-bottom: 10px;
    margin-top: 10px;
    background: none;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) #main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* PRODUCT COLORS */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .karissa-loop-swatches {
    display: flex;
    justify-content: center;
}

/* === MEDIA QUERIES === */
@media (min-width: 600px) {
    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) a.woocommerce-LoopProduct-link img,
    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) a.woocommerce-LoopProduct-link span.onsale {
        height: calc((32vw + 4px) * 1.33);
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) li.product {
        width: auto !important;
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 8px;
    }
}

@media (min-width: 981px) {
    :root {
        --karissa-archive-sticky-top: 108px;
        --karissa-archive-sidebar-width: minmax(230px, 25%);
    }

    body.admin-bar {
        --karissa-archive-sticky-top: 140px;
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) ul.products {
        max-width: 1440px;
        position: relative;
        width: 100%;
        margin: 0 !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(14px, 1.35vw, 22px);
    }

    .website-col {
        display: grid;
        grid-template-columns: var(--karissa-archive-sidebar-width) minmax(0, 1fr);
        column-gap: clamp(18px, 2vw, 30px);
        align-items: start;
        position: relative;
        width: 95vw;
        margin: 0 auto;
        max-width: 1440px;
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) div#primary {
        grid-column: 2;
        width: 100%;
        min-width: 0;
        margin: 0 !important;
        z-index: 10;
        order: 2;
        float: unset;
    }
.page-id-8184 div#primary {
    max-width: 1421px;
    margin: 0 auto;
}
    #shop-sidebar {
        grid-column: 1;
        position: relative;
        left: auto !important;
        top: auto;
        order: 1;
        width: 100%;
        height: auto;
        max-height: none;
        align-self: stretch;
        overflow: visible;
        z-index: 99;
        background: transparent;
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag) ul.products {
        margin-left: 0 !important;
    }

    #shop-sidebar .woof_redraw_zone {
        position: relative;
        width: 100%;
        top: 0;
        max-width: none !important;
        max-height: calc(100vh - var(--karissa-archive-sticky-top) - 24px);
        background: #fafafa;
        overflow-y: auto;
        scrollbar-gutter: stable;
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .mobile-filter-menu {
        display: none;
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .storefront-sorting p.woocommerce-result-count {
        width: calc(100% - 91px);
    }

    #shop-sidebar .woof_redraw_zone .woof_section_tab {
        background: transparent;
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) a.woocommerce-LoopProduct-link img,
    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) a.woocommerce-LoopProduct-link span.onsale {
        height: calc((23vw + 4px) * 1.33);
        max-height: 460px;
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) button#load-more {
        width: 220px;
        margin-left: 0;
    }

    .woof_redraw_zone.desktop-product-fixed {
        position: relative !important;
        left: auto !important;
        width: 100% !important;
        max-width: none !important;
        background: #fafafa !important;
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) h1.woocommerce-products-header__title.page-title {
        text-align: left;
        margin-top: 20px;
    }
.page-id-8184 h1 {margin-top: 20px;}

 body.page-id-8184 li.product {
        width: auto !important;
    }

    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) header.woocommerce-products-header {
        margin: 0 !important;
        width: 100%;
        padding-left: 20px;
    }
}

@media (min-width: 1440px) {
    .woof_redraw_zone.desktop-product-fixed {
        left: auto !important;
    }
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) button#load-more.is-loading {
    cursor: progress;
    opacity: .72;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) button#load-more.is-auto-load-enabled {
    min-height: 44px;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) button#load-more.is-filter-context-disabled {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) button#load-more {
        transition: none;
    }
}

/* ===== ARCHIVE PRICE BLOCK (Shop + Category + Tag + Promo page) using "Recent Products" card style ===== */

/* Scope: apply to WooCommerce product archives + promo page */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 0 !important;
    flex-wrap: wrap;
}

/* Remove any <br> separators Woo may inject inside price */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price br {
    display: none;
}

/* === SALE: old price row (BGN with line-through). EUR for old price stays hidden (as in slider) === */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price del {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none; /* prevent default line-through on <del> wrapper */
    width: 100%;
    line-height: 0;
    margin-bottom: 5px;
    order: 2;
}

/* Optional label after the old price */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price del::after {
    content: "стара цена";
    display: none;
    margin-bottom: 4px;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1;
    color: #111111;
    border: 1px solid rgba(125,125,140,0.25);
    background: #f2f2f2;
}

/* Old BGN styling */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price del .woocommerce-Price-amount bdi {
    font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #6f6f6f;
    text-decoration: line-through;
    text-decoration-color: rgba(191,0,46,0.55);
    text-decoration-thickness: 2px;
}

/* Hide EUR next to the old price (to match the slider style) */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price del > .price-eur {
    /* display: none; */
    font-size: 13px;
    font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
}

/* === SALE: new price pill (BGN + EUR) === */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price ins {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 8px;
    border: 1px solid #da096b;
    /* background: #ffffff; */
    /* box-shadow: 0px 8px 18px rgb(125 125 125 / 12%); */
    margin-left: 0 !important;
    padding-left: 5px;
    order: 1;
    margin-bottom: 5px;
}

/* New BGN styling */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price ins .woocommerce-Price-amount bdi {
    font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #111111;
}

/* New EUR pill on the right */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price ins > .price-eur {
    display: inline-block;
    padding: 5px 8px;
    font-size: 16px;
    line-height: 1;
    border-left: 1px solid rgba(191,0,46,0.35);
    color: #111111;
}

/* === NON-SALE: single-line pill (BGN + EUR) ===
   Use :has() to detect when there is no <del> or <ins> inside .price */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price:not(:has(del)):not(:has(ins)) {
    display: inline-flex !important;
    align-items: center;
    flex-direction: row;
    gap: 2px;
    margin-top: 0;
    box-sizing: border-box;
    width: 100%;
}

/* Non-sale BGN styling */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price:not(:has(del)):not(:has(ins)) > .woocommerce-Price-amount bdi {
    font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #111111;
    margin-left: 5px;
}

/* Slightly reduce currency symbol emphasis */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price .woocommerce-Price-currencySymbol {
    opacity: 0.8;
    font-weight: 600;
}

/* Non-sale EUR pill */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .page-id-8184) .price:not(:has(del)):not(:has(ins)) > .price-eur {
    display: inline-block;
    padding: 6px 10px;
    font-size: 16px;
    line-height: 1;
    border-left: 1px solid rgb(189 189 189 / 35%);
    white-space: nowrap;
    color: #111111;
    margin-left: 10px;
}

/* ===== Premium filter polish ===== */
#shop-sidebar .woof_redraw_zone {
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

#shop-sidebar .woof_container {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

#shop-sidebar .woof_container:last-child {
    border-bottom: 0;
}

#shop-sidebar .woof_container_inner h4,
#shop-sidebar .woof_container h4 {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #111111;
}

#shop-sidebar .woof_list_checkbox li {
    min-height: 34px;
    align-items: center;
}

#shop-sidebar .woof_checkbox_label {
    font-size: 14px;
    line-height: 1.2;
    color: #1d1d1d;
}

#shop-sidebar input[type="checkbox"],
#shop-sidebar input[type="radio"] {
    width: 17px;
    height: 17px;
    accent-color: #111111;
}

#shop-sidebar .woof_price4_search_container .woof_price_filter_txt {
    min-height: 40px;
    border: 1px solid rgba(17, 17, 17, 0.16);
    background: #ffffff;
    padding: 8px 10px;
    font-size: 14px;
}

#shop-sidebar .woof_reset_button_2,
#shop-sidebar .woof_submit_search_form,
#shop-sidebar .woof_reset_search_form {
    min-height: 40px;
    border: 1px solid #111111 !important;
    background: #111111 !important;
    color: #ffffff !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
}

@media (max-width: 980px) {
    #shop-sidebar .woof_redraw_zone {
        width: min(88vw, 360px);
        padding: 24px 18px;
        box-shadow: 18px 0 34px rgba(0, 0, 0, 0.18);
    }

    .close-filter-btn {
        cursor: pointer;
    }
}

/* ===== Filter panel state hardening and sticky offset cleanup ===== */
@media (max-width: 980px) {
    body.karissa-filter-open {
        overflow: hidden;
    }

    #shop-sidebar {
        visibility: hidden;
        pointer-events: none;
    }

    #shop-sidebar.open-filter {
        visibility: visible;
        pointer-events: auto;
    }

    #shop-sidebar .close-filter-btn {
        position: absolute;
        inset: 0 0 0 min(88vw, 360px);
        width: auto;
        height: auto;
        border: 0;
        background: transparent;
        color: #ffffff;
        z-index: 99998;
        cursor: pointer;
        padding: 0;
    }

    #shop-sidebar .close-filter-btn span {
        position: absolute;
        top: 14px;
        right: 14px;
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255, 255, 255, 0.42);
        border-radius: 50%;
        background: rgba(17, 17, 17, 0.72);
        font-size: 26px;
        line-height: 1;
    }
}

@media (min-width: 981px) {
    :root {
        --karissa-filter-sticky-top: var(--karissa-archive-sticky-top, 108px);
    }

    #shop-sidebar {
        align-self: start;
        position: relative !important;
        top: auto !important;
        height: auto;
        max-height: calc(100dvh - var(--karissa-filter-sticky-top) - 28px);
    }

    #shop-sidebar .woof_redraw_zone {
        position: relative;
        top: 0;
        left: auto;
        width: 100%;
        max-height: calc(100dvh - var(--karissa-filter-sticky-top) - 28px);
        margin-bottom: 28px;
    }

    #shop-sidebar .woof_redraw_zone.karissa-filter-fixed {
        position: fixed !important;
    }

    #shop-sidebar .woof_redraw_zone.karissa-filter-pinned-bottom {
        position: absolute !important;
    }
}
