@media (max-width: 1200px) {
    .products__modal {
        padding: 0px;

        .modal__body {
            width: 100%;

            .modal__content {
                .product__content {

                    .table__block {
                        overflow-x: scroll;

                        .body {
                            width: 1540px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 1000px) {
    .products__modal {

        .modal__body {
            width: 100%;

            .modal__content {
                .product__content {

                    .top__block {
                        flex-direction: column;
                        gap: 20px;

                        .left__side {
                            width: 70%;
                        }

                        .right__side {
                            width: 100%;

                            .images {
                                width: 100%;
                                flex-wrap: wrap;
                            }

                            .advantages {
                                .advantage {
                                    img {
                                        margin-top: 7px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    #plate__modal {
        .modal__content {
            .product__content {
                .top__block {
                    .right__side {
                        .usages {
                            width: 100%;
                            display: flex;
                            flex-direction: column;
                            gap: 10px;
                        }
                    }
                }
            }
        }
    }

    #block__modal {
        .modal__content {
            .product__content {
                .top__block {
                    .right__side {
                        .usages {
                            width: 100%;
                            display: flex;
                            flex-direction: column;
                            gap: 10px;
                        }
                    }
                }
            }
        }
    }
}


@media (max-width: 768px) {
    .projects__modal {
        .modal__body {
            .modal__content {
                .projects-wrapper {
                    grid-template-columns: repeat(2, 1fr);
                }
            }
        }
    }

    .application__modal {
        .modal__body {
            padding: 30px;
        }
    }
}

@media (max-width: 550px) {
    .application__modal {
        .modal__body {
            .modal__content {
                display: block;

                img {
                    display: none;
                }
            }
        }
    }

    .thanks__modal {
        .modal__body {
            width: 100%;

            img {
                width: 100%;
            }

            .modal__content {
                h2 {
                    font-size: 35px;
                }

                p {
                    margin-top: 20px;
                    font-size: 21px;
                }
            }
        }
    }

    .products__modal {
        .modal__body {
            height: 100vh;
            border-radius: 0px;
            padding: 20px;

            .modal__header {
                right: 20px;
                top: 20px;
            }

            .modal__content {
                .product__content {
                    .top__block {
                        gap: 10px;

                        .left__side {
                            width: 100%;

                            .buttons {
                                flex-wrap: wrap;
                            }
                        }

                    }
                }
            }
        }
    }
}

@media (max-width: 450px) {
    .projects__modal {
        .modal__body {
            padding: 20px;

            .modal__header {
                top: 20px;
                right: 20px;
            }

            .modal__content {
                max-height: 92%;

                .projects-wrapper {
                    grid-template-columns: repeat(1, 1fr);
                }
            }
        }
    }

    .application__modal {
        .modal__body {
            padding: 20px;

            .modal__content {
                form {
                    h2 {
                        font-size: 28px;
                    }

                    p {
                        font-size: 14px;
                    }
                }
            }
        }
    }

    .thanks__modal {
        .modal__body {
            .modal__content {
                h2 {
                    font-size: 30px;
                }

                p {
                    margin-top: 10px;
                    font-size: 20px;
                }
            }
        }
    }
}