.product-container {
    background-color: #FFFFFF;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    height: 45vh;
}

.product-container a{
    font-family: 'Montserrat-BoldItalic';
}

.container-product-empty {
    margin: 0% 5%;
}

.img-inner {
    height: 33vh;
}

.img-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: out 250ms ease forwards;
}

.product-container:hover>.img-inner img {
    animation: in 800ms ease forwards;
    filter: drop-shadow(3px 16px 6px rgba(0, 0, 0, 0.6));
}

.info-inner,
.call-action {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.info-inner h4 {
    color: var(--primary-color);
    font-family: 'Montserrat-BoldItalic';
    font-size: 2rem;
    font-weight: bold;
}

.info-inner p {
    color: var(--barely-black);
    font-family: "Arial Narrow";
    letter-spacing: 2px;
    font-weight: bold;
    padding: 5px;
    margin: 0;
}

.info-inner {
    background-color: #FFFFFF;
    z-index: 9;
    position: relative;
}

.call-action {
    /*position: absolute;*/
    width: 100%;
    bottom: 0;
    cursor: pointer;
    z-index: -1;
    position: relative;
    opacity: 0;
}

.product-container:hover {
    transition: all 500ms;
    box-shadow: -1px -1px 35px 5px rgba(0, 0, 0, 0.21);
    -webkit-box-shadow: -1px -1px 35px 5px rgba(0, 0, 0, 0.21);
    -moz-box-shadow: -1px -1px 35px 5px rgba(0, 0, 0, 0.21);
}

.call-action h5 {
    color: #F1F1F1;
    padding: 25px 0;
    user-select: none;
}

.product-container:hover>.call-action {
    display: block;
    background-color: red !important;
}

.show-animation {
    transition: all 600ms;
    transform: translateY(0%);
    display: block;
    opacity: 1;
}

@keyframes in {
    from {
        transform: translateY(0%) scale(1);
    }

    to {
        transform: translateY(-10%) scale(1.05);
    }
}

@keyframes out {
    from {
        transform: translateY(-10%) scale(1.05);
    }

    to {
        transform: translateY(0%) scale(1);
    }
}

.quick-view-icon {
    display: none;
    position: absolute;
    right: 5%;
    top: 5%;
    background-color: #80808042;
    border-radius: 50%;
    padding: 1% !important;
    height: 8% !important;
    width: 8%!important;
    cursor: pointer;
    z-index: 1;
}

.product-container:hover .quick-view-icon {
    display: block;
}

/**
*   FILTER SECTION
 */

#products-container{
    padding: 0% 2%;
}

.products-container-all {
    display: flex;
    flex-wrap: wrap;
    width: 70%;
}

.pContainer {
    padding: 2%;
}

.filter {
    background-color: #FFFFFF;
    width: 15%;
    height: fit-content;
    left: 0;
    padding: 10px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 1;
}

.filter-options {
    position: relative;
    border-bottom: solid 1px #7b7b7b;
    padding-bottom: 20px;
}

.filter-options p {
    font-size: 16px;
    font-family: 'Montserrat-BoldItalic';
}

/* .filter-options .nav-filter {
    background-color: palevioletred;
} */

