.aaz-wct-checkout,
.aaz-wct-order-message,
.aaz-wct-customer-status {
	--aaz-primary: #8e2d30;
	--aaz-primary-soft: #fbf4f2;
	--aaz-ink: #17181c;
	--aaz-muted: #717580;
	--aaz-line: #e7e8ec;
	--aaz-surface: #fff;
	font-family: inherit;
	box-sizing: border-box;
}

.aaz-wct-checkout *,
.aaz-wct-order-message *,
.aaz-wct-customer-status * {
	box-sizing: border-box;
}

.aaz-wct-checkout {
	width: 100%;
	padding: 4px 0 8px;
	color: var(--aaz-ink);
	text-align: right;
}

.aaz-wct-checkout p {
	margin: 0;
}

.aaz-wct-intro {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 6px 0 22px;
	padding: 14px 15px;
	border: 1px solid #eadfdc;
	border-radius: 15px;
	background: linear-gradient(135deg, #fff 0%, var(--aaz-primary-soft) 100%);
	color: #4f4342;
	font-size: 13px;
	line-height: 1.9;
}

.aaz-wct-intro-icon {
	display: inline-flex;
	flex: 0 0 25px;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--aaz-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.aaz-wct-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 13px;
}

.aaz-wct-section-heading > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.aaz-wct-section-heading strong {
	color: var(--aaz-ink);
	font-size: 15px;
	font-weight: 800;
}

.aaz-wct-section-heading > div > span {
	color: var(--aaz-muted);
	font-size: 11px;
}

.aaz-wct-secure-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 9px;
	border: 1px solid #dce9df;
	border-radius: 99px;
	background: #f3faf5;
	color: #317346;
	font-size: 10px;
	font-weight: 700;
	white-space: nowrap;
}

.aaz-wct-secure-badge::before {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #49a466;
	box-shadow: 0 0 0 3px rgba(73, 164, 102, .12);
}

.aaz-wct-account-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
	gap: 14px;
	width: 100%;
	margin-bottom: 20px;
}

.aaz-wct-account-card {
	--aaz-card-bg: #8e2d30;
	--aaz-card-text: #fff;
	position: relative;
	isolation: isolate;
	min-height: 222px;
	overflow: hidden;
	padding: 20px;
	border: 1px solid rgba(0, 0, 0, .05);
	border-radius: 23px;
	background: var(--aaz-card-bg);
	box-shadow: 0 13px 30px rgba(16, 18, 24, .13), inset 0 1px 0 rgba(255, 255, 255, .16);
	color: var(--aaz-card-text);
	text-align: right;
	transition: transform .22s ease, box-shadow .22s ease, outline-color .22s ease;
}

.aaz-wct-account-card::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .12));
	pointer-events: none;
}

.aaz-wct-account-card.is-selectable {
	cursor: pointer;
	outline: 3px solid transparent;
	outline-offset: 3px;
}

