

/* Start:/bitrix/templates/sl/components/bitrix/sale.basket.basket/lens/style.css?179045190512753*/
.basket{
	border:1px solid var(--line-color);
}
.basket_header{
	background: var(--line-color);
}

.basket_product{
	border-bottom:1px solid var(--line-color);
}
input:checked + .gift_sku{
	background: var(--primary-color);
	color:#ffffff;
}


/* =========================================
   SUPERLENS CART — кошик у стилі оформлення
   ========================================= */

.sl-cart {
	--co-accent: #7040ca;
	--co-accent-2: #925be9;
	--co-accent-dark: #4c288b;
	--co-text: #211a29;
	--co-muted: #6b6376;
	--co-line: #e9e4ee;
	--co-field-line: #ded7e7;
	--co-soft: #f8f6fb;
	--co-soft-accent: #f8f4ff;
	--co-accent-line: #dfd2f4;
	color: var(--co-text);
	margin-bottom: 30px;
}

.sl-cart,
.sl-cart *,
.sl-cart *::before,
.sl-cart *::after {
	box-sizing: border-box;
}

.sl-cart__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 24px;
	align-items: start;
}

.sl-cart__main,
.sl-cart__side {
	min-width: 0;
}

/* ---------- Картки ---------- */

.sl-cart-card,
.sl-cart-sum {
	margin: 0 0 16px;
	padding: 20px 22px;
	border: 1px solid var(--co-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(51, 31, 75, 0.055);
}

.sl-cart-sum {
	position: sticky;
	top: 90px;
}

.sl-cart-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 4px;
}

.sl-cart-card__title {
	margin: 0 0 10px;
	color: var(--co-text);
	font-size: 18px;
	font-weight: 700;
}

.sl-cart-card__head .sl-cart-card__title {
	margin: 0;
}

.sl-cart-card__count {
	color: var(--co-muted);
	font-weight: 500;
}

.sl-cart-clear {
	padding: 4px 0;
	border: 0;
	color: var(--co-muted);
	background: none;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.sl-cart-clear:hover {
	color: #c52222;
}

/* ---------- Товар ---------- */

.sl-cart-item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--co-line);
}

.sl-cart-item:last-child {
	border-bottom: 0;
	padding-bottom: 4px;
}

.sl-cart-item__img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	padding: 6px;
	border-radius: 12px;
	background: var(--co-soft);
}

.sl-cart-item__img img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.sl-cart-item__info {
	min-width: 0;
}

.sl-cart-item__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.sl-cart-item__name {
	color: var(--co-text) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
}

.sl-cart-item__name:hover {
	color: var(--co-accent) !important;
}

.sl-cart-item__remove {
	display: flex;
	flex: 0 0 32px;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: -4px -6px 0 0;
	padding: 0;
	border: 0;
	border-radius: 9px;
	color: #a39bab;
	background: none;
	cursor: pointer;
}

.sl-cart-item__remove:hover {
	color: #c52222;
	background: #fff1f2;
}

.sl-cart-badge {
	display: inline-block;
	margin-top: 5px;
	padding: 2px 8px;
	border-radius: 20px;
	color: #fff;
	background: #e5484d;
	font-size: 11px;
	font-weight: 700;
}

.sl-cart-set {
	margin-top: 6px;
}

.sl-cart-set__name {
	color: #3a3142;
	font-size: 12.5px;
	font-weight: 600;
}

.sl-cart-params {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 6px;
	margin-top: 5px;
}

.sl-cart-param {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 7px;
	color: var(--co-muted);
	background: var(--co-soft);
	font-size: 12px;
	line-height: 1.35;
}

.sl-cart-param b {
	color: var(--co-text);
	font-weight: 600;
}

.sl-cart-param--gift {
	color: var(--co-accent-dark);
	background: #eee5ff;
}

.sl-cart-item__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
}

/* Кількість */

.sl-cart-qty {
	display: inline-flex;
	align-items: center;
	height: 40px;
	border: 1px solid var(--co-field-line);
	border-radius: 11px;
	background: #fff;
	overflow: hidden;
}

.sl-cart-qty__btn {
	width: 38px;
	height: 100%;
	padding: 0;
	border: 0;
	color: var(--co-accent);
	background: none;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.sl-cart-qty__btn:hover {
	background: var(--co-soft-accent);
}

.sl-cart-qty__input {
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--co-line);
	border-right: 1px solid var(--co-line);
	color: var(--co-text);
	background: #fff;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	outline: none;
}

