/* ALL BRANDS PAGE */
.cms-marcas .page-wrapper #maincontent .columns .sidebar.sidebar-additional{
    display: none;
}
.cms-marcas .page-wrapper #maincontent .page-main .columns .column.main{
    width: 100%;
}
.cms-marcas #maincontent .columns .sidebar.sidebar-additional{
    display: none;
}
.cms-marcas #maincontent .columns .column.main{
    width: 100%;
}
/* INDIVIDUAL BRAND PAGE */
/* cat title */
.ambrand-index-index .page-wrapper .page-main{
    overflow: hidden;
}
.ambrand-index-index .page-title-wrapper{
    display: flex;
    flex-direction: column;
}
.ambrand-index-index .page-title-wrapper .page-title{
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}
@media (min-width: 769px) {
    .ambrand-index-index .page-main .page-title-wrapper .subcategories-container{
        margin-left: 19%;
        height: 100px;
        width: 83.33333333%;
    }
}
@media (max-width: 1299px) {
    .ambrand-index-index .page-wrapper .page-main .page-title-wrapper .subcategories-container ul{
        padding-right: 30px;
        padding-bottom: 0;
    }
}
@media (min-width: 1300px){
    .ambrand-index-index .page-wrapper .page-main .page-title-wrapper .subcategories-container{
        height: fit-content;
    }
    .ambrand-index-index .page-wrapper .page-main .page-title-wrapper .subcategories-container ul{
        flex-wrap: wrap;
        height: fit-content;
    }
}
/* hide cat image */
.ambrand-index-index .page-wrapper #maincontent .category-view{
    display: none;
}
/* custom subcats */
.ambrand-index-index .page-title-wrapper .subcategories-container{
    position: relative;
    height: 72px;
    width: 100vw;
    max-width: 1440px !important;
}
.ambrand-index-index .page-title-wrapper .subcategories-container ul{
    list-style: none;
    padding-left: 0;
    overflow: scroll;
    display: flex;
    gap: 10px;
}
@media (max-width: 768px) {
    .ambrand-index-index .page-title-wrapper .subcategories-container{
        left: -15px;
        height: 40px !important;
    }
    .ambrand-index-index .page-title-wrapper .subcategories-container ul{
        padding-left: 15px;
    }

}
/* HIDE SCROLLBARS  */
/* Chrome, Safari, Opera */
.ambrand-index-index .page-title-wrapper .subcategories-container ul{
    scrollbar-width: none;
}
/* Firefox */
.ambrand-index-index .page-title-wrapper .subcategories-container ul::-webkit-scrollbar{
    display: none;
}
/* IE, Edge */
.ambrand-index-index .page-title-wrapper .subcategories-container ul{
    -ms-overflow-style: none;
}

.ambrand-index-index .page-title-wrapper .subcategories-container ul li{
    padding: 10px 2px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-bottom: 9px;
    padding-top: 8px;
    width: fit-content;
    border-radius: 10px;
    background: var(--bluegradient);
    height: 20px;
}
.ambrand-index-index .page-title-wrapper .subcategories-container ul li a{
    color: var(--primario);
    font-size: 14px;
    font-weight: 600;
    background: white;
    margin-bottom: 0;
    border-radius: 8px;
    padding: 8px;
    white-space: nowrap;
}

