

/* Start:/bitrix/templates/.default/components/bitrix/sale.basket.basket/template.nadel_2026/style.css?178791597418205*/
/*
 * Корзина в вёрстке сайта.
 *
 * Разметку строк рисует component.js по Mustache-шаблонам из js-templates,
 * и трогать её почти нельзя: скрипт цепляется к data-entity и к именам
 * классов, по которым потом подставляет цены. Поэтому здесь именно стили —
 * таблица Битрикса превращается в карточки без правки её структуры.
 *
 * Значения взяты из боевых стилей сайта, а не подобраны на глаз:
 * обводка #E6E3E1 и радиус 8 — как правая колонка карточки товара,
 * счётчик с той же рамкой и радиусом 4, кнопка #FFED00 с коричневым
 * текстом — как «Оформить заказ» на оформлении.
 *
 * @since 2026-08-28
 */

/* ---------- каркас страницы ---------- */

.nadel-cart {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nadel-cart__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	/* По вертикали зазора нет: ряд предупреждений почти всегда скрыт,
	   и общий gap отбивал бы список от верха пустотой. */
	column-gap: 30px;
	row-gap: 0;
	align-items: start;
}

/*
 * Ряды идут в исходном порядке — предупреждения, список, итоги, —
 * поэтому места в сетке назначаются явно: иначе итоги встали бы
 * во вторую ячейку первой строки.
 */
.nadel-cart__warnings {
	grid-column: 1;
	grid-row: 1;
}

.nadel-cart__items {
	grid-column: 1;
	grid-row: 2;
}

.nadel-cart__side {
	grid-column: 2;
	grid-row: 1 / span 2;
	position: sticky;
	top: 20px;
}

/* Колонки Битрикса внутри рядов больше ничего не делают. */
.nadel-cart .row,
.nadel-cart [class^="col-xs"] {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* ---------- список товаров ---------- */

.basket-items-list-wrapper {
	box-sizing: border-box;
	border: 1px solid #E6E3E1;
	border-radius: 8px;
	padding: 4px 24px;
}

/* Фильтр по корзине выключен параметром компонента, но шапка всё равно
   рисуется — пустой полосой сверху. */
.basket-items-list-header {
	display: none;
}

.basket-items-list-table {
	width: 100%;
	border-collapse: collapse;
}

.basket-items-list-item-container {
	border-bottom: 1px solid #E6E3E1;
}

.basket-items-list-item-container:last-child {
	border-bottom: none;
}

.basket-items-list-item-descriptions,
.basket-items-list-item-price,
.basket-items-list-item-price-for-one,
.basket-items-list-item-amount,
.basket-items-list-item-remove {
	padding: 20px 0;
	vertical-align: middle;
}

.basket-items-list-item-descriptions-inner {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* ---------- картинка ---------- */

/* Без подложки: у товаров фото на белом, и серый прямоугольник
   вылезал полосой под картинкой. */
.basket-item-block-image {
	position: relative;
	width: 96px;
	height: 96px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	overflow: hidden;
}

.basket-item-image-link {
	display: block;
	border-bottom: none !important;
}

.basket-item-image {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

/* Плашка акции приходит из карточки товара — оставляем её вид оттуда. */
.basket-item-block-image .catalog-discount {
	position: absolute;
	top: 4px;
	left: 4px;
	padding: 2px 6px;
	border-radius: 4px;
	background: #FE0101;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
}

.basket-item-label-text,
.basket-item-label-ring {
	position: absolute;
	right: 4px;
	bottom: 4px;
	padding: 2px 6px;
	border-radius: 4px;
	background: #6E312A;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
}

/* ---------- название и свойства ---------- */

.basket-item-block-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.basket-item-info-name {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
}

.basket-item-info-name-link {
	color: #372c2c !important;
	border-bottom: none !important;
}

.basket-item-info-name-link:hover {
	color: #6e312a !important;
}

.basket-item-block-properties {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.4;
	color: #8E8E93;
}

.basket-item-property-name::after {
	content: ": ";
}

.basket-item-property-value {
	color: #372c2c;
}

.basket-item-scu-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 2px 0 0 0;
	padding: 0;
	list-style: none;
}

.basket-item-scu-item-inner {
	display: block;
	min-width: 28px;
	height: 28px;
	box-sizing: border-box;
	padding: 0 6px;
	border: 1px solid #E6E3E1;
	border-radius: 4px;
	font-size: 12px;
	line-height: 26px;
	text-align: center;
	cursor: pointer;
}

/* ---------- действия под названием ---------- */

.basket-item-block-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 2px;
}

.basket-item-block-actions a,
.basket-item-actions-remove {
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	font-weight: 500;
	color: #8E8E93 !important;
	border-bottom: none !important;
	cursor: pointer;
}

.basket-item-block-actions a:hover,
.basket-item-actions-remove:hover {
	color: #6e312a !important;
}

/* ---------- счётчик ---------- */

.basket-items-list-item-amount {
	width: 140px;
}

/*
 * Рамка именно на .basket-item-block-amount: внутри него минус, обёртка
 * поля, плюс и подпись «шт» — четырьмя соседями. Если обвести обёртку
 * поля, как напрашивается по имени, кнопки окажутся снаружи рамки.
 */
.basket-item-block-amount {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 116px;
	height: 40px;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0 10px;
	border: 1px solid #E6E3E1;
	border-radius: 4px;
}

.basket-item-block-amount.disabled {
	opacity: .5;
}

.basket-item-amount-filed-block {
	flex: 1;
	min-width: 0;
}

.basket-item-amount-btn-minus,
.basket-item-amount-btn-plus {
	position: relative;
	width: 16px;
	height: 16px;
	flex: none;
	cursor: pointer;
}

/* Минус и плюс рисуются линиями: в шаблоне это пустые узлы без иконок. */
.basket-item-amount-btn-minus::before,
.basket-item-amount-btn-plus::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 2px;
	width: 12px;
	height: 2px;
	background: #212328;
}

