#cart-top
{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}
#cart-top > *
{
	margin: 0;
	padding: 0;
}
#cart-top-content
{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
#cart-top-content > * ~ *:not(:empty) { margin-left: 15px; }
#cart-top .delete-cart::before
{
	vertical-align: middle;
	margin-right: 5px;
}
#cart-top .delete-cart .label { vertical-align: middle; }
#cart-text:not(:empty)
{
	clear: both;
	padding-top: 8px;
}
#cart-discount-teaser
{
	margin-bottom: 15px;
	font-size: 140%;
}

@media screen and (max-width: 767px)
{
	.adaptive #cart-top-content
	{
		display: none;
	}
}

/* Cart table */
#cart-table
{
	border-collapse: collapse;
	border-spacing: 0;
}
#cart-table > tbody > tr > td
{
	padding-top: 12px;
	padding-bottom: 12px;
	height: 70px;
}
#cart-table .image-th
{
	padding-left: 0;
	padding-right: 0;
	text-align: center;
}
#cart-table .name-th { text-align: left; }
#cart-table .q-th
{
	white-space: nowrap;
	min-width: 93px;
	text-align: center;
}
#cart-table .sum-th { text-align: left; }
.delete-cart
{
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	outline: none;
	cursor: pointer;
	box-sizing: border-box;
}
.delete-cart:active
{
	transform: translate3d(1px, 1px, 1px);
}
.delete-cart:before
{
	font-family: 'Font Awesome 5 Pro';
	content: '\f2ed';
	font-size: 22px;
}
#cart-table .delete-cell
{
	text-align: center;
	white-space: nowrap;
}
#cart-table .n-cell
{
	text-align: center;
}
#cart-table .image-cell
{
	height: auto;
	text-align: center;
	position: relative;
}
#cart-table .image-cell > a
{
	vertical-align: middle;
}
#cart-table .name-cell { width: 100%; }
#cart-table .name-cell .params { margin: 10px 0 0 1px; }
#cart-table .name-cell .cart-model-edit { margin-top: 11px; }
.cart-model-edit-select { max-width: 210px; }
.cart-model-name{}
.cart-model-store
{
	margin-top: 10px;
}
.cart-model-store-notice
{
	margin-top: 10px;
	color: #666;
	font-size: 90%;
}
.cart-model-message
{
	margin-top: 2px;
	font-size: 85%;
	color: #f00;
}
#cart-table .status-cell { text-align: center; }
.status-cell-notice
{
	color: #666;
	font-size: 85%;
	margin-top: 5px;
}
.status-cell-notice p
{
	line-height: inherit;
}
#cart-table .q-cell
{
	text-align: center;
	white-space: nowrap;
}
.cart-q
{
	width: 35px;
	height: 26px;
	padding: 0 5px;
	font-size: 115%;
	font-weight: bold;
	margin: 0;
	color: #666;
	vertical-align: middle;
	box-sizing: border-box;
	border-radius: 0;
	border-left: 0;
	border-right: 0;
	text-align: center;
}
.cart-q:focus { color: #333; }
#cart-table .q-container > input, #cart-table .q-container > button
{
	display: inline-block;
	vertical-align: bottom;
}
#cart-table .inc, #cart-table .dec
{
	height: 26px;
	width: 26px;
}
#cart-table .cart-add-q-message { font-size: 85%; }
.cart-q-readonly
{
	font-weight: bold;
	font-size: 115%;
	color: #666;
}
#cart-table .sum-cell
{
	min-width: 145px;
	position: relative;
	white-space: nowrap;
}
.limited #cart-table .sum-cell { min-width: 0; }
#cart-table .sum-cell .cart-delete-button
{
	position: absolute;
	bottom: 10px;
	right: 10px;
}
.cart-price-notice
{
	margin: 3px 0 0 1px;
	font-size: 85%;
	color: #999;
}
.cart-price-value, #cart-table .model-price
{
	white-space: nowrap;
}
#cart-table .priceold { margin-bottom: 12px; }
.cart-table-bonus-price
{
	display: block;
	margin-top: 5px;
}
.cart-gift
{
	margin-top: 7px;
	color: #fc7d01;
	white-space: normal;
}
.cart-action
{
	margin-top: 7px;
	color: #fc7d01;
	white-space: normal;
}
.cart-action > a:not(:hover) { color: inherit; }
.cart-action .action-name
{
	display: block;
	color: #000;
	text-transform: lowercase;
}
.cart-action .action-name:before { content: '\ab'; }
.cart-action .action-name:after { content: '\bb'; }

.cart-delete-button.show-delete:after
{
	content: attr(data-after);
	text-transform: lowercase;
	display: inline-block;
	margin-left: 5px;
}
.cart-delete-button.show-delete
{
	font-size: 100%;
	color: var(--LinkColor);
}
.cart-delete-button.show-delete:hover
{
	color: var(--LinkHoverColor);
}
.cart-delete-button.show-delete:active::after
{
	position: relative;
	top: 1px;
	left: 1px;
}

/* Final row */
#cart-final > td
{
	background: transparent;
	transition: background 2s ease-out;
}
#cart-final > td:first-child { border-right: 0; }
#cart-final > td.recounted
{
	background: #ffc;
	transition: background 0.5s ease-out;
}
#cart-final-formula
{
	text-align: right;
	font-size: 140%;
	padding-left: 25px;
	border-left: 0;
}
#cart-final-formula-main
{
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	align-items: center;
}
#cart-final-formula-main.is-hidden-formula
{
	display: none;
}
#cart-final-formula-main > * + *
{
	margin-left: 12px;
}
#cart-final .cart-price-value { font-size: 120%; }
#cart-final .price-discount
{
	padding: 7px;
}
#cart-final-raw-sum
{
	margin-top: 10px;
	font-size: 100%;
	color: #888;
}
#cart-final-raw-sum .price
{
	font-size: inherit;
	color: inherit;
	font-weight: inherit;
}
#cart-final-raw-sum-label
{
	display: inline-block;
	font-size: 95%;
	text-transform: lowercase;
}
#cart-final .element
{
	white-space: nowrap;
	position: relative;
}
.delivery-empty-notice { white-space: normal; }
#total-sum-element { text-transform: lowercase; }

.cart-sublabel
{
	display: block;
	font-size: 12px;
	color: #999;
	font-weight: 400;
	line-height: 1;
	text-transform: lowercase;
	position: absolute;
	left: 0;
	width: 100%;
	text-align: center;
}

#delivery-teaser
{
	margin-top: 24px;
	padding-top: 12px;
	border-top: 1px solid #e0e0e0;
}
.delivery-teaser
{
	font-size: 70%;
	color: #666;
	display: block;
}
.delivery-teaser .price
{
	font-weight: bold;
	color: var(--TextColor, #000);
	font-size: 100%;
	white-space: nowrap;
}
#cart-final-total .cart-price-value
{
	font-size: 240%;
}
#left:not(:empty) ~ #center #cart-final-total .cart-price-value,
#right:not(:empty) ~ #center #cart-final-total .cart-price-value
{
	font-size: 220%;
}
#cart-final-total .props
{
	margin-top: 10px;
	white-space: nowrap;
}

.cart-final-bonus-price
{
	margin-top: 4px;
}

.cart-table-status-in-name
{
	display: none;
}

@media screen and (max-width: 1023px)
{
	.adaptive #cart-table, .adaptive #cart-table tbody
	{
		border: 0;
		display: block;
	}
	.adaptive #cart-table tr.header-tr
	{
		display: none;
	}
	.adaptive #cart-table tr
	{
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
		align-items: flex-start;
		background: transparent;
		border-bottom: 1px solid #eee;
	}
	.adaptive #cart-table > tbody > tr > td
	{
		display: block;
		flex: 1;
		border: 0;
		box-sizing: border-box;
		height: auto;
	}
	.adaptive #cart-table > tbody > tr > td:not(.cart-complect-header)
	{
		background: transparent;
	}
	.adaptive #cart-table .delete-cell
	{
		order: 30;
		text-align: right;
	}
	.adaptive #cart-table .n-cell
	{
		flex-basis: 1%;
		flex-grow: 0;
	}
	.adaptive #cart-table .image-cell
	{
		flex-basis: 35%;
		flex-grow: 0;
		padding-bottom: 0;
		padding-left: 0;
		padding-right: 0;
	}
	.adaptive #cart-table .q-cell
	{
		flex-basis: 35%;
		flex-grow: 0;
		padding-left: 0;
		padding-right: 0;
	}
	.adaptive #cart-table .image-cell > a
	{
		max-width: 100%;
	}
	.adaptive #cart-table .image-cell > a > img
	{
		max-width: 100%;
		max-height: 100%;
		width: auto;
		height: auto;
	}
	.adaptive #cart-table .name-cell
	{
		flex-basis: 65%;
		min-width: 65%;
		padding-bottom: 0;
	}
	.adaptive #cart-table .status-cell, .adaptive #cart-table .n-cell
	{
		display: none;
	}
	.adaptive .cart-table-status-in-name
	{
		display: block;
		margin-top: 12px;
	}
	.cart-model-edit-select { max-width: 130px; }
	.adaptive .cart-table-status-in-name + div
	{
		margin-top: 12px;
	}
	.adaptive #cart-table .sum-cell
	{
		min-width: 0;
	}
	.adaptive #cart-table tr#cart-final
	{
		flex-flow: column nowrap;
		align-items: stretch;
		padding: 15px;
		background: #f2f2f2;
		border: 1px solid #e0e0e0;
	}
	.adaptive #cart-table tr#cart-final > td
	{
		padding: 0;
		text-align: center;
	}
	.adaptive #cart-table > tbody > tr > td#cart-final-total ~ td { display: none; }
	.adaptive #cart-final-formula-main
	{
		justify-content: center;
	}
	.adaptive #cart-final-formula-main .header
	{
		display: none;
	}
	.adaptive #cart-final-formula-main > *:first-child + * { margin-left: 0; }
	.adaptive #cart-equal 	{ font-size: 200%; }
	#cart-final-formula-main > * { margin-bottom: 15px; }
	#cart-final-formula-main > *:last-child { margin-bottom: 0; }
	.adaptive #delivery-teaser
	{
		margin: 10px 0;
		padding: 15px;
		border-top: 1px solid #e0e0e0;
		border-bottom: 1px solid #e0e0e0;
	}
	.adaptive #cart-final-formula.empty
	{
		display: none;
	}
	.adaptive #cart-table .catalog-model-groups
	{
		display: none;
	}
}

/*services*/
.shop-services-cart
{
	margin-top: 20px;
}
.shop-service-name
{
	font-size: 145%;
}
.shop-service-notice
{
	margin-top: 15px;
	line-height: 1.4;
	color: #666;
}
.catalog-minitable.shop-services-table-cart .price-cell
{
	font-size: 110%;
}

@media screen and (max-width: 599px)
{
	.adaptive .shop-service-notice
	{
		display: none;
	}
}