.roham-smart-price,
.roham-smart-cart,
.roham-smart-variations {
	--roham-smart-primary: var(--e-global-color-primary, #ff753b);
	--roham-smart-secondary: var(--e-global-color-secondary, #e30a58);
	--roham-smart-text: var(--e-global-color-text, #050505);
	--roham-smart-accent: var(--e-global-color-accent, #444444);
	--roham-smart-surface: var(--e-global-color-c161273c, var(--e-global-color-161273c, #f5f5f5));
	--roham-smart-success: var(--e-global-color-4ad75ec, #38c976);
	--roham-smart-border: var(--e-global-color-1e77409, var(--e-global-color-1e77499, #eeeeee));
	width: 100%;
	direction: rtl;
	font-family: var(--e-global-typography-primary-font-family, "iransans"), sans-serif;
	box-sizing: border-box;
}

.roham-smart-price *,
.roham-smart-cart *,
.roham-smart-variations *,
.roham-smart-price *::before,
.roham-smart-cart *::before,
.roham-smart-variations *::before,
.roham-smart-price *::after,
.roham-smart-cart *::after,
.roham-smart-variations *::after {
	box-sizing: border-box;
}

.roham-smart-price {
	position: relative;
	display: flex;
	min-height: 30px;
	align-items: center;
	justify-content: center;
	column-gap: 14px;
	row-gap: 6px;
	flex-wrap: wrap;
	overflow: hidden;
	border-radius: 12px;
	color: var(--roham-smart-secondary);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.8;
	text-align: center;
}

.roham-smart-price[hidden],
.roham-smart-variations[hidden],
.roham-smart-quantity[hidden] {
	display: none !important;
}

.roham-smart-price .price,
.roham-smart-price > .woocommerce-Price-amount {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	column-gap: 14px;
	row-gap: 6px;
	font-size: inherit;
	font-weight: inherit;
}

.roham-smart-price .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
}

.roham-smart-price > .woocommerce-Price-amount,
.roham-smart-price .price > .woocommerce-Price-amount,
.roham-smart-price ins,
.roham-smart-price ins .woocommerce-Price-amount {
	color: var(--roham-smart-secondary) !important;
}

.roham-smart-price del,
.roham-smart-price del .woocommerce-Price-amount {
	color: var(--roham-smart-accent) !important;
}

.roham-smart-price del {
	font-size: 18px;
	font-weight: 400;
	opacity: 0.65;
	text-decoration: line-through;
}

.roham-smart-price ins {
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}

.roham-smart-price .woocommerce-Price-currencySymbol {
	margin-inline-start: 3px;
	font-size: 0.8em;
	font-weight: inherit;
}

.roham-smart-price.is-price-changing::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		transparent,
		var(--roham-smart-primary),
		var(--roham-smart-secondary),
		transparent
	);
	opacity: 0;
	transform: translateX(110%);
	animation: roham-smart-price-wave 0.65s ease-out;
}

.roham-smart-cart {
	min-height: 48px;
}

.roham-smart-cart-control {
	position: relative;
	display: flex;
	width: 100%;
	height: 48px;
	min-height: 48px;
	align-items: stretch;
	overflow: hidden;
	border: 0;
	border-radius: 30px;
	background: linear-gradient(
		90deg,
		var(--roham-smart-primary),
		var(--roham-smart-secondary)
	);
	color: #fff;
}

.roham-smart-cart-action {
	position: relative;
	display: grid;
	min-width: 0;
	height: 48px;
	min-height: 48px;
	flex: 1;
	grid-template-columns: 20px minmax(0, 1fr) 20px;
	align-items: center;
	gap: 8px;
	padding: 0 15px;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-size: 15px;
	font-weight: 500 !important;
	line-height: 1;
	cursor: pointer;
	isolation: isolate;
	overflow: hidden;
}

.roham-smart-cart-label {
	position: relative;
	z-index: 1;
	min-width: 0;
	text-align: center;
}

.roham-smart-cart-icon-slot {
	position: relative;
	z-index: 1;
	display: inline-flex;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
}

.roham-smart-cart-action::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: var(--roham-ripple-y, 50%);
	left: var(--roham-ripple-x, 50%);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0);
}

.roham-smart-cart-action.is-rippling::after {
	animation: roham-smart-ripple 0.55s ease-out;
}

.roham-smart-cart-action:hover,
.roham-smart-cart-action:focus,
.roham-smart-cart-action:active {
	border: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	transform: none;
}

.roham-smart-cart-action:focus-visible,
.roham-smart-quantity-button:focus-visible,
.roham-smart-variation-option:focus-visible,
.roham-smart-retry:focus-visible {
	outline: 2px solid var(--roham-smart-primary);
	outline-offset: 2px;
}

.roham-smart-cart-action:disabled {
	cursor: default;
	opacity: 1;
}

.roham-smart-cart-message-icon,
.roham-smart-cart-arrow {
	display: inline-flex;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	align-items: center;
	justify-content: center;
	color: currentColor;
}

.roham-smart-cart-message-icon[hidden],
.roham-smart-cart-arrow[hidden],
.roham-smart-cart-spinner[hidden] {
	display: none;
}

.roham-smart-cart-spinner {
	display: inline-flex;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	gap: 2.5px;
}

.roham-smart-cart-spinner i {
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.25;
	animation: roham-smart-dots 1s ease-in-out infinite;
}

.roham-smart-cart-spinner i:nth-child(2) {
	animation-delay: 0.14s;
}

.roham-smart-cart-spinner i:nth-child(3) {
	animation-delay: 0.28s;
}

.roham-smart-cart-control.is-ready .roham-smart-cart-message-icon {
	width: 20px;
	height: 20px;
	flex-basis: 20px;
}

.roham-smart-inline-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.roham-smart-inline-icon svg:not([fill="none"]) {
	fill: currentColor;
}

.roham-smart-inline-icon svg[stroke]:not([stroke="none"]) {
	stroke: currentColor;
}

.roham-smart-inline-icon svg [fill]:not([fill="none"]) {
	fill: currentColor;
}

.roham-smart-inline-icon svg [stroke]:not([stroke="none"]) {
	stroke: currentColor;
}

.roham-smart-quantity {
	position: relative;
	z-index: 1;
	display: flex;
	min-width: 0;
	align-items: stretch;
	order: -1;
	margin: 4px;
	padding-inline: 5px;
	overflow: hidden;
	border-radius: 25px;
	background: #fff;
	direction: ltr;
}

.roham-smart-quantity-input {
	width: 30px;
	min-width: 0;
	height: 40px;
	padding: 0 4px;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: var(--roham-smart-text);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 40px;
	text-align: center;
	appearance: textfield;
}

.roham-smart-quantity-input:focus,
.roham-smart-quantity-input:active {
	border: 0;
	background: transparent;
	box-shadow: none;
}

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

.roham-smart-quantity-button {
	display: inline-flex;
	width: 24px;
	min-width: 24px;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}

.roham-smart-quantity-icon {
	display: inline-flex;
	width: 15px;
	height: 15px;
	align-items: center;
	justify-content: center;
	color: var(--roham-smart-accent);
	transition: color 0.15s ease;
}

.roham-smart-quantity-button:hover,
.roham-smart-quantity-button:focus,
.roham-smart-quantity-button:active {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transform: none;
}

.roham-smart-quantity-button.is-increase:hover .roham-smart-quantity-icon,
.roham-smart-quantity-button.is-increase:focus-visible .roham-smart-quantity-icon {
	color: var(--roham-smart-success);
}

.roham-smart-quantity-button.is-decrease:hover .roham-smart-quantity-icon,
.roham-smart-quantity-button.is-decrease:focus-visible .roham-smart-quantity-icon {
	color: var(--roham-smart-secondary);
}

.roham-smart-quantity-button:disabled {
	cursor: default;
	opacity: 0.35;
}

.roham-smart-cart-control.is-loading,
.roham-smart-cart-control.is-success,
.roham-smart-cart-control.is-error,
.roham-smart-cart-control.is-out-of-stock {
	justify-content: center;
}
.roham-smart-cart-control.is-loading .roham-smart-cart-spinner {
	color: var(--roham-smart-primary) !important;
}

.roham-smart-cart-control.is-loading .roham-smart-quantity,
.roham-smart-cart-control.is-success .roham-smart-quantity,
.roham-smart-cart-control.is-error .roham-smart-quantity,
.roham-smart-cart-control.is-out-of-stock .roham-smart-quantity {
	display: none !important;
}

.roham-smart-cart-control.is-loading {
	background: var(--roham-smart-surface);
	color: var(--roham-smart-text);
}

.roham-smart-cart-control.is-success {
	background: var(--roham-smart-success);
}

.roham-smart-cart-control.is-error,
.roham-smart-cart-control.is-out-of-stock {
	background: var(--roham-smart-secondary);
}

.roham-smart-cart-control.is-in-cart {
	background: #FF753B10;
	color: var(--roham-smart-primary);
}

.roham-smart-cart-control.is-in-cart::before {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	background: conic-gradient(
		from var(--roham-smart-border-angle),
		rgba(255, 117, 59, 0.22) 0deg,
		rgba(255, 117, 59, 0.22) 245deg,
		var(--roham-smart-primary) 300deg,
		#ffb18f 330deg,
		rgba(255, 117, 59, 0.22) 360deg
	);
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	animation: roham-smart-cart-border 2.4s linear infinite;
}

.roham-smart-cart-control.is-in-cart::after {
	content: "";
	position: absolute;
	z-index: 0;
	inset: 0;
	background: var(--roham-smart-text);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.roham-smart-cart-control.is-in-cart:hover::after {
	opacity: 0.045;
}

.roham-smart-cart-control.is-in-cart .roham-smart-cart-action {
	z-index: 1;
}

.roham-smart-variations {
	display: grid;
	justify-items: center;
	gap: 12px;
	text-align: center;
}

.roham-smart-variation-fields {
	display: grid;
	width: 100%;
	justify-items: center;
	gap: 12px;
}

.roham-smart-variation-field {
	display: grid;
	width: 100%;
	min-width: 0;
	justify-items: center;
	gap: 8px;
	padding: 0;
	margin: 0;
	border: 0;
}

.roham-smart-variation-options {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.roham-smart-variation-option {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	padding: 7px 15px;
	border: 1px solid transparent;
	border-radius: 30px;
	background: var(--roham-smart-surface);
	box-shadow: none;
	color: var(--roham-smart-text);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
}

.roham-smart-variation-option:hover,
.roham-smart-variation-option:focus,
.roham-smart-variation-option:active {
	border-color: var(--roham-smart-primary);
	background: var(--roham-smart-surface);
	box-shadow: none;
	color: var(--roham-smart-text);
	transform: none;
}

.roham-smart-variation-option.is-active,
.roham-smart-variation-option.is-active:hover,
.roham-smart-variation-option.is-active:focus {
	border-color: transparent;
	background: linear-gradient(
		90deg,
		var(--roham-smart-primary),
		var(--roham-smart-secondary)
	);
	color: #fff;
}

.roham-smart-variation-option:disabled,
.roham-smart-variation-option.is-disabled {
	cursor: not-allowed;
	opacity: 0.4;
}

.roham-smart-variation-description {
	width: 100%;
	padding: 12px 15px;
	border: 0;
	border-radius: 20px;
	background: var(--roham-smart-surface);
	color: var(--roham-smart-accent);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.9;
	text-align: center;
}

.roham-smart-variation-description[hidden] {
	display: none;
}

.roham-smart-variation-description > :first-child {
	margin-top: 0;
}

.roham-smart-variation-description > :last-child {
	margin-bottom: 0;
}

.roham-smart-price-skeleton,
.roham-smart-cart-skeleton,
.roham-smart-variation-skeleton i {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 30px;
	background: var(--roham-smart-surface);
}

.roham-smart-price-skeleton::after,
.roham-smart-cart-skeleton::after,
.roham-smart-variation-skeleton i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.85),
		transparent
	);
	transform: translateX(100%);
	animation: roham-smart-shimmer 1.35s ease-in-out infinite;
}

.roham-smart-price-skeleton {
	width: 150px;
	height: 22px;
}

.roham-smart-cart-skeleton {
	width: 100%;
	height: 48px;
}

.roham-smart-variation-skeleton {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.roham-smart-variation-skeleton i {
	width: 74px;
	height: 38px;
}

.roham-smart-price.is-load-error,
.roham-smart-cart.is-load-error,
.roham-smart-variations.is-load-error {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px;
	border: 1px solid var(--roham-smart-border);
	border-radius: 24px;
	background: #fff;
	color: var(--roham-smart-secondary);
	font-size: 13px;
	font-weight: 400;
	text-align: center;
}

.roham-smart-retry {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	justify-content: center;
	padding: 6px 13px;
	border: 0;
	border-radius: 30px;
	background: var(--roham-smart-primary);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

@keyframes roham-smart-shimmer {
	to {
		transform: translateX(-100%);
	}
}

@keyframes roham-smart-dots {
	0%,
	60%,
	100% {
		opacity: 0.25;
		transform: scale(0.75);
	}

	30% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes roham-smart-ripple {
	0% {
		opacity: 0.22;
		transform: translate(-50%, -50%) scale(0);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(45);
	}
}

@keyframes roham-smart-price-wave {
	0% {
		opacity: 0;
		transform: translateX(110%);
	}

	35% {
		opacity: 0.13;
	}

	100% {
		opacity: 0;
		transform: translateX(-110%);
	}
}

@property --roham-smart-border-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

@keyframes roham-smart-cart-border {
	to {
		--roham-smart-border-angle: 360deg;
	}
}

@media (max-width: 767px) {
	.roham-smart-price {
		min-height: 24px;
		font-size: 16px !important;
	}

	.roham-smart-price .price,
	.roham-smart-price > .woocommerce-Price-amount,
	.roham-smart-price .woocommerce-Price-amount,
	.roham-smart-price ins,
	.roham-smart-price ins .woocommerce-Price-amount {
		font-size: 16px !important;
		font-weight: 700;
	}

	.roham-smart-price del,
	.roham-smart-price del .woocommerce-Price-amount {
		font-size: 16px !important;
		font-weight: 400;
	}

	.roham-smart-cart {
		min-height: 44px !important;
	}

	.roham-smart-cart-control,
	.roham-smart-cart-action {
		height: 44px !important;
		min-height: 44px !important;
	}

	.roham-smart-cart-action {
		grid-template-columns: 20px minmax(0, 1fr) 20px;
		gap: 6px;
		padding: 0 15px;
		font-size: 13px;
		font-weight: 500 !important;
	}

	.roham-smart-cart-icon-slot,
	.roham-smart-cart-spinner {
		width: 20px;
		height: 20px;
	}

	.roham-smart-cart-message-icon,
	.roham-smart-cart-arrow {
		width: 16px;
		height: 16px;
	}

	.roham-smart-cart-control.is-ready .roham-smart-cart-message-icon {
		width: 18px;
		height: 18px;
		flex-basis: 18px;
	}

	.roham-smart-quantity {
		margin: 4px;
		padding-inline: 5px;
	}

	.roham-smart-quantity-input {
		width: 30px;
		height: 36px;
		font-size: 12px;
		line-height: 36px;
	}

	.roham-smart-quantity-button {
		width: 24px;
		min-width: 24px;
		min-height: 36px;
	}

	.roham-smart-quantity-icon {
		width: 15px;
		height: 15px;
	}

	.roham-smart-variation-options {
		gap: 6px;
	}

	.roham-smart-variation-option {
		min-height: 36px;
		padding: 6px 12px;
		font-size: 12px;
	}

	.roham-smart-variation-description,
	.roham-smart-price.is-load-error,
	.roham-smart-cart.is-load-error,
	.roham-smart-variations.is-load-error,
	.roham-smart-retry {
		font-size: 12px;
	}

	.roham-smart-cart-skeleton {
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.roham-smart-price-skeleton::after,
	.roham-smart-cart-skeleton::after,
	.roham-smart-variation-skeleton i::after {
		animation: none;
	}

	.roham-smart-cart-spinner i {
		animation: none;
		opacity: 0.65;
	}

	.roham-smart-cart-action.is-rippling::after,
	.roham-smart-price.is-price-changing::after {
		animation: none;
	}

	.roham-smart-cart-control.is-in-cart::before {
		animation: none;
	}
}