#roham-ajax-cart-contents {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#roham-ajax-cart-notices:empty {
	display: none;
}

.roham-cart-item {
	position: relative;
	display: flex;
	align-items: center;
	padding: 15px;
	border-radius: 30px;
	background: var(--e-global-color-161273c);
}

.roham-qty-btn,
.roham-cart-item-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	cursor: pointer;
}

.roham-cart-item-remove svg {
	position: absolute;
	top: 50%;
	left: 18px;
	width: 16px;
	height: 16px;
	fill: var(--e-global-color-accent);
	transform: translateY(-50%);
	cursor: pointer;
	transition: fill 160ms ease;
}

.roham-cart-item-remove svg:hover {
	fill: var(--e-global-color-secondary);
}

.roham-cart-item-image-link {
	display: block;
	flex: 0 0 auto;
}

.roham-cart-item-image {
	display: block;
	width: 80px;
	height: 80px;
	margin-left: 15px;
	border-radius: 15px !important;
	filter: brightness(95.7%);
	object-fit: cover;
}

.roham-cart-item-info {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	gap: 10px;
	padding-left: 60px;
}

.roham-cart-item-name {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
}

.roham-cart-item-name a {
	color: inherit;
	text-decoration: none;
}

.roham-cart-item-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.roham-cart-item-price-unit {
	color: var(--e-global-color-text, #444955);
	font-size: 13px;
	font-weight: 400;
}

.roham-cart-item-line-total {
	color: var(--e-global-color-text);
	font-size: 13px;
	font-weight: 600;
}

.roham-cart-item-quantity-box {
	display: inline-flex;
	align-items: center;
	overflow: hidden;
	border-radius: 30px;
	background-color: #fff;
}

.roham-qty-btn {
	padding: 6px;
	fill: var(--e-global-color-accent);
}

.roham-qty-btn.roham-qty-increase:hover {
	fill: var(--e-global-color-4ad75ec);
}

.roham-qty-btn.roham-qty-decrease:hover {
	fill: #fe5050;
}

.roham-qty-btn.roham-qty-decrease svg,
.roham-qty-btn.roham-qty-increase svg {
	width: 16px;
	height: 16px;
}

.roham-cart-item-quantity {
	width: 30px;
	padding: 0;
	border: none;
	outline: none;
	color: var(--e-global-color-secondary, #121418);
	background: transparent;
	font-family: IranSansX, sans-serif;
	font-size: 14px;
	text-align: center;
	appearance: textfield;
}

.roham-cart-item-quantity::-webkit-outer-spin-button,
.roham-cart-item-quantity::-webkit-inner-spin-button {
	margin: 0;
	appearance: none;
}

.roham-empty-cart {
	margin: 0;
	padding: 24px;
	border-radius: 30px;
	background: var(--e-global-color-c28d39a, #f3f4f5);
	text-align: center;
}

.roham-bg-flash-gray {
	animation: roham-bg-flash 0.8s ease-out;
}

@keyframes roham-bg-flash {
	0% {
		background-color: rgba(0, 0, 0, 0.06);
	}

	100% {
		background-color: transparent;
	}
}

#roham-ajax-cart-contents .roham-cart-item::before {
	content: "";
	position: absolute;
	z-index: 10;
	inset: 0;
	border-radius: inherit;
	background: rgba(255, 255, 255, 0.65);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

#roham-ajax-cart-contents .roham-cart-item::after {
	content: "";
	position: absolute;
	z-index: 11;
	top: 50%;
	left: 50%;
	width: 26px;
	height: 26px;
	margin: -13px 0 0 -13px;
	border: 2px solid var(--e-global-color-primary);
	border-top-color: transparent;
	border-radius: 50%;
	animation: roham-cart-spin 0.7s linear infinite;
	opacity: 0;
	pointer-events: none;
}

#roham-ajax-cart-contents .roham-cart-item.is-loading::before,
#roham-ajax-cart-contents .roham-cart-item.is-loading::after {
	opacity: 1;
	pointer-events: auto;
}

@keyframes roham-cart-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 728px) {
	.roham-cart-item-info {
		padding-left: 25px;
	}

	.roham-cart-item {
		padding: 15px 0;
	}

	.roham-cart-item-remove svg {
		left: 10px;
		width: 14px;
		height: 14px;
	}

	.roham-cart-item-image {
		width: 64px;
		height: 64px;
		margin-left: 0;
		border-radius: 25px !important;
	}

	.roham-cart-item-name {
		font-size: 12px;
	}

	.roham-cart-item-meta {
		gap: 5px;
	}

	.roham-cart-item-price-unit,
	.roham-cart-item-line-total {
		font-size: 11px;
	}

	.roham-qty-btn {
		padding: 5px;
	}

	.roham-qty-btn.roham-qty-decrease svg,
	.roham-qty-btn.roham-qty-increase svg {
		width: 15px;
		height: 15px;
	}

	.roham-cart-item-quantity {
		width: 20px;
		font-size: 12px;
	}
}