/* Ціна */

.sl-cart-item__price {
	text-align: right;
}

.sl-cart-item__sum {
	white-space: nowrap;
}

.sl-cart-item__sum b {
	color: var(--co-text);
	font-size: 17px;
	font-weight: 800;
}

.sl-cart-item__old {
	margin-right: 6px;
	color: #a39bab;
	font-size: 13px;
	text-decoration: line-through;
}

.sl-cart-item__unit {
	margin-top: 2px;
	color: var(--co-muted);
	font-size: 12px;
}

.sl-cart-item__disc {
	margin-right: 4px;
	color: #1f7a3a;
	font-weight: 700;
}

/* ---------- Подарунки ---------- */

.sl-cart-gifts__title {
	color: #c52222;
}

.sl-cart-gift {
	display: flex;
	gap: 12px;
	height: 100%;
	padding: 12px;
	border: 1px solid var(--co-line);
	border-radius: 12px;
}

.sl-cart-gift__img {
	flex: 0 0 64px;
}

.sl-cart-gift__img img {
	width: 64px;
	height: auto;
	object-fit: contain;
}

.sl-cart-gift__name {
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.sl-cart-gift__offers {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 8px;
}

.sl-cart-gift__offer {
	padding: 3px 8px;
	border: 1px solid var(--co-field-line);
	border-radius: 7px;
	font-size: 12px;
	cursor: pointer;
}

.sl-cart-gift__btn {
	display: inline-block;
	padding: 7px 14px;
	border-radius: 9px;
	color: #fff;
	background: linear-gradient(135deg, var(--co-accent), var(--co-accent-2));
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

/* ---------- Підсумок ---------- */

.sl-cart .sl-co-free {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 11px;
	background: var(--co-soft-accent);
}

.sl-cart .sl-co-free__text {
	margin-bottom: 7px;
	color: #554d5e;
	font-size: 13px;
	line-height: 1.35;
}

.sl-cart .sl-co-free__text b {
	color: var(--co-accent);
	font-weight: 800;
	white-space: nowrap;
}

.sl-cart .sl-co-free__bar {
	height: 6px;
	border-radius: 6px;
	background: #e6ddf5;
	overflow: hidden;
}

.sl-cart .sl-co-free__bar span {
	display: block;
	height: 100%;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--co-accent), var(--co-accent-2));
}

.sl-cart .sl-co-free.is-done {
	background: #edf8ef;
}

.sl-cart .sl-co-free.is-done .sl-co-free__text {
	margin-bottom: 0;
	color: #1f7a3a;
	font-weight: 700;
}

.sl-cart .sl-co-free.is-done .sl-co-free__bar {
	display: none;
}

.sl-cart .sl-co-free__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-right: 4px;
	border-radius: 50%;
	color: #fff;
	background: #1f9a4a;
	font-size: 11px;
}

.sl-cart-totals__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 3px 0;
	color: var(--co-muted);
	font-size: 14px;
}

.sl-cart-totals__row--discount span:last-child {
	color: #1f7a3a;
	font-weight: 600;
}

.sl-cart-totals__row--total {
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid var(--co-line);
	color: var(--co-text);
	font-size: 18px;
	font-weight: 800;
}

/* Промокод */

.sl-cart-coupon {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--co-line);
}

.sl-cart-coupon summary {
	display: inline-block;
	color: var(--co-accent);
	font-size: 14px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.sl-cart-coupon summary::-webkit-details-marker {
	display: none;
}

.sl-cart-coupon summary::before {
	content: "+ ";
}

.sl-cart-coupon[open] summary::before {
	content: "− ";
}

.sl-cart-coupon__applied {
	margin: 10px 0 0;
	color: var(--co-muted);
	font-size: 12.5px;
}

.sl-cart-coupon__code {
	display: inline-block;
	margin: 3px 4px 0 0;
	padding: 2px 8px;
	border-radius: 7px;
	color: #1f7a3a;
	background: #edf8ef;
	font-weight: 700;
}

.sl-cart-coupon__label {
	display: block;
	margin: 10px 0 6px;
	color: #3a3142;
	font-size: 13px;
	font-weight: 600;
}

.sl-cart-coupon__row {
	display: flex;
	gap: 8px;
}

.sl-cart .sl-cart-coupon__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--co-field-line);
	border-radius: 11px;
	font-size: 15px;
	text-transform: uppercase;
	box-shadow: none;
}

