/*hide pagination in search results until bug #37297 is fixed*/
.catalogsearch-result-index .products.wrapper~.toolbar .limiter{
    display:none !important;
}

/*mobile version*/
.page-header .amsearch-button.-loupe-trigger {
    margin: 0 10 0 0px
}

.pagebuilder-slide-wrapper {
    aspect-ratio: 2/1;
}

.amsearch-sku-block {
    padding-bottom: 0px !important;
}
.amsearch-product-stock {
    font-size: 1.2rem;
    color: #a5a5a5;
    padding-bottom: 5px;
}

/* ElasticSearch searchbox radius*/
.amsearch-input-wrapper .amsearch-input {
    border-radius: 25px;
}

.amsearch-products-section .amsearch-product-list {
    align-items: flex-end;
}

/* hide price in advanced search popup */
.amsearch-products-section .amsearch-wrapper-inner{
    visibility: hidden;
}
.amsearch-products-section .amsearch-wrapper-inner .actions-secondary{
    display: none;
}
.amsearch-result-section .product-item .product-item-details {
    margin-top: 0px;
}

.amsearch-result-section .amsearch-slider-section .amsearch-item .product-item {
    height: 100%;
}

.amsearch-result-section .amsearch-slider-section .slick-slide {
    vertical-align: bottom;
}

.amsearch-wrapper-inner .from-price {
    margin-right: 20px;
    font-size: 1.30rem;
    font-weight: 500;
    vertical-align: sub;
    display: inline-flex;
    white-space: nowrap;
}

.slick-slide .amsearch-wrapper-inner .from-price {
    vertical-align: unset;
}

.amsearch-wrapper-inner .from-price .price-wrapper{
    color:#e82b4f;
}

.amsearch-wrapper-inner .from-price .price-label{
    margin-inline-end: 5px;
}

.amsearch-wrapper-inner .price-final.price-final_price{
    display: none;
}

.amsearch-wrapper-inner .price-final_price .price-wrapper .price{
    color:#e82b4f !important;
    margin-inline-end: 10px !important;
}

.amsearch-products-section .product-item [data-role='priceBox']{
    padding-bottom: 5px;
}

.amsearch-products-section .product-item .weee [data-price-type='weee'] {
    padding-top: 2px !important;
    font-size: 1rem;
}

.amsearch-products-section .product-item .weee[data-price-type='weee']:before {
    line-height: unset;
}   

.amsearch-products-section .product-item .weee [data-price-type='weee'] .price {
    line-height: unset;
    font-size: unset;
}