.filter-options .nav-filter .navF-item {
    border: solid 1px var(--barely-gray);
    margin: 5px 0;
    padding: 8px 13% 8px 8px;
    border-radius: 20px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.filter-options .nav-filter .navF-item::after {
    content: 'X';
    position: absolute;
    right: 10%;
    color: var(--barely-gray);
    /*    display: inline-block;*/
    /*    height: 90%;*/
    /*    width: 30px;*/
    /*    background-color: palevioletred;*/
    /*    right: 0;*/
}

.filter-options .clean-filter {
    font-size: 13px;
    color: var(--barely-gray);
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.filter .categories {
    display: none;
}

.filter .subcategories,
.filter .categories {
    border-bottom: solid 1px #7b7b7b;
}

.filter .subcategories,
.filter .categories,
.filter .brands{
    padding: 20px 10px 20px 20px;
}

.subcategories h5,
.categories h5,
.brands h5,
.filter p  {
    font-family: 'Montserrat-BoldItalic';
}

.filter form input, .filter form label{
    cursor: pointer;
}

.adContainer{
    width: 15%;
    flex-wrap: wrap;
    height: 100vh;
    top: 0;
    position: sticky;
}

@media (max-width:1400px) {
    .products-container-all {
        width: 60%;
    }

    .filter {
        width: 20%;
    }

    .adContainer{
        width: 20%;
    }

    .product-container {
        height: 50vh;
    }
}

@media (max-width:991px) {

    #products-by-category {
        padding: 1rem !important;
    }

    .products-container-all {
        width: 100%;
        order: 3;
    }

    .filter {
        order: 1;
        width: 100%;
        margin-bottom: 1rem;
    }

    .product-container {
        height: 35vh;
    }

    .info-inner h4 {
        font-size: 1.2rem;
    }

    .img-inner {
        height: 25vh;
    }

    .filter-options p {
        font-size: 2rem;
    }

    .filter-options .clean-filter {
        font-size: 1.2rem;
    }

    .subcategories h5,
    .brands h5 {
        font-size: 2rem;
    }

    .subcategories,
    .brands form {
        font-size: 1.2rem;
    }

    .call-action h5 {
        padding: 15px 0;
    }

    .filter-options {
        width: 100%;
        height: fit-content;
    }

    .subcategories {
        width: 100%;
        height: fit-content;
        margin-top: 10%;
    }

    .brands {
        width: 100%;
        height: fit-content;
        margin-top: 10%;
    }

    .filter span img {
        margin-left: 1%;
    }

    .filter p {
        margin-bottom: 0;
    }

    /* style modal */

    .modal.right .modal-dialog {
        z-index: 9999;
        position: fixed !important;
        margin: auto !important;
        width: 40% !important;
        height: 90% !important;
        -webkit-transform: translate3d(0%, 0, 0);
        -ms-transform: translate3d(0%, 0, 0);
        -o-transform: translate3d(0%, 0, 0);
        transform: translate3d(0%, 0, 0);
    }

    .modal.right .modal-content {
        height: 100% !important;
        overflow-y: auto !important;
    }

    .modal.right .modal-body {
        padding: 15px 15px 80px !important;
        position: relative !important;
        flex-wrap: wrap;
    }

    /*Right*/
    .modal.right.fade .modal-dialog {
        right: -40% !important;
        -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
        -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
        -o-transition: opacity 0.3s linear, right 0.3s ease-out;
        transition: opacity 0.3s linear, right 0.3s ease-out;
    }

    .modal.right.fade.show {
        align-items: center !important;
        display: flex !important;
    }

    .modal.right.fade.show .modal-dialog {
        right: 0 !important;
    }

    .modal-title {
        font-size: 3rem;
    }

    .adContainer{
        order: 2;
        position: relative;
        width: 100%;
        justify-content: space-around;
        height: fit-content;
        padding: 2% 0;
    }
    .adContainerMovil{
        order: 4;
    }
}

@media (max-width:450px) {

    .modal.right .modal-dialog {
        width: 50% !important;
    }

    .filter-options p {
        font-size: 1.2rem !important;
    }

    .filter-options .clean-filter {
        font-size: 0.8rem !important;
    }

    .subcategories h5,
    .brands h5 {
        font-size: 1.3rem;
    }

    .subcategories,
    .brands form {
        font-size: 1rem;
    }

    .product-container {
        height: 32vh;
    }

    .pContainer {
        margin-bottom: 2rem;
    }

    .img-inner {
        height: 20vh;
    }

    .info-inner h4,
    .info-inner p {
        font-size: 0.8rem;
    }
    
    .quick-view-icon {
        height: 8% !important;
        width: 12%!important;
    }

    .ad {
        width: 300px;
        height: 50px;
    }

    .ad-square{
        display: none;
    }

}

@media (max-width:350px) {

    .pContainer {
        width: 95% !important;
        height: 40vh;
    }

    .img-inner{
        height: 25vh;
    }
    .info-inner h4{
        margin: 0;
    }

    .subcategories h5,
    .brands h5 {
        font-size: 1.2rem !important;
    }

    .subcategories,
    .brands form {
        font-size: 0.8rem !important;
    }

    .filter-options p {
        font-size: 1rem !important;
    }

    .filter-options .clean-filter {
        font-size: 0.6rem !important;
    }

    .call-action h5 {
        font-size: 1rem;
    }

    .quick-view-icon{
        height: 14% !important;
    }
}