.page-products .page-main .wrapper-description {
    padding-bottom: 0;
    margin-bottom: 0;
}
.page-products .home-sku {
    margin-top: 7.5px;
    font-weight: normal;
}
.page-products .page-wrapper .page-main .columns :is(.main .toolbar .toolbar-sorter .amtheme-select-block, .sidebar-additional){
    display: block;
}
.page-products .page-wrapper .page-main .columns :is(.main .toolbar .toolbar-sorter .amtheme-select-block, .sidebar-additional){
    display: block;
}
/*Category filter*/
.category-filter{
    margin-bottom: 20px
}
.category-filter p{
    margin-bottom: 30px
}
.category-filter .category-filter-option div{
    margin-bottom: 15px;
    display: flex;
}
.category-filter .category-filter-option div::before{
    content: url(../../../../../../../pub/media/wysiwyg/bolita-roja-7.png);
    margin-right: 10px;
}
.custom-filter-title{
    display: none;
}
.category-filter .category-filter-button {
    display: flex;
    justify-content: space-between;
}
.category-filter .category-filter-button img{
    max-width: 15px;
}
.column.main .block.filter .filter-actions {
    border-top: 1px solid lightgrey;
}
.see-more-div{
    display: none;
}

@media(max-width:767px){
    #html-body.page-products .products.product-items .product-item:nth-child(-n + 2) {
        margin-top: 0;
    }
    #html-body.page-products .products.product-items>.product-item {
        margin: 0;
        width: 50%;
    }
    #html-body.page-products .product-item>.product-item-info {
        padding: 20px 15px;
    }
    #html-body.page-products .products-grid .price-box {
        margin-top: 7.5px;
    }
    #html-body.page-products .action.primary{
        padding: 10px 10px;
        font-size: smaller;
    }
    .category-filter .category-filter-option{
        padding: 10px 10px 0 10px;
        position: absolute;
        z-index: 100;
        background-color: white;
        width: -webkit-fill-available;
        width: -moz-available;
        box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
    }
    .category-filter-button{
        padding: 10px;
        border: 1px solid #f6f6f6;
        background-color: #f6f6f6;
        border-radius: 3px;
    }
    div.block.filter.filter-content,
    button.block.filter.amtheme-close{
        z-index: 999;
    }
    .product-item .action.tocart.primary {
        margin-top:5px;
    }
}
@media(min-width:768px){
    #html-body.page-products .main .products-grid .product-item-info .product-item-inner{
        position: static;
        width: auto;
        max-height: 100%;
        margin-top: 2px;
        padding: 0;
        border: none;
        border-radius: 0;
        overflow: inherit;
        opacity: 1;
        box-shadow: none;
    }
    .products-grid div.product-item-info:hover:after{
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    #html-body.page-products .home-sku {
        margin-top: 15px;
    }
    .catalog-category-view #maincontent{
        min-height: 625px;
    }
    #html-body.page-products .page-wrapper .page-main .columns{
        display: flex;
        justify-content: center;
        padding-top: 20px;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main{
        display: flex;
        flex-direction: column;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .amtheme-filter-action{
        display: none;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .filter{
        border-bottom: 1px solid lightgrey;
        padding-bottom: 7.5px;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .filter .filter-options{
        display: flex;
        flex-wrap: wrap;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .filter .filter-options .filter-options-content {
        position: absolute;
        background-color: white;
        z-index: 10;
        min-width: 150px;
        box-shadow: 3px 3px 10px rgb(0 0 0 / 20%);
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .filter .filter-options .filter-options-item{
        flex-basis: 33%;
    }
    .filter-options-item ol.items {
        overflow-y: auto;
        max-height: 450px;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .filter .filter-options .filter-options-title:after {
        right: 30px;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .top-toolbar{
        display: block;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .top-toolbar .toolbar-products {
        position: inherit;
        max-width: 100%;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .top-toolbar .toolbar-products .modes {
        display: none;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .top-toolbar .toolbar-products .sorter .sorter-action{
        display: none;
    }
        
    .custom-filter-title{
        display: block;
        font-size: 1.1em;
        font-weight: bold;
        margin-bottom: 5px;
    }
    .category-filter .category-filter-option{
        display: flex !important;
        flex-wrap: wrap
    }
    .category-filter .category-filter-option div{
        flex-basis: 28%; 
        margin-right: 5%;
    }
    .category-filter .category-filter-button{
        display: none;
    }
    .see-more-div{
        display: flex;
        justify-content: center;
    }
    .see-more-button{
        background: none;
        font-size: 1em;
    }
    .see-more-button:hover{
        background: none;
    }
    .actions .see-more-div .see-more-button:hover a{
        color: #e82b4f;
    }
    :is(.catalog-category-view, .catalogsearch-result-index, .ambrand-index-index) :is(.new-tag, .offer-tag){
        margin-top: 5px;
    }
    :is(.catalog-category-view, .catalogsearch-result-index, .ambrand-index-index) .action.primary{
        font-size: initial;
        width: 100%;
        margin-top: 5px;
    }
}
@media(min-width:1024px){
    #html-body.page-products .page-wrapper .page-main .columns .main .filter .filter-options .filter-options-item{
        flex-basis: 29%;
        margin-right: 4%;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .filter .filter-options .filter-options-title:after {
        right: 40px;
    }
    :is(.catalog-category-view, .catalogsearch-result-index, .ambrand-index-index) .action.primary{
        width: 100%;
        margin-top: 5px;
    }
}
@media(min-width:1440px){
    #html-body.page-products .page-wrapper .page-main .columns .main .filter .filter-options .filter-options-item{
        flex-basis: 21%;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .filter .filter-options .filter-options-title:after {
        right: 30px;
    }
    #html-body.page-products .main .products-grid .product-item { 
        width: calc(25% - 11.25px);
        margin: 0 15px 30px 0;
    }
    #html-body.page-products .page-wrapper .page-main .columns .main .products.grid .product-item:nth-child(4n), .form-wishlist-items .products-grid .product-item:nth-child(4n) {
        margin-right: 0;
    }
    #html-body.page-products .main .products.grid .product-item:nth-child(3n), .form-wishlist-items .products-grid .product-item:nth-child(3n) {
        margin-right: 15px;
    }
    .category-filter .category-filter-option div{
        flex-basis: 20%; 
        margin-right: 5%;
    }
}
.price-box>.minimal-price-link {
    margin-bottom: 10px;
}
.amtheme-select-block.-active{
    z-index: 8;
}
.product-item-details .price-box .old-price {
    width: 100%;
}
.product-item-details .price-box .old-price .price {
    font-size: 1.5rem !important;
}

.product-item-details .price-box .current-price {
    width: 100%;
}
.product-item-details .price-box .current-price .price {
    font-size: 2rem !important;
}

.product-item-details .price-box .minimal-price-link {
    width: 100%;
}
.product-item-details .price-box .minimal-price-link .price-final_price {
    /*justify-content: right;*/
}