.sl-cart .sl-cart-coupon__input:focus {
	border-color: var(--co-accent-2);
	box-shadow: 0 0 0 4px rgba(116, 66, 214, 0.1);
}

.sl-cart-coupon__btn {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--co-accent);
	border-radius: 11px;
	color: var(--co-accent);
	background: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.sl-cart-coupon__btn:hover {
	color: #fff;
	background: var(--co-accent);
}

.sl-cart-coupon__warn {
	margin-top: 8px;
	font-size: 13px;
}

.sl-cart-note {
	margin: 12px 0 0;
	color: var(--co-muted);
	font-size: 12px;
	text-align: center;
}

.sl-cart-checkout,
.sl-cart-bar__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	margin-top: 14px;
	padding: 12px 20px;
	border-radius: 12px;
	color: #fff !important;
	background: linear-gradient(135deg, var(--co-accent), var(--co-accent-2));
	box-shadow: 0 8px 20px rgba(112, 64, 202, 0.24);
	font-size: 17px;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sl-cart-checkout:hover,
.sl-cart-bar__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 11px 24px rgba(112, 64, 202, 0.3);
}

/* Липка панель — тільки на телефоні */

.sl-cart-bar {
	display: none;
}

/* =========================================
   Телефон і планшет
   ========================================= */

@media (max-width: 991.98px) {

	.sl-cart {
		padding-bottom: 90px;
	}

	.sl-cart__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.sl-cart-sum {
		position: static;
	}

	.sl-cart-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1030;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--co-line);
		background: #fff;
		box-shadow: 0 -8px 24px rgba(51, 31, 75, 0.08);
		transition: transform 0.28s ease, opacity 0.2s ease;
	}

	.sl-cart-bar.is-away {
		transform: translateY(calc(100% + 24px));
		opacity: 0;
		pointer-events: none;
	}

	.sl-cart-bar__sum {
		display: flex;
		flex: 0 0 auto;
		flex-direction: column;
		line-height: 1.2;
	}

	.sl-cart-bar__sum small {
		color: var(--co-muted);
		font-size: 12px;
	}

	.sl-cart-bar__sum b {
		color: var(--co-text);
		font-size: 18px;
		font-weight: 800;
		white-space: nowrap;
	}

	.sl-cart-bar__btn {
		flex: 1 1 auto;
		min-height: 48px;
		margin: 0;
		font-size: 16px;
	}

	/* iPhone: 16px у полях, щоб Safari не зумив */
	.sl-cart .sl-cart-coupon__input,
	.sl-cart .sl-cart-qty__input {
		font-size: 16px !important;
	}
}

@media (max-width: 575.98px) {

	.sl-cart-card,
	.sl-cart-sum {
		margin-bottom: 12px;
		padding: 14px;
		border-radius: 14px;
	}

	.sl-cart-item {
		grid-template-columns: 68px minmax(0, 1fr);
		gap: 12px;
		padding: 14px 0;
	}

	.sl-cart-item__img {
		width: 68px;
		height: 68px;
	}

	.sl-cart-item__name {
		font-size: 14px;
	}

	.sl-cart-item__sum b {
		font-size: 16px;
	}
}

/* =========================================
   SUPERLENS CART: перерахунок і промокоди
   ========================================= */

/* поки кошик перераховується — ціни трохи бліді */
.sl-cart.is-loading .sl-cart-item__price,
.sl-cart.is-loading .sl-cart-totals,
.sl-cart.is-loading .sl-co-free,
.sl-cart.is-loading .sl-cart-bar__sum {
	opacity: 0.45;
	transition: opacity 0.15s;
}

.sl-cart-coupon__code {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.sl-cart-coupon__code small {
	color: var(--co-muted);
	font-weight: 500;
}

.sl-cart-coupon__code.is-off {
	color: #6f6778;
	background: #f3f1f6;
}

.sl-cart-coupon__del {
	padding: 0 2px;
	border: 0;
	color: inherit;
	background: none;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.6;
}

.sl-cart-coupon__del:hover {
	opacity: 1;
}

.sl-cart-coupon__bad {
	color: #c52222;
}

.sl-cart .sl-cart-coupon__input.is-bad {
	border-color: #e05252;
}
/* End */


/* Start:/bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?174178119351*/
font.errortext{color:red}font.notetext{color:green}
/* End */
/* /bitrix/templates/sl/components/bitrix/sale.basket.basket/lens/style.css?179045190512753 */
/* /bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?174178119351 */
