body.catalog-category-view .products.wrapper.grid,
body.catalog-category-view .products.list.items,
body.catalogsearch-result-index .products.wrapper.grid,
body.catalogsearch-result-index .products.list.items {
    min-width: 0;
}

body.catalog-category-view .products-grid .products.list.items:not(.slick-slider),
body.catalogsearch-result-index .products-grid .products.list.items:not(.slick-slider) {
    display: flex;
    flex-wrap: wrap;
}

body.catalog-category-view .products-grid .products.list.items:not(.slick-slider) > .product-item,
body.catalogsearch-result-index .products-grid .products.list.items:not(.slick-slider) > .product-item {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

body.catalog-category-view .products-grid .product-item-info,
body.catalog-category-view .products-grid .product_item_images,
body.catalog-category-view .products-grid .product-item-photo,
body.catalog-category-view .products-grid .product-image-container,
body.catalog-category-view .products-grid .product-image-wrapper,
body.catalogsearch-result-index .products-grid .product-item-info,
body.catalogsearch-result-index .products-grid .product_item_images,
body.catalogsearch-result-index .products-grid .product-item-photo,
body.catalogsearch-result-index .products-grid .product-image-container,
body.catalogsearch-result-index .products-grid .product-image-wrapper {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.catalog-category-view .products-grid .product-image-photo,
body.catalogsearch-result-index .products-grid .product-image-photo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
}

body.catalog-category-view .products-grid .product-item-actions_middle,
body.catalogsearch-result-index .products-grid .product-item-actions_middle {
    left: 8px !important;
    right: 8px !important;
}

body.catalog-category-view .products-grid .action.tocart.primary,
body.catalogsearch-result-index .products-grid .action.tocart.primary {
    box-sizing: border-box !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    min-height: 44px !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    white-space: nowrap !important;
    width: 100% !important;
}

body.catalog-category-view .products-grid .action.tocart.primary span,
body.catalogsearch-result-index .products-grid .action.tocart.primary span {
    display: inline !important;
    line-height: inherit !important;
    max-width: 100% !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

body.catalog-category-view .cleora-price-ranges,
body.catalogsearch-result-index .cleora-price-ranges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 2px 0 6px;
}

body.catalog-category-view .cleora-price-ranges__item,
body.catalogsearch-result-index .cleora-price-ranges__item {
    align-items: center;
    border: 1px solid #dedede;
    border-radius: 6px;
    color: #202122;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    justify-content: space-between;
    line-height: 1.25;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

body.catalog-category-view .cleora-price-ranges__item.active,
body.catalog-category-view .cleora-price-ranges__item:hover,
body.catalogsearch-result-index .cleora-price-ranges__item.active,
body.catalogsearch-result-index .cleora-price-ranges__item:hover {
    background: #202122;
    border-color: #202122;
    color: #fff;
}

body.catalog-category-view .filter-options-content .items .item > a,
body.catalogsearch-result-index .filter-options-content .items .item > a {
    align-items: center;
    display: flex !important;
    gap: 10px;
    min-height: 44px;
    padding: 8px 0;
}

body.catalog-category-view .filter-options-content .items .item > a > input[type='checkbox'],
body.catalogsearch-result-index .filter-options-content .items .item > a > input[type='checkbox'] {
    display: none !important;
}

body.catalog-category-view .filter-options-content .items .item > a::before,
body.catalogsearch-result-index .filter-options-content .items .item > a::before {
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    content: '';
    display: inline-block;
    flex: 0 0 18px;
    height: 18px;
    width: 18px;
}

body.catalog-category-view .filter-options-content .items .item > a:hover::before,
body.catalog-category-view .filter-options-content .items .item > a:focus::before,
body.catalogsearch-result-index .filter-options-content .items .item > a:hover::before,
body.catalogsearch-result-index .filter-options-content .items .item > a:focus::before {
    border-color: #202122;
}

body.catalog-category-view .filter-current,
body.catalogsearch-result-index .filter-current {
    border-bottom: 1px solid #ece7df;
    padding: 16px 0 12px;
}

body.catalog-category-view .filter-current .widget-title,
body.catalogsearch-result-index .filter-current .widget-title {
    margin-bottom: 12px;
}

body.catalog-category-view .filter-current .items,
body.catalogsearch-result-index .filter-current .items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

body.catalog-category-view .filter-current .item,
body.catalogsearch-result-index .filter-current .item {
    align-items: center;
    background: #faf8f5;
    border: 1px solid #e7e0d7;
    border-radius: 8px;
    display: flex !important;
    gap: 8px;
    list-style: none;
    min-height: 42px;
    padding: 7px 10px;
}

body.catalog-category-view .filter-current .filter-label,
body.catalogsearch-result-index .filter-current .filter-label {
    color: #1f1f1f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

body.catalog-category-view .filter-current .filter-value,
body.catalogsearch-result-index .filter-current .filter-value {
    color: #69635d;
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 1.25;
    min-width: 0;
}

body.catalog-category-view .filter-current .action.remove,
body.catalogsearch-result-index .filter-current .action.remove {
    align-items: center;
    background: #fffdf9 !important;
    border: 1px solid #e4d7bf;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(32, 33, 34, .08);
    display: inline-flex !important;
    flex: 0 0 30px;
    height: 30px !important;
    justify-content: center;
    margin-left: auto;
    min-height: 30px !important;
    min-width: 30px !important;
    padding: 0 !important;
    position: relative;
    width: 30px !important;
}

body.catalog-category-view .filter-current .action.remove span,
body.catalog-category-view .filter-current .action.remove i,
body.catalogsearch-result-index .filter-current .action.remove span,
body.catalogsearch-result-index .filter-current .action.remove i {
    display: none !important;
}

body.catalog-category-view .filter-current .action.remove::before,
body.catalog-category-view .filter-current .action.remove::after,
body.catalogsearch-result-index .filter-current .action.remove::before,
body.catalogsearch-result-index .filter-current .action.remove::after {
    content: '';
    height: 14px;
    left: 7px;
    position: absolute;
    top: 7px;
    width: 14px;
}

body.catalog-category-view .filter-current .action.remove::before,
body.catalogsearch-result-index .filter-current .action.remove::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c6259' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
}

body.catalog-category-view .filter-current .action.remove::after,
body.catalogsearch-result-index .filter-current .action.remove::after {
    display: none;
}

body.catalog-category-view .filter-current .action.remove:hover,
body.catalog-category-view .filter-current .action.remove:focus,
body.catalogsearch-result-index .filter-current .action.remove:hover,
body.catalogsearch-result-index .filter-current .action.remove:focus {
    background: #fbf7ed !important;
    border-color: #b8977e;
}

body.catalog-category-view .filter-actions,
body.catalogsearch-result-index .filter-actions {
    border: 0;
    margin: 10px 0 0;
    padding: 0;
}

body.catalog-category-view .filter-actions a,
body.catalog-category-view .filter-actions .action.clear,
body.catalogsearch-result-index .filter-actions a,
body.catalogsearch-result-index .filter-actions .action.clear {
    align-items: center;
    background: #fffdf9;
    border: 1px solid #e5d9c8;
    border-radius: 8px;
    color: #4f4840 !important;
    display: inline-flex !important;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    min-height: 40px;
    padding: 0 14px !important;
    text-decoration: none !important;
}

body.catalog-category-view .filter-actions a::before,
body.catalog-category-view .filter-actions .action.clear::before,
body.catalogsearch-result-index .filter-actions a::before,
body.catalogsearch-result-index .filter-actions .action.clear::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b8977e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7'/%3E%3Cpath d='M3 3v6h6'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    content: '';
    height: 14px;
    width: 14px;
}

body.catalog-category-view .filter-actions a:hover,
body.catalog-category-view .filter-actions .action.clear:hover,
body.catalog-category-view .filter-actions a:focus,
body.catalog-category-view .filter-actions .action.clear:focus,
body.catalogsearch-result-index .filter-actions a:hover,
body.catalogsearch-result-index .filter-actions .action.clear:hover,
body.catalogsearch-result-index .filter-actions a:focus,
body.catalogsearch-result-index .filter-actions .action.clear:focus {
    background: #fbf7ed;
    border-color: #b8977e;
    color: #202122 !important;
}

body.catalog-category-view .cat_filter,
body.catalog-category-view .filter-area .cat_filter,
body.catalogsearch-result-index .cat_filter,
body.catalogsearch-result-index .filter-area .cat_filter {
    align-items: center;
    display: flex !important;
    justify-content: flex-start;
    padding: 0 !important;
}

body.catalog-category-view .cat_filter .btn_filter,
body.catalogsearch-result-index .cat_filter .btn_filter {
    align-items: center;
    background: #fffdf9 !important;
    border: 1px solid #e5d9c8 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: #4f4840 !important;
    display: inline-flex !important;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    margin: 0 !important;
    min-height: 40px;
    padding: 0 14px !important;
    text-decoration: none !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
}

body.catalog-category-view .cat_filter .btn_filter::before,
body.catalogsearch-result-index .cat_filter .btn_filter::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b8977e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21v-7'/%3E%3Cpath d='M4 10V3'/%3E%3Cpath d='M12 21v-9'/%3E%3Cpath d='M12 8V3'/%3E%3Cpath d='M20 21v-5'/%3E%3Cpath d='M20 12V3'/%3E%3Cpath d='M2 14h4'/%3E%3Cpath d='M10 8h4'/%3E%3Cpath d='M18 16h4'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    content: '';
    height: 14px;
    width: 14px;
}

body.catalog-category-view .cat_filter .btn_filter span,
body.catalogsearch-result-index .cat_filter .btn_filter span {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    font-size: inherit;
    font-weight: inherit;
    height: auto !important;
    line-height: inherit;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    transform: none !important;
    width: auto !important;
    writing-mode: horizontal-tb !important;
}

body.catalog-category-view .cat_filter .btn_filter:hover,
body.catalog-category-view .cat_filter .btn_filter:focus,
body.catalogsearch-result-index .cat_filter .btn_filter:hover,
body.catalogsearch-result-index .cat_filter .btn_filter:focus {
    background: #fbf7ed !important;
    border-color: #b8977e !important;
    color: #202122 !important;
}

@media (max-width: 991px) {
    body.catalog-category-view .header-container.layout-13.header_style-13 .top-search,
    body.catalogsearch-result-index .header-container.layout-13.header_style-13 .top-search {
        margin-top: 56px !important;
    }

    body.catalog-category-view .page-title-wrapper,
    body.catalogsearch-result-index .page-title-wrapper {
        margin-top: 4px !important;
        margin-bottom: 0 !important;
    }

    body.catalog-category-view .page-title,
    body.catalogsearch-result-index .page-title {
        line-height: 1.08 !important;
        margin: 0 !important;
    }

    body.catalog-category-view .breadcrumbs,
    body.catalogsearch-result-index .breadcrumbs {
        height: 30px !important;
        margin: 0 0 2px !important;
        min-height: 0 !important;
        overflow: hidden;
        padding: 0 !important;
        line-height: 1.2 !important;
    }

    body.catalog-category-view .breadcrumbs .items,
    body.catalogsearch-result-index .breadcrumbs .items {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        line-height: 1.2 !important;
        min-height: 28px;
        padding: 0 15px 2px !important;
    }

    body.catalog-category-view .breadcrumbs .items .item,
    body.catalog-category-view .breadcrumbs .items .item a,
    body.catalog-category-view .breadcrumbs .items .item strong,
    body.catalogsearch-result-index .breadcrumbs .items .item,
    body.catalogsearch-result-index .breadcrumbs .items .item a,
    body.catalogsearch-result-index .breadcrumbs .items .item strong {
        align-items: center;
        display: inline-flex !important;
        line-height: 1.2 !important;
        min-height: 28px;
        vertical-align: middle;
    }

    body.catalog-category-view .breadcrumbs .items .item::after,
    body.catalogsearch-result-index .breadcrumbs .items .item::after {
        align-items: center;
        display: inline-flex !important;
        height: 28px;
        justify-content: center;
        line-height: 28px !important;
        vertical-align: middle;
    }

    body.catalog-category-view .cat_filter,
    body.catalog-category-view .filter-area .cat_filter,
    body.catalogsearch-result-index .cat_filter,
    body.catalogsearch-result-index .filter-area .cat_filter {
        margin: 0 0 6px !important;
    }

    body.catalog-category-view .filter-current,
    body.catalogsearch-result-index .filter-current {
        padding: 14px 0 10px;
    }

    body.catalog-category-view .filter-current .widget-title,
    body.catalogsearch-result-index .filter-current .widget-title {
        font-size: 22px;
        line-height: 1.15;
        margin-bottom: 10px;
    }

    body.catalog-category-view .products-grid .product-item-details .installments,
    body.catalogsearch-result-index .products-grid .product-item-details .installments {
        display: block !important;
        line-height: 1.2;
        margin-top: 2px;
    }

    body.catalog-category-view .products-grid .product-item-details .installments .price-box,
    body.catalogsearch-result-index .products-grid .product-item-details .installments .price-box {
        display: flex !important;
        margin: 0 !important;
        width: 100% !important;
    }

    body.catalog-category-view .products-grid .product-item-details .installments .best-installment,
    body.catalogsearch-result-index .products-grid .product-item-details .installments .best-installment {
        color: #8a6f2f;
        display: block !important;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.25;
        margin: 4px 0 0 !important;
        white-space: normal;
    }
}

@media (max-width: 767px) {
    body.catalog-category-view .products-grid .products.list.items:not(.slick-slider),
    body.catalogsearch-result-index .products-grid .products.list.items:not(.slick-slider) {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.catalog-category-view .products-grid .products.list.items:not(.slick-slider) > .product-item,
    body.catalogsearch-result-index .products-grid .products.list.items:not(.slick-slider) > .product-item {
        margin-top: 16px !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    body.catalog-category-view .products-grid .products.list.items:not(.slick-slider) > .product-item,
    body.catalogsearch-result-index .products-grid .products.list.items:not(.slick-slider) > .product-item {
        width: 50% !important;
    }
}

@media (min-width: 1200px) {
    body.catalog-category-view .products-grid .products.list.items:not(.slick-slider) > .product-item,
    body.catalogsearch-result-index .products-grid .products.list.items:not(.slick-slider) > .product-item {
        width: 25% !important;
    }
}

@media (min-width: 1800px) {
    body.catalog-category-view .products-grid .products.list.items:not(.slick-slider) > .product-item,
    body.catalogsearch-result-index .products-grid .products.list.items:not(.slick-slider) > .product-item {
        width: 20% !important;
    }
}