/* images size */
.ambrand-index-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%;
}
/* add button */
.cms-marcas .product-item-actions .actions-primary .action.tocart.primary{
    background: var(--yellowgradient);
    border: transparent;
    border-radius: 5px;
    z-index: 1;
}
@media(min-width: 1201px){
    .cms-marcas .product-item-actions .actions-primary .action.tocart.primary::before{
        position: absolute;
        content: '';
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: var(--yellowgradient-inverted);
        z-index: -1;
        transition: opacity 0.5s linear;
        opacity: 0;
        border-radius: 5px;
    }
    .cms-marcas .product-item-actions .actions-primary .action.tocart.primary:hover::before{
        opacity: 1;
    }
}
.cms-marcas .product-item-actions .actions-primary .action.tocart.primary span{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 600;
}
.cms-marcas .product-item-actions .actions-primary .action.tocart.primary span::before{
    content: url('/pub/media/icons/cartplus.svg');
}
.cms-marcas .product-item-actions .actions-primary .action.tocart.primary{
    position: absolute;
    right: 0;
    bottom: 23px;
    height: 45px;
}
@media (max-width:640px){
    .cms-marcas .product-item-actions .actions-primary .action.tocart.primary{
        position: absolute;
        right: 5px;
        bottom: 4px;
        height: 45px;
    }
}
@media (max-width: 1200px) {
    .cms-marcas .product-item-actions .actions-primary .action.tocart.primary::before{
        content: url('/pub/media/icons/cartplus.svg');
    }
    .cms-marcas .product-item-actions .actions-primary .action.tocart.primary span{
        display: none !important;
    }
}
/* ratting */
 .product-item .product-item-info .product-item-details{
    display: flex;
    flex-direction: column;
}
 .product-item .product-item-info .product-item-details .product-reviews-summary{
    order: -1;
    margin: 0;
    margin-left: 0px;
    height: 28px;
    margin-left: 5px;
    position: absolute;
    bottom: 135px;
}
 .product-item .product-item-info .product-item-details .product-reviews-summary .rating-summary .rating-result span::before{
    color: #FFD977;
}
  .product-item .product-item-info .product-item-details .empty-reviews{
    height: 28px;
}
  .product-item .product-item-info .product-item-details .product-reviews-summary .reviews-actions{
    display: none;
}
/* fav button */
 .product-item .product-item-info{
    position: relative;
}
 .product-item-actions .actions-secondary{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
 .product-item-actions .actions-secondary .action.towishlist::before{
    content: url('/pub/media/icons/favIcon.svg') !important;
}
/* name */
 .product-item-info .product-item-details .product-item-name .product-item-link{
    color: var(--grisoscuro);
    font-size: 16px;
    font-weight: 600; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    hyphens: none;
    height: 46px;
}
 .product-item-info .product-item-details .product-item-name .product-item-link:hover{
    text-decoration: none;
}
/* prices */
.product-item .product-item-info .product-item-details .price-final_price .price-container .price-wrapper .price{
    color: var(--oferta);
    font-size: 16px;
    font-weight: 600;
}
.product-item .product-item-info .product-item-details .price-label{
    display: none;
}
.product-item .product-item-info .product-item-details .price-box.price-final_price{
    display: flex;
    flex-direction: column-reverse;
    width: fit-content;
    margin-bottom: 0px;
    height: 50px;
    justify-content: flex-end;
}
.product-item .product-item-info .product-item-details .price-box.price-final_price .old-price .price-container.price-final_price .price-wrapper .price{
    color: var(--texto-light, #777);
    font-size: 16px;
    font-weight: 500; 
}

/* CATEGORY TITLE/ICON */
.ambrand-index-index .page-wrapper > .category-view{
    display: none;
}

/* SIDEBAR ADDITIONAL - WISH LIST */
.ambrand-index-index .page-wrapper main#maincontent.page-main .columns .sidebar.sidebar-additional{
    display: none;
}

/* ITEMS BORDER MOBILE */
@media (max-width:768px){
    .ambrand-index-index .column.main .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;
    }
    .ambrand-index-index .column.main .products.wrapper.grid.products-grid .products.list.items.product-items .item.product.product-item .product-item-info .product-item-details{
        padding: 5px;
    }
    .ambrand-index-index .column.main .products.wrapper.grid.products-grid .products.list.items.product-items .item.product.product-item{
        margin-bottom: 5px;
    }

}
@media (min-width: 640px) and (max-width:768px){
    .product-item-actions .actions-primary .action.tocart.primary{
        bottom: 25px;
        right: 10px;
    }
}

/* ATTRIBUTE TAGS  */
.ambrand-index-index .products.list.items.product-items .item.product.product-item{
    position: relative;
}
@media (min-width: 769px){
    .ambrand-index-index .products.list.items.product-items .item.product.product-item{
        margin: 0 20px;
    }
}

