.slg-cart-modal {
	max-width: 520px;
}

.slg-cart-modal .fancybox-inner {
	min-width: min(100%, 420px);
	padding: 24px 20px;
}

@media (min-width: 480px) {
	.slg-cart-modal .fancybox-inner {
		padding: 28px 24px;
	}
}

.slg-cart-modal__title {
	margin: 0 0 24px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	color: #182b45;
}

.slg-cart-modal__empty {
	margin: 0;
	padding: 24px 16px;
	text-align: center;
	color: #667788;
}

.slg-cart-modal__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: 320px;
	margin: 0 0 24px;
	padding: 4px 4px 4px 0;
	overflow-y: auto;
}

.slg-cart-modal__item {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 14px 16px;
	border-radius: 12px;
	background: #f3f6f8;
}

.slg-cart-modal__item-body {
	min-width: 0;
	padding-right: 4px;
}

.slg-cart-modal__item-media img,
.slg-cart-modal__item-placeholder {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	object-fit: cover;
	background: #e8edf1;
}

.slg-cart-modal__item-title {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #182b45;
	text-decoration: none;
}

.slg-cart-modal__item-title:hover {
	color: #009aa4;
}

.slg-cart-modal__item-code,
.slg-cart-modal__item-qty {
	font-size: 12px;
	line-height: 1.3;
	color: #667788;
}

.slg-cart-modal__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #182b45;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.slg-cart-modal__remove:hover {
	background: #ff3923;
	color: #fff;
}

.slg-cart-modal__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 4px;
}

.slg-cart-modal__form .input-group {
	margin-bottom: 0 !important;
}

.slg-cart-modal__form .form-control {
	width: 100%;
	min-height: 52px;
	padding: 14px 18px;
	border: 1px solid #d5dde3;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.4;
	color: #182b45;
	background: #fff;
}

.slg-cart-modal__form .form-control:focus {
	border-color: #009aa4;
	outline: none;
	box-shadow: 0 0 0 3px rgb(0 154 164 / 15%);
}

.slg-cart-modal__form .btn-green,
.slg-cart-modal .btn-green {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin-top: 4px;
	padding: 14px 24px;
	border: 0;
	border-radius: 40px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
	background: linear-gradient(to right, #009aa4, #00a0ac);
}

.slg-cart-modal__form .btn-green:hover,
.slg-cart-modal .btn-green:hover {
	background: linear-gradient(to right, #ff3923, #ff5b2c);
}

.js-add-to-cart.is-added {
	opacity: 0.85;
}

.main-page-header__cart {
	border: 0;
	background: transparent;
	cursor: pointer;
}

.main-page-header__cart-count {
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #ff3923;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.main-page-header__cart-count:not(:empty) {
	display: inline-flex;
}

.outdoor-item {
	padding-bottom: 4px;
}

.outdoor-item__code {
	margin: 10px 16px 18px;
	padding: 0 8px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: #a8b3c0;
}

.outdoor-item__actions {
	display: flex;
	gap: 8px;
	padding: 0 16px 16px;
	margin-top: 0;
}

.outdoor-item__actions .js-add-to-cart {
	flex: 1;
	padding: 12px 20px;
}

.single-product__actions {
	margin-top: 20px;
}

.single-product__actions .js-add-to-cart {
	padding: 12px 24px;
}

#artikul {
	color: #a8b3c0;
	font-weight: 400;
}

.slg-header-cart {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.slg-header-cart img {
	width: 32px;
	height: 32px;
}

.slg-header-cart__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	font-size: 12px;
	line-height: 1.1;
	text-align: left;
}

.slg-header-cart__text span:first-child {
	font-weight: 700;
}

.slg-header-cart__count {
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #ff3923;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.slg-header-cart__count:not(:empty) {
	display: inline-flex;
}
