@media screen and (max-width: 768px) {
select.shipping-rates {
    overflow: hidden;
    max-width: 300px;
}
.checkout ul.checkout-options li p {
    width: 90%;
    }
/*убираем горизонтальную прокрутку на мобильных*/
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    }
}
/*уменьшаем размер номеров телефона в шапке сайта*/

.h_contacts .in .phone {
    font-size: 16px;
}

/* Название товара в каталоге в 4 строчки, а не 3 */
.flexdiscount-product-wrap .product_name a {
height: 72px;
}

/*Уменьшаем размер телефонов в шапке */
.h_contacts .in .phone {
  color: #333333;
  font-size: 15px;
}

/* Подарок в карточке товара */
@media screen and (max-width: 600px) {

.product_page .pp_short_features_table {
color:#555555; 

} 

.features tr {
    
    padding: 10px;
}

}

.product_page .pp_short_features table {
  text-align: center !important;
font-size: 20px !important;  
}

.link_to_features_wrap {
    
    display:none !important;
}


.checkout .step-shipping select.form-control 
{
    max-width:100%;
}

.checkout ul.checkout-options li p {
    
    width:90% !important;
}

/*обновленный шаблон расчета доставки
.list-replace {
    
    margin-top:2em !important;
}

.list-replace li {
    
    margin-bottom:1em !important;
}

.list-replace input[type="radio"]{
    
    top:0px !important;
}

.shipping-10 .shipping-rates {
    display:none;
}
*/

/*В "Подробное описание!" добавляет отступы в таблице свойств*/
    .product-info td {
        padding:10px 0;
    }

/*В подстраницах карточки товара подсвет "Отзывы", правка в шаблоне product.html
.pp_tabpanel .nav-tabs li:nth-child(3) a {background:#4c502e; color:#fff;}
.pp_tabpanel .nav-tabs li.active:nth-child(3) a {background:#fff; color:#555555;}*/
.pp_tabpanel .nav-tabs #otzyvy a {background:#dadada;}
.pp_tabpanel .nav-tabs li.active a {background:#fff !important; color:#555555 !important;}

/*Отзывы из ВК*/

@media screen and (max-width: 600px) {
    #feedback_kupiapp {
	font-size: 15px !important;

}
}
#feedback_kupiapp {
	box-sizing: border-box !important;
	font-size: 14px !important;
	font-family: Roboto, sans-serif !important;
	background:#fff !important;
	border-radius:3px !important;
	padding:5px !important;
	line-height: 1.5 !important;
}

.link_kupiapp {
	color: #5181b8 !important;
	font-weight: bold !important;
	text-decoration: none !important;
}

.link_kupiapp:hover {
	color: #5788c1 !important;
}

.avatar_kupiapp {
	border-radius: 100% !important;
}

.container_kupiapp {
  	display: flex !important;
	flex-direction: column-reverse !important;
	max-width:  100% !important;
	padding: 5px !important;
	padding-top: 15px !important;
	/*border: 1px solid #4c502e !important;*/
	border-top: 2px solid #4c502e !important;;
	margin-top: 30px !important;
	background: #f1f0f1 !important;
	/*background:#fff !important;*/
}

.user_kupiapp {
	display: flex !important;
	flex-direction: row !important;
	align-self: flex-end !important;
	padding: 20px 10px 10px;
}
.img_kupiapp {
    padding-top:20px;
}

.row_kupiapp {
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	margin-right: 10px !important;
}

.col_name_kupiapp {
	display: flex !important;
	justify-content: flex-end !important;
	line-height:18px !important;
}

.col_date_kupiapp {
	display: flex !important;
	justify-content: flex-end !important;
	/*margin-top: 7px !important;*/
	font-size: 12px !important;
	line-height:18px !important;
    color: rgb(119,126,140) !important;

}

.comment_kupiapp {
	display: row !important;
	padding-left: 10px !important;
    padding-right: 10px !important;
    color: #0c0c0c !important;
}

.button_kupiapp {
    text-decoration: none !important;
    padding: 8px 16px 7px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    margin: 0 !important;
    font-size: 12.5px !important;
    display: inline-block !important;
    zoom: 1 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    outline: none !important;
    vertical-align: top !important;
    line-height: 15px !important;
    text-align: center !important;
    background: none !important;
    background-color: #5181b8 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

.button_kupiapp:hover {
	color: #fff !important;
	cursor: pointer !important;
	background-color: #5788c1 !important;

}

.center_kupiapp {
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	margin-top: 30px !important;
	margin-bottom: 30px !important;
}

ul.pagination_kupiapp {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
}

ul.pagination_kupiapp li {display: inline !important;}

ul.pagination_kupiapp li a {
    color: #5181b8 !important;
    float: left !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    transition: background-color .3s !important;
    font-size: 18px !important;
}

ul.pagination_kupiapp li a.active {
    background-color: #eee !important;
    color: #5181b8 !important;
}

/*Отображение 4-х строчек названия товара в мобильной версии (полное название товара)*/
.products_view_grid .product .product_name a {

    height: 70px !important; 
    
}

/*Шильдик на изображении внутри карточки товара*/

/*Убираем "лишние" страны со страницы оформления заказа*/
.wa-field-address-country select option:not([value="rus"]):not([value="ukr"]):not([value="blr"]):not([value="kaz"]):not([value="kgz"]):not([value="uzb"]):not([value="tjk"]):not([value="arm"]):not([value="aze"]):not([value="mda"]):not([value="tkm"]) { display: none; }

/*Выравнивание по ширине селектов на странице оформления заказа*/
.wa-field-address-country select {width: 100%;}
.wa-field-address-region select {width: 100%;}

.buy1step-form__step ul li {
    
    border-bottom: 1px solid #656565;
    padding-bottom: 2em;
}
