/* RESULTS PREVIEW */
@media (min-width: 1280px) {
    .page-header .header.content .amsearch-wrapper-block .amsearch-form-block.-opened{
        width: 1000px !important;
    }
}
.header.content .amsearch-wrapper-block .amsearch-form-block.-opened .amsearch-result-section .amsearch-items-section .amsearch-products-section .amsearch-product-list{
    padding-bottom: 75px;
}
.header.content .amsearch-wrapper-block .amsearch-form-block.-opened .amsearch-result-section .amsearch-items-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-wrapper-inner .price-box.price-final_price .special-price .price-container.price-final_price.tax.weee .price-label{
    display: none;
}
.header.content .amsearch-wrapper-block .amsearch-form-block.-opened .amsearch-result-section .amsearch-items-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-wrapper-inner .price-box.price-final_price .old-price .price-container.price-final_price.tax.weee .price-label{
    display: none;
}
.header.content .amsearch-wrapper-block .amsearch-form-block.-opened .amsearch-result-section .amsearch-items-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-wrapper-inner .price-box.price-final_price .special-price .price-container.price-final_price.tax.weee .price-wrapper .price{
    color: var(--oferta)
}
.header.content .amsearch-wrapper-block .amsearch-form-block.-opened .amsearch-result-section .amsearch-items-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-wrapper-inner .price-box.price-final_price .old-price .price-container.price-final_price.tax.weee .price-wrapper .price{
 color: var(---texto-light);
 font-weight: 600;
}
.header.content .amsearch-wrapper-block .amsearch-form-block.-opened .amsearch-result-section .amsearch-items-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-wrapper-inner .price-box{
    flex-direction: column-reverse;
}
@media (min-width: 769px) {
    .header.content .amsearch-wrapper-block .amsearch-form-block .amsearch-result-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-wrapper-inner .price-box.price-final_price .special-price .price-container.price-final_price.tax.weee .price-label{
        display: none;
    }
    .header.content .amsearch-wrapper-block .amsearch-form-block .amsearch-result-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-wrapper-inner .price-box.price-final_price .old-price .price-container.price-final_price.tax.weee .price-label{
        display: none;
    }
    .header.content .amsearch-wrapper-block .amsearch-form-block .amsearch-result-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-wrapper-inner .price-box.price-final_price .special-price .price-container.price-final_price.tax.weee .price-wrapper .price{
        color: var(--oferta)
    }
    .header.content .amsearch-wrapper-block .amsearch-form-block .amsearch-result-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-wrapper-inner .price-box.price-final_price .old-price .price-container.price-final_price.tax.weee .price-wrapper .price{
        color: var(---texto-light);
        font-weight: 600;
    }
    .header.content .amsearch-wrapper-block .amsearch-form-block .amsearch-result-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-wrapper-inner .price-box.price-final_price{
        flex-direction: column-reverse;
    }
}
.header.content .amsearch-wrapper-block .amsearch-form-block .amsearch-result-section .amsearch-products-section .amsearch-product-list .amsearch-item.product-item .amsearch-description.product.details.product-item-details .amsearch-link.product-item-link{
    font-size: 14px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    hyphens: none;
    height: 32px;
}

/* RESULTS PAGE */
.catalogsearch-result-index .page-wrapper #maincontent .columns .column.main .search.results .filters-button-container{
    display: none;
}
.catalogsearch-result-index .page-wrapper #maincontent .columns .sidebar.sidebar-main{
    display: none;
}
.catalogsearch-result-index .page-wrapper #maincontent .columns .column.main{
    width: 100%;
}

/* atribute tags*/
.catalogsearch-result-index .products.list.items.product-items .item.product.product-item{
    position: relative;
}
.catalogsearch-result-index .products.list.items.product-items .item.product.product-item .custom-tags-container{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: absolute;
    right: 5px;
    z-index: 2;
    gap: 5px;
    align-items: end;
    margin-right: 5px;
    margin-top: 5px;
}
.catalogsearch-result-index .products.list.items.product-items .item.product.product-item .custom-tags-container .new-product-label{
    background: #E1EAF2;
    color: var(--secundario);
    padding: 2px 9px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 5px 0px;
}

