.main__about {
    padding-top: 100px;
}

.main__gallery {
    padding-top: 100px;
}

.main__tastes {
    margin-top: 100px;
    padding-top: 14px;
}

.main__news {
    padding-top: 100px;
}

.main__catalog {
    padding-top: 100px;
}

.main__reviews {
    padding-top: 100px;
    padding-bottom: 100px;
}

.block__mini-img {
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.block__mini-img img {
    width: 100%;
    height: 100%;
    border-radius: 15px 15px 0 0;
    transition-duration: .8s;
}

.block__mini-content {
    background-color: #F9F1ED;
    padding: 30px 20px;
    border-radius: 0 0 15px 15px;
    position: relative;
}

.block__mini-content::after {
    content: "";
    background: url("/static/images/icons/arrow-right.svg");
    width: 35px;
    height: 35px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition-duration: .6s;
}

/*---------------------------------------ABOUT---------------------------------------*/
/*---------------------------------------ABOUT---------------------------------------*/

.about__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__title {
    margin-bottom: 50px;
}

.about__text {
    color: #7C777D;
    font-size: 22px;
    max-width: 770px;
    text-align: center;
    margin-bottom: 50px;
}

.about__btn {
    margin-bottom: 30px;
}

.about__img-box img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/*---------------------------------------GALLERY---------------------------------------*/
/*---------------------------------------GALLERY---------------------------------------*/

.gallery__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery__title {
    margin-bottom: 50px;
}

.gallery__slider-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery__slider-btn {
    display: flex;
    align-items: center;
    width: 75px;
    height: 390px;
}

.gallery__slider-btn img {
    transition-duration: .6s;
}

.gallery__slider-btn:hover img {
    filter: contrast(130%);
}

.gallery__slider {
    max-width: 900px;
    margin: 0 auto;
}

.gallery__slide {
    padding: 0 20px;
}

.gallery__slide-img img {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.gallery__slider-next {
    justify-content: flex-end;
}

/*---------------------------------------TASTES---------------------------------------*/
/*---------------------------------------TASTES---------------------------------------*/

.tastes {
    background-color: #F9F1ED;
}

.tastes__title {
    margin-bottom: 25px;
}

.tastes__content {
    display: flex;
    justify-content: space-between;
}

.tastes__img-box {
    margin-right: 30px;
    min-width: 345px;
}

.tastes__img-box img {
    height: 100%;
    width: 100%;
    border-radius: 5px;
}

.tastes__description {
    max-width: 540px;
}

.tastes__text {
    margin-bottom: 30px;
    color: #7C777D;
}


/*---------------------------------------NEWS---------------------------------------*/
/*---------------------------------------NEWS---------------------------------------*/

.news__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news__title {
    margin-bottom: 50px;
}

.news__img-box {
    display: block;
    overflow: hidden;
    border-radius: 15px;
}

.news__img-box img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition-duration: .8s;
}

/*---------------------------------------CATALOG---------------------------------------*/
/*---------------------------------------CATALOG---------------------------------------*/

.catalog__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog__title {
    margin-bottom: 50px;
}

.catalog__list {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

/*---------------------------------------REVIEWS---------------------------------------*/
/*---------------------------------------REVIEWS---------------------------------------*/

.reviews__inner {
    display: flex;
}

.reviews__img-box {
    margin-right: 40px;
}

.reviews__img-box img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.reviews__content {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reviews__item {
    background-color: #F9F1ED;
    padding: 40px 55px 55px;
    border-radius: 15px;
}

.reviews__item-name {
    font-weight: 500;
    margin-bottom: 20px;
}

.reviews__item-text {
    line-height: 1.1;
}

/* ---------------------------------------MEDIA-------------------------------------- */
/* ---------------------------------------MEDIA-------------------------------------- */

/* ---------------------------------------HOVER-------------------------------------- */

@media (hover: hover) and (pointer: fine) {
    .block__mini-link:hover .block__mini-img img {
        transform: scale(1.05);
    }

    .block__mini-link:hover .block__mini-content::after {
        filter: contrast(130%);
    }

    .news__img-box:hover img {
        transform: scale(1.05);
    }
}

@media (hover: none) {
    .block__mini-link:active .block__mini-img img {
        transform: scale(1.01);
        transition: transform .3s ease;
    }

    .block__mini-link:active .block__mini-content::after {
        filter: contrast(130%);
    }

    .news__img-box:active img {
        transform: scale(1.01);
    }
}

/* ---------------------------------------1200-------------------------------------- */

@media (max-width: 1200px) {
    .reviews__item {
        padding: 35px 45px 50px;
    }
}

/* ---------------------------------------1150-------------------------------------- */

@media (max-width: 1150px) {
    .block__mini {
        font-size: 14px;
    }

    .catalog__list-item {
        margin-right: 20px;
    }

    .catalog__list-item:last-child {
        margin-right: 0;
    }

    .reviews__item {
        padding: 30px 45px 40px;
    }
}

/* ---------------------------------------1100-------------------------------------- */

@media (min-width: 1100px) {
    
}

@media (max-width: 1100px) {
    .reviews__item {
        padding: 25px;
    }
}

/* ---------------------------------------1050-------------------------------------- */

@media (max-width: 1050px) {
    .gallery__slider-btn {
        display: none;
    }

    .gallery__dots {
        margin-top: 25px;
    }

    .gallery__dots .slick-dots {
        display: flex;
    }

    .gallery__dots li {
        margin-right: 18px;
    }

    .gallery__dots li:last-child {
        margin-right: 0;
    }

    .gallery__dots .slick-active button::before  {
        background-color: #424551;
    }

    .gallery__dots button {
        font-size: 0;
        background-color: transparent;
        width: 8px;
        height: 8px;
        display: flex; 
        align-items: center;
    }

    .gallery__dots button::before {
        content: "";
        width: 100%;
        height: 100%;
        background-color: #B3B7BC;
        border-radius: 50%;
        transition-duration: .3s;
    }
    
    .reviews__item-name {
        margin-bottom: 10px;
    }

    .reviews__img-box {
        margin-right: 30px;
    }

    .reviews__item {
        padding: 20px;
    }
    
    .reviews__item-name {
        margin-bottom: 5px;
    }
}

/* ---------------------------------------1000-------------------------------------- */

@media (max-width: 1000px) {
    .catalog__list {
        flex-wrap: wrap;
        width: 600px;
        gap: 40px;
    }

    .catalog__list-item {
        margin: 0;
        flex: 0 0 calc(50% - 20px);
    }

    .reviews__img-box {
        display: none;
    }

    .reviews__title {
        margin-bottom: 50px;
    }

    .reviews__content {
        margin: 0 auto;
    }

    .reviews__item {
        margin-bottom: 40px;
    }
}

/* ---------------------------------------950-------------------------------------- */

@media (max-width: 950px) {
    .gallery__slider {
        max-width: 640px;
    }

    .tastes__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tastes__img-box {
        display: none;
    }

    .tastes__description {
        margin-bottom: 30px;
    }
}

/* ---------------------------------------700-------------------------------------- */

@media (max-width: 700px) {
    .gallery__slider {
        max-width: 600px;
    }

    .gallery__slide {
        padding: 0 10px;
    }

    .catalog__list {
        width: 580px;
        gap: 20px;
    }

    .catalog__list-item {
        margin: 0;
        flex: 0 0 calc(50% - 10px);
    }
}

/* ---------------------------------------650-------------------------------------- */

@media (max-width: 650px) {
    .main__about {
        padding-top: 100px;
    }
    
    .main__gallery {
        padding-top: 70px;
    }
    
    .main__tastes {
        margin-top: 70px;
    }
    
    .main__news {
        padding-top: 70px;
    }
    
    .main__catalog {
        padding-top: 70px;
    }
    
    .main__reviews {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .gallery__slider {
        max-width: 540px;
    }

    .catalog__list {
        width: 520px;
    }

    .reviews__title {
        text-align: center;
    }
}

/* ---------------------------------------600-------------------------------------- */

@media (max-width: 600px) {
    .gallery__slider {
        max-width: 480px;
    }

    .catalog__list {
        width: 460px;
    }
}

/* ---------------------------------------550-------------------------------------- */

@media (max-width: 550px) {
    .block__mini-content {
        padding: 25px 15px;
    }

    .block__mini-content::after {
        display: none;
    }

    .gallery__slider {
        max-width: 440px;
    }

    .catalog__list {
        width: 420px;
    }
}

/* ---------------------------------------500-------------------------------------- */

@media (max-width: 500px) {
    .gallery__slider {
        max-width: 380px;
    }

    .catalog__list {
        width: 360px;
    }
}

/* ---------------------------------------470-------------------------------------- */

@media (max-width: 470px) {
    .block__mini {
        font-size: 12px;
    }

    .gallery__slider {
        max-width: 360px;
    }

    .catalog__list {
        width: 340px;
    }
}

/* ---------------------------------------430-------------------------------------- */

@media (max-width: 430px) {
    .gallery__slider {
        max-width: 330px;
    }

    .gallery__slide {
        padding: 0 5px;
    }
}