.ambrand-index-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;
}
.ambrand-index-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;
}

.ambrand-index-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;
}

.ambrand-index-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;
}

/* PAGINATION */
.ambrand-index-index .toolbar.toolbar-products .pages .items.pages-items .item.current strong{
    color: var(--primario);
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
}
.ambrand-index-index .toolbar.toolbar-products .pages .items.pages-items .item a.page span{
    color: var(--grisoscuro);
    font-size: 16px;
    font-weight: 500;
}
.ambrand-index-index .column.main .toolbar.toolbar-products .pages .items.pages-items .item.pages-item-next a.action.next, .ambrand-index-index .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;
}


/* -------------------------------- */

/* INDIVIDUAL BRAND PAGE CUSTOM FILTERS */

/* layout */
.ambrand-index-index .block.filter .block-title.filter-title{
    display: none;
}
/* @media (max-width: 768px) { */
    .ambrand-index-index .block.filter{
        color: var(--text);
        background-color: #ffffff;
        font-size: 16px;
        position: fixed;
        width: 100vw;
        left: -120%;
        bottom: 0;
        overflow-y: scroll;
        overflow-x: hidden;
        height: 100dvh;
        transition: left 0.5s ease-in-out;
        max-width: 400px;
        top: 0;
        clip-path: inset(0px -80px 0px 0px);
        padding: 20px;
        z-index: 3;
        box-sizing: border-box;
    }

    .ambrand-index-index .block.filter.block-box-shadow {
        box-shadow: 0 0 70px rgba(0,0,0,0.75);
    }
/* } */
/* @media (min-width: 769px) { */
    /* .ambrand-index-index .block.filter .block-content.filter-content .block-sorter{
        display: none;
    } */
    .ambrand-index-index .block.filter .block-content.filter-content strong.block-subtitle.filter-subtitle {
        text-align: left;
        color: var(--grisoscuro) !important;
        font-size: 14px !important;
        font-weight: 600 !important;;
        margin-bottom: 30px !important;;
    }
/* } */

/* button block*/
.ambrand-index-index .block.filter .block-content.filter-content .block-sorter .toolbar.toolbar-products{
    padding: 0;
}
.ambrand-index-index .block.filter .block-content.filter-content .block-sorter .toolbar.toolbar-products .opened-filters-button-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bordes);
}
.ambrand-index-index .block.filter .block-content.filter-content .block-sorter .toolbar.toolbar-products .opened-filters-button-container p{
    margin-bottom: 0;
    color: var(--grisoscuro);
    font-size: 16px;
    font-weight: 700; 
    margin-left: 15px;
}
.ambrand-index-index .block.filter .block-content.filter-content .block-sorter .toolbar.toolbar-products .opened-filters-button-container button{
    border: none;
    background: none;
}
.ambrand-index-index .block.filter .block-content.filter-content .block-sorter .toolbar.toolbar-products .opened-filters-button-container button:active{
    box-shadow: none;
    border: none;
    background: none;
}

/* sorter */
.ambrand-index-index .page-wrapper .column.main .toolbar.toolbar-products #toolbar-amount.toolbar-amount{
    color: var(--texto-light);
    font-size: 14px;
    font-weight: 400;
}
.ambrand-index-index .page-wrapper #maincontent.page-main .toolbar.toolbar-products .toolbar-sorter.sorter label.sorter-label{
    color: var(--texto-light);
    font-size: 14px;
    font-weight: 400;
}
.ambrand-index-index .block.filter .block-content.filter-content .block-sorter .toolbar.toolbar-products .toolbar-sorter.sorter{
    display: flex;
    float: unset;
    margin-top: 30px;
    flex-direction: column;
    padding-bottom: 20px
}
.ambrand-index-index .block.filter .block-content.filter-content .block-sorter .toolbar.toolbar-products .toolbar-sorter.sorter label{
    text-align: left;
    color: var(--texto-light);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
}
.ambrand-index-index .block.filter .block-content.filter-content .block-sorter .toolbar.toolbar-products .toolbar-sorter.sorter select{
    margin-left: 0;
    border: 1px solid var(--bordes);
    border-radius: 5px;
}
.ambrand-index-index .block.filter .block-content.filter-content .block-sorter .toolbar.toolbar-products .toolbar-sorter.sorter .sorter-action{
    display: none !important;
}
/* sorter desktop */
.ambrand-index-index .toolbar.toolbar-products .toolbar-sorter.sorter label.sorter-label{
    color: var(--grisoscuro);
    font-size: 16px;
    font-weight: 700; 
}
.ambrand-index-index .toolbar.toolbar-products .toolbar-sorter.sorter #sorter.sorter-options{
    border: 1px solid var(--bordes);
    border-radius: 5px;
    width: 250px;
}

