
@media (max-width: 1200px) {
    .menu-nav {
        display: none; 
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;
        background-color: #333;
        flex-direction: column;
        padding: 20px;
        z-index: 10;
    }

    .menu-nav a {
        color: #fff;
        padding: 10px 0;
        font-size: 1.2em;
    }

    .menu-toggle {
        display: block; 
    }

    #logomenu {
        display: flex;
        justify-content: start;
        align-items: center;
        color: #ccc;
    }
    .menu-nav.active {
        display: flex;
    }
    header .content {
        max-width: 800px;
    }
    .section .content {
        max-width: 800px;
    }

    .offer h1 {
        font-size:36px;
        font-weight: 600;
        margin-bottom: 20px;
    }
    .offer h3 {
        font-size:18px;
        font-weight: 500;
        line-height: 2em;
    }
    .offer-form {
        width:250px;
        height: auto;
        padding: 20px;
    }
    .offer-form button {
        padding: 6px;
        font-size: 18px;
        margin: 10px 0;
    }
    .advantage-center {
        display: none;
    }
    .parts-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    .goods-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    .goods-item {
        flex-direction: column;
    }

    .imgwidth {
        width: 150px;
        height: auto;
        object-fit: contain;
    }
    .section.contacts .content {
        display: flex;
        flex-direction: column; 
        align-items: center;
    }

    .map-container, 
    .contacts-info {
        width: 100%; 
        max-width: 100%; 
        text-align: center; 
    }
    .contacts-info .offer-form {
        padding: 20px;
        width: 500px;
        height: auto;
        text-align: center; 
        margin: 0 auto;
    }
    .map {
        width: 100%;
        height: 300px; 
    }

    .contacts-info {
        padding: 20px;
    }
}
@media (max-width: 700px) {
    header .content {
        padding: 0 10px;
    }
    h1 {
        font-size: 28px;
    }
    .logo .description {
        display: none;
    }
    .phone img {
        display: none;
    }
    .logo {
        font-size: 20px;
    }
    .logo img {
        width: 42px;
    }
    .phone a {
        font-size: 16px;
    }
    .menu-toggle {
        font-size: 24px;
    }
    .section.offer {
        height: auto;
    }
    .section .content {
        justify-content: center;
        flex-wrap: wrap;
    }

    .offer h1 {
        text-align: center;
        margin: 0 0 15px 0;
    }
    .offer h3 {
        margin: 15px 0 15px 0;
    }
    .offer-form {
        width:350px;
        height: 320px;
        padding: 20px;
    }

    .alignright, .alignleft {
        text-align: left;
    }

    .advantages .content {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .column {
        width: 100%;
    }

    .advantage-block {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        margin: 20px 0;
        align-items: center;
        flex-direction: row;
    }

    .advantage-block .digital {
        order: 1;
        margin: 0 15px 0 0;
        min-width: 40px;
    }

    .advantage-block .description {
        order: 2;
        width: 400px;
    }
    .reviews-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 50px;
    }
    .reviews-grid img {
        width: 100px;
        height: 100px;
        }
    .review-stars img {
        width: 24px;
        height: 24px;
        }
    .contacts-info .offer-form {
        padding: 20px;
        width: 100%;
        height: auto;
        text-align: center;
        margin: 0 auto;
    }
}

@media (max-width: 400px) {
	header .content {
	height: 70px;
	}
    .logo {
        font-size: 18px;
    }
    .logo img {
        width: 42px;
    }
    .phone a {
        font-size: 12px;
    }
    .menu-toggle {
        font-size: 30px;
    }
    h1 {
        font-size: 24px;
    }
    .offer h1 {
        font-size:24px;
        font-weight: 600;
        margin-bottom: 20px;
    }
    .offer h3 {
        font-size:16px;
        font-weight: 500;
        line-height: 1em;
    }
}