.cmc-f-root,
#cmc-filter.cmc-f-root,
.filtros .cmc-f-root.wpfMainWrapper {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: calc(100dvh - 160px) !important;
    max-height: calc(100dvh - 160px) !important;
    padding: 14px !important;
    border-radius: 6px;
    background: #fff;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 10px;
    overflow: visible !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #181818;
    font-size: 14px;
    transform: none !important;
}

.cmc-f-backdrop {
    display: none;
}

.cmc-f-title {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cmc-f-title i {
    color: #181818;
    width: 1em;
    margin-right: 0;
    text-align: center;
    font-size: 13px;
}

.cmc-f-sort,
.cmc-f-search {
    width: 100%;
    background: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 10px;
}

.cmc-f-search {
    border-radius: 4px;
    margin-bottom: 8px;
}

.cmc-f-sort-wrap {
    position: relative;
    overflow: visible;
    z-index: 6;
}

.cmc-f-sort-wrap select.cmc-f-sort,
#cmc-filter select.cmc-f-sort.orderby {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    appearance: none !important;
}

.cmc-f-sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 10px 12px;
    color: #181818;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.cmc-f-sort-btn i,
.cmc-f-sort-menu i {
    width: 1em;
    color: #9a9a9a;
    font-size: 12px;
    text-align: center;
}

.cmc-f-sort-btn span {
    flex: 1 1 auto;
    min-width: 0;
}

.cmc-f-sort-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 8;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.cmc-f-sort-menu [data-value] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    color: #181818;
}

.cmc-f-sort-menu [data-value]:hover,
.cmc-f-sort-menu [aria-selected="true"] {
    background: #f7f7f7;
}

.cmc-f-sort-menu [aria-selected="true"] i {
    color: #f58220;
}

.cmc-f-block[data-area="marca"],
.cmc-f-block[data-area="categoria"],
.filtros .wpfMainWrapper div#wpfBlock_2,
.filtros .wpfMainWrapper div#wpfBlock_4 {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    flex: 0 1 auto !important;
    grid-area: unset !important;
}

.cmc-f-block[data-area="ordenar"],
.cmc-f-block[data-area="preco"],
.cmc-f-actions,
.filtros .wpfMainWrapper div#wpfBlock_1,
.filtros .wpfMainWrapper div#wpfBlock_3,
.filtros .wpfMainWrapper div.wpfFilterButtons {
    flex: 0 0 auto !important;
    grid-area: unset !important;
}

.cmc-f-scroll,
.filtros .wpfFilterVerScroll,
.filtros.filtrado .wpfFilterVerScroll,
.cmc-f-root.is-filtered .cmc-f-scroll,
#filtros.filtros #cmc-filter .cmc-f-scroll.wpfFilterVerScroll,
#filtros.filtros.filtrado #cmc-filter .cmc-f-scroll.wpfFilterVerScroll {
    flex: 1 1 auto !important;
    min-height: 120px !important;
    max-height: min(240px, 32dvh) !important;
    height: auto !important;
    overflow: auto !important;
    overscroll-behavior: contain;
}

.cmc-f-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 2px;
    cursor: pointer;
}

.cmc-f-option.is-child {
    padding-left: 18px;
}

.cmc-f-option em,
.cmc-f-count {
    margin-left: auto;
    min-width: 1.75em;
    padding: 1px 7px;
    border-radius: 3px;
    background: #eee;
    color: #555;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

.cmc-f-option.is-hidden,
.cmc-f-option.is-zero {
    display: none;
}

.cmc-f-price {
    position: relative;
    padding-top: 4px;
}

.cmc-f-scale {
    padding: 0 6px;
}

.price-histogram {
    display: flex;
    align-items: flex-end;
    gap: 0;
    width: 320px;
    max-width: 100%;
    height: 72px;
    margin: 0 0 8px;
    padding: 0;
    pointer-events: none;
}

.histogram-bar {
    flex: 0 0 5px;
    width: 5px;
    min-width: 5px;
    max-width: 5px;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background-color: #e4e4e4;
}

.histogram-bar.active {
    background-color: #f58220;
}

.histogram-bar.is-empty {
    background-color: #f3f3f3;
}

.cmc-f-sliders {
    position: relative;
    z-index: 2;
    width: 320px;
    max-width: 100%;
    height: 24px;
    margin: 0 0 4px;
}

.cmc-f-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    border-radius: 2px;
    background: #e5e5e5;
    transform: translateY(-50%);
}

.cmc-f-track-fill {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 2px;
    background: #f58220;
}

.cmc-f-range {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    background: none;
    pointer-events: none;
    accent-color: #f58220;
}

