/* CANOINHAS DIGITAL V1.0.24.19 — FILTRO MOBILE ISOLADO */
@media (max-width:760px){
  body.cd-filter-drawer-open{overflow:hidden!important}
  .cd-filter-drawer-backdrop{position:fixed!important;inset:0!important;z-index:2147483000!important;background:rgba(3,25,35,.46)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  body.cd-filter-drawer-open .cd-filter-drawer-backdrop{opacity:1!important;visibility:visible!important;pointer-events:auto!important}

  body:not(.admin-body) .filter-panel.cd-filter-drawer{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;z-index:2147483200!important;width:min(92vw,430px)!important;max-width:430px!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:0!important;background:#fff!important;border:0!important;border-radius:22px 0 0 22px!important;box-shadow:-20px 0 55px rgba(2,31,43,.22)!important;overflow:hidden!important;transform:translateX(105%)!important;visibility:hidden!important;transition:none!important;filter:none!important;backdrop-filter:none!important}
  body:not(.admin-body) .filter-panel.cd-filter-drawer.cd-filter-open{transform:translateX(0)!important;visibility:visible!important}

  .cd-filter-drawer-head{order:0!important;flex:0 0 auto!important;display:grid!important;grid-template-columns:46px minmax(0,1fr) 46px!important;align-items:center!important;gap:12px!important;padding:max(18px,env(safe-area-inset-top)) 18px 15px!important;background:#fff!important;border-bottom:1px solid #e5edef!important}
  .cd-filter-drawer-head-icon{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;border-radius:13px!important;background:#e8f8f3!important;color:#00a47c!important}
  .cd-filter-drawer-head-icon svg{width:23px!important;height:23px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  .cd-filter-drawer-title{display:block!important;margin:0!important;color:#082f40!important;font-size:22px!important;font-weight:900!important;line-height:1.05!important}
  .cd-filter-drawer-subtitle{display:block!important;margin-top:4px!important;color:#70848d!important;font-size:11.5px!important;font-weight:600!important;line-height:1.3!important}
  .cd-filter-drawer-close{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:13px!important;background:#f4f8f9!important;color:#082f40!important;font-size:29px!important;line-height:1!important}

  .cd-filter-drawer-scroll{order:1!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:18px 18px max(18px,env(safe-area-inset-bottom))!important;background:#fff!important}
  .cd-filter-drawer-scroll>*{min-width:0!important}
  .cd-filter-drawer-scroll label{display:flex!important;margin:0 0 8px!important;color:#173743!important;font-size:12px!important;font-weight:850!important;line-height:1.25!important}
  .cd-filter-drawer-scroll input:not([type="checkbox"]):not([type="radio"]),.cd-filter-drawer-scroll select{width:100%!important;height:48px!important;min-height:48px!important;padding:0 13px!important;border:1px solid #d7e3e7!important;border-radius:12px!important;background:#fff!important;color:#173743!important;font-size:14px!important;box-shadow:none!important}
  .cd-filter-drawer-scroll input:focus,.cd-filter-drawer-scroll select:focus{border-color:#00bd89!important;box-shadow:0 0 0 3px rgba(0,189,137,.10)!important}

  /* somente as ações REAIS do formulário */
  .cd-filter-drawer-scroll .filter-clear{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:38px!important;margin:5px 0 8px!important;padding:6px!important;color:#526772!important;font-size:12px!important;font-weight:800!important;text-decoration:none!important}
  .cd-filter-drawer-scroll .filter-button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:52px!important;min-height:52px!important;margin:0!important;padding:0 15px!important;border:0!important;border-radius:13px!important;background:#00bf73!important;color:#fff!important;font-size:15px!important;font-weight:900!important;box-shadow:none!important}

  .cd-filter-drawer-actions,.cd-filter-drawer-footer{display:none!important}
  .cd-filter-backdrop{display:none!important}

  body:not(.admin-body) .cd-filter-launcher{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:112px!important;height:46px!important;min-height:46px!important;margin:10px 16px 12px auto!important;padding:0 16px!important;border:1px solid #00b987!important;border-radius:13px!important;background:#fff!important;color:#123746!important;font-size:14px!important;font-weight:850!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;box-shadow:0 4px 14px rgba(5,48,63,.05)!important}
  body:not(.admin-body) .filter-panel.cd-filter-drawer .cd-filter-toggle{display:none!important}
}
@media(max-width:380px){
  body:not(.admin-body) .filter-panel.cd-filter-drawer{width:95vw!important;border-radius:18px 0 0 18px!important}
  .cd-filter-drawer-head,.cd-filter-drawer-scroll{padding-left:14px!important;padding-right:14px!important}
}

/* =========================================================
   CANOINHAS DIGITAL — V1.0.24.20
   FILTRO MOBILE — AÇÕES ÚNICAS
   ========================================================= */

@media (max-width:760px){

    /*
     * O formulário original já possui:
     * 1x .filter-button
     * 1x .filter-clear
     *
     * Qualquer bloco de ações adicional é legado e não deve aparecer.
     */
    body:not(.admin-body) .filter-panel.cd-filter-drawer
    > .filter-button,

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    > .filter-clear,

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    > .cd-filter-drawer-actions,

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    > .cd-filter-drawer-footer {
        display:none !important;
    }

    /*
     * Somente as ações que estão dentro da área real
     * do formulário permanecem visíveis.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-button {
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        height:52px !important;
        min-height:52px !important;

        margin:8px 0 0 !important;
        padding:0 18px !important;

        border:0 !important;
        border-radius:13px !important;

        background:#00bf73 !important;
        color:#fff !important;

        font-size:15px !important;
        font-weight:900 !important;
        line-height:1 !important;

        box-shadow:none !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-clear {
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        min-height:40px !important;

        margin:4px 0 8px !important;
        padding:6px !important;

        background:transparent !important;
        border:0 !important;

        color:#596f78 !important;

        font-size:12px !important;
        font-weight:800 !important;
        line-height:1.2 !important;
        text-decoration:none !important;
    }

    /*
     * Segurança contra resíduos de versões anteriores.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll
    .filter-button ~ .filter-button {
        display:none !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll
    .filter-clear ~ .filter-clear {
        display:none !important;
    }
}


/* =========================================================
   CANOINHAS DIGITAL — V1.0.24.22
   FILTRO MOBILE — AÇÕES PADRÃO APP
   ========================================================= */

@media (max-width:760px){

    /*
     * Dentro do drawer:
     * o submit real continua funcional, mas passa a ocupar
     * somente a posição de ação final.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll {
        padding-bottom:24px !important;
    }

    /*
     * Remove blocos artificiais/legados de versões anteriores.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    > .filter-button,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    > .filter-clear,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    > .cd-filter-drawer-actions,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    > .cd-filter-drawer-footer {
        display:none !important;
    }

    /*
     * LIMPAR FILTROS
     * ação secundária, discreta.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll .filter-clear {

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        min-height:40px !important;

        margin:12px 0 8px !important;
        padding:6px 12px !important;

        border:0 !important;
        background:transparent !important;

        color:#60757e !important;

        font-size:12px !important;
        font-weight:800 !important;
        line-height:1.2 !important;

        text-decoration:none !important;
        box-shadow:none !important;
    }

    /*
     * ÚNICO SUBMIT REAL DO FORMULÁRIO.
     * Visualmente passa a ser "Aplicar filtros".
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll .filter-button {

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        height:52px !important;
        min-height:52px !important;

        margin:0 !important;
        padding:0 18px !important;

        border:0 !important;
        border-radius:13px !important;

        background:#00bf73 !important;
        color:#fff !important;

        font-size:0 !important;
        font-weight:900 !important;

        box-shadow:none !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll .filter-button::before {

        content:"Aplicar filtros";

        display:block;

        font-size:15px;
        font-weight:900;
        line-height:1;
        color:#fff;
    }

    /*
     * Segurança:
     * se algum resíduo antigo deixou um segundo submit,
     * somente o primeiro submit real do formulário aparece.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll
    .filter-button ~ .filter-button {

        display:none !important;
    }

    /*
     * SELECT PREMIUM DENTRO DO DRAWER.
     *
     * O app.css global joga o menu para bottom:12px no mobile.
     * Aqui anulamos SOMENTE dentro do drawer.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-select {

        position:relative !important;
        width:100% !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-select-menu {

        position:absolute !important;

        top:calc(100% + 5px) !important;
        right:0 !important;
        bottom:auto !important;
        left:0 !important;

        width:100% !important;
        max-width:none !important;
        max-height:230px !important;

        margin:0 !important;

        overflow-y:auto !important;
        overscroll-behavior:contain !important;

        border:1px solid #d8e4e7 !important;
        border-radius:12px !important;

        background:#fff !important;

        box-shadow:
            0 14px 35px rgba(4,40,54,.14) !important;

        z-index:50 !important;

        transform:none !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-select.open {

        z-index:60 !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-select-option {

        min-height:44px !important;

        padding:0 14px !important;

        display:flex !important;
        align-items:center !important;

        font-size:13px !important;
        font-weight:750 !important;

        color:#264550 !important;

        background:#fff !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-select-option.is-selected {

        color:#008f68 !important;
        background:#e9f8f3 !important;
    }
}


/* ==========================================================
   CANOINHAS DIGITAL — V1.0.24.23
   FILTROS MOBILE — CONSOLIDAÇÃO FINAL
   ========================================================== */

@media (max-width:760px){

    /* -------------------------------------------------------
       1. CONTEÚDO
       ------------------------------------------------------- */

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll{
        display:grid !important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
        column-gap:10px !important;
        row-gap:0 !important;

        padding:18px 20px 24px !important;
        align-content:start !important;
    }

    /* por padrão cada campo ocupa largura total */
    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > *{
        grid-column:1 / -1;
        min-width:0 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .filter-search{
        grid-column:1 / -1 !important;
        margin-bottom:6px !important;
    }


    /* -------------------------------------------------------
       2. PREÇO MÍNIMO + MÁXIMO NA MESMA LINHA
       ------------------------------------------------------- */

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    label:has(input[name="min"]){
        grid-column:1 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    label:has(input[name="max"]){
        grid-column:2 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    label:has(input[name="min"]) input,
    body:not(.admin-body) .filter-panel.cd-filter-drawer
    label:has(input[name="max"]) input{
        width:100% !important;
        min-width:0 !important;
    }


    /* -------------------------------------------------------
       3. CHECKBOXES — PADRÃO PORTAL
       ------------------------------------------------------- */

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .check-filter{
        display:flex !important;
        align-items:center !important;
        gap:8px !important;

        min-height:42px !important;

        padding:5px 0 !important;
        margin:0 !important;

        font-size:12px !important;
        font-weight:800 !important;
        line-height:1.15 !important;

        color:#314d58 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .check-filter:has(input[name="mobiliado"]){
        grid-column:1 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .check-filter:has(input[name="financiamento"]){
        grid-column:2 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .check-filter input[type="checkbox"]{
        appearance:none !important;
        -webkit-appearance:none !important;

        width:23px !important;
        height:23px !important;
        min-width:23px !important;

        margin:0 !important;

        border:2px solid #b7c8ce !important;
        border-radius:7px !important;

        background:#fff !important;

        display:grid !important;
        place-content:center !important;

        cursor:pointer !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .check-filter input[type="checkbox"]::before{
        content:"" !important;

        width:11px !important;
        height:6px !important;

        border-left:2px solid #fff !important;
        border-bottom:2px solid #fff !important;

        transform:rotate(-45deg) scale(0) !important;
        transform-origin:center !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .check-filter input[type="checkbox"]:checked{
        background:#00b985 !important;
        border-color:#00b985 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .check-filter input[type="checkbox"]:checked::before{
        transform:rotate(-45deg) scale(1) !important;
    }


    /* -------------------------------------------------------
       4. AÇÕES ORIGINAIS DO FORMULÁRIO
       LIMPAR | APLICAR
       ------------------------------------------------------- */

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-clear{
        grid-column:1 !important;

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        height:48px !important;
        min-height:48px !important;

        margin:10px 0 0 !important;
        padding:0 10px !important;

        border:1px solid #d3e0e4 !important;
        border-radius:13px !important;

        background:#fff !important;
        color:#38535d !important;

        font-size:12px !important;
        font-weight:850 !important;

        text-decoration:none !important;
        box-shadow:none !important;

        order:1000 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-button{
        grid-column:2 !important;

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        height:48px !important;
        min-height:48px !important;

        margin:10px 0 0 !important;
        padding:0 10px !important;

        border:0 !important;
        border-radius:13px !important;

        background:#00bf73 !important;
        color:#fff !important;

        font-size:0 !important;
        font-weight:900 !important;

        box-shadow:none !important;

        order:1001 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-button::before{
        content:"Aplicar filtros" !important;

        font-size:12px !important;
        font-weight:900 !important;
        line-height:1 !important;

        color:#fff !important;
    }


    /* -------------------------------------------------------
       5. MATA QUALQUER RODAPÉ/BOTÃO DUPLICADO GERADO
       PELO MOBILE-APP.JS
       ------------------------------------------------------- */

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    > .filter-button,

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    > .filter-clear,

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    > .cd-filter-drawer-actions,

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    > .cd-filter-drawer-footer,

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    > .mobile-filter-actions,

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    > .mobile-filter-footer{
        display:none !important;
    }


    /* -------------------------------------------------------
       6. SELECT PREMIUM — ABRE ABAIXO DO CAMPO
       ------------------------------------------------------- */

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .cd-select{
        position:relative !important;
        width:100% !important;
        min-width:0 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .cd-select-menu{
        position:absolute !important;

        top:calc(100% + 5px) !important;
        right:0 !important;
        bottom:auto !important;
        left:0 !important;

        width:100% !important;
        max-width:none !important;
        max-height:230px !important;

        margin:0 !important;

        overflow-y:auto !important;
        overscroll-behavior:contain !important;

        border:1px solid #d6e2e6 !important;
        border-radius:13px !important;

        background:#fff !important;

        transform:none !important;

        box-shadow:0 14px 32px rgba(4,40,54,.14) !important;

        z-index:80 !important;
    }

    body:not(.admin-body) .filter-panel.cd-filter-drawer
    .cd-select.open{
        z-index:90 !important;
    }
}


/* =========================================================
   CANOINHAS DIGITAL — V1.0.24.24
   REMOVE SUBMIT ORIGINAL SOBREPOSTO NO DRAWER MOBILE
   ========================================================= */

@media (max-width:760px){

    /*
     * O mobile-app já fornece a ação "Aplicar filtros".
     * Portanto o Buscar original do formulário não deve
     * ocupar uma segunda linha dentro do drawer.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-button{
        display:none !important;
    }

    /*
     * Mantém a barra final compacta.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-actions,
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-footer{
        display:grid !important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
        gap:12px !important;
        width:100% !important;
    }
}


/* =========================================================
   CANOINHAS DIGITAL — V1.0.24.25
   RODAPÉ FINAL DOS FILTROS MOBILE
   [ APLICAR FILTROS ] [ LIMPAR ]
   ========================================================= */

@media (max-width:760px){

    /*
     * FORMULÁRIO:
     * transforma as duas ações REAIS em uma única linha.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll{
        display:grid !important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
        column-gap:12px !important;
    }


    /*
     * SUBMIT REAL.
     * NÃO removemos.
     * Apenas trocamos visualmente "Buscar"
     * por "Aplicar filtros".
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-button{

        grid-column:1 !important;

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        height:50px !important;
        min-height:50px !important;

        margin:12px 0 0 !important;
        padding:0 12px !important;

        border:0 !important;
        border-radius:13px !important;

        background:#00bf73 !important;
        color:#fff !important;

        font-size:0 !important;

        box-shadow:none !important;

        order:1000 !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-button::before{

        content:"Aplicar filtros" !important;

        display:block !important;

        color:#fff !important;

        font-size:13px !important;
        font-weight:900 !important;
        line-height:1 !important;
    }


    /*
     * LIMPAR — segunda coluna.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-clear{

        grid-column:2 !important;

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        height:50px !important;
        min-height:50px !important;

        margin:12px 0 0 !important;
        padding:0 12px !important;

        border:1px solid #d1dee2 !important;
        border-radius:13px !important;

        background:#fff !important;
        color:#38535d !important;

        font-size:13px !important;
        font-weight:850 !important;
        line-height:1 !important;

        text-decoration:none !important;
        box-shadow:none !important;

        order:1001 !important;
    }


    /*
     * ELIMINA SOMENTE AÇÕES ARTIFICIAIS/LEGADAS.
     * Não toca nas duas ações reais acima.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    > .filter-button,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    > .filter-clear,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    > .cd-filter-drawer-actions,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    > .cd-filter-drawer-footer,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    > .mobile-filter-actions,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    > .mobile-filter-footer{

        display:none !important;
    }
}


/* =========================================================
   CANOINHAS DIGITAL — V1.0.24.26
   FILTRO MOBILE — SOMENTE 2 AÇÕES
   ========================================================= */

@media (max-width:760px){

    /*
     * REMOVE DEFINITIVAMENTE O "BUSCAR" ORIGINAL
     * que está aparecendo acima das ações finais.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > button.filter-button,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > input.filter-button,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > input[type="submit"].filter-button{
        display:none !important;
    }


    /*
     * AÇÕES FINAIS GERADAS PELO MOBILE:
     * SOMENTE DUAS, LADO A LADO.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-actions,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-footer,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .mobile-filter-actions,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .mobile-filter-footer{
        display:grid !important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
        gap:12px !important;

        width:100% !important;

        margin:0 !important;
        padding:12px 20px max(16px,env(safe-area-inset-bottom)) !important;

        background:#fff !important;
        border-top:1px solid #e4ecef !important;
    }


    /*
     * APLICAR FILTROS
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-apply,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    [data-filter-apply]{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        min-height:50px !important;

        margin:0 !important;
        padding:0 10px !important;

        border:0 !important;
        border-radius:13px !important;

        background:#00bf73 !important;
        color:#fff !important;

        font-size:13px !important;
        font-weight:900 !important;
    }


    /*
     * LIMPAR FILTROS
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-reset,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    [data-filter-clear]{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        min-height:50px !important;

        margin:0 !important;
        padding:0 10px !important;

        border:1px solid #d2dfe3 !important;
        border-radius:13px !important;

        background:#fff !important;
        color:#294955 !important;

        font-size:13px !important;
        font-weight:850 !important;
    }
}


/* V1.0.24.26 — SOMENTE 2 BOTÕES NO FILTRO MOBILE */
@media (max-width:760px){

    /* some APENAS com o Buscar original */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-button{
        display:none !important;
    }

}

/* =========================================================
   CANOINHAS DIGITAL — V1.0.24.27
   AÇÕES FINAIS DO FILTRO MOBILE
   [ APLICAR FILTRO ] [ LIMPAR ]
   ========================================================= */

@media (max-width:760px){

    /* Submit original do formulário continua oculto */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .filter-button{
        display:none !important;
    }

    /*
     * Linha mobile criada pelo mobile-app.js.
     * Mantemos somente o botão funcional Aplicar filtro.
     * O botão Filtros dessa linha não pertence ao drawer.
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-mobile-row{
        display:contents !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-mobile-row .cd-filter-toggle{
        display:none !important;
    }

    /*
     * APLICAR FILTRO
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-mobile-row .cd-filter-submit{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        position:static !important;

        width:100% !important;
        height:50px !important;
        min-height:50px !important;

        margin:12px 0 0 !important;
        padding:0 12px !important;

        border:0 !important;
        border-radius:13px !important;

        background:#00bf73 !important;
        color:#fff !important;

        font-size:13px !important;
        font-weight:900 !important;
        line-height:1 !important;

        box-shadow:none !important;

        grid-column:1 !important;
        order:1000 !important;
    }

    /*
     * LIMPAR
     */
    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .filter-clear{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        height:50px !important;
        min-height:50px !important;

        margin:12px 0 0 !important;
        padding:0 12px !important;

        border:1px solid #d1dee2 !important;
        border-radius:13px !important;

        background:#fff !important;
        color:#38535d !important;

        font-size:13px !important;
        font-weight:850 !important;
        line-height:1 !important;

        text-decoration:none !important;
        box-shadow:none !important;

        grid-column:2 !important;
        order:1001 !important;
    }
}


/* =========================================================
   CANOINHAS DIGITAL — V1.0.25.9
   SUBMIT ORIGINAL DO FILTRO
   O motor artificial .cd-filter-submit não existe mais.
   O .filter-button original volta a ser a ação oficial.
   ========================================================= */

@media (max-width:760px){

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-button,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > button.filter-button,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > input.filter-button,

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > input[type="submit"].filter-button{

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        height:50px !important;
        min-height:50px !important;

        margin:12px 0 0 !important;
        padding:0 12px !important;

        border:0 !important;
        border-radius:13px !important;

        background:#00bf73 !important;
        color:#fff !important;

        font-size:0 !important;
        font-weight:900 !important;
        line-height:1 !important;

        box-shadow:none !important;

        order:1000 !important;
        grid-column:1 !important;

        transition:none !important;
        animation:none !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-button::before{

        content:"Aplicar filtros" !important;

        display:block !important;

        font-size:13px !important;
        font-weight:900 !important;
        line-height:1 !important;

        color:#fff !important;
    }

    body:not(.admin-body)
    .filter-panel.cd-filter-drawer
    .cd-filter-drawer-scroll > .filter-clear{

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:100% !important;
        height:50px !important;
        min-height:50px !important;

        margin:12px 0 0 !important;

        order:1001 !important;
        grid-column:2 !important;
    }
}

/* FIM V1.0.25.9 */
