body { 
	line-height: 1.25;
}

.product__recomendation {
	width: 100%;
}

/*--- Заголовок нижней статьи в продлуктовой категории ---*/ 
.testimonial__title {
	line-height: 1;
	padding: 0 20px;
    margin-bottom: 20px;
}

/*--- Ховеры в хедере ---*/
.header__contacts a:hover,
	.contacts__item:hover,
	.breadcrumbs a:hover {
	color: #e31b1d;
}

.header__social-link:hover img,
.footer__social-link:hover img {
	filter: invert(50%);
}

/*--- меню ---*/
nav>ul>li>a:hover,
.footer__contacts a:hover {
    color: rgba(255, 255, 255, 0.5);
}
nav#menu__click>ul>li>a:hover {
	color: #e31b1d;
}

/*--- прячем скроллбары на странице категории и в Хлебных крощшках ---*/
.breadcrumbs__wrapper::-webkit-scrollbar, 
.assortment__tabs-desk::-webkit-scrollbar {
	width: 0;
	height:0;
	background-color: transparent;
	display:none;
}
/*--- Убираем стрелочки на input[type=number] ---*/
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none; 
}

input[type='number'] {
  -moz-appearance: textfield;
}
input[type='number']:hover,
input[type='number']:focus {
  -moz-appearance: number-input;
}

/*--- Для всех textarea ---*/
textarea {
	resize: none;
}

.body-wrapper {
	max-width: 1920px;
	margin: 0 auto;
}

/*-- убираем отступ внизу страницы --*/
.post, .page {
    margin: 0;
}

/*----- Стили для валидации формы ------*/

.form__error-message    {
	border: 1px solid #e31b1d;
} 	
.form__field-valid {
	border: 1px solid hsla(0,0%,60%,.5);
}	
.form__field-error	 {
	border: 1px solid #e31b1d;
	}

/* --- Чекбокс не чекнутый ---*/	


/* --- Чекбокс не чекнутый, с классом ошибки ---*/	
.order__checkbox  + .order__polycy-fake, 
.order__checkbox.form__field-error  + .order__polycy-fake	{
	border: 1px solid #e31b1d;
}
.order__checkbox  + .order__polycy-fake + .order__policy-text,	
.order__checkbox.form__field-error  + .order__polycy-fake + .order__policy-text	{
	color: #e31b1d;
	font-weight: 400;
}

/* --- Чекбокс с классоом Валидности ( или чекнутый)  ---*/

.order__checkbox:checked  + .order__polycy-fake, 
.order__checkbox.form__field-valid  + .order__polycy-fake	{
	border: 1px solid #b5bcc4;
}

.order__checkbox:checked  + .order__polycy-fake svg, 
.order__checkbox.form__field-valid  + .order__polycy-fake svg	{
	opacity: 1;
}
.order__checkbox:checked  + .order__polycy-fake + .order__policy-text, 
.order__checkbox.form__field-valid  + .order__polycy-fake + .order__policy-text	{
	color: #b5bcc4;
}
/*====== Стили для валидации формы =======*/

.header {
	//position: static;
	z-index: 200;
}

@media screen and (min-width: 1703px) {
	.news__pagination-slide {
		white-space: nowrap;
	}
}

/**-- Иконки соцсетей хедер/футер --*/
.header__social-icon {
	width: 23px;
} 
.footer__social-icon {
	filter: invert(100%);
	width: 23px; 
	}
	
/*-- Активаня ссылка меню --*/	
nav>ul>li.current-menu-item>a{
	color: rgba(255, 255, 255, 0.5);
}
.header__menu-wrap.active  nav>ul>li.current-menu-item>a{
color: #e31b1d;
}

.form-block {
	display: none;
	color: #e31b1d;
	font-size: 20px;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	transition: 0.3s;
    max-width: 500px;
    width: 100%;
    margin: 20px auto -20px;
}
@media(max-width:375px) {
	.form-block {
		font-size:16px;
	}
}
.form-block.active {
	display: flex;
}
.form-block__close {
	color: #e31b1d;
	font-size: 36px;
	position: static;
    font-weight: 300;
    transform: rotate(-45deg);
    cursor: pointer;
}

