/*
CART ORDER
*/
.cart-table {
	margin-top: 20px;
	width: 100%;
	margin-bottom: 30px;
}

.cart-table__title {
	border-bottom: 1px solid #CACACA;
	padding-bottom: 18px;

	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: flex-start;
	width: 100%;
}

.cart-table__title .cart-title__item {
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	color: #696969;
}

.cart-table__left {
	width: calc(14% - 13.333px);
	flex: 0 0 calc(14% - 13.333px);
}

.cart-table__left,
.cart-table__second,
.cart-table__right {
	align-items: center;
}

.cart-table__left img {
	width: 100%;
	display: block;
}

.cart-table__second {
	display: flex;
	align-items: center;
	gap: 40px;

	width: calc(46% - 13.333px);
	flex: 0 0 calc(46% - 13.333px);
}

.cart-table__right {
	flex: 0 0 calc(40% - 13.333px);
	width: calc(40% - 13.333px);

	display: flex;
}

.cart-title__item.__name {
	width: calc(62% - 20px);
	flex: 0 0 calc(62% - 20px);
}

.cart-title__item.__price {
	width: calc(33% - 20px);
	flex: 0 0 calc(33% - 20px);
}

.cart-title__item.__counter,
.cart-title__item.__cost {
	width: 38%;
	flex: 0 0 38%;
}

.cart-title__item.__actions {
	width: 24%;
	flex: 0 0 24%;
}

.cart-rows__row {
	padding: 20px 0;
	border-bottom: 1px solid #CACACA;

	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: flex-start;
	width: 100%;
}

.cart-row__item.__name {
	width: calc(62% - 20px);
	flex: 0 0 calc(62% - 20px);
}

.cart-row__item.__counter,
.cart-row__item.__cost {
	width: 38%;
	flex: 0 0 38%;
}

.cart-row__item.__actions {
	width: 24%;
	flex: 0 0 24%;
}

.cart-row__brand {
	font-weight: 700;
	font-size: 14px;
	line-height: 18px;

	color: #333333;
	margin-bottom: 4px;
}

.cart-row__name {
	font-style: normal;
	font-weight: 300;
	font-size: 16px;
	line-height: 20px;

	color: #333333;
}

.cart-row__price {
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 23px;

	color: #333333;

	margin-bottom: 5px;
}

.cart-row__oldprice {
	text-decoration: line-through;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	color: #C2C2C2;
}

.cart-row__cost {
	font-style: normal;
	font-weight: 700;
	font-size: 18px;
	line-height: 23px;
	color: #333333;
}

.cart-row__actions {
	display: flex;
	gap: 20px;
	justify-content: flex-end;
	position: relative;
}

.cart-row__action {
	width: 34px;
	height: 34px;
	display: block;
}

.cart-action__favorite {
	background: url('/images/favorite.svg') no-repeat center center;
	background-size: 24px 24px;
	position: relative!important;
}

.cart-action__favorite:hover {
	background: url('/images/favorite-hover.svg') no-repeat center center;
}

.cart-action__favorite.active {
	background: url('/images/favorite-active.svg') no-repeat center center;
}

.cart-action__remove {
	background: url('/images/remove.svg') no-repeat center center;
	background-size: 24px 24px;
	cursor: pointer;
}

.info-order {
	display: flex;
	gap: 140px;
	margin-bottom: 30px;
}

.info-order__info {
	width: 60%;
	flex: 0 0 60%;
}

.info-spoilers {
	display: none;
}

