/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* General */
body#product.modal-open .modal-backdrop.show
{
    display:none;
}
.modal.js-iqitsizecharts-modal.show{
    background: rgba(194, 194, 194, 0.6);
}
#header .container, #checkout-header .container {
    max-width: 100%;
}

.product-flags .product-flag.new {
    /*display: none;*/
}
.block-categories li, .product-miniature-default, .product-miniature-default .thumbnail-container{
    max-width: 305px;
    margin: auto;
}
.max-qty-stk {
    max-width: 45px;
}

/* Categories */

body#category #inner-wrapper {
    min-width: 100%;
}

.js-product-miniature-wrapper .cartMultiple .btn-ajax-cdc {
    color: #fff;
    width: 100%;
}

#facets_search_wrapper .block-title {
    border-bottom: none;
}

.cartMultiple input[type=number]::-webkit-inner-spin-button, .cartMultiple input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: revert;
    margin: revert;
}

.product-miniature-list span.product-price {
    color: #000;
    display: block;
    font-size: 14px;
    font-weight: 300;
}

.product-flags.extra {
    position: relative;
    top: 0;
    left: 0;
}

.product-flags.extra .product-flag.discount {
    float: right;
}

.product-flag.discount {
    background: #000000 !important;
}

/* Checkout */

#checkout #delivery_serie #serie {
    max-width: 250px;
}

/* Propuestas */

#module-lbprogramaciones-propuestasdetail .btn-ajax-cdc i {
    color: #FFFFFF;
}

#module-lbprogramaciones-propuestasdetail .thumbnail-container .product-flags {
    display: none;
}

.btn.btn-ajax-cart.btn-ajax-cdc-all {
    color: white;
}


/* AJUSTES AMAZZING FILTER */
#amazzing_filter .af_filter {
    margin-bottom: 20px !important;
    border-bottom: none !important;
    
}


#amazzing_filter  h2, #amazzing_filter .selectedFilters {
    display: none;
}

#amazzing_filter h5 {
    font-size: 15px !important;
    font-weight: 700;
}

#amazzing_filter h2, #amazzing_filter .af_filter * {
    color: #012C47 !important;
}

.af_filter ul  {
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    font-size: 13px !important;
    padding: 0px 0px 0px 0px !important;
    
}

.af_filter ul li {
    margin-top: 10px !important;
    float:  left !important;
    width:  100% !important;
    padding: 0px 0px 0px 0px !important;
}

#left-column .block, #right-column .block {
    box-shadow: none;
    background: none;
}

body#module-iqitsearch-searchiqit #inner-wrapper, body#manufacturer #inner-wrapper {
    min-width: 100%;
}



.btn-filter {
    display: none;
    border: 1px solid #000000;
    background: #000000;
    color: #ffffff !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    height: 28px !important;
    margin-left: 10px;
}

.btn-filter i {
    margin-right: 8px;
}

#amazzing_filter .compact-toggle {
    display: none !important;
}

@media (min-width:  0px) and (max-width:  768px) {
    
    

    .btn-filter {
        display: inherit !important;
        /*float: left !important;
        margin-right: 105px !important;*/
    }

    
}

/* CAMBIAR ETIQUETAS */
.no-stock {
    background: #000000 !important;
}

.card-body.cart-summary-totals .elementor-displayProductAdditionalInfo,
#js-checkout-summary .elementor-displayProductAdditionalInfo{
    margin-top:20px;
    margin-left:-18px;
    margin-right:-17px;
    margin-bottom: -18px;
}

/* HEADER */
.header-nav .right-nav{
    align-items: center;
    display: flex;
    justify-content: flex-end;
}
.header-nav .left-nav{
    display:flex;
}
@media(max-width:400px){
    .header-nav .center-nav{
        display:none;
    }
    .header-nav .left-nav{
        padding-right: 0;
        padding-left: 5px;
    }
    .header-nav .right-nav{
        padding-left: 0;
        padding-right: 5px;
    }
    #header .header-nav .social-links._topbar{
        position: relative;
        top: -2px;
    }
}
/* HEADER V2 CRO SEARCH */
.desktop-header-style-w-2 .header-top{
    padding-top: 7px;
    padding-bottom: 7px;
    border-bottom: 1px solid #777777;
}
.desktop-header-style-w-2 #search_widget input[name="s"]{
    padding: 7px 12px;
    border-radius: 2px;
}
.desktop-header-style-w-2 .iqit-megamenu-container{
    padding: 7px 0;
}
.mobile-header-style-1 .new-bar-search{
    padding-bottom: 9px;
}
#search_widget {
    max-width: 600px;
}
#search_widget .input-group{
    justify-content: center;
}

/* FIN HEADER V2 CRO SEARCH */

.product-variants .input-container.attribute-not-in-stock .radio-label{
    color: #ccc;    
    background:
        linear-gradient(to top right, transparent 48.5%, #ddd 48.5%, #ddd 51.5%, transparent 51.5%),
        linear-gradient(to bottom right, transparent 48.5%, #ddd 48.5%, #ddd 51.5%, transparent 51.5%);
}
.product-variants .input-container:not(.attribute-not-in-stock) input:checked + .radio-label{
    font-weight: 600;
}