.amsearch-products-section .amsearch-wrapper-inner .amasty-xsearch-form{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.amsearch-products-section .amsearch-wrapper-inner .amasty-xsearch-form .action.tocart.primary{
    flex: 1 1 20%;
    min-width: 60px;
    margin-top: 0px;
}
.amsearch-products-section .amsearch-wrapper-inner .amasty-xsearch-form .action.tocart.primary::before{
    width: 15px;
    height: 15px;
}

.amsearch-products-section .amsearch-wrapper-inner .amasty-xsearch-form .qty-box{
    flex: 1 1 40%;
    display: inline-flex;
    /*align-items: center; width: fit-content;*/
}
.amsearch-products-section .amsearch-wrapper-inner .amasty-xsearch-form .qty-box .increment-qty,
.amsearch-products-section .amsearch-wrapper-inner .amasty-xsearch-form .qty-box .decrement-qty{
    padding: 0px 10px;
    background:#838383;
    width: 25%;
    min-width: 25px;
    /*height: 25px;*/
    border: none;
    cursor: pointer;
}

.amsearch-products-section .amsearch-wrapper-inner .amasty-xsearch-form .qty-box .qty-text{
    text-align: center;
    width: 100%;
    min-width: 50px;
    /*height: 25px;*/
    margin: 0 3px;
}

.amsearch-wrapper-inner .product-item-actions{
    width: 100%;
}

.amsearch-wrapper-inner .product-item-actions .actions-primary .stock.unavailable{
    padding-top: 7px;
    padding-bottom: 8px;
    height: unset;
} 

/*
.amsearch-wrapper-inner .product-item-actions{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.amsearch-wrapper-inner .product-item-actions .actions-primary {
    margin-top: 35px;
    margin-top: auto;
    margin-bottom: 10px;
}
*/

/*hide set address as default billing*/
.form-address-edit .fieldset .-am-block .field.choice.set.billing{
    display:none;
}
/*hide name, VAT number, etc... from account information*/
.amasty-jet-theme .form-edit-account .fieldset{
    display:none;
}
.amasty-jet-theme .form-edit-account .fields.-am-block{
    display:none;
}
/*hide edit default billing and shipping address in address book*/
.amtheme-address-card .action{
    display: none;
}
/* 02/09/2022 Cookies static page, tables scroll fixed in mobile*/
@media(max-width: 680px){
    .amasty-jet-theme.cms-politica-cookies .sticky-padding .column.main table{
      display: block;
      overflow-x: auto;
      white-space: nowrap;
    }
    
    .amasty-jet-theme.cms-politica-cookies .sticky-padding .column.main table tbody{
      display: table;
      width: 100%;
    }
  } 
/*---------*/
.search-autocomplete{
	display: none !important;
}

.page-wrapper{
    font-size: 0.9em;
}
.dropdown-content {
    display: none;
    position: absolute;
    margin-top: 15px;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content p:first-child {
    margin-top: 1rem;
}
.dropdown-content p {
    color: black;
    padding: 12px 16px;
}
.dropdown-content p a{
    color: black;
    text-decoration: none;
    display: contents;
    font-weight: normal;
}
.dropdown-content p:hover {background-color: #ddd;}
/*Home title*/
.cms-home .page-title {
    display: none;
}
/*Product slider*/
.cms-home .amtheme-section-block.amtheme-products-grid .block-products-list .block-title{
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

/*Brands slider*/
.home-brands-block .widget.block.block-static-block{
    margin-bottom: 0;
}
.columns .main .home-brands-slider{
    background-color: #F6F6F6;
    padding: 50px 0 0 0;
    margin-top: 75px;
    margin-bottom: 0;
}
.am-widget-brand-slider{
    padding-bottom: 75px;
}
.amslider-header-container {
    padding: 5px 0;
}
.am-widget-brand-slider .am-slider-container .am-brand-slider{
    margin-bottom: 0;
}
.amslider.am-brand-slider .swiper-slide {
    margin-right: 5px !important;
}
.amslider.am-brand-slider .swiper-brand {
    background-color: white;
}
.home-brands-slider .amslider .swiper-pagination-bullet {
    margin: 0 6px;
    width: 10px;
    height: 10px;
    background: grey;
}
.home-brands-slider .amslider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #e82b4f;
}
.pages a.page{
    color: gray;
}
.no-button{
    min-height: 49px;
}
/*Register*/
.register-text{
    max-width: 440px;
    margin: 0 auto 25px;
}
/*Modal añadir producto al carrito*/
#confirmOverlay #confirmBox #messageBox a.added-item{
    color: #000;
}
#confirmOverlay #confirmBox #confirmButtons button {
    background-color: #fff;
    color: #000;
    box-shadow: none;
    text-decoration: underline;
}

#confirmOverlay #confirmBox #confirmButtons a.checkout{
    margin: 12px 30px;
    border-radius: 4px;
    background-color: #F61945;
    text-decoration: unset;
    width: calc(100% - 60px);
    color: #fff !important;
    padding: 13px 0px;
    font-weight: 500;
}
/* 404 page */
.custom-404-page .block-search.-header>.block-content{
    box-shadow: none;
}
/*Success message*/
div.message.success>*:first-child:before{
    content: none;
}
/*Privacy modal*/
.amgdpr-modal-container .modal-header h1.modal-title, 
.action.outline:hover, 
.modals-wrapper .modal-popup .modal-footer .action:not(.primary):not(.secondary):hover, 
.order-details-items>.actions-toolbar:first-child .action:hover {
    color: #e82b4f;
}
.amasty-jet-theme .amtheme-form .field label.amgdpr-label{
    color: black;
}
.modal-popup, .modal-slide{
    z-index: 10000;
}
/*Company Page*/
#html-body.category-empresa .page-main .columns{
    height: 0;
}
.logged-in .info-client{
    color: #FDC70F;
    text-decoration: underline;
    font-weight: bold;
}