.info-tabs__nav {
	display: flex;
	overflow-x: auto;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.info-tabs__nav li {
	padding: 10px 18px !important;
	background: #fff;
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 25px;
	color: #333333;
	white-space: nowrap;
	cursor: pointer;
}

.info-tabs__nav li:hover {
	background: rgba(244, 244, 244, 0.55);
}

.info-tabs__nav li.active {
	background: #F4F4F4;
}

.info-tabs__container {
	width: 100%;
}

.info-tabs__content {
	display: none;
	padding: 20px;

	font-style: normal;
	font-weight: 300;
	font-size: 16px;
	line-height: 20px;
	color: #333333;
	background-color: #F4F4F4;
}

.info-tabs__content.active {
	display: block;
}

.info-order__order {
	width: calc(40% - 140px);
	flex: 0 0 calc(40% - 140px);
}

.cart-cost {
	display: flex;
	align-items: center;

	gap: 40px;
	margin-bottom: 35px;
	padding-top: 8px;
}

.cart-cost__title {
	font-weight: 700;
	font-size: 24px;
	line-height: 30px;
	display: flex;
	align-items: center;
	text-align: right;
	color: #333333;
}

.cart-cost__cost {
	font-style: normal;
	font-weight: 700;
	font-size: 24px;
	line-height: 30px;
	color: #333333;
}

input[type="text"].order-form__input {
	padding: 14px 20px;

	background: #F4F4F4;
	border: 1px solid #F4F4F4;
	border-radius: 4px;

	font-style: normal;
	font-weight: 300;
	font-size: 14px;
	line-height: 18px;
	display: block;
	width: 100%;
	margin-bottom: 12px;
}

input[type="text"].order-form__input.error {
	border-color: brown;
}

.order-form__checkbox {
	font-style: normal;
	font-weight: 300;
	font-size: 12px;
	line-height: 15px;
	color: #333333;
	padding-left: 20px;
	background: url('/images/check-empty.png') no-repeat left 1px;
	background-size: 14px 14px;
	cursor: pointer;
	position: relative;
}

.order-form__checkbox:has(input:checked) {
	background: url('/images/check.png') no-repeat left 1px;
	background-size: 14px 14px;
}

.order-form__checkbox input {
	opacity: 0;
	position: absolute;
	left: 0;
	pointer-events: none;
}

.order-form__info {
	margin-top: 10px;
	font-style: normal;
	font-weight: 300;
	font-size: 12px;
	line-height: 15px;
	color: #696969;
}

.order-form__button {
	text-align: center;
	padding: 12px 26px;

	border-radius: 4px;

	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	width: 100%;
	margin-top: 22px;
}

.c_button_wrapper .c_button.c_button_blue {
	background: #291883;
	color: #fff;
	margin-right: 15px;
	border: 1px solid #291883;
	border-radius: 4px;
	padding: 10px 15px;
	font-weight: 500;
}

.c_button_wrapper .c_button.c_button_blue:hover {
	background: #fff;
	color: #291883;

}

.cart-empty {
	text-align: center;
	padding-bottom: 50px;
}

.cart-empty p {
	font-style: normal;
	font-weight: 300;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	color: #333333;
	margin-top: 15px;
}

.cart-empty__title {
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 25px;
	align-items: center;
	text-align: center;
	color: #333333;
	margin-top: 30px;
}

.cart-empty__link {
	margin-top: 45px;
	display: inline-block;
}

@media (max-width: 1099px) {
	.info-order {
		gap: 20px;
	}

	.info-order__order {
		width: calc(40% - 20px);
		flex: 0 0 calc(40% - 20px);
	}
}

@media (max-width: 767px) {
	.cart-table__title {
		display: none;
	}

	.cart-rows__row {
		flex-wrap: wrap;
		gap: 10px;
	}

	.cart-table__left {
		width: 30%;
		flex: 0 0 30%;
	}

	.cart-table__second {
		padding-left: 15px;
		width: calc(70% - 10px);
		flex: 0 0 calc(70% - 10px);
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}

	.cart-table__second .cart-row__item {
		width: 100%;
		flex: 0 0 100%;
	}

	.cart-table__second .cart-row__item.__price {
		display: flex;
		gap: 10px;
		align-items: center;
	}

	.cart-row__price {
		margin: 0;
	}

	.cart-row__price {
		font-size: 16px;
	}

	.cart-table__right {
		flex: 0 0 100%;
		width: 100%;
		gap: 10px;
	}

	.cart-table__right .cart-row__item {
		width: 33.333%;
		flex: 0 0 33.333%;
	}

	.cart-table__right .cart-row__item.__actions {
		order: 1;
		width: calc(33.333% - 20px);
		flex: 0 0 calc(33.333% - 20px);
	}

	.cart-table__right .cart-row__item.__counter {
		order: 2;
	}

	.cart-table__right .cart-row__item.__cost {
		order: 3;
		text-align: right;
	}

	.cart-row__actions {
		justify-content: flex-start;
		gap: 14px;
	}

	.cart-action__favorite {
		order: 2;
	}

	.info-order__info {
		order: 2;
	}

	.info-order {
		flex-direction: column;
		gap: 60px;
	}

	.info-order__info {
		width: 100%;
		flex: 0 0 100%;
	}

	.info-order__order {
		width: 100%;
		flex: 0 0 100%;
	}

	.cart-cost {
		justify-content: space-between;
		padding-top: 0;
	}

	.cart-cost__title {
		font-style: normal;
		font-weight: 700;
		font-size: 20px;
		line-height: 25px;
	}

	.cart-cost__cost {
		font-style: normal;
		font-weight: 700;
		font-size: 20px;
		line-height: 25px;
	}

	.info-tabs {
		display: none;
	}

	.info-spoilers {
		gap: 5px;
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.spoiler {
		display: flex;
		flex-direction: column;
		gap: 5px;
		width: 100%;
	}

	.spoiler-title {
		background: #F4F4F4 url('/images/arrow-active.svg') no-repeat center right 10px;
		border-radius: 6px;

		font-style: normal;
		font-weight: 600;
		font-size: 16px;
		line-height: 20px;
		color: #333333;

		padding: 10px;
		cursor: pointer;
	}

	.spoiler-text {
		padding: 20px;
		background: #F4F4F4;

		font-style: normal;
		font-weight: 300;
		font-size: 13px;
		line-height: 16px;

		color: #333333;
		display: none;
	}

	.spoiler.active .spoiler-title {
		background: #F4F4F4 url('/images/arrow.svg') no-repeat center right 10px;
	}

	.spoiler.active .spoiler-text {
		display: block;
	}
}

/* cart in modal window */
.cart-table.__small .cart-table__title {
	display: none;
}

.cart-table.__small .cart-rows__row {
	flex-wrap: wrap;
	gap: 10px;
	align-items: flex-start;
}

.cart-table.__small .cart-table__left {
	width: 30%;
	flex: 0 0 30%;
}

.cart-table.__small .cart-table__second {
	padding-left: 15px;
	width: calc(70% - 10px);
	flex: 0 0 calc(70% - 10px);
	flex-direction: column;
	gap: 15px;
	align-items: flex-start;
}

.cart-table.__small .cart-table__second .cart-row__item {
	width: 100%;
	flex: 0 0 100%;
}

.cart-table.__small .cart-table__second .cart-row__item.__price {
	display: flex;
	gap: 10px;
	align-items: center;
}

.cart-table.__small .cart-row__price {
	margin: 0;
}

.cart-table.__small .cart-row__price {
	font-size: 16px;
}

.cart-table.__small .cart-table__right {
	flex: 0 0 100%;
	width: 100%;
	gap: 10px;
}

.cart-table.__small .cart-table__right .cart-row__item {
	width: 30%;
	flex: 0 0 30%;
}

.cart-table.__small .cart-table__right .cart-row__item.__cost {
	width: calc(40% - 20px);
	flex: 0 0 calc(40% - 20px);
}

.cart-table.__small .cart-table__right .cart-row__item.__actions {
	order: 1;
	width: 30%;
	flex: 0 0 30%;
}

.cart-table.__small .cart-table__right .cart-row__item.__counter {
	order: 2;
	padding-left: 15px;
}

.cart-table.__small .cart-table__right .cart-row__item.__cost {
	order: 3;
	text-align: right;
}

.cart-table.__small .cart-row__actions {
	justify-content: flex-start;
	gap: 14px;
}

.cart-table.__small .cart-action__favorite {
	order: 2;
}




.cart-info {
	display: flex;
	width: 100%;
	justify-content: space-between;
	gap: 30px;
}

.cart-info__text {
	width: 45%;
	flex: 0 0 45%;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;

	color: #696969;
}

.cart-info__price {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.cart-info__price .cart-count {
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;

	color: #696969;
}

.cart-info__price .cart-price {
	font-style: normal;
	font-weight: 700;
	font-size: 24px;
	line-height: 30px;
	text-align: right;

	color: #333333;
}

.small-cart-block {
	display: block;
	width: 100%;
	margin-top: 20px;
}

.small-cart-block__btn {
	display: block;
	text-align: center;
	margin: 0!important;
	margin-bottom: 25px!important;
}

.favorites-link {
    position: relative;
}

.favorites-counts {
    position: absolute;
    top: 2px;
    right: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #291883;
    color: white;
    font-size: 8px;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.header-cart {
	position: relative;
	cursor: pointer;
}

.menu-item-cart {
	position: relative;
	opacity: 0.7;
}

.menu-item-cart a {
	pointer-events: none;
}

.header-cart .product-item-value,
.menu-item-cart .product-item-value {
	position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #CA0000;
    font-size: 8px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    right: -1px;
    top: 2px;
}

.menu-item-cart .product-item-value {
	right: 10px;
}

.basket-items-list-item-amount {
	-ms-flex-order: 2;

	vertical-align: top;
	-webkit-box-ordinal-group: 3;
	order: 2;
	display: flex;
	align-items: center;
}
.amount-cont {
	display: flex;
	align-items: center;
	padding: 4px 10px;
	max-height: 32px;
	justify-content: space-between;
	height: 100%;
	border-radius: 4px;
	border: 1px solid #696969;
	max-width: 96px;
	width: 100%;
}
.basket-item-block-amount {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: end;
	-ms-flex-align: start;
	
	-ms-flex-line-pack: start;
	align-content: flex-start;
	-webkit-box-pack: end;
	justify-content: flex-end;
}

.basket-items-list-wrapper-compact .basket-item-block-amount {
	margin-bottom: 0;
	padding-bottom: 0;
}

.basket-item-amount-filed { position: relative;
	max-width: 42px !important;
  width: 100% !important;
    text-align: center;
  box-sizing: border-box;
  border: none !important;
  font-size: 14px !important;
  background: #fff!important;
 }

.basket-item-amount-filed,
.basket-item-block-amount.disabled .basket-item-amount-filed:hover {
	padding: 0;
	width: 60px;
	height: 28px;
	outline: none;
	border: 1px solid #e4e4e4;
	border-radius: 1px;
	vertical-align: middle;
	text-align: center;
	font: var(--ui-font-weight-bold) 18px/27px "Helvetica Neue", Helvetica, Arial, sans-serif;
	transition: 300ms all ease;
}

.basket-item-block-amount.disabled .basket-item-amount-filed { background-color: #f3f3f3; }

.basket-item-amount-filed:hover,
.basket-item-amount-filed:focus { border-color: var(--primary); }

.basket-item-amount-filed::-webkit-outer-spin-button,
.basket-item-amount-filed::-webkit-inner-spin-button {
	/* display: none; <- Crashes Chrome on hover */
	margin: 0;
	-webkit-appearance: none; /* <-- Apparently some margin are still there even though it's hidden */
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
}

.basket-item-amount-filed.basket-updated {
	-webkit-animation-name: basketAmountFiledUpdated;
	animation-name: basketAmountFiledUpdated;
	-webkit-animation-duration: 600ms;
	animation-duration: 600ms;
}

@-webkit-keyframes basketAmountFiledUpdated {
	0%, 100% { border-color: #e4e4e4; }
	50% { border-color: #ee9200; }
}

@keyframes basketAmountFiledUpdated {
	0%, 100% { border-color: #e4e4e4; }
	50% { border-color: #ee9200; }
}

.basket-item-amount-btn-plus,
.basket-item-amount-btn-minus {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: 300ms all ease;
	-webkit-user-select: none;
}


.basket-item-block-amount.disabled .basket-item-amount-btn-plus,
.basket-item-block-amount.disabled .basket-item-amount-btn-minus {
	background-color: transparent;
	cursor: default;
}


.basket-item-amount-btn-plus:hover:before,
.basket-item-amount-btn-plus:hover:after,
.basket-item-amount-btn-minus:hover:after { background-color: #535353; }

.basket-item-block-amount.disabled .basket-item-amount-btn-plus:before,
.basket-item-block-amount.disabled .basket-item-amount-btn-plus:after,
.basket-item-block-amount.disabled .basket-item-amount-btn-minus:after { background-color: #f3f3f3; }

.basket-item-amount-btn-plus:before {
	margin-top: -5px;
	margin-left: -1px;
	width: 2px;
	height: 10px;
}

.basket-item-amount-field-description {
	position: absolute;
	top: calc(100% + 1px);
	right: 0;
	left: 0;
	color: #a1a1a1;
	text-align: center;
	font: italic 12px/14px "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.modal-cart-overflow-y-auto {
	overflow-y: auto;
}