.basket-item-amount-btn-plus::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 7px;
	width: 2px;
	height: 12px;
	background: #212328;
}

.basket-item-amount-btn-minus.disabled,
.basket-item-amount-btn-plus.disabled {
	opacity: .35;
	cursor: default;
}

.basket-item-amount-filed {
	width: 44px;
	height: 100%;
	box-sizing: border-box;
	padding: 0;
	border: none;
	background: none;
	font-family: MuseoSans, sans-serif;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	color: #372c2c;
}

/* Подпись выносится под рамку: внутри она растянула бы счётчик. */
.basket-item-amount-field-description {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	left: 0;
	font-size: 12px;
	font-weight: 300;
	text-align: center;
	color: #8E8E93;
}

/* ---------- цены ---------- */

.basket-items-list-item-price,
.basket-items-list-item-price-for-one {
	width: 160px;
	text-align: right;
}

.basket-item-price-current {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #372c2c;
}

.basket-item-price-old {
	margin-top: 2px;
	font-size: 15px;
	font-weight: 500;
	color: #8E8E93;
	text-decoration: line-through;
}

.basket-item-price-difference {
	margin-top: 2px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(243, 50, 50, 1);
}

/* Сами суммы лежат во вложенном …-text: размер и цвет он должен
   наследовать от строки, иначе крупная цена превращается в мелкую. */
.basket-item-price-current-text,
.basket-item-price-old-text {
	font: inherit;
	color: inherit;
}

.basket-item-price-title {
	margin-top: 2px;
	font-size: 13px;
	font-weight: 300;
	color: #8E8E93;
}

/* ---------- удаление и восстановление ---------- */

.basket-items-list-item-remove {
	width: 44px;
	text-align: right;
}

.basket-items-list-item-notification {
	padding: 18px 0;
}

.basket-items-list-item-removed-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
	font-weight: 300;
	color: #8E8E93;
}

.basket-items-list-item-removed-block {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.basket-items-list-item-removed-block a {
	font-size: 14px;
	font-weight: 700;
	color: #6E312A !important;
	border-bottom: none !important;
}

.basket-items-list-item-clear-btn {
	cursor: pointer;
	color: #8E8E93;
}

.basket-items-list-item-clear-btn::before {
	content: "×";
	font-size: 20px;
	line-height: 1;
}

/* Подложка на время запроса: строка не должна «прыгать» под курсором. */
.basket-items-list-item-overlay,
.basket-items-list-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(255, 255, 255, .6);
	z-index: 2;
}