/* options */
.ambrand-index-index .block.filter .block-content.filter-content strong.block-subtitle.filter-subtitle{
    text-align: left;
    color: var(--texto-light);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 15px;
}
.ambrand-index-index .block.filter .block-content.filter-content dl#narrow-by-list.filter-options dt.filter-options-title{
    font-size: 14px;
    font-weight: 700;
    color: var(--grisoscuro);
    border-bottom: 1px solid var(--bordes);
    padding-bottom: 5px;
}
.ambrand-index-index .block.filter .block-content.filter-content .filter-options .filter-options-content .items .item a{
    color: var(--grisoscuro);
    font-size: 14px;
    font-weight: 400;
}

/* DESKTOP SORTER HIDE/SHOW */
@media (max-width: 768px) {
    .ambrand-index-index .column.main .toolbar.toolbar-products{
        margin-bottom: 0;
    }
    .ambrand-index-index .page-wrapper .column.main > .toolbar.toolbar-products p#toolbar-amount.toolbar-amount{
        float: left;
        position: relative;
        top: 85px;
    }
    /* .ambrand-index-index  .column.main > .toolbar.toolbar-products{
        margin-bottom: 0;
        position: absolute;
        top: 50px;
    } */
    .ambrand-index-index  .column.main > .toolbar.toolbar-products .toolbar-sorter{
        display: none;
    }
    .ambrand-index-index .page-wrapper #maincontent.page-main .column.main .filters-button-container{
        margin-bottom: 50px;
    }
}

/* FILTERS CATEGORY BUTTON */
.ambrand-index-index .filters-button-container{
    display: flex;
    justify-content: center;
}
@media (min-width: 769px) {
    .ambrand-index-index .filters-button-container{
        justify-content: right;
        justify-content: left;
        padding-right: 40px;
        margin-bottom: 60px;
    }
}
.ambrand-index-index .filters-button-container #category-filters-button.filters-button{
    background: var(--bluegradient);
    display: flex;
    border: none;
    border-radius: 5px;
    width: 300px;
    align-items: center;
    gap: 10px;
    height: 45px;
}
.ambrand-index-index .filters-button-container #category-filters-button.filters-button p{
    margin-bottom: 0;
    color: var(--blanco-transparencia);
    font-size: 16px;
    font-weight: 700; 
}


/* FILTER ATTRIBUTE CONTAINER */
.ambrand-index-index .block.filter .block-content.filter-content .filter-options dd.filter-options-content.price{
    max-height: unset !important;
}
.ambrand-index-index .block.filter .block-content.filter-content .filter-options dd.filter-options-content:not(.toggled){
    max-height: 105px;
    overflow-y: hidden;
    margin-bottom: 10px;
}
@media (min-width:769px){
    .ambrand-index-index .block.filter .block-content.filter-content .filter-options dd.filter-options-content:not(.toggled){
        max-height: 115px;
    }
}

/* FILTERS BUTTON */
.ambrand-index-index .block-content.filter-content #narrow-by-list.filter-options button.see-more{
    width: 100%;
    margin-bottom: 20px;
    font-size: 14px;
    background: none;
    border: none;
    text-align: left;
    padding-left: 0;
    color: var(--secundario);
    text-transform: lowercase;
}
.ambrand-index-index .block-content.filter-content #narrow-by-list.filter-options button.see-more:active{
    box-shadow: none;
}

