body.prevent-scroll {
	overflow: hidden !important;
}

.vrtkitemcontainer {
	margin-bottom: 10px;
}

.vrtkcartoneitemrow {
	padding: 8px 0;
	border-bottom: 1px solid var(--vre-palette-background-border-color);
	width: 100%;
	display: flex;
	gap: 4px;
	align-items: start;
}
.vrtkcartoneitemrow > a[data-role="edititem"],
.vrtkcartoneitemrow > .vrtkcartleftrow {
	flex: 1;
}

.vrtkcartquantitysp {
	font-size: smaller;
}
.vrtkcartleftrow span {
	display: block;
}
.vrtkcartenamesp {
	font-weight: bold;
	line-height: 1.3em;
}
.vrtkcartonamesp {
	font-size: 11px;
	line-height:1em;
	padding: 1px 0 0 10px;
}
.vrtkcartrightrow {	
	float: right;
}
.vrtkcartpricesp {
	font-size: 14px;
	font-weight: bold;
}
span.vrtkcartremovesp {
	padding: 0 0 0 4px;
}
.vrtkcartremovesp a {
	color: var(--vre-button-danger-background);
	font-size: 16px;
}
.vrtkcartremovesp a:hover {
	color: var(--vre-button-danger-hover-icon-color);
}
.vrtkcartdiscountoutmodule {
	color: #993300;
	display: flex;
	flex-wrap: wrap;
	font-size: .9em;
}
.vrtkcartpriceoutmodule .vrtkcartpricemodule, .vrtkcartdiscountoutmodule .vrtkcartdiscountmodule, .vrtkcartfullcostoutmodule .vrtkcartfullcostmodule {
	margin-left: auto;
}
.vrtkcartdiscountoutmodule {
	padding: 5px 0;
}
.vrtkcartfullcostoutmodule {
	font-size: 1.1em;
	display: flex;
	flex-wrap: wrap;
}
.vrtkcartfullcostoutmodule .vrtkcartfullcostmodule {
	text-decoration: line-through;
}
.vrtkcartpriceoutmodule {
	font-weight: bold;
	font-size: 1.1em;
	display: flex;
	flex-wrap: wrap;
}
.vrtkcartbuttonsmodule {
	width: 100%;
	display: flex;
	padding: 10px 0 0;
	margin: 10px 0 0 0;
	border-top: 1px solid var(--vre-palette-background-border-color);
}
.vrtkmodcarttitlecont {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.vrtkmodcarttitle {
	font-size: 18px;
	flex: 1;
}
.vrtkcartorderbutton {
	font-size: .9em !important;
	width: 100%;
}
.vrtkcartemptybutton {
	font-size: .85em !important;
	margin: 0 8px 0 0;
}
.vrtkcartpricesp-full {
	padding: 0 0 0 5px;
}

/* upselling */

.vrtkcart-upselling-wrapper {
	margin: 10px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--vre-palette-background-border-color);
}
.vrtkcart-upselling-title {
	font-size: 0.9em;
	opacity: 0.8;
}
.vrtkcart-upselling-items {
	display: flex;
	gap: 10px;
	overflow-x: scroll;
	padding: 10px 3px 10px 0;

	scrollbar-width: none;
	-ms-overflow-style: none;
}
.vrtkcart-upselling-items::-webkit-scrollbar {
	display: none;
}
.vrtkcart-upselling-items .vrtkcart-upselling-item {
	display: flex;
	gap: 8px;
	padding: 6px;
	border: 1px solid var(--vre-palette-background-border-color);
	border-radius: var(--vre-palette-background-border-radius);
	position: relative;
	min-width: calc(100% - 25px);
	max-width: calc(100% - 25px);
	min-height: 80px;
	box-shadow: 3px 3px 3px 0 rgba(1, 1, 1, 0.09);
}
.vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-image {
	width: 35%;
	cursor: pointer;
}
.vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-details {
	flex: 1;
}
.vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-details .upselling-item-details-name {
	font-weight: 500;
	font-size: 0.9em;
}
.vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-details .upselling-item-details-name span:not(:only-child) {
	margin-right: 4px;
}
.vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-details .upselling-item-details-name img {
	max-width: 14px;
	max-height: 14px;
}
.vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-details .upselling-item-details-name span + img {
	margin-left: 4px;
}
.vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-details .upselling-item-details-price {
	font-size: 0.85em;
}
.vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-add {
	position: absolute;
	bottom: 3px;
	right: 4px;
	font-size: 22px;
	color: var(--vre-button-success-background);
	display: inline-flex;
}
.vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-add:hover {
	color: var(--vre-button-success-hover-icon-color);
}