/*-- Прокрутка к верху страницы --*/
.footer {
	position: relative;
}
.btn-up {
	display: flex !important;
	bottom: 210px;
	right: 100px;
}
@media(max-width: 1300px) {
	.btn-up	 {
		display: none !important;
	}
}

/*---- Результаты поиска. Отпихиваем футер от результатов поиска ----*/
@media(max-width:12220px) {
	body.search-results  .blog__wrapper{
		padding-bottom: 50px;
	}
}

/*--- Хлебные крошки ---*/
.breadcrumbs__wrapper {
	overflow-x: scroll;
}


.breadcrumbs {
	font-size: 10px;
    line-height: 14px;
	white-space: nowrap;
}

@media(max-width: 1220px) {
	.product__pagination {
        top:50px;
    }
}
@media(max-width: 728px) {
	.product__pagination {
        top:35px;
    }
}

@media screen and (min-width: 728px) {
    .breadcrumbs {
        font-size: 11px;
        line-height: 15px;
    }
}

@media screen and (min-width: 1703px) {
    .breadcrumbs  {
        font-size: 12px;
        line-height: 16px;
    }
}

.breadcrumbs span + span {
    margin-left: 11px;
}

.breadcrumbs span {
    position: relative;
}

.breadcrumbs span:first-child::before {
    content: '';
    position: unset;
}

.breadcrumbs span::before {
    content: '/';
    font-size: 11px;
    font-weight: 400;
    position: absolute;
    left: 0;
    bottom: -2px;
    -webkit-transform: translate(-7px, -2px);
    -ms-transform: translate(-7px, -2px);
    transform: translate(-7px, -2px);
}

.breadcrumbs span a {
    font-size: 10px;
    line-height: 14px;
    font-weight: 400;
    color: #151515;
}

@media screen and (min-width: 728px) {
    .breadcrumbs span a {
        font-size: 11px;
        line-height: 15px;
    }
}

@media screen and (min-width: 1703px) {
    .breadcrumbs span a {
        font-size: 12px;
        line-height: 16px;
        font-weight: 400;
    }
}

/*-- Подсветка меню категории --*/
.assortment__tabs-item:hover {
	color: #e31b1d;
}

/*-- Выпадайка модели --*/
.product__modal-title {
	justify-content: space-between;
}

/*------ Картинка  слайдера, если нет картинки товара-------*/
.swiper-container {
	width: 100%
}

.swiper-container img{
	width: 100%;
	height: 100%;
/* 	object-fit: contain; */
	object-position: center;
}

/*--- На старнице корзины ссылка на товар, подсветка ---*/
.basket__wrapper .basket__card-title a:hover {
	color: #e31b1d;
	}

/*--- Добавляем класс в торвары корзины, которые будут удалены ---*/
.remove-product {
	display: none;
}

/*--- Оборачиваем картинку товара в ссылку на странице категории  ---*/
.assortment__card-img, 
.recomendation__card-img {
	display: block;
}

/*--- Ховер на крестик спасибки  ---*/
.thanks__close:hover {
	cursor: pointer;
}

/*--- Рекомендуемые товары на в Карточке товара ---*/
.recomendation .swiper-container img {
	object-fit: cover;
}

.recomendation  .recomendation__card {
    overflow: hidden;
}

/*--- Паддинги на вкладках в Категории ---*/

@media screen and (min-width: 728px) {
	.assortment__tabs-desk {
		overflow-x: scroll;
	}
}

/*@media screen and (max-width: 997px) {*/
.assortment__tabs-item {
    padding: 0 10px;
	}
/*}*/


/*--- Каталог отступ снизу ---*/
.modal__wrapper {
	padding-bottom: 50px;
} 
/*--- Отпихнем описание товара под товаром---*/
@media(min-width: 728px) {
	.product__content {
		padding-top: 50px;
	}
}
/*--- Кол-во в карточке товара чтоб не переносилось ---*/
.product__text {
    white-space: nowrap;
}

/*--- Исправляем слайдер рек товаров ---*/
@media(min-width: 728px) {
	.recomendation__swiper {
		margin-right: auto;
		margin-left: auto;
		padding-left: 0;
	}
}

