html {
	scroll-behavior:smooth;
}

/* В шапке более темных контуров поиска, корзины и прочего*/
#topSearch2 .searchContainerInner {
	border: 1px solid #d6d6d6;
}

#subHeader2 #topCallback .icon {
	border: 1px solid #d6d6d6;
}

.topWishlist .icon {
	border: 1px solid #d6d6d6;
}

.topCompare .icon {
	border: 1px solid #d6d6d6;
}

.cart .heading {
	border: 1px solid #d6d6d6;
}

/* Выделение цветом блока в фильтре при наведении */
#smartFilter .paramsBox:hover {
	background-color: #f7f7f7;
}

/* Смена кнопки покупки в списке товаров на чёрную */
.product .addCart{
	background: #202020;
	color: #ffffff;
}

.product .addCart:hover{
	background-color: #1a1a1a;
}

/* Смена кнопки покупки в карточке товара на чёрную */
#elementTools .addCart,
#smallElementTools .addCart{
	background: #202020;
}

#elementTools .addCart:hover,
#smallElementTools .addCart:hover{
	background-color: #1a1a1a;
}


/* Уменьшил высоту блока со свойствами в фильтре */
#smartFilter .paramsBox {
	padding: 8px 8px 8px 12px;
}

/* Всплывающее окошко быстрого просмотра сместил ниже, чтобы оно не перекрывало центр картинки (На главной странице)*/
#homeCatalog .getFastView {
	margin-top: 60px;
}

/* Всплывающее окошко быстрого просмотра сместил ниже, чтобы оно не перекрывало центр картинки (На страницах разделов с товарами) */
#catalog .getFastView {
	margin-top: 50px;
}

/* Настройка цвета главного меню на мобильной версии сайта (сделал черный, по умолчанию был красный) */
#mainMenuContainer .minCatalogButton {
	background: #1a1a1a;
}

/* Убираю масштабирование в списке товаров до 90% (из-за него картинка была нерезкой) */
#catalogColumn .product .picture img {
	max-height: 100%;
	max-width: 100%;
}

/* Перенес рейтинг (звездочки) чуть выше в списке товаров (разделе) */
#catalogColumn .product .rating {
	right: 4px;
	top: 2px;
}

/* Отключил вывод рейтинга товаров (звёздочек)*/
.rating {
	display: none;
}

/* Скролл в умном фильтре*/
.propExpander.expanded+.params ul {
    position: relative;
    overflow-y: auto;
    max-height: 500px;
        overflow-x: hidden;
}

/* fix dropdown menu on mobile version */
body #topMenu .sub {
	z-index: 900;
}

/* Отключение нижней полосы с корзиной, меню и сравнением */
#footerLine {
display:none !important;
}

.ya-share2__item_service_vkontakte .ya-share2__badge .ya-share2__item_service_vkontakte .ya-share2__mobile-popup-badge {
    background-color: #999999;
}

/* Отключение сравнения на сайте */
.addCompare {
display:none !important;
}

/* Отключение кнопки "вверх" на сайте */
.upButton {
display:none !important;
}

/* Отключение "похожих" товаров в карточке */
#similar {
display:none !important;
}

/* Отключение "уточнить раздел" в списке товаров */
/*#nextSection {
display:none !important;
}
*/
/* Перенос кнопки перехода наверх страницы в левый угол */
#upButton {
left: 24px !important;
}

/* На главной странице внизу немного увеличил картинки разделов в карусели */
#popSection .picture img {
    vertical-align: middle;
    max-height: 120%;
    max-width: 120%;
}
.topCompare {
display: none !important;
}
a.icon.callBack {
display: none !important;
}
.tab #similar {
display: none !important;
}
.product .addCartContainer {
display: none !important;
}

.product .productColImage .picture img {
	max-width: 100%;
	max-height: 100%;
	/*height: 100%;*/
}

/* Стилизация блока Нет в наличии на детальной странице */

.not_available_text {
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 14px;
    background-color: #f3f3f3;
    margin-right: 15px;
    max-width: 220px;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

#elementTools .not_available_text .back_section, 
#smallElementTools .not_available_text .back_section {
	display: block;
    width: 185px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: #fff;
    border-radius: 2px;
    margin: 12px auto;	
}

@media (max-width: 1100px) {
	.not_available_text {
		max-width: 50%;
	}
}

@media (max-width: 700px) {
	.not_available_text {
		max-width: calc(100% - 15px);
	}
}

/* Доработка списка брендов */
#brandList.brandsPage .items {
	display: grid;
	border-left: none;
}

#brandList.brandsPage .items .letterElements {
	border-left: 1px solid #e7e8ea;
    display: flex;
    flex-wrap: wrap;
}

#brandList.brandsPage .items .letterElements a, #brandList .items a {
	text-decoration: none;
	font-weight: 600;
	color: inherit;
}

.firstLetters {
	display: block;
    background: #eee;
    border-radius: 6px;
    padding: 10px 15px;
    margin: 15px auto;
}

.firstLetters li {
	display: inline-block;
    vertical-align: top;
    margin: 3px;
}

.firstLetters li a {
	text-decoration: none;
	font-weight: 600;
	color: inherit;
}
