/* 992–1199px — laptops */
@media (max-width: 1199px) { 
    .header-first-line-content {
        padding: 0 20px;
    }
    .image-slider {
        width: 100%;
        height: 450px;
        overflow: hidden;
        position: relative;
        background: #fff;
    }

    .image-slider img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .products-content-title-main h1 {
        margin: 0 20px;
        padding: 5px 20px;
        font-size: 36px;
    }
    .products-content-title-main h3 {
        margin: 0 20px;
        padding: 0px 20px;
        font-size: 30px;
    }

    .products-content-title-wrap h2 {
        margin: 0;
        font-size: 24px;
    }
	.follow-container {
		height: auto;
	}
    .follow-content {
        width: 100%;
        padding: 0 20px;
        flex-wrap: wrap;
    }

    .follow-content-wrap {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .follow-content-wrap img {
        width: 70px;
        height: 70px;
        padding-right: 0;
    }

    .follow-content-title {
        font-size: 24px;
        line-height: 1.2;
    }

    .follow-content-description {
        font-size: 16px;
        margin-top: 6px;
        line-height: 1.4;
    }

    .about-content {
        width: 100%;
        padding: 0 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .about-content-text {
        font-size: 16px;
        line-height: 1.55;
    }

    .about-content-text strong,
    .about-content-text i {
        font-size: 16px;
    }

    /* Блок B2B */
    .b2b-content {
        width: 100%;
        flex-direction: column; 
        align-items: stretch;
        gap: 30px;
    }

    .b2b-text {
        width: 100%;
        font-size: 16px;
        line-height: 1.5;
    }

    .b2b-text p {
        margin-bottom: 16px;
    }


    .b2b-form-wrap {
        width: 100%;
    }

    .b2b-form-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .b2b-input {
        font-size: 15px;
        padding: 10px 12px;
    }

    .b2b-submit {
        font-size: 15px;
        padding: 12px 18px;
    }

    .prefooter-content {
        width: 100%;
        padding: 0 20px;
        flex-direction: column; 
        align-items: flex-start;
        gap: 30px;
    }

    .prefooter-column {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .prefooter-column h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .prefooter-column p {
        font-size: 14px;
        line-height: 1.5;
    }

    .prefooter-phone {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .prefooter-column img {
        width: 80%;
        max-width: 300px;
        margin-top: 10px;
    }



}

/* 768–991px — tablets */
@media (max-width: 991px) { 
    .header-third-line-content-regular-link {
        padding: 0 20px;
        font-size: 16px;
    }
        .header-third-line-content-main-menu {
        padding: 10px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header-third-line-content-main-menu::after {
        display: none; 
    }

    .header-third-line-content-main-menu-link {
        width: 100%;
        padding: 8px 0;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-third-line-content-main-menu-link:last-child {
        border-bottom: none;
    }
}

/* 576–767px — big phones / small tablets */
@media (max-width: 767px) { 
    .header-third-line-content-regular-link {
        display: none;
    }
    .image-slider-buttons-item {
        width: 40px;
        height: 16px;
        background-color: rgba(0,0,0,0.2);
        cursor: pointer;
        transition: background-color 0.7s ease;
    }
    .products-content {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap; 
    }

    .main-product-thumb-item {
        width: calc(50% - 10px);
        margin-bottom: 20px;
        padding: 15px 10px;
        box-sizing: border-box; 
    }

    .main-product-thumb-item img {
        max-width: 90%;
        max-height: 90%;
        margin-bottom: 8px;
    }

    .main-product-thumb-item .title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .main-product-thumb-item .price {
        font-size: 18px;
    }

    .price .quantity {
        font-size: 14px;
        margin-left: 0;
    }
}

/* ≤ 575px — smartphones */
@media (max-width: 575px) { 
	.header-adress {
		display: none;
	}
	.image-slider {
		display: none;
	}
}

/* media.css - добавьте в конец */

/* Адаптив для заголовка */
@media (max-width: 1199px) {
    .category-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .category-title {
        font-size: 26px;
    }
}

/* Адаптив для товаров */
@media (max-width: 1199px) {
    .main-product-thumb-item {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 991px) {
    .main-product-thumb-item {
        width: calc(50% - 20px);
    }

    .main-product-thumb-item .title {
        min-height: 80px; /* Увеличиваем для мобильных */
    }

    .main-product-thumb-item img {
        max-height: 180px;
    }
}

@media (max-width: 575px) {
    .main-product-thumb-item {
        width: 100%;
    }

    .category-title-container {
        padding: 20px 0;
    }

    .category-title {
        font-size: 22px;
    }
}
@media (max-width: 767px) {
    .header-second-line-content {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 15px;
        padding: 15px 0;
        justify-items: center;
    }

    .header-second-line-content-right {
        order: 3; /* поиск сверху */
		margin: 0 auto;
    }

    .header-second-line-content-center {
        order: 2; /* лого по центру */
    }

    .header-second-line-content-left {
        order: 1; /* иконки снизу */
        justify-content: center;
		margin: 0 auto;
    }

    .search-main {
        width: 240px;
			background-color: #f7f7f7;
    }
	.search-container {
		background-color: #f7f7f7;
	border-bottom: 0px;
}
	.nodisplay {
		display: none;
	}	
}