#cmc-f-min {
    z-index: 3;
}

#cmc-f-max {
    z-index: 4;
}

.cmc-f-range::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.cmc-f-range::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f58220;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    margin-top: -6px;
}

.cmc-f-range::-moz-range-track {
    height: 4px;
    background: transparent;
    border: 0;
}

.cmc-f-range::-moz-range-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f58220;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.cmc-f-price-labels {
    position: relative;
    height: 28px;
    margin-top: 2px;
    overflow: visible;
}

.cmc-f-price-fields {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 320px;
    max-width: 100%;
    margin-top: 8px;
}

.cmc-f-price-field {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    background: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 0 8px;
}

.cmc-f-price-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    border: 0;
    background: none;
    padding: 8px 0;
    margin: 0;
    font: inherit;
    color: #181818;
    text-align: center;
    box-shadow: none;
}

.cmc-f-price-input:focus {
    outline: none;
}

.cmc-f-price-field:focus-within {
    border-color: #f58220;
}

.cmc-f-price-suffix,
.cmc-f-price-sep {
    color: #9a9a9a;
    font-size: 12px;
    line-height: 1;
}

.cmc-f-price-sep {
    flex: 0 0 auto;
}

.cmc-f-tip {
    position: absolute;
    top: 8px;
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #f58220;
    pointer-events: none;
    transform: none;
}

.cmc-f-tip::before {
    content: "";
    position: absolute;
    left: 0;
    top: -5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(245, 130, 32, 0.55);
    transform: translateX(-50%);
}

.cmc-f-tip-box {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(calc(-50% + var(--nudge, 0px)));
    background: rgba(245, 130, 32, 0.16);
    color: #f58220;
    border: 1px solid rgba(245, 130, 32, 0.35);
    border-radius: 3px;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.cmc-f-actions,
.filtros .cmc-f-actions,
.filtros .wpfFilterButtons,
.filtros.filtrado .wpfFilterButtons,
.filtros.filtrado .cmc-f-actions,
#cmc-filter.cmc-f-root .cmc-f-actions.wpfFilterButtons,
#filtros.filtros .cmc-f-actions.wpfFilterButtons {
    display: none !important;
}

.cmc-f-root.is-filtered .cmc-f-actions,
.cmc-f-root.is-filtered .wpfFilterButtons,
#cmc-filter.cmc-f-root.is-filtered .cmc-f-actions.wpfFilterButtons,
.filtros.filtrado .cmc-f-root.is-filtered .cmc-f-actions {
    display: flex !important;
}

.cmc-f-clear {
    width: 100%;
    background: #181818;
    color: #fff;
    border: 0;
    border-radius: 3px;
    padding: 10px;
    cursor: pointer;
    letter-spacing: 0.04em;
}

.cmc-f-clear:hover {
    background: #f58220;
}

.woocommerce-ordering {
    display: none !important;
}

body.cmc-f-open {
    overflow-y: hidden;
}

.filtros,
#filtros.filtros,
#filtros.filtros *,
#pos-botao-filtro,
#pos-botao-filtro *,
.botao-filtro,
.cmc-f-root,
.cmc-f-root *,
.cmc-f-tip,
.cmc-f-range,
.histogram-bar,
.cmc-f-track-fill {
    transition: none !important;
    animation: none !important;
}

#pos-botao-filtro,
.loja > a.botao-filtro,
.loja > #pos-botao-filtro {
    position: fixed !important;
    left: 0 !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: translateY(-50%) !important;
    z-index: 10001 !important;
    float: none !important;
}

#pos-botao-filtro .botao-filtro,
.loja > a.botao-filtro,
a.botao-filtro {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #181818;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #fff;
    border-left-width: 0;
    border-radius: 0 3px 3px 0;
    padding: 30px 10px;
    font-size: 20px;
    box-shadow: none;
    line-height: 1;
}

#pos-botao-filtro:has(.botao-filtro.ativo),
.loja > a.botao-filtro.ativo {
    left: 380px !important;
    transform: translateY(-50%) !important;
}

.botao-filtro.ativo,
#pos-botao-filtro .botao-filtro.ativo {
    background-color: #f58220 !important;
    color: #fff !important;
}

.botao-filtro:hover {
    background-color: #f58220 !important;
    color: #fff !important;
}