@media(max-width: 767px){
    .am-widget-brand-slider .am-slider-container .am-brand-slider{
        max-width: 90vw !important;
    }
    /*hide recent searches in mobile*/
    .amsearch-result-section .amsearch-items-section{
        display: none;
    }
}
@media(min-width:768px){
    .cms-home .amtheme-section-block.amtheme-products-grid .block-products-list .block-title{
        font-size: 2.75rem;
    }
    .home-brands-slider, .shipment-banner{
        margin-right: -30px;
        margin-left: -30px;
    }
    .columns .main .home-brands-slider{
        padding: 50px 0;
    }
    .custom-404-page .pagebuilder-column-group{
        flex-direction: row-reverse;
    }
    .custom-404-page .custom-404-text{
        margin: 0;
    }
}

@media(min-width:1366px){
    .page-products:not(.category-empresa):not(.category-catalogos) .page-wrapper :is(#maincontent, .breadcrumbs){
        padding-left: 380px;
    }
    /*Home message*/
    .cms-home .messages {
        margin-left: 175px;
    }
}
@media(min-width:1440px){
    .page-products:not(.category-empresa):not(.category-catalogos) .page-wrapper :is(#maincontent, .breadcrumbs){
        padding-left: 410px;
    }
}
@media(min-width:2561px){
    .shipment-banner, .home-brands-slider{
        margin-right: -100%; 
        margin-left: -100%;
    }
}
.block-category-link {
    font-size: 1.5em;
}
.checkout-index-index .payment-option.opc-payment-additional.discount-code{
    display: none;
}
/*blog*/
.mpcss.post-view .post-view-image {
    display: none;
}

/*Webkul GDPR cookie popup*/
.modal-popup.cookie-block-modal.modal-slide._inner-scroll._show .modal-inner-wrap{
    width: unset;
}
.modal-custom .modal-inner-wrap, .modal-popup .modal-inner-wrap, .modal-slide .modal-inner-wrap {
    width: 75%;
}
.cookie_switch .slider_round {
    position: absolute !important;
}
.cookie_switch .slider_round:before {
    position: absolute !important;
    content: "" !important;
    height: 26px !important;
    width: 26px !important;
    left: 4px !important;
    bottom: 4px !important;
    background-color: white !important;
    -webkit-transition: .4s !important;
    transition: .4s !important;
    border-radius: 50px !important;
}
.cookie_switch_toggle .slider_round:after {
    content: none !important;
}

.cookie_switch .always_active:before {
    content: none !important;
}
.cookie_switch .always_active:after {
    content: none !important;
}
.cookie_switch .cookie_always_active:before {
    content: none !important;
}
.cookie_switch .cookie_always_active:after {
    content: none !important;
}

.page-header .header .whatsapp-number {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-weight: bold;
    font-size: 1em;
    gap: 10px;
    text-align: center;
    margin-bottom: 0;
}

.page-header .header .whatsapp-number svg {
    fill: #25d365;
    display: inline-block;
    height: 35px;
    width: 35px;
}

.footer .whatsapp-number {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer .whatsapp-number svg {
    display: inline-block;
    height: 18px;
    width: 18px;
    vertical-align: middle;
}

/*Force chat widget to stay behind cookie advice and barcode scanner*/
.cms-home #dbee1 {
    z-index: 10000 !important;
}