.ambrand-index-index .block.filter .block-content.filter-content .filter-options .filter-options-content ~ .see-more::after{
    content:url('/pub/media/icons/filters/arrow-down-filters.svg');
    padding-left: 5px;
    position: relative;
    top:1px;
}
.ambrand-index-index .block.filter .block-content.filter-content .filter-options .filter-options-content.toggled ~ .see-more::after{
    content:url('/pub/media/icons/filters/arrow-up-filters.svg');
    padding-left: 5px;
    position: relative;
    top:1px;
}

/* FILTERS BUTTON DESKTOP FIX (NO LAYOUT 2 COLUMNS) */
@media (min-width: 769px) {
    .ambrand-index-index .page-wrapper #maincontent .columns .column.main .filters-button-container{
        position: absolute;
        top: 103px;
        /* right: 360px; */
        left: 0;
    }
    .ambrand-index-index .page-wrapper #maincontent .columns .column.main .toolbar.toolbar-products #toolbar-amount{
        margin-left: 140px;
    }
    .ambrand-index-index .page-wrapper #maincontent .page-title-wrapper .subcategories-container{
        width: 100%;
        margin-left: 0;
    }
    .ambrand-index-index .page-wrapper #maincontent .columns .column.main #category-filters-button{
        width: fit-content;
        height: 33px;
    }
    .ambrand-index-index .filters-button-container #category-filters-button.filters-button p{
        font-size: 14px;
        font-weight: 600; 
    }
    #category-filters-button > :nth-child(3),#category-filters-button > :nth-child(4),#category-filters-button > :nth-child(5){
        display: none;
    }
}
@media (min-width: 1299px) {
    .ambrand-index-index .page-wrapper .page-main .page-title-wrapper .subcategories-container ul{
        justify-content: center;
    }
    .ambrand-index-index .page-wrapper #maincontent .columns .column.main .filters-button-container{
        top: 131px;
        /* top: 14.5%; */
    }
}


/* add button */
.ambrand-index-index .product-item-actions .actions-primary .action.tocart.primary{
    background: var(--yellowgradient);
    border: transparent;
    border-radius: 5px;
    z-index: 1;
}

@media(min-width: 1201px){
    .ambrand-index-index .product-item-actions .actions-primary .action.tocart.primary::before{
        position: absolute;
        content: '';
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: var(--yellowgradient-inverted);
        z-index: -1;
        transition: opacity 0.5s linear;
        opacity: 0;
        border-radius: 5px;
    }
    .ambrand-index-index .product-item-actions .actions-primary .action.tocart.primary:hover::before{
        opacity: 1;
    }
}
.ambrand-index-index .product-item-actions .actions-primary .action.tocart.primary span{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 600;
}
.ambrand-index-index .product-item-actions .actions-primary .action.tocart.primary span::before{
    content: url('/pub/media/icons/cartplus.svg');
}
    .ambrand-index-index .product-item-actions .actions-primary .action.tocart.primary{
    position: absolute;
    right: 10px;
    bottom: 14px;
    height: 45px;
}
@media (max-width:640px){
    .ambrand-index-index .product-item-actions .actions-primary .action.tocart.primary{
        position: absolute;
        right: 5px;
        bottom: 4px;
        height: 45px;
    }
}
@media (max-width: 1200px) {
    .ambrand-index-index .product-item-actions .actions-primary .action.tocart.primary::before{
        content: url('/pub/media/icons/cartplus.svg');
    }
    .ambrand-index-index .product-item-actions .actions-primary .action.tocart.primary span{
        display: none !important;
    }
}

/* Anchear y dar algo de aire al contenido */
.ambrand-index-index .product-item .product-item-info {
    width: 100%;
    padding: 10px;
}
.ambrand-index-index .product-item .product-item-info .product-image-container {
    width: 100%;
}
.ambrand-index-index .product-item .product-item-info .product.details.product-item-details .product-item-inner {
    height: 0px;
}