/* MEDIA 1279*/

@media (max-width: 1279px) {
    /* ROOT */
     :root {}
    /* FOOTER */
    .footer {
        grid-template-columns: repeat(1, auto);
        gap: 60px;
        justify-items: center;
        align-items: stretch;
    }
    .footer>*:last-child {
        margin-top: -60px;
    }
    .footer__logo {
        order: 1;
    }
    .footer__contacts {
        gap: 18px;
        text-align: center;
    }
    .footer__contacts-sosials {
        display: flex;
        flex-direction: column-reverse;
    }
    .footer__contacts-sosials-box {
        justify-content: space-between;
        gap: 32px;
    }
    .footer__policy {
        order: 2;
    }
    .footer__policy-item {
        text-align: center;
    }
    .footer__policy>.footer__policy-item:first-child {
        display: none;
    }
}


/* MEDIA 1024 */

@media (max-width: 1160px) {
     :root {
        --fs-40-32-20: var(--fs-32);
        --fs-20-16: var(--fs-16);
    }
    /* ADVANTAGES */
    .advantages__cards {
        grid-template-columns: repeat(1, 1fr);
    }
    .advantages__card {
        gap: 20px;
        padding: 25px 20px;
    }
}


/* MEDIA 1024 */

@media (max-width: 1024px) {
    /* HEADER */
    .header {
        padding: 15px 0;
    }
    .header__logo img {
        height: 49px;
    }
    .header__burger-button {
        display: block;
    }
    .header__nav {
        display: none;
    }
    .header__button-phone,
    .header__button-email {
        display: none;
    }
}


/* MEDIA 833 */

@media (max-width: 833px) {
    /* ROOT */
     :root {
        --fs-50-32-24: var(--fs-32);
        --fs-36-28-20: var(--fs-28);
        --fs-22-20: var(--fs-20);
        --fs-24-18: var(--fs-18);
        --fs-16-12: var(--fs-12);
    }
    .section {
        margin: 0 0 96px 0;
    }
    .title {
        margin-bottom: 32px;
    }
    .hero__title {
        margin: 30px 0 0 30px;
    }
    /* PRODUCT */
    .product__swiper .swiper-pagination-bullet,
    .about__swiper .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }
    /* SOSIAL */
    .sosial__items {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 550px) {
    .product__img {
        object-fit: contain;
    }
}


/* MEDIA 500 */

@media (max-width: 500px) {
     :root {
        --fs-40-32-20: var(--fs-20);
    }
}


/* MEDIA 427 */

@media (max-width: 427px) {
     :root {
        --fs-50-32-24: var(--fs-24);
        --fs-36-28-20: var(--fs-20);
    }
    .container {
        padding: 0 10px;
    }
    /* PRODUCT */
    .product__img {
        object-fit: contain;
    }
}


/* MEDIA 330 */

@media (max-width: 330px) {
    /* ADVANTAGES */
    .advantages__card {
        justify-content: center;
        text-align: center;
    }
    .advantages__icon {
        position: relative;
        display: block;
        width: 50px;
        margin-left: auto;
        margin-right: auto;
        right: 0;
        top: 0;
    }
}


/* product__about-text */

@media (max-width: 550px) {
    .product__swiper .swiper-slide .product__about-text {
        left: auto !important;
        right: 10px !important;
    }
}

@media (min-width: 551px) and (max-width: 1023px) {
    .product__swiper .swiper-slide-active+.swiper-slide .product__about-text {
        left: auto !important;
        right: 10px !important;
    }
}

@media (min-width: 1024px) {
    .product__swiper .swiper-slide-active+.swiper-slide+.swiper-slide .product__about-text {
        left: auto !important;
        right: 10px !important;
    }
}