.contact-form{
    .wpforms-field-container{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;

        .wpforms-field{
            width: 100%;
        }

        .wpforms-field.wpforms-field-name,
        #wpforms-51-field_5-container{
            width: 48%;
        }

        .wpforms-field-label{
            font-size: 0.9rem;
            font-weight: 500;
        }
    }

    .wpforms-submit-container button[type="submit"]{
            width: 100%;
            font-family: "Montserrat";
            font-size: 0.9rem;
            height: 60px;
            background-color: var(--theme-palette-color-4) !important;
    }

}

footer{
    .wpr-nav-menu-horizontal ul{
        display: flex;
        flex-direction: column;
    }

    .copyright{
        font-size: 0.8rem;
    }

    @media screen and (max-width:767px){
        .wpr-mobile-nav-menu-container{
            display: none !important;
        }

        .wpr-nav-menu-horizontal{
            display: initial !important;
        }
    }
}

.filtros-grupo{
    position: sticky;
    top:15%;

    button{
        border-radius: 0px !important;
        font-size: 0.8rem !important;
        text-transform: uppercase !important;
    }
}

.woocommerce-shop .ct-sidebar,
.woocommerce-shop .ct-sidebar .ct-widget{
    min-height: 60svh;
}

#billing_nif_field{
    width:100%;
}

:root{
    --theme-button-background-initial-color: var(--theme-palette-color-4);
}

.ct-search-form-inner button[type="submit"]{
    color: var(--theme-palette-color-4);
}

@media (max-width:1000px){
    .post-type-archive-product aside.ct-hidden-md{
        display: initial !important;
    }
    
    .woocommerce-shop .ct-sidebar, .woocommerce-shop .ct-sidebar .ct-widget{
        min-height: 0;
    }
    
    #main .ct-container{
        display: flex;
        flex-direction: column-reverse;
    }
    
    #block-12{
        min-height: 100svh;
        width: 80svw;
        background-color: var(--theme-palette-color-6);
        z-index:999;
        position: fixed;
        top:0;
        left: -80vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.2s ease-in-out;
    }
    
    .filtros-grupo{
        position: relative;
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }
    
    .berocket_single_filter_widget .bapf_head h3{
        text-align: center;
    }
}

.close-filtros {
    background-color: var(--theme-palette-color-1);
    padding: 5px;
    border-radius: 20px;
  position: absolute;
  right: 10%;
  top: 10%;
  width: 33px;
  height: 33px;
  opacity: 1;
}

.close-filtros:before, .close-filtros:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 25px;
  width: 2px;
  background-color: var(--theme-palette-color-2);
}
.close-filtros:before {
  transform: rotate(45deg);
}
.close-filtros:after {
  transform: rotate(-45deg);
}

@media (min-width: 1001px){
    .close-filtros,
    #block-14{
        display: none;
    }
    
    .product-entry-wrapper:has(.woocommerce-product-gallery:not([data-gallery=top],[data-gallery=columns-top])) .entry-summary{
        width: 75% !important;
    }
}

#btn-filtros{
    padding: 5px 15px;
    color: var(--theme-palette-color-8);
    background-color: var(--theme-palette-color-4);
    
}