.aaz-wct-account-card.is-selectable:hover {
	transform: translateY(-2px);
	box-shadow: 0 17px 38px rgba(16, 18, 24, .18), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.aaz-wct-account-card.is-selectable:focus-visible,
.aaz-wct-account-card.is-selected {
	outline-color: var(--aaz-primary);
	box-shadow: 0 0 0 5px rgba(142, 45, 48, .1), 0 16px 36px rgba(16, 18, 24, .17), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.aaz-wct-card-orb {
	position: absolute;
	z-index: -1;
	display: block;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	pointer-events: none;
}

.aaz-wct-card-orb--one {
	top: -65px;
	left: -42px;
	width: 180px;
	height: 180px;
}

.aaz-wct-card-orb--two {
	right: -75px;
	bottom: -95px;
	width: 230px;
	height: 230px;
	background: rgba(0, 0, 0, .06);
}

.aaz-wct-card-top {
	display: flex;
	position: relative;
	align-items: center;
	gap: 10px;
}

.aaz-wct-bank-mark {
	display: inline-flex;
	flex: 0 0 39px;
	align-items: center;
	justify-content: center;
	width: 39px;
	height: 39px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 12px;
	background: rgba(255, 255, 255, .13);
	color: inherit;
	font-size: 20px;
}

.aaz-wct-bank-title {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 1px;
	color: inherit;
}

.aaz-wct-bank-title strong {
	overflow: hidden;
	color: inherit;
	font-size: 14px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aaz-wct-bank-title span {
	overflow: hidden;
	opacity: .72;
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aaz-wct-selected-check {
	display: inline-flex;
	position: absolute;
	top: 0;
	left: 0;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	transform: scale(.75);
	border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	opacity: 0;
	color: inherit;
	font-size: 12px;
	font-weight: 900;
	transition: opacity .2s ease, transform .2s ease;
}

.aaz-wct-account-card.is-selected .aaz-wct-selected-check {
	transform: scale(1);
	opacity: 1;
}

.aaz-wct-main-number {
	margin: 26px 0 17px;
}

.aaz-wct-main-number > span,
.aaz-wct-card-details > div > span {
	display: block;
	margin-bottom: 3px;
	opacity: .65;
	color: inherit;
	font-size: 9px;
}

.aaz-wct-main-number > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.aaz-wct-main-number bdi {
	direction: ltr;
	color: inherit;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: clamp(16px, 2.25vw, 20px);
	font-weight: 700;
	letter-spacing: 1.3px;
	white-space: nowrap;
}

.aaz-wct-card-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding-top: 13px;
	border-top: 1px solid rgba(255, 255, 255, .16);
}

.aaz-wct-card-details > div {
	position: relative;
	min-width: 0;
	padding-left: 33px;
}

.aaz-wct-card-details strong {
	display: block;
	overflow: hidden;
	color: inherit;
	font-size: 10px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aaz-wct-card-details bdi {
	direction: ltr;
}

.aaz-wct-copy {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-width: 0 !important;
	height: 27px !important;
	min-height: 27px !important;
	padding: 0 7px !important;
	border: 1px solid rgba(255, 255, 255, .22) !important;
	border-radius: 8px !important;
	background: rgba(255, 255, 255, .12) !important;
	box-shadow: none !important;
	color: inherit !important;
	font-family: inherit !important;
	font-size: 8px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-transform: none !important;
	transition: background .18s ease, transform .18s ease !important;
}

.aaz-wct-copy:hover,
.aaz-wct-copy.is-copied {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, .23) !important;
}

.aaz-wct-main-number .aaz-wct-copy {
	flex: 0 0 auto;
}

.aaz-wct-card-details .aaz-wct-copy {
	position: absolute;
	top: 4px;
	left: 0;
	width: 28px !important;
	padding: 0 !important;
}

.aaz-wct-card-details .aaz-wct-copy span,
.aaz-wct-card-details .aaz-wct-copy svg {
	display: none;
}

.aaz-wct-card-details .aaz-wct-copy::after {
	content: "کپی";
}

.aaz-wct-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0;
}

.aaz-wct-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0;
}

.aaz-wct-field > span,
.aaz-wct-upload-heading strong {
	color: #33353a;
	font-size: 12px;
	font-weight: 700;
}

.aaz-wct-field em,
.aaz-wct-upload-heading em {
	color: #c7353a;
	font-style: normal;
}

.aaz-wct-field small,
.aaz-wct-upload-heading small {
	color: #989ba3;
	font-size: 9px;
	font-weight: 500;
}

.aaz-wct-checkout .aaz-wct-field input {
	width: 100% !important;
	height: 45px !important;
	min-height: 45px !important;
	margin: 0 !important;
	padding: 0 13px !important;
	border: 1px solid #dfe1e6 !important;
	border-radius: 11px !important;
	outline: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #232428 !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	text-align: right !important;
	transition: border-color .18s ease, box-shadow .18s ease !important;
}

.aaz-wct-checkout .aaz-wct-field input:focus {
	border-color: rgba(142, 45, 48, .62) !important;
	box-shadow: 0 0 0 3px rgba(142, 45, 48, .08) !important;
}

.aaz-wct-upload {
	margin-top: 20px;
}

.aaz-wct-upload-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 9px;
}

.aaz-wct-upload-heading > span {
	color: var(--aaz-muted);
	font-size: 9px;
	text-align: left;
}

.aaz-wct-dropzone {
	display: flex;
	position: relative;
	align-items: center;
	gap: 12px;
	min-height: 92px;
	margin: 0;
	padding: 15px;
	border: 1.5px dashed #d5d8df;
	border-radius: 15px;
	background: #fafbfc;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.aaz-wct-dropzone:hover,
.aaz-wct-dropzone.is-dragging {
	transform: translateY(-1px);
	border-color: rgba(142, 45, 48, .58);
	background: #fff8f7;
}

.aaz-wct-dropzone input[type="file"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
}

.aaz-wct-upload-icon {
	display: inline-flex;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--aaz-primary-soft);
	color: var(--aaz-primary);
	font-size: 25px;
	font-weight: 400;
}

.aaz-wct-upload-copy {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
}

.aaz-wct-upload-copy strong {
	color: #292b30;
	font-size: 12px;
	font-weight: 750;
}

.aaz-wct-upload-copy small {
	color: #8b8f99;
	font-size: 10px;
}

.aaz-wct-choose-file {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid #e1d3d1;
	border-radius: 9px;
	background: #fff;
	color: var(--aaz-primary);
	font-size: 10px;
	font-weight: 700;
}

.aaz-wct-progress {
	height: 5px;
	overflow: hidden;
	margin-top: 9px;
	border-radius: 99px;
	background: #eceef1;
}

.aaz-wct-progress span {
	display: block;
	width: 3%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #8e2d30, #c55d5d);
	transition: width .18s ease;
}

