/* Шаблон gerhans (Q-044): правки разметки Битрикса поверх стилей вёрстки (css/main.css, cart-style.css, site.css).
   Цвета — только токенами вёрстки (:root в cart-style.css). */

/* плашка «Сайт в разработке» при DISABLE_SITE_FOR_BUY */
.site_notice {
	padding: 8px 16px;
	background: var(--gerh-gold);
	color: var(--gerh-on-gold);
	font-size: 14px;
	text-align: center;
}


/* карточка товара: «Нет в наличии» — серым, как в карточке списка (.stock--no) */
.card_page .card_stock--no { color: var(--gerh-grey-light); }

/* пустой список (закладки, раздел без товаров) */
.page_empty { margin: 20px 0; }

/* корзина и оформление: предупреждения компонента (вместо alert Bootstrap у raglo) */
.basket_note {
	position: relative;
	margin: 10px 0;
	padding: 10px 36px 10px 12px;
	border: 1px solid var(--gerh-gold);
	background: #fff;
	font-size: 13px;
}
.basket_note__close {
	position: absolute;
	top: 6px;
	right: 8px;
	border: 0;
	background: none;
	color: var(--gerh-grey-light);
	cursor: pointer;
}
.order_done__pay-system { margin: 16px 0; }

/* сравнение: «Только различия» прячет строки с одинаковыми значениями */
.compare_table.is-diff tr[data-same] { display: none; }

/* сообщения форм (вход, регистрация, профиль, веб-формы) */
.form_message {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-left: 3px solid #c0392b;
	background: #fff;
	font-size: 13px;
}
.form_message--ok { border-left-color: var(--gerh-gold); }

/* галочки согласия компонента main.userconsent.request (оформление заказа): SiteConsent для gerhans свои стили не выводит
   (OWN_STYLES) — правила для них здесь; вид — как .site-consent вёрстки */
.cart__consents .main-user-consent-request {
	display: flex !important;
	gap: 8px;
	align-items: flex-start;
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	font-weight: 400;
}
.cart__consents .main-user-consent-request input[type=checkbox] {
	-webkit-appearance: checkbox !important;
	appearance: auto !important;
	position: static !important;
	opacity: 1 !important;
	width: 16px !important;
	height: 16px !important;
	flex: 0 0 16px;
	margin: 2px 0 0 !important;
}
.cart__consents .main-user-consent-request-announce { color: inherit; flex: 1 1 auto; min-width: 0; }
.cart__consents .main-user-consent-request-announce a { color: inherit; text-decoration: underline; }
.basket__aside-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* корзина (Q-046, п. 7): счётчики фильтров компонента в шапке списка не показываем — в вёрстке там «Удалить выбранные» */
.basket__head [data-entity="basket-items-count"] { display: none !important; }

/* оформление (Q-046, п. 5): номера шагов как в cart-2.html («<span>1</span> Ваши контакты») — счётчиком по видимым блокам;
   «Шаг N из M» шаблона raglo в вёрстке нет */
.bx-soa { counter-reset: soa-step; }
.bx-soa .order__item-top { counter-increment: soa-step; }
.bx-soa .order__item-head::before { content: counter(soa-step); display: inline !important; color: var(--gerh-gold); }
.bx-soa .order__item-step { display: none; }

/* оформление (Q-046, Д5): «Местоположение» (sale.location.selector.search) — как поля вёрстки: серый фон, высота 32, рамка */
.bx-soa .bx-sls .bx-ui-sls-input-block {
	display: flex;
	align-items: center;
	min-height: 32px;
	padding: 0 10px;
	border: 1px solid var(--gerh-very-light-grey);
	border-radius: 2px;
	background: #f0f0f0;
}
.bx-soa .bx-sls .bx-ui-sls-input-block:focus-within { border-color: var(--gerh-gold); }
.bx-soa .bx-sls .dropdown-field,
.bx-soa .bx-sls input[type="text"] {
	flex: 1 1 auto;
	height: 30px;
	border: 0;
	background: transparent;
	font-weight: 600;
	font-size: 12px;
	color: var(--blck);
	outline: none;
}
.bx-soa .bx-sls .dropdown-icon { display: none; }
/* Q-046, № 18 повторной: во flex-блоке обёртка виджета (.bx-ui-sls-container, внутри поля — absolute) сжималась до 0,
   и выбранный город был не виден — растягиваем её на всю ширину поля */
.bx-soa .bx-sls .bx-ui-sls-input-block { position: relative; }
.bx-soa .bx-sls .bx-ui-sls-container { flex: 1 1 auto; min-width: 0; height: 30px; }
.bx-soa .bx-sls .bx-ui-sls-container input { left: 0; top: 0; width: 100%; padding: 0 30px 0 0; box-sizing: border-box; }
.bx-soa .bx-sls .bx-ui-sls-container .bx-ui-sls-route { color: var(--gerh-grey-light); }
.bx-soa .bx-sls .bx-ui-sls-clear { top: 0; bottom: 0; height: auto; }

/* оформление (Q-046, Д4): НДС под «Итого» — мелко, серым */
.basket__aside-vat { margin-top: 6px; font-size: 12px; color: var(--gerh-grey-light); text-align: right; }

/* Q-046, Д9: товар без фото — фон контейнера как у заглушки no-photo.svg, без белых полос по бокам */
.product_card .image--none,
.card_page .gall_image--none { background: #f7f7f7; }

/* Q-052: «Особенности» из 44 (HTML старого сайта: ul без класса, h3 «В комплекте») — как ul.features и подпись из card.jade */
.card_page .left_card_inner .body ul:not([class]) { margin: 0 0 12px; padding-left: 18px; line-height: 1.5; list-style: disc; }
.card_page .left_card_inner .body h3 { margin: 12px 0 6px; font-size: inherit; font-weight: bold; line-height: 1.5; color: inherit; }