/* cart items counter */
[data-items-count]:before {
	content: attr(data-items-count);
	display: inline-block;
}
[data-items-count="0"]:before {
	display: none;
}
[data-items-count].pop:before {
	animation: pop 0.5s linear 1;
}
@keyframes pop {
	50% {
		transform: scale(1.25);
	}
}

/**
 * Stuck scrollable cart on mobile devices.
 */
@media screen and (max-width: 700px) {	
	.vrtkcartfixed.cart-fixed {
		margin-top: 10px !important;
		margin-bottom: 10px !important;
	}

	.vrtkcartitemsmodule.cart-mobile-sticky {
		position: fixed;
		bottom: 10px;
		left: 10px;
		right: 10px;
		z-index: 9999;
	}
	.vrtkcartitemsmodule.cart-mobile-sticky .cart-inner-wrapper {
		display: none;
		background: var(--vre-palette-background-secondary-color);
		border: 1px solid var(--vre-palette-background-border-color);
		padding: 10px 10px 14px 10px;
		margin-bottom: -4px;
		border-radius: var(--vre-palette-background-border-radius) var(--vre-palette-background-border-radius) 0 0;
		max-height: calc(90vh - 40px);
		overflow: scroll;
	}
	.vrtkcartitemsmodule.cart-mobile-sticky .cart-sticky-button {
		display: block;
		width: 100%;
		padding: 14px 20px !important;
		font-size: 16px !important;
		position: relative;
		font-weight: 500;
	}
	/* add a background layout to prevent transparency issues with certain styles */
	.vrtkcartitemsmodule.cart-mobile-sticky .cart-sticky-button:before {
        content: "";
		position: absolute;
		inset: 0;
		background: var(--vre-palette-background-primary-color);
		z-index: -1;
    }
	.vrtkcartitemsmodule.cart-mobile-sticky .cart-visible + button.cart-sticky-button {
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}
	.vrtkcartitemsmodule.cart-mobile-sticky .cart-sticky-button i {
		position: absolute;
		left: 15px;
		top: 50%;
		transform: translateY(-50%);
	}

	.vrtkcartitemsmodule.cart-mobile-sticky .vrtkcart-upselling-wrapper {
		border-bottom: 1px solid var(--vre-palette-background-border-color);
	}
	.vrtkcartitemsmodule.cart-mobile-sticky .vrtkcart-upselling-items .vrtkcart-upselling-item {
		background: var(--vre-palette-background-primary-color);
		color: var(--vre-palette-text-primary-color);
	}
	.vrtkcartitemsmodule.cart-mobile-sticky .vrtkcart-upselling-items .vrtkcart-upselling-item .upselling-item-add {
		font-size: 32px;
	}

	.vrtkcartitemsmodule.cart-mobile-sticky .vrtkcartoneitemrow {
		border-bottom: 1px solid var(--vre-palette-background-border-color);
	}
	.vrtkcartitemsmodule.cart-mobile-sticky .vrtkcartbuttonsmodule {
		border-top: 1px solid var(--vre-palette-background-border-color);
	}
	.vrtkcartitemsmodule.cart-mobile-sticky .vrtkcartemptybutton {
		border: 1px solid var(--vre-palette-background-border-color)
	}

	.vrtkmodcarttitlecont .items-qty {
		display: none;
	}
}

/* hide sticky button on non-mobile devices */
@media screen and (min-width: 701px) {
	.vrtkcartitemsmodule.cart-mobile-sticky .cart-sticky-button {
		display: none;
	}
}