.aaz-wct-upload-result {
	display: flex;
	position: relative;
	align-items: center;
	gap: 11px;
	min-height: 76px;
	padding: 10px;
	border: 1px solid #cfe5d5;
	border-radius: 14px;
	background: #f5fbf7;
}

.aaz-wct-upload-result[hidden] {
	display: none !important;
}

.aaz-wct-upload-result img,
.aaz-wct-file-icon {
	display: inline-flex;
	flex: 0 0 54px;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 10px;
	background: #e9efeb;
	object-fit: cover;
}

.aaz-wct-file-icon {
	background: #fff0f0;
	color: #a92f34;
	font-family: Arial, sans-serif;
	font-size: 10px;
	font-weight: 800;
}

.aaz-wct-upload-result > div {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
}

.aaz-wct-upload-result strong {
	overflow: hidden;
	color: #2d4634;
	font-size: 11px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aaz-wct-upload-result small {
	color: #7a8a7f;
	font-size: 9px;
}

.aaz-wct-clear-upload {
	display: inline-flex !important;
	flex: 0 0 29px;
	align-items: center;
	justify-content: center;
	width: 29px !important;
	height: 29px !important;
	min-height: 29px !important;
	padding: 0 !important;
	border: 1px solid #d9e4dc !important;
	border-radius: 50% !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #69756d !important;
	font-size: 17px !important;
	line-height: 1 !important;
}

.aaz-wct-upload-message {
	min-height: 17px;
	margin-top: 7px;
	font-size: 10px;
	line-height: 1.65;
}

.aaz-wct-upload-message.is-success,
.aaz-wct-upload-message.is-successful {
	color: #397b4d;
}

.aaz-wct-upload-message.is-error {
	color: #bb3036;
}

.aaz-wct-upload-message.is-working,
.aaz-wct-upload-message.is-uploading {
	color: #8b6816;
}

.aaz-wct-noscript {
	margin: 7px 0 0 !important;
	color: #b12f35;
	font-size: 10px;
}

.aaz-wct-order-message {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 22px 0;
	padding: 19px;
	border: 1px solid #d9e8dc;
	border-radius: 16px;
	background: linear-gradient(135deg, #fff, #f4faf5);
	color: var(--aaz-ink);
	text-align: right;
}

.aaz-wct-order-message__icon {
	display: inline-flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 13px;
	background: #3e8b55;
	box-shadow: 0 8px 18px rgba(62, 139, 85, .2);
	color: #fff;
	font-weight: 900;
}

.aaz-wct-order-message strong {
	display: block;
	margin: 2px 0 5px;
	font-size: 14px;
}

.aaz-wct-order-message p {
	margin: 0;
	color: #69726b;
	font-size: 12px;
	line-height: 1.9;
}

.aaz-wct-customer-status {
	display: flex;
	align-items: center;
	gap: 13px;
	margin: 20px 0;
	padding: 17px;
	border: 1px solid var(--aaz-line);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 8px 25px rgba(22, 24, 29, .05);
	color: var(--aaz-ink);
	text-align: right;
}

.aaz-wct-customer-status__icon {
	display: inline-flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--aaz-primary-soft);
	color: var(--aaz-primary);
}

.aaz-wct-customer-status > div:nth-child(2) {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
}

.aaz-wct-customer-status small {
	color: var(--aaz-muted);
	font-size: 9px;
}

.aaz-wct-customer-status strong {
	font-size: 13px;
}

.aaz-wct-customer-status p {
	margin: 2px 0 0;
	color: var(--aaz-muted);
	font-size: 10px;
}

.aaz-wct-customer-status p.is-error {
	color: #b12e34;
}

.aaz-wct-customer-status > a {
	padding: 8px 11px;
	border: 1px solid #ead8d6;
	border-radius: 9px;
	color: var(--aaz-primary);
	font-size: 10px;
	font-weight: 700;
	text-decoration: none;
}

.aaz-wct-block-checkout {
	padding: 12px 0 2px;
}

.wc-block-components-radio-control-accordion-content .aaz-wct-block-checkout {
	max-width: 100%;
}

@media (max-width: 680px) {
	.aaz-wct-account-grid,
	.aaz-wct-form-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.aaz-wct-account-card {
		min-height: 207px;
		padding: 17px;
		border-radius: 19px;
	}

	.aaz-wct-main-number {
		margin: 22px 0 15px;
	}

	.aaz-wct-main-number bdi {
		font-size: 16px;
		letter-spacing: .8px;
	}

	.aaz-wct-upload-heading,
	.aaz-wct-section-heading {
		align-items: flex-start;
	}

	.aaz-wct-dropzone {
		min-height: 84px;
		padding: 12px;
	}

	.aaz-wct-upload-icon {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
	}

	.aaz-wct-choose-file {
		display: none;
	}

	.aaz-wct-customer-status {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.aaz-wct-customer-status > a {
		width: 100%;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aaz-wct-account-card,
	.aaz-wct-dropzone,
	.aaz-wct-copy,
	.aaz-wct-progress span {
		transition: none !important;
	}
}