.basket-items-list-container {
	position: relative;
}

/* ---------- предупреждения ---------- */

.nadel-cart__warnings .alert {
	position: relative;
	margin-bottom: 20px;
	box-sizing: border-box;
	margin: 0;
	padding: 14px 40px 14px 16px;
	border: 1px solid #E6E3E1;
	border-radius: 8px;
	background: #FFFCEA;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.4;
	color: #372c2c;
}

.nadel-cart__warnings .close {
	position: absolute;
	top: 10px;
	right: 14px;
	font-size: 20px;
	line-height: 1;
	color: #8E8E93;
	cursor: pointer;
}

/* ---------- правая колонка ---------- */

.nadel-cart__side .basket-checkout-container {
	box-sizing: border-box;
	border: 1px solid #E6E3E1;
	border-radius: 8px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.basket-checkout-section-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.basket-checkout-block-total-inner {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.basket-checkout-block-total-title {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	color: #212328;
}

.basket-checkout-block-total-description {
	font-size: 13px;
	font-weight: 300;
	color: #8E8E93;
}

.basket-checkout-block-total-price-inner {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 12px;
	border-top: 1px solid #212328;
}

.basket-coupon-block-total-price-current {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #212328;
}

.basket-coupon-block-total-price-old {
	font-size: 16px;
	font-weight: 500;
	color: #8E8E93;
	text-decoration: line-through;
}

.basket-coupon-block-total-price-difference {
	font-size: 14px;
	font-weight: 500;
	color: rgba(243, 50, 50, 1);
}

.basket-checkout-block-btn {
	margin-top: 2px;
}

/*
 * Кнопка та же, что «Оформить заказ» на оформлении: жёлтая, радиус 4,
 * коричневый текст. Глобальный .g-button даёт скруглённую «таблетку»,
 * поэтому радиус переопределён здесь.
 */
.basket-btn-checkout {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 14px;
	border: none;
	border-radius: 4px;
	background: #ffed00;
	color: #6E312A !important;
	font-family: MuseoSans, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	transition: background .3s ease;
}

.basket-btn-checkout:hover {
	background: #f7d700;
}

.basket-btn-checkout.disabled {
	background: #E6E3E1;
	color: #8E8E93 !important;
	cursor: default;
}

.nadel-cart__bonus-note {
	font-size: 13px;
	font-weight: 300;
	line-height: 1.35;
	color: #8E8E93;
}

/* ---------- промокод ---------- */

.basket-coupon-block-field-description {
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #212328;
}

.basket-coupon-section .form-control {
	width: 100%;
	height: 44px;
	box-sizing: border-box;
	padding: 0 12px;
	border: 1px solid #E6E3E1;
	border-radius: 4px;
	background: #fff;
	font-family: MuseoSans, sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #372c2c;
}

.basket-coupon-section .form-control:focus {
	outline: none;
	border-color: #6E312A;
}

.basket-coupon-alert {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.4;
	color: #8E8E93;
}

.basket-coupon-alert .close-link {
	margin-left: 6px;
	color: #6E312A;
	cursor: pointer;
}

.text-danger {
	color: rgba(243, 50, 50, 1);
}

.text-success {
	color: #219653;
}

/* ---------- телефон ---------- */

@media (max-width: 1023px) {
	.nadel-cart__grid {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.nadel-cart__side {
		position: static;
	}
}

@media (max-width: 767px) {
	.nadel-cart {
		gap: 16px;
	}

	.basket-items-list-wrapper {
		padding: 0 14px;
	}

	/*
	 * Таблица разбирается в карточки: ячейки становятся блоками,
	 * счётчик и цена — одной строкой под названием. Иначе четыре
	 * колонки Битрикса не помещаются на 360 px.
	 */
	.basket-items-list-table,
	.basket-items-list-table tbody,
	.basket-items-list-item-container,
	.basket-items-list-item-descriptions,
	.basket-items-list-item-price,
	.basket-items-list-item-price-for-one,
	.basket-items-list-item-amount,
	.basket-items-list-item-remove {
		display: block;
		width: auto;
	}

	.basket-items-list-item-container {
		padding: 14px 0;
	}

	.basket-items-list-item-descriptions {
		padding: 0;
	}

	.basket-items-list-item-descriptions-inner {
		align-items: flex-start;
		gap: 12px;
	}

	.basket-item-block-image {
		width: 72px;
		height: 72px;
	}

	.basket-item-info-name {
		font-size: 14.5px;
	}

	.basket-items-list-item-price,
	.basket-items-list-item-price-for-one {
		padding: 10px 0 0 0;
		text-align: left;
	}

	.basket-item-price-current {
		font-size: 18px;
	}

	/* Снизу место под «шт»: подпись выведена из потока, и без запаса
	   она наезжала бы на цену следующей строкой. */
	.basket-items-list-item-amount {
		padding: 10px 0 24px 0;
	}

	/* Битрикс сам помечает лишние на телефоне колонки классом hidden-xs
	   по параметру COLUMNS_LIST_MOBILE — остаётся его уважить, иначе
	   цена за штуку и сумма дублируются друг под другом. */
	.hidden-xs {
		display: none !important;
	}

	.basket-item-block-amount {
		width: 124px;
		height: 44px;
		margin: 0;
		padding: 0 12px;
	}

	.basket-item-amount-field-description {
		right: auto;
		left: 0;
		width: 124px;
	}

	.basket-items-list-item-remove {
		padding: 10px 0 0 0;
		text-align: left;
	}

	.basket-btn-checkout {
		height: 50px;
		padding: 0;
	}
}

/* ---------- пустая корзина ---------- */

.nadel-cart__empty {
	box-sizing: border-box;
	max-width: 560px;
	padding: 56px 40px;
	border: 1px solid #E6E3E1;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.nadel-cart__empty-icon {
	color: #C4BDB9;
}

.nadel-cart__empty-title {
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
	color: #372c2c;
}

.nadel-cart__empty-text {
	max-width: 340px;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.45;
	color: #8E8E93;
	text-wrap: pretty;
}

.nadel-cart__empty-button {
	margin-top: 6px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	padding: 14px 32px;
	border-radius: 4px;
	border-bottom: none !important;
	background: #ffed00;
	color: #6E312A !important;
	font-size: 16px;
	font-weight: 700;
	transition: background .3s ease;
}

.nadel-cart__empty-button:hover {
	background: #f7d700;
}

@media (max-width: 767px) {
	.nadel-cart__empty {
		padding: 36px 20px;
		gap: 14px;
	}

	.nadel-cart__empty-icon svg {
		width: 56px;
		height: 56px;
	}

	.nadel-cart__empty-title {
		font-size: 19px;
	}

	.nadel-cart__empty-text {
		font-size: 13.5px;
	}

	.nadel-cart__empty-button {
		width: 100%;
		height: 50px;
		padding: 0;
	}
}

/* End */


/* Start:/bitrix/templates/.default/components/bitrix/sale.basket.basket/template.nadel_2026/themes/blue/style.css?1787915055731*/
/* SCU */
.bx-blue .basket-item-scu-item:hover,
.bx-blue .basket-item-scu-item.selected,
.bx-blue .basket-item-scu-item.not-available:hover { border-color: #006cc0; }

/* Amount */
.bx-blue .basket-item-amount-filed:hover,
.bx-blue .basket-item-amount-filed:focus { border-color: #006cc0; }

/* BTN */
div.bx-blue .btn.btn-default {
	outline: none;
	border-color: #1485ce;
	background-color: #1485ce;
	color: #fff;
}

div.bx-blue .btn.btn-default:hover {
	outline: none;
	border-color: #53a4d8;
	background-color: #53a4d8;
	color: #fff;
}

div.bx-blue .btn.btn-default:active {
	outline: none;
	-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
/* End */
/* /bitrix/templates/.default/components/bitrix/sale.basket.basket/template.nadel_2026/style.css?178791597418205 */
/* /bitrix/templates/.default/components/bitrix/sale.basket.basket/template.nadel_2026/themes/blue/style.css?1787915055731 */