/*--- CF-7 на главной ---*/
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.sent .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output {
	border:none;
	text-align: center;
	border-color: transparent;
	display: block;
}

.wpcf7 form.invalid .wpcf7-response-output {
	color: #e31b1d;
	display: block;
}
.order  .wpcf7 .ajax-loader {
/*	display: none; */
}

/*--- Прячем служебное сообщение CF7 об успешной отправке ---*/
.wpcf7-response-output {
	display: none !important;
} 
/*=== === */

.order .order__download-alert {
	display: none;
	color: #e31b1d; 
}
.order .order__download-alert.active {
	display: block;
}


/*--- Позиционируем крутящийся CF7-лоадер Возле кнопки отправки ---*/
 .order__submit {
	display: flex;
    align-items: center;
}
@media(max-width:728px) {
	 .order__submit {
		flex-direction: column;
	}	
}

@media(max-width:728px) {
	.order__submit  .ajax-loader{
		margin-top:10px;
	}	
	
	.order__policy-text {
		max-width: 100%
	}
}
/*---  ---*/

@media(max-width:375px) {
	 .order__policy-text {
		max-width: 183px;
	}
}

/*--- Предварительный замер, монтаж доставка черного цвета  ---*/ 
.additional-services  .order__checkbox + .order__polycy-fake {
	border: 1px solid #b5bcc4;
 }
.additional-services .order__checkbox + .order__polycy-fake + .order__policy-text {
	 color: #151515;
}

/*--- Прячем данные в скрытом поле ---*/
 .basket__textarea {
	display: none;
 }

/*--- Растягиваем цену в строках на странице корзины ---*/ 
@media screen and (min-width: 728px) {
	.basket__card-wrap {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-align: center;
		align-items: center;
		justify-content: space-between;
	}
}
/*--- Пишем цену в одну строку на странице корзины ---*/ 
.basket__price-span {
    white-space: nowrap;
}

/*--- Добавляем непрозрачности для выпадайки на странице товаров ---*/
.product__modal-options {
    z-index: 25;
	height: 200px;
    overflow-y: scroll;
}
/*--- Стили для кнопки поиска в хедере ---*/
.header__search-btn {
    right: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__search-btn::before {
    content: '';
    width: 21px;
    height: 21px;
    background-image: url('./../img/lense.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
}

/*----  Навигация в Рек товарах на главной ---*/
.recomendation__pagination-slide {
    white-space: nowrap;
}

/*--- Поле загрузки файла в форме корзины ---*/
.order__file-button-text {
    white-space: nowrap;
}
.order__file-button {
    max-width: 540px;
    margin-right: 5px;
	width: 98%;
}

/*--- В превьюшках товаров подрезаем высоту заголовков ---*/
.recomendation__card-name {
	height: 75px;
	display: block;
	overflow-y: hidden;
} 
.assortment__card-name {
	margin-bottom: 22px;
	height: 50px;
	display: block;
	overflow-y: hidden;
}

@media screen and (max-width: 1703px){
	.recomendation__card-name,
	.assortment__card-name	{
		height: 60px;
	}
}
/*--- В превьюшках статей подрезаем высоту заголовков ---*/
	.news__card-subtitle,
	.news__card-title {
		height: 47px;
		overflow-y: hidden;
	}
@media screen and (min-width: 1703px) {
	.news__card-subtitle,
	.news__card-title {
		height: 62px;
	}
}	
/*--- На странице корзины меняем ширину заголовка ---*/
@media screen and (min-width: 1221px) {
	.basket__card-title {
		max-width: 192px;
	}
}
@media screen and (min-width: 1703px) {
	.basket__card-title {
		max-width: 300px;
	}
}

/*--- В корзине равняем записи ---*/
@media screen and (min-width: 728px) {
	.basket__info-wrapper {
		width: 100%;
	}
}
/*--- Выпадайка с моделями на странице товара ---*/
.product__modal-title p {
	white-space: nowrap;
}

.product__modal-title svg {
	transition: 0.3s;
}
.product__modal-title.active svg {
	transform: rotate(-90deg);
}