@import url('./cdn/bootstrap.min.css');
@import url('./main.css');
@import url('./blocks/header.css');
@import url('./blocks/page-avto-grid.css');
@import url('./blocks/footer.css');

main .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.page__favorites {
    margin-bottom: 6.25rem;
}
.page__title {
    color: var(--Black_titles, #191A26);
    line-height: 1.2;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 2.5rem 0 1.75rem;
}
.page_favorites__wrapper {
    gap: 1.5rem 0;
}
.grid_product__cart__body {
    width: min(312px, 100%);
    margin: 0 auto;
}
.loading {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.loading.wait {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}
.loading span {
    display: block;
    width: 1rem;
    height: 1rem;
    background-color: #FFF;
    border-radius: 50%;
}
.loading span {
    animation: bounce 0.5s ease infinite;
}
.loading span:nth-child(2) {
    animation-delay: 0.15s;
}
.loading span:nth-child(3) {
    animation-delay: 0.3s;
}
@keyframes bounce {
    0% {transform: translateY(0%);}
    50% { transform: translateY(100%); }
    100% { transform: translateY(0%); }
}
.products-not-found {
    margin-top: 5.5rem;
    color: var(--Black_titles, #191A26);
    gap: 0;
}
.favorites-products-not-found {
    font-size: 1.75rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 3rem;
}
.not-found.cta_btn_link {
    margin: 0 auto;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    width: min(221px, 100%);
}
@media screen and ( max-width: 991px ) {
    body {
        background-color: var(--Background, #F4F6F9);
    }
}
@media screen and ( min-width: 992px ) {
    .page__title {
        font-size: 2rem;
        margin: 3.75rem 0;
    }
    .page__favorites {
        margin-bottom: 16.25rem;
    }
    .products-not-found {
        min-height: 320px;
        gap: 0;
        flex-direction: column;
        justify-content: center;
        background-image: url( '/wp-content/themes/GrandCar/assets/pictures/favorites-bg.png' );
        background-position: right center;
        background-repeat: no-repeat;
    }
    .favorites-products-not-found {
        font-size: 3.25rem;
        width: min(785px, 100%);
        text-align: left;
    }
    .not-found.cta_btn_link {
        margin-left: 0.75rem;
    }
}