@media (min-width: 769px) {
    .filtros,
    #filtros.filtros,
    .et_pb_module.filtros,
    .et_pb_widget_area.filtros,
    .et_pb_sidebar_0.et_pb_module.filtros {
        width: min(360px, calc(100vw - 40px)) !important;
        max-width: min(360px, calc(100vw - 40px)) !important;
        min-width: min(360px, calc(100vw - 40px)) !important;
        position: fixed !important;
        left: -380px !important;
        inset-inline-start: -380px !important;
        top: 80px !important;
        display: flex !important;
        flex-direction: column !important;
        height: calc(100dvh - 160px) !important;
        max-height: calc(100dvh - 160px) !important;
        z-index: 100000 !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        float: none !important;
        margin: 0 !important;
        overflow: visible !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .filtros .wpfMainWrapper,
    .filtros .cmc-f-root,
    #cmc-filter.cmc-f-root.wpfMainWrapper {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .filtros.ativo,
    #filtros.ativo,
    .et_pb_module.filtros.ativo {
        left: 20px !important;
        inset-inline-start: 20px !important;
        z-index: 100000 !important;
    }

    .botao-filtro.ativo {
        background-color: #f58220 !important;
        color: #fff !important;
    }
}

@media (max-width: 980px) and (min-width: 769px) {
    #pos-botao-filtro,
    .loja > a.botao-filtro,
    .loja > #pos-botao-filtro {
        transform: translateY(-50%) !important;
    }

    #pos-botao-filtro:has(.botao-filtro.ativo),
    .loja > a.botao-filtro.ativo,
    body.cmc-f-open #pos-botao-filtro {
        left: 380px !important;
        transform: translateY(-50%) !important;
    }

    .botao-filtro,
    #pos-botao-filtro .botao-filtro,
    .loja > a.botao-filtro {
        width: 60px;
        height: 60px;
        border-radius: 100%;
        padding: 15px;
        font-size: 20px;
        border-left-width: 1px;
        box-shadow: 5px 5px 10px -2px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 768px) {
    .cmc-f-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: #fff;
        z-index: 0;
    }

    .filtros,
    #filtros.filtros,
    .et_pb_module.filtros,
    .et_pb_widget_area.filtros {
        left: 0 !important;
        top: 0 !important;
        height: 100dvh !important;
        position: fixed !important;
        width: 100% !important;
        max-width: unset !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        overflow: hidden;
        z-index: -1 !important;
        background: transparent;
        float: none !important;
        margin: 0 !important;
    }

    .filtros.ativo,
    #filtros.ativo,
    .et_pb_module.filtros.ativo {
        z-index: 10000 !important;
        background: #fff;
    }

    .cmc-f-root,
    .filtros.ativo .cmc-f-root {
        min-width: 100%;
        width: 100%;
        max-width: none;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        overflow: hidden;
        position: relative;
        z-index: 1;
        background: #fff;
    }

    #pos-botao-filtro,
    .loja > a.botao-filtro,
    .loja > #pos-botao-filtro {
        left: 16px !important;
        top: auto !important;
        bottom: 88px !important;
        transform: none !important;
    }

    #pos-botao-filtro:has(.botao-filtro.ativo),
    .loja > a.botao-filtro.ativo,
    body.cmc-f-open #pos-botao-filtro,
    body.cmc-f-open .loja > a.botao-filtro {
        display: none !important;
    }

    .botao-filtro,
    #pos-botao-filtro .botao-filtro,
    .loja > a.botao-filtro {
        width: 60px;
        height: 60px;
        border-radius: 100%;
        padding: 15px;
        font-size: 20px;
        border-left-width: 1px;
        box-shadow: 5px 5px 10px -2px rgba(0, 0, 0, 0.2);
    }
}

.tax-product_cat .loja,
.tax-product_tag .loja {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.tax-product_cat #loja.produtos,
.tax-product_tag #loja.produtos {
    min-height: calc(100dvh - 200px);
    width: 100%;
    max-width: 100%;
}

.tax-product_cat .woocommerce-products-header,
.tax-product_tag .woocommerce-products-header {
    width: 100%;
    text-align: center;
}

.tax-product_cat h1.woocommerce-products-header__title.page-title,
.tax-product_tag h1.woocommerce-products-header__title.page-title {
    display: block !important;
    font-size: 32px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.02em;
    color: #f58220;
    padding: 20px 0;
}

/* Category archives do not load Divi's style-static menu CSS (shop TB does). */
@media (min-width: 981px) {
    header.et-l--header .et_pb_menu__menu > nav > ul,
    header.et-l--header ul.et-menu {
        display: flex !important;
        align-items: stretch;
        list-style: none !important;
        margin: 0;
        padding: 0;
        float: none;
    }

    header.et-l--header .et_pb_menu__menu > nav > ul > li,
    header.et-l--header ul.et-menu > li {
        display: flex !important;
        align-items: stretch;
        list-style: none !important;
        margin: 0;
        position: relative;
    }

    header.et-l--header .et_pb_menu__menu > nav > ul > li > a,
    header.et-l--header ul.et-menu > li > a {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    header.et-l--header .et_mobile_nav_menu {
        display: none !important;
    }
}

.tax-product_cat .products:not(.related),
.tax-product_tag .products:not(.related) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 230px));
    gap: 20px 40px;
    justify-content: center;
    width: auto;
    padding: 15px !important;
}

.cat-menu {
    display: grid !important;
    gap: 10px;
    grid-template-columns: repeat(6, 1fr);
    justify-content: center;
}

.cat-menu .cat-item {
    min-width: 140px !important;
    height: 180px !important;
    border: 2px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    gap: 10px;
    place-items: center;
    padding: 10px;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .cat-menu {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .cat-menu {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .cat-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-height: 769px) and (min-width: 769px),
(min-width: 769px) and (max-width: 980px) {
    .filtros,
    #filtros.filtros,
    .et_pb_module.filtros,
    .et_pb_widget_area.filtros {
        width: min(360px, calc(100vw - 40px)) !important;
        min-width: min(360px, calc(100vw - 40px)) !important;
        left: -380px !important;
        height: calc(100dvh - 160px) !important;
        max-height: calc(100dvh - 160px) !important;
        top: 80px !important;
        padding: 0 !important;
    }

    .filtros.ativo,
    #filtros.ativo {
        left: 20px !important;
    }

    .cmc-f-root,
    .filtros .wpfMainWrapper,
    .filtros .cmc-f-root,
    .filtros .wpfMainWrapper.cmc-f-root {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        max-height: 100% !important;
        grid-template-areas: none !important;
        grid-template-columns: none !important;
    }

}

@media (min-width: 769px) {
    #filtros.filtros.et_pb_module {
        height: calc(100dvh - 160px) !important;
        top: 80px !important;
        max-height: calc(100dvh - 160px) !important;
        left: -380px !important;
        padding: 0 !important;
    }

    #filtros.filtros.et_pb_module.ativo,
    #filtros.filtros.ativo {
        left: 20px !important;
    }

    #filtros.filtros.et_pb_module #cmc-filter.cmc-f-root.wpfMainWrapper {
        height: 100% !important;
        max-height: 100% !important;
        justify-content: flex-start !important;
    }
}

/*
 * Shop Theme Builder prints et-core-unified AFTER plugin + child CSS and wraps
 * the panel in .et_pb_widget { float:left } → shrink-to-fit ~90px.
 * Category archives inject the panel without that wrapper. Lock both.
 */
#filtros.filtros.et_pb_sidebar_0 .et_pb_widget,
#filtros.filtros .et_pb_widget.widget_cmc_filter_widget,
#filtros #cmc_filter_widget-2,
#filtros.filtros .WpfWoofiltersWidget,
#filtros.filtros .wpfwoofilterswidget-2 {
    float: none !important;
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    overflow: visible !important;
    background: transparent !important;
}

#filtros.filtros.et_pb_module #cmc-filter.cmc-f-root.wpfMainWrapper,
#filtros.filtros .et_pb_widget #cmc-filter.cmc-f-root,
#filtros #cmc-filter.cmc-f-root.wpfMainWrapper {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    grid-template-areas: none !important;
    grid-template-columns: none !important;
    box-sizing: border-box !important;
}

#filtros.filtros #cmc-filter .cmc-f-block,
#filtros.filtros #cmc-filter [id^="wpfBlock_"] {
    grid-area: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#filtros.filtros #cmc-filter .cmc-f-title {
    gap: 4px !important;
}

#filtros.filtros #cmc-filter .cmc-f-title i {
    color: #181818 !important;
    width: 1em !important;
    margin: 0 !important;
}

#filtros.filtros #cmc-filter .cmc-f-title,
#filtros.filtros #cmc-filter .cmc-f-sort,
#filtros.filtros #cmc-filter .cmc-f-search,
#filtros.filtros #cmc-filter .cmc-f-price,
#filtros.filtros #cmc-filter .cmc-f-sliders,
#filtros.filtros #cmc-filter .cmc-f-range {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#filtros.filtros #cmc-filter .cmc-f-option {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

#filtros.filtros #cmc-filter .cmc-f-option.is-zero,
#filtros.filtros #cmc-filter .cmc-f-option.is-hidden {
    display: none !important;
}

#filtros.filtros #cmc-filter .cmc-f-option span:not(.cmc-f-count) {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
}

#filtros.filtros #cmc-filter .cmc-f-count {
    flex: 0 0 auto !important;
    margin-left: auto !important;
}

#filtros.filtros #cmc-filter .cmc-f-scale {
    padding: 0 6px !important;
    box-sizing: border-box !important;
}

#filtros.filtros #cmc-filter .price-histogram {
    display: flex !important;
    align-items: flex-end !important;
    position: relative !important;
    bottom: auto !important;
    width: 320px !important;
    max-width: 100% !important;
    height: 72px !important;
    gap: 0 !important;
    padding: 0 !important;
}

#filtros.filtros #cmc-filter .histogram-bar {
    position: relative !important;
    bottom: 0 !important;
    left: auto !important;
    flex: 0 0 5px !important;
    width: 5px !important;
    min-width: 5px !important;
    max-width: 5px !important;
    padding: 0 !important;
    margin: 0 !important;
}

#filtros.filtros #cmc-filter select.cmc-f-sort,
#filtros.filtros #cmc-filter select.cmc-f-sort.orderby,
#cmc-filter select.orderby {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    appearance: none !important;
}

#filtros.filtros #cmc-filter .cmc-f-sort-btn,
#filtros.filtros #cmc-filter .cmc-f-sort-menu {
    border-radius: 3px !important;
}

#filtros.filtros #cmc-filter .cmc-f-sliders {
    position: relative !important;
    width: 320px !important;
    max-width: 100% !important;
    height: 28px !important;
    margin: 8px 0 4px !important;
}

#filtros.filtros #cmc-filter .cmc-f-price-fields {
    display: flex !important;
    width: 320px !important;
    max-width: 100% !important;
    gap: 8px !important;
}

#filtros.filtros #cmc-filter .cmc-f-price-field {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    border-radius: 3px !important;
}

#filtros.filtros #cmc-filter .cmc-f-price-input {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    border: 0 !important;
    padding: 8px 0 !important;
    text-align: center !important;
}

#filtros.filtros #cmc-filter .cmc-f-range {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 28px !important;
    margin: 0 !important;
    background: none !important;
    pointer-events: none;
}

#filtros.filtros #cmc-filter .cmc-f-range::-webkit-slider-thumb {
    pointer-events: auto;
}

#filtros.filtros #cmc-filter .cmc-f-range::-moz-range-thumb {
    pointer-events: auto;
}

#filtros.filtros #cmc-filter .cmc-f-price-labels {
    position: relative !important;
    z-index: 3;
    width: 100% !important;
    height: 28px !important;
    margin-top: 2px !important;
    display: block !important;
    overflow: visible !important;
}

#filtros.filtros #cmc-filter .cmc-f-tip {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #f58220 !important;
    transform: none !important;
}

#filtros.filtros #cmc-filter .cmc-f-tip-box {
    background: rgba(245, 130, 32, 0.16) !important;
    color: #f58220 !important;
    transform: translateX(calc(-50% + var(--nudge, 0px))) !important;
}

#filtros.filtros #cmc-filter,
#filtros.filtros.et_pb_module #cmc-filter.cmc-f-root {
    background: #fff !important;
    overflow: visible !important;
    border-radius: 6px !important;
    height: 100% !important;
    max-height: 100% !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

#pos-botao-filtro:has(.botao-filtro.ativo),
.loja > a.botao-filtro.ativo,
body.cmc-f-open #pos-botao-filtro {
    left: 380px !important;
    transform: translateY(-50%) !important;
}

#pos-botao-filtro .botao-filtro.ativo,
.botao-filtro.ativo {
    transform: none !important;
}

@media (min-width: 769px) {
    #filtros.filtros.et_pb_module,
    #filtros.filtros.et_pb_widget_area,
    #filtros.filtros.et_pb_sidebar_0 {
        width: 360px !important;
        min-width: 360px !important;
        max-width: 360px !important;
    }

    #filtros.filtros.et_pb_module.ativo,
    #filtros.filtros.et_pb_sidebar_0.ativo,
    #filtros.filtros.ativo {
        left: 20px !important;
        inset-inline-start: 20px !important;
    }

    #filtros.filtros.et_pb_module #cmc-filter.cmc-f-root.wpfMainWrapper {
        display: flex !important;
        flex-direction: column !important;
        min-width: 100% !important;
        width: 100% !important;
        grid-template-areas: none !important;
        grid-template-columns: none !important;
    }
}

@media (max-width: 768px) {
    #filtros.filtros.et_pb_module,
    #filtros.filtros.et_pb_sidebar_0 {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    #filtros.filtros .et_pb_widget,
    #filtros #cmc-filter.cmc-f-root {
        width: 100% !important;
        min-width: 100% !important;
    }
}