.catalogsearch-result-index .products.list.items.product-items .item.product.product-item .custom-tags-container .discount-label{
    background: #F6D6D6;
    color: var(--oferta);
    padding: 2px 9px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 5px 0px;
    width: fit-content;
}

.catalogsearch-result-index .products.list.items.product-items .item.product.product-item .custom-tags-container .promo-label{
    background: #FFF5DA;
    padding: 2px 9px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 5px 0px;
    width: fit-content;
    color: #FDB600;
}

/* images size */
.catalogsearch-result-index .products.wrapper.grid.products-grid .products.list.items.product-items .item.product.product-item .product-item-info .product.photo.product-item-photo .product-image-container .product-image-wrapper img.product-image-photo{
    max-width: 75%;
}

@media (max-width:768px){
    .catalogsearch-result-index .products.wrapper.grid.products-grid .products.list.items.product-items .item.product.product-item .product-item-info{
        border: 1px solid var(--bordes);
        border-radius: 5px;
        padding: 1px;
    }
    .catalogsearch-result-index .products.wrapper.grid.products-grid .products.list.items.product-items .item.product.product-item .product-item-info .product-item-details{
        padding: 5px;
    }
    .catalogsearch-result-index .products.wrapper.grid.products-grid .products.list.items.product-items .item.product.product-item{
        margin-bottom: 5px;
    }
}

/* pagination */
.catalogsearch-result-index .toolbar.toolbar-products .pages .items.pages-items .item.current strong{
    color: var(--primario);
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
}
.catalogsearch-result-index .toolbar.toolbar-products .pages .items.pages-items .item a.page span{
    color: var(--grisoscuro);
    font-size: 16px;
    font-weight: 500;
}
.catalogsearch-result-index .column.main .toolbar.toolbar-products .pages .items.pages-items .item.pages-item-next a.action.next, .catalog-category-view .column.main .toolbar.toolbar-products .pages .items.pages-items .item.pages-item-previous a.action.previous{
    border-radius: 5px;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.20);
    padding: 0;
}

/* Anchear y dar algo de aire al contenido */
.catalogsearch-result-index .product-item .product-item-info {
    width: 100%;
    padding: 10px;
}
.catalogsearch-result-index .product-item .product-item-info .product-image-container {
    width: 100%;
}
.catalogsearch-result-index .product-item .product-item-info .product.details.product-item-details .product-item-inner {
    height: 0px;
}
.catalogsearch-result-index .product-item-actions .actions-primary .action.tocart.primary {
    right: 10px;
    bottom: 15px;
}


.search.results .product-item-actions .actions-primary .action.tocart.primary {
    background: var(--yellowgradient);
    border: transparent;
    border-radius: 5px;
    position: absolute;
    right: 10px;
    bottom: 15px;
    height: 45px;
    font-weight: bold;
    color: #FFFFFF;
    z-index: 1;
}
.search.results .product-item-actions .actions-primary .action.tocart.primary::before {
    opacity: 1;
    content: url(/pub/media/icons/cartplus.svg);
    background: var(--yellowgradient);
    position: revert;

}

@media (min-width: 769px) {
    .search.results .product-item-actions .actions-primary .action.tocart.primary::before {
        display: none;
    }
}

@media (min-width: 400px) {
    .search.results .product-item-actions .actions-primary .action.tocart.primary {
        right: 10px;
        padding: 7px 15px;
    }
}

.search.results .product-item-actions .actions-primary .action.tocart.primary:hover::before {
    opacity: 1;
}
.search.results .product-item-actions .actions-primary .action.tocart.primary span{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 600;
}
.search.results .product-item-actions .actions-primary .action.tocart.primary span::before{
    content: url('/pub/media/icons/cartplus.svg');
}
@media (max-width: 768px) {
    .search.results .product-item-actions .actions-primary .action.tocart.primary::before{
        content: url('/pub/media/icons/cartplus.svg');
    }
    .search.results .product-item-actions .actions-primary .action.tocart.primary span{
        display: none;
    }
}