/* Local-only neon visual system, scoped to the classic WooCommerce cart CTA. */
.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta {
	--bm-cta-ink: #f9f4ff;
	--bm-cta-muted: rgba(229, 217, 255, .82);
	--bm-cta-pink: #ff3cac;
	--bm-cta-blue: #36d8ff;
	--bm-cta-green: #55f4a5;
	--bm-cta-yellow: #ffe66d;
	--bm-motion-speed: 5.2s;
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: 1fr auto;
	gap: 18px;
	align-items: center;
	inline-size: 100%;
	min-block-size: 154px;
	margin: 0 !important;
	padding: 24px !important;
	overflow: hidden;
	border: 1px solid rgba(222, 190, 255, .4) !important;
	border-radius: 24px !important;
	background:
		radial-gradient(ellipse 55% 80% at 103% -5%, rgba(255, 60, 172, .34), transparent 68%),
		radial-gradient(ellipse 52% 80% at -4% 112%, rgba(54, 216, 255, .26), transparent 68%),
		radial-gradient(circle at 65% 46%, rgba(111, 44, 198, .2), transparent 46%),
		linear-gradient(128deg, #250044 0%, #160027 48%, #110022 100%) !important;
	box-shadow: 0 0 0 1px rgba(255, 60, 172, .12), 0 0 24px rgba(255, 60, 172, .3), 0 0 52px rgba(54, 216, 255, .22), 0 22px 42px rgba(7, 0, 14, .42) !important;
	color: var(--bm-cta-ink) !important;
	direction: rtl;
	text-align: start;
	text-decoration: none !important;
	text-shadow: none !important;
	transform: translateZ(0);
	transition: transform 220ms cubic-bezier(.2, .8, .2, 1), box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta::before,
.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta::after {
	position: absolute;
	z-index: -1;
	pointer-events: none;
	content: "";
}

/* Slow refracted layer: depth without canvas, video, or JavaScript. */
.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta::before {
	inset: -65%;
	background: linear-gradient(108deg, transparent 39%, rgba(255, 255, 255, .16) 48%, rgba(255, 60, 172, .13) 52%, rgba(54, 216, 255, .13) 56%, transparent 65%);
	transform: translate3d(-18%, 8%, 0) rotate(8deg);
	animation: bodyman-fluid-cta-flow 9s ease-in-out infinite;
}

.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta::after {
	inset: 0;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: inherit;
	box-shadow: inset 0 1px rgba(255, 255, 255, .2), inset 0 -1px rgba(54, 216, 255, .18);
}

.woocommerce-cart .bodyman-fluid-checkout-cta__content {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 4px;
	min-inline-size: 0;
	direction: rtl;
	text-align: right;
}

.woocommerce-cart .bodyman-fluid-checkout-cta__title {
	font-size: clamp(20px, 2.1vw, 25px);
	font-weight: 800;
	line-height: 1.38;
	letter-spacing: -.015em;
	color: var(--bm-cta-ink);
	transition: color 220ms ease, text-shadow 220ms ease;
}

.woocommerce-cart .bodyman-fluid-checkout-cta__support,
.woocommerce-cart .bodyman-fluid-checkout-cta__methods {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.55;
	color: var(--bm-cta-muted);
	transition: color 220ms ease, text-shadow 220ms ease;
}

.woocommerce-cart .bodyman-fluid-checkout-cta__methods {
	font-size: 12px;
	font-weight: 500;
	color: rgba(227, 217, 255, .7);
}

/* Full-width RGB rail; its bright core crosses right-to-left, then returns. */
.woocommerce-cart .bodyman-fluid-checkout-cta__rail {
	position: relative;
	z-index: 1;
	display: block;
	inline-size: 100%;
	block-size: 8px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 999px;
	background: linear-gradient(90deg, var(--bm-cta-blue) 0%, var(--bm-cta-pink) 29%, var(--bm-cta-yellow) 52%, var(--bm-cta-green) 72%, var(--bm-cta-blue) 100%);
	background-size: 220% 100%;
	box-shadow: 0 0 8px rgba(54, 216, 255, .88), 0 0 16px rgba(255, 60, 172, .68), 0 0 24px rgba(85, 244, 165, .42);
	animation: bodyman-rgb-wave var(--bm-motion-speed) linear infinite;
	transition: block-size 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.woocommerce-cart .bodyman-fluid-checkout-cta__rail-light {
	position: absolute;
	inset-block: -150%;
	inset-inline-start: 0;
	inline-size: 33%;
	border-radius: inherit;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), #ffffff, rgba(255, 255, 255, .38), transparent);
	box-shadow: 0 0 12px #ffffff, 0 0 25px var(--bm-cta-yellow);
	transform: translateX(210%) skewX(-20deg);
	animation: bodyman-rail-sweep var(--bm-motion-speed) cubic-bezier(.45, 0, .55, 1) infinite alternate;
}

@media (hover: hover) {
	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta:hover {
		--bm-motion-speed: 1.35s;
		border-color: rgba(255, 224, 250, .8) !important;
		box-shadow: 0 0 0 1px rgba(255, 60, 172, .3), 0 0 38px rgba(255, 60, 172, .5), 0 0 78px rgba(54, 216, 255, .38), 0 22px 44px rgba(7, 0, 14, .48) !important;
		filter: saturate(1.14);
		transform: translateY(-3px) scale(1.008);
	}

	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta:hover .bodyman-fluid-checkout-cta__title {
		color: #ffffff;
		text-shadow: 0 0 10px rgba(54, 216, 255, .9), 0 0 20px rgba(255, 60, 172, .58);
	}

	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta:hover .bodyman-fluid-checkout-cta__support {
		color: #a8f7ff;
		text-shadow: 0 0 12px rgba(54, 216, 255, .65);
	}

	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta:hover .bodyman-fluid-checkout-cta__methods { color: #fff0a7; }

	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta:hover .bodyman-fluid-checkout-cta__rail {
		block-size: 10px;
		filter: brightness(1.32) saturate(1.28);
	}
}

.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 4px;
	border-color: #ffffff !important;
}

/* Touch devices receive the same intentional response through the active state. */
.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta:active {
	--bm-motion-speed: .58s;
	filter: saturate(1.25) brightness(1.08);
	transform: translateY(0) scale(.99);
}

.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta:active .bodyman-fluid-checkout-cta__rail {
	block-size: 10px;
	filter: brightness(1.4) saturate(1.35);
}

@keyframes bodyman-fluid-cta-flow {
	0%, 100% { transform: translate3d(-18%, 8%, 0) rotate(8deg); }
	50% { transform: translate3d(21%, -9%, 0) rotate(8deg); }
}

@keyframes bodyman-rgb-wave {
	from { background-position: 0% 50%; }
	to { background-position: 220% 50%; }
}

@keyframes bodyman-rail-sweep {
	from { transform: translateX(210%) skewX(-20deg); }
	to { transform: translateX(-410%) skewX(-20deg); }
}

@media (max-width: 480px) {
	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta {
		min-block-size: 142px;
		gap: 16px;
		padding: 20px !important;
		border-radius: 20px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta,
	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta__title,
	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta__support,
	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta__methods,
	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta__rail { transition-duration: 1ms; }

	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta::before,
	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta__rail,
	.woocommerce-cart .wc-proceed-to-checkout .bodyman-fluid-checkout-cta__rail-light { animation: none; }
}

/* Classic checkout enhancement: native WooCommerce fields stay in control. */
.woocommerce-checkout #payment {
	--bm-glass-surface: rgba(20, 17, 39, .78);
	--bm-glass-ink: #f8f7ff;
	--bm-glass-muted: rgba(239, 238, 255, .78);
	--bm-neon-1: #00e5ff;
	--bm-neon-2: #ff3dcb;
	--bm-neon-3: #b7ff3c;
	--bm-neon-4: #ffd43b;
	--bm-neon-5: #8d5cff;
	--bm-neon-6: #ff7a45;
	--bm-neon-7: #33f0a8;
	direction: rtl;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 28px;
	background:
		radial-gradient(circle at 90% 4%, rgba(0, 229, 255, .17), transparent 31%),
		radial-gradient(circle at 5% 100%, rgba(255, 61, 203, .15), transparent 36%),
		linear-gradient(145deg, rgba(39, 30, 68, .84), var(--bm-glass-surface));
	box-shadow: inset 0 1px rgba(255, 255, 255, .22), inset 0 -18px 26px rgba(0, 0, 0, .12), 0 18px 42px rgba(11, 8, 25, .18);
	overflow: hidden;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.woocommerce-checkout #payment { -webkit-backdrop-filter: blur(16px) saturate(125%); backdrop-filter: blur(16px) saturate(125%); }
}

.woocommerce-checkout #payment .wc_payment_methods,
.woocommerce-checkout .woocommerce-shipping-methods {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 18px;
	list-style: none;
}

.woocommerce-checkout #payment .wc_payment_method,
.woocommerce-checkout .woocommerce-shipping-methods li {
	--bm-accent: var(--bm-neon-1);
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 20px;
	background: rgba(255, 255, 255, .075);
	box-shadow: inset 0 1px rgba(255, 255, 255, .16), inset 0 -8px 12px rgba(4, 1, 16, .16), 0 8px 16px rgba(6, 3, 18, .12);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.woocommerce-checkout #payment .wc_payment_method:nth-child(2),
.woocommerce-checkout .woocommerce-shipping-methods li:nth-child(2) { --bm-accent: var(--bm-neon-2); }
.woocommerce-checkout #payment .wc_payment_method:nth-child(3),
.woocommerce-checkout .woocommerce-shipping-methods li:nth-child(3) { --bm-accent: var(--bm-neon-3); }
.woocommerce-checkout #payment .wc_payment_method:nth-child(4),
.woocommerce-checkout .woocommerce-shipping-methods li:nth-child(4) { --bm-accent: var(--bm-neon-4); }
.woocommerce-checkout #payment .wc_payment_method:nth-child(5),
.woocommerce-checkout .woocommerce-shipping-methods li:nth-child(5) { --bm-accent: var(--bm-neon-5); }
.woocommerce-checkout #payment .wc_payment_method:nth-child(6),
.woocommerce-checkout .woocommerce-shipping-methods li:nth-child(6) { --bm-accent: var(--bm-neon-6); }
.woocommerce-checkout #payment .wc_payment_method:nth-child(7),
.woocommerce-checkout .woocommerce-shipping-methods li:nth-child(7) { --bm-accent: var(--bm-neon-7); }

.woocommerce-checkout #payment .wc_payment_method > .input-radio,
.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"] {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.woocommerce-checkout #payment .wc_payment_method > label,
.woocommerce-checkout .woocommerce-shipping-methods label {
	position: relative;
	display: flex !important;
	align-items: center;
	gap: 12px;
	min-block-size: 56px;
	margin: 0 !important;
	padding: 14px 64px 14px 16px !important;
	color: var(--bm-glass-ink) !important;
	font: inherit;
	font-weight: 700;
	line-height: 1.65;
	cursor: pointer;
}

.woocommerce-checkout #payment .wc_payment_method > label::before,
.woocommerce-checkout .woocommerce-shipping-methods label::before {
	position: absolute;
	inset-inline-start: 17px;
	inline-size: 28px;
	block-size: 28px;
	border: 1px solid color-mix(in srgb, var(--bm-accent) 78%, white);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), color-mix(in srgb, var(--bm-accent) 58%, #101022) 46%, #100d20 70%);
	box-shadow: inset 2px 2px 5px rgba(255,255,255,.45), inset -4px -5px 7px rgba(0,0,0,.55), 0 0 5px color-mix(in srgb, var(--bm-accent) 60%, transparent);
	content: '';
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.woocommerce-checkout #payment .wc_payment_method > label::after,
.woocommerce-checkout .woocommerce-shipping-methods label::after {
	position: absolute;
	inset-inline-start: 26px;
	inline-size: 10px;
	block-size: 10px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 12px var(--bm-accent), 0 0 24px var(--bm-accent);
	content: '';
	opacity: .28;
	transform: scale(.5);
	transition: opacity 180ms ease, transform 180ms ease;
}

.woocommerce-checkout #payment .wc_payment_method > label img {
	inline-size: auto;
	max-inline-size: 48px;
	max-block-size: 36px;
	margin-inline-start: auto;
	object-fit: contain;
}

.woocommerce-checkout #payment .wc_payment_method:has(.input-radio:checked),
.woocommerce-checkout .woocommerce-shipping-methods li:has(input[type="radio"]:checked) {
	border-color: color-mix(in srgb, var(--bm-accent) 78%, white);
	background: linear-gradient(135deg, color-mix(in srgb, var(--bm-accent) 18%, rgba(255,255,255,.1)), rgba(255,255,255,.07));
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, .48), inset 0 0 0 1px color-mix(in srgb, var(--bm-accent) 38%, transparent), 0 0 14px color-mix(in srgb, var(--bm-accent) 45%, transparent), 0 10px 22px rgba(5, 2, 18, .2);
	transform: translateY(1px) scale(.995);
}

.woocommerce-checkout #payment .wc_payment_method > .input-radio:checked + label::before,
.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:checked + label::before { filter: brightness(1.28) saturate(1.35); transform: scale(.87); box-shadow: inset 2px 2px 5px rgba(255,255,255,.5), inset -5px -6px 9px rgba(0,0,0,.65), 0 0 12px var(--bm-accent), 0 0 27px color-mix(in srgb, var(--bm-accent) 70%, transparent); }
.woocommerce-checkout #payment .wc_payment_method > .input-radio:checked + label::after,
.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:checked + label::after { opacity: 1; transform: scale(1); }

.woocommerce-checkout #payment .wc_payment_method > .input-radio:focus-visible + label,
.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:focus-visible + label { outline: 3px solid #fff; outline-offset: -3px; border-radius: 18px; }

.woocommerce-checkout #payment .payment_box {
	margin: 0 16px 16px !important;
	padding: 12px 16px !important;
	border: 1px solid color-mix(in srgb, var(--bm-accent) 33%, transparent);
	border-radius: 14px;
	background: rgba(3, 2, 12, .2) !important;
	color: var(--bm-glass-muted);
	box-shadow: inset 0 2px 9px rgba(0,0,0,.22);
}
.woocommerce-checkout #payment .payment_box::before { display: none; }
.woocommerce-checkout #payment .payment_box p { margin: 0; color: inherit; }

.woocommerce-checkout #payment .place-order { padding: 18px !important; }
.woocommerce-checkout #payment #place_order {
	position: relative;
	display: grid !important;
	place-items: center;
	min-block-size: 94px;
	inline-size: 100%;
	margin: 14px 0 0 !important;
	padding: 24px 30px 36px !important;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.4) !important;
	border-radius: 22px !important;
	background: linear-gradient(108deg, #0d1021, #252046 48%, #131126) !important;
	box-shadow: inset 0 1px rgba(255,255,255,.3), inset 0 -10px 22px rgba(0,0,0,.28), 0 10px 26px rgba(7,3,21,.3), 0 0 18px rgba(0,229,255,.25) !important;
	color: #fff !important;
	font: inherit !important;
	font-size: clamp(16px, 2vw, 19px) !important;
	font-weight: 800 !important;
	letter-spacing: -.015em;
	text-shadow: 0 0 8px rgba(255,255,255,.48);
	transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}
.woocommerce-checkout #payment #place_order::before { position:absolute; inset-inline:0; inset-block-end:13px; block-size:11px; border-block:1px solid rgba(255,255,255,.3); background:linear-gradient(90deg,#00e5ff,#ff3dcb 25%,#ffd43b 48%,#b7ff3c 70%,#8d5cff); background-size:220% 100%; box-shadow:0 0 8px #00e5ff,0 0 17px #ff3dcb; content:''; animation:bodyman-rgb-wave 4.5s linear infinite; }
.woocommerce-checkout #payment #place_order::after { position:absolute; inset-inline:16px; inset-block-end:1px; color:rgba(255,255,255,.76); content:'BODYMAN CREDIT CARD • 6037 99•• •••• 2714 • CVV2 418'; font-size:7px; font-weight:700; letter-spacing:.12em; text-align:center; text-shadow:0 0 8px #00e5ff; }
@media (hover: hover) { .woocommerce-checkout #payment .wc_payment_method:hover, .woocommerce-checkout .woocommerce-shipping-methods li:hover { border-color: color-mix(in srgb, var(--bm-accent) 56%, white); transform: translateY(-2px); } .woocommerce-checkout #payment #place_order:hover { filter:brightness(1.14) saturate(1.18); transform:translateY(-2px); box-shadow:inset 0 1px rgba(255,255,255,.4), inset 0 -10px 22px rgba(0,0,0,.22), 0 14px 30px rgba(7,3,21,.4), 0 0 28px rgba(255,61,203,.38) !important; } }
.woocommerce-checkout #payment #place_order:focus-visible { outline:3px solid #fff; outline-offset:4px; }
.woocommerce-checkout #payment #place_order:active { transform:translateY(1px) scale(.985); box-shadow:inset 0 7px 14px rgba(0,0,0,.42),0 0 20px rgba(0,229,255,.45) !important; }

@media (max-width: 480px) { .woocommerce-checkout #payment { border-radius:22px; } .woocommerce-checkout #payment .wc_payment_methods, .woocommerce-checkout .woocommerce-shipping-methods { padding:12px; gap:9px; } .woocommerce-checkout #payment .wc_payment_method > label, .woocommerce-checkout .woocommerce-shipping-methods label { min-block-size:52px; padding-inline-start:58px !important; font-size:14px; } }
@media (prefers-reduced-motion: reduce) { .woocommerce-checkout #payment *, .woocommerce-checkout .woocommerce-shipping-methods * { animation:none !important; transition-duration:1ms !important; } }

/* Shipping is a separate decision group: native rates remain intact. */
.woocommerce-checkout .woocommerce-shipping-totals {
	--bm-shipping-ink: #f8f7ff;
	--bm-shipping-muted: rgba(238, 235, 255, .78);
	position: relative;
	display: block;
	margin-block: 18px !important;
	overflow: hidden;
	border: 1px solid rgba(143, 121, 212, .44);
	border-radius: 26px;
	background:
		radial-gradient(circle at 8% 4%, rgba(0,229,255,.12), transparent 28%),
		radial-gradient(circle at 92% 100%, rgba(255,61,203,.13), transparent 34%),
		linear-gradient(145deg, rgba(49, 35, 82, .9), rgba(27, 18, 50, .94));
	box-shadow: inset 0 1px rgba(255,255,255,.18), inset 0 -16px 30px rgba(6,2,18,.2), 0 14px 30px rgba(12,6,28,.15);
}
.woocommerce-checkout .woocommerce-shipping-totals > th,
.woocommerce-checkout .woocommerce-shipping-totals > td { display:block; inline-size:100%; box-sizing:border-box; border:0 !important; }
.woocommerce-checkout .woocommerce-shipping-totals > th {
	padding: 18px 18px 0 !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 1;
	text-align: start;
}
.woocommerce-checkout .woocommerce-shipping-totals > th::after {
	display: block;
	color: var(--bm-shipping-ink);
	content: 'انتخاب روش ارسال';
	font: inherit;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.45;
	text-shadow: 0 0 9px rgba(0,229,255,.42), 0 0 18px rgba(141,92,255,.22);
}
.woocommerce-checkout .woocommerce-shipping-totals > td { padding: 0 0 8px !important; color: var(--bm-shipping-muted); }
.woocommerce-checkout .woocommerce-shipping-totals .woocommerce-shipping-destination,
.woocommerce-checkout .woocommerce-shipping-totals .shipping-calculator-button { margin: 0 18px 14px; color: var(--bm-shipping-muted) !important; }
.woocommerce-checkout .woocommerce-shipping-totals .shipping-calculator-button { color: #9eefff !important; text-decoration-color: rgba(158,239,255,.65); }
.woocommerce-checkout .woocommerce-shipping-totals .shipping-calculator-button:hover { color:#fff !important; text-shadow:0 0 10px #00e5ff; }

/* The final action becomes a calm deep-green card with a moving gold signal. */
.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p {
	color: #f6d77c !important;
	font-weight: 600;
	line-height: 1.85;
	text-shadow: 0 0 10px rgba(246,215,124,.18);
}
.woocommerce-checkout #payment .woocommerce-privacy-policy-text a {
	padding: 1px 4px;
	border-radius: 5px;
	background: rgba(82, 50, 118, .72);
	color: #fff2b8 !important;
	font-weight: 800;
	text-decoration-color: #f6d77c !important;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.woocommerce-checkout #payment .woocommerce-privacy-policy-text a:hover,
.woocommerce-checkout #payment .woocommerce-privacy-policy-text a:focus-visible { background:#f6d77c; color:#29133c !important; box-shadow:0 0 15px rgba(246,215,124,.58); outline:0; }
.woocommerce-checkout #payment #place_order {
	border-color: rgba(255,224,139,.58) !important;
	background:
		radial-gradient(ellipse at 86% 10%, rgba(255,214,106,.22), transparent 36%),
		linear-gradient(122deg, #0B3D2E, #0d4a38 52%, #082b21) !important;
	box-shadow: inset 0 1px rgba(255,249,219,.26), inset 0 -12px 25px rgba(0,0,0,.31), 0 12px 28px rgba(3,31,20,.35), 0 0 20px rgba(246,190,73,.22) !important;
	text-shadow: 0 0 8px rgba(255,244,197,.58), 0 0 18px rgba(246,190,73,.24);
}
.woocommerce-checkout #payment #place_order::before {
	background: linear-gradient(90deg, #7b4c00, #f6be49 26%, #fff7c9 48%, #d49a25 67%, #7b4c00);
	background-size: 230% 100%;
	box-shadow: 0 0 8px #f6be49, 0 0 19px rgba(255,216,114,.74);
	animation: bodyman-gold-sweep 4s linear infinite;
}
.woocommerce-checkout #payment #place_order::after { color:rgba(255,246,204,.82); text-shadow:0 0 8px #f6be49; }
@keyframes bodyman-gold-sweep { from { background-position:0% 50%; } to { background-position:230% 50%; } }
@media (hover: hover) { .woocommerce-checkout #payment #place_order:hover { filter: brightness(1.11) saturate(1.1); box-shadow:inset 0 1px rgba(255,249,219,.38), inset 0 -12px 25px rgba(0,0,0,.22), 0 14px 32px rgba(3,31,20,.45), 0 0 30px rgba(246,190,73,.44) !important; } }
@media (prefers-reduced-motion: reduce) { .woocommerce-checkout #payment #place_order::before { animation:none; } }

/* Clear group hierarchy and larger, glowing decision controls. */
.woocommerce-checkout #payment .wc_payment_methods::before {
	display: block;
	padding: 2px 4px 7px;
	color: var(--bm-glass-ink);
	content: 'انتخاب روش پرداخت';
	font: inherit;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.45;
	text-shadow: 0 0 9px rgba(0,229,255,.45), 0 0 18px rgba(255,61,203,.24);
}
.woocommerce-checkout #payment .wc_payment_method > label,
.woocommerce-checkout .woocommerce-shipping-methods label {
	min-block-size: 68px;
	padding-block: 18px !important;
	padding-inline-start: 72px !important;
	font-size: clamp(15px, 1.6vw, 17px);
}
.woocommerce-checkout #payment .wc_payment_method > label::before,
.woocommerce-checkout .woocommerce-shipping-methods label::before {
	inline-size: 34px;
	block-size: 34px;
	inset-inline-start: 19px;
}
.woocommerce-checkout #payment .wc_payment_method > label::after,
.woocommerce-checkout .woocommerce-shipping-methods label::after {
	inset-inline-start: 29px;
	inline-size: 12px;
	block-size: 12px;
}

/* Delivery uses the gold signal language of the final payment action. */
.woocommerce-checkout .woocommerce-shipping-methods li { --bm-accent: #f6be49 !important; }
.woocommerce-checkout .woocommerce-shipping-methods label,
.woocommerce-checkout .woocommerce-shipping-methods .woocommerce-Price-amount,
.woocommerce-checkout .woocommerce-shipping-methods .amount {
	color: #fff0bd !important;
	font-weight: 800;
	text-shadow: 0 0 7px rgba(246,190,73,.42), 0 0 16px rgba(246,190,73,.18);
}
.woocommerce-checkout .woocommerce-shipping-methods li:has(input[type="radio"]:checked) {
	border-color: #ffe7a1;
	background: linear-gradient(135deg, rgba(246,190,73,.18), rgba(255,255,255,.075));
	box-shadow: inset 0 2px 9px rgba(0,0,0,.48), inset 0 0 0 1px rgba(246,190,73,.45), 0 0 15px rgba(246,190,73,.48), 0 0 34px rgba(246,190,73,.18), 0 12px 25px rgba(5,2,18,.22);
}

/* The selected lamp keeps a low, living glow instead of switching off. */
.woocommerce-checkout #payment .wc_payment_method > .input-radio:checked + label::before,
.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:checked + label::before { animation: bodyman-selected-lamp 1.9s ease-in-out infinite; }
.woocommerce-checkout #payment .wc_payment_method > .input-radio:checked + label::after,
.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:checked + label::after { animation: bodyman-selected-core 1.9s ease-in-out infinite; }
.woocommerce-checkout #payment .wc_payment_method:has(.input-radio:checked),
.woocommerce-checkout .woocommerce-shipping-methods li:has(input[type="radio"]:checked) { animation: bodyman-selected-mist 1.9s ease-in-out infinite; }
@keyframes bodyman-selected-lamp {
	0%, 100% { filter: brightness(1.16) saturate(1.25); box-shadow: inset 2px 2px 5px rgba(255,255,255,.5), inset -5px -6px 9px rgba(0,0,0,.65), 0 0 11px var(--bm-accent), 0 0 24px color-mix(in srgb, var(--bm-accent) 68%, transparent); }
	50% { filter: brightness(1.5) saturate(1.5); box-shadow: inset 2px 2px 5px rgba(255,255,255,.62), inset -5px -6px 9px rgba(0,0,0,.58), 0 0 16px var(--bm-accent), 0 0 38px color-mix(in srgb, var(--bm-accent) 84%, transparent); }
}
@keyframes bodyman-selected-core { 0%, 100% { opacity:.74; transform:scale(.82); } 50% { opacity:1; transform:scale(1.12); } }
@keyframes bodyman-selected-mist { 0%, 100% { filter:saturate(1.04); } 50% { filter:saturate(1.22) brightness(1.05); } }
@media (max-width: 480px) {
	.woocommerce-checkout #payment .wc_payment_method > label,
	.woocommerce-checkout .woocommerce-shipping-methods label { min-block-size:62px; padding-block:16px !important; padding-inline-start:66px !important; }
	.woocommerce-checkout #payment .wc_payment_method > label::before,
	.woocommerce-checkout .woocommerce-shipping-methods label::before { inline-size:31px; block-size:31px; }
}
@media (prefers-reduced-motion: reduce) {
	.woocommerce-checkout #payment .wc_payment_method > .input-radio:checked + label::before,
	.woocommerce-checkout #payment .wc_payment_method > .input-radio:checked + label::after,
	.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:checked + label::before,
	.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:checked + label::after,
	.woocommerce-checkout #payment .wc_payment_method:has(.input-radio:checked),
	.woocommerce-checkout .woocommerce-shipping-methods li:has(input[type="radio"]:checked) { animation:none !important; }
}

/* Compact, Apple-style order summary cards; WooCommerce remains the price authority. */
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	margin-block: 10px;
	padding: 14px 16px;
	border: 1px solid rgba(143,121,212,.4);
	border-radius: 18px;
	background:
		radial-gradient(circle at 6% 8%, rgba(0,229,255,.08), transparent 34%),
		linear-gradient(145deg, rgba(49,35,82,.78), rgba(27,18,50,.84));
	box-shadow: inset 0 1px rgba(255,255,255,.16), inset 0 -9px 15px rgba(6,2,18,.14), 0 8px 18px rgba(12,6,28,.11);
	vertical-align: middle;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > td {
	display: block;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > th {
	color: #f8f7ff !important;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.45;
	text-shadow: 0 0 8px rgba(0,229,255,.28), 0 0 15px rgba(141,92,255,.16);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > td {
	color: #fff0bd !important;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
	text-align: end;
	text-shadow: 0 0 7px rgba(246,190,73,.38), 0 0 14px rgba(246,190,73,.16);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total {
	border-color: rgba(246,190,73,.58);
	background:
		radial-gradient(circle at 92% 0%, rgba(246,190,73,.13), transparent 37%),
		linear-gradient(145deg, rgba(49,35,82,.84), rgba(27,18,50,.9));
	box-shadow: inset 0 1px rgba(255,247,199,.19), inset 0 -9px 15px rgba(6,2,18,.15), 0 0 15px rgba(246,190,73,.13), 0 9px 20px rgba(12,6,28,.12);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > td { color:#fff0bd !important; text-shadow:0 0 8px rgba(246,190,73,.42), 0 0 16px rgba(246,190,73,.2); }

/* A modest density pass only for plugin-customized checkout controls. */
.woocommerce-checkout #payment .wc_payment_methods,
.woocommerce-checkout .woocommerce-shipping-methods { gap: 10px; }
.woocommerce-checkout #payment .wc_payment_method > label,
.woocommerce-checkout .woocommerce-shipping-methods label { min-block-size: 64px; padding-block: 16px !important; font-size: 15px; }
.woocommerce-checkout #payment #place_order { min-block-size: 88px; padding-block: 21px 34px !important; font-size: 17px !important; }
@media (max-width: 480px) {
	.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal,
	.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total { gap:10px; margin-block:8px; padding:12px 13px; border-radius:16px; }
	.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > th,
	.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > th { font-size:14px; }
	.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > td,
	.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > td { font-size:15px; }
	.woocommerce-checkout #payment .wc_payment_method > label,
	.woocommerce-checkout .woocommerce-shipping-methods label { min-block-size:60px; padding-block:14px !important; font-size:14px; }
}

/* Final compact pass for the checkout-only visual layer. */
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total { gap: 10px; margin-block: 8px; padding: 11px 13px; border-radius: 16px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > td {
	color: #fff0bd !important;
	font-size: 14px;
	text-shadow: 0 0 7px rgba(246,190,73,.42), 0 0 14px rgba(246,190,73,.18);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > td { font-size: 15px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > td > .woocommerce-Price-amount.amount,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > td .woocommerce-Price-amount.amount,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal > td .woocommerce-Price-currencySymbol,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total > td .woocommerce-Price-currencySymbol {
	color: #fff0bd !important;
	font-size: inherit;
	font-weight: 800 !important;
	text-shadow: 0 0 7px rgba(246,190,73,.42), 0 0 14px rgba(246,190,73,.18);
}
.woocommerce-checkout .woocommerce-shipping-totals { margin-block: 13px !important; border-radius: 21px; }
.woocommerce-checkout .woocommerce-shipping-totals > th { padding: 13px 14px 0 !important; }
.woocommerce-checkout .woocommerce-shipping-totals > th::after,
.woocommerce-checkout #payment .wc_payment_methods::before { font-size: 17px; padding-block-end: 4px; }
.woocommerce-checkout .woocommerce-shipping-totals .woocommerce-shipping-destination,
.woocommerce-checkout .woocommerce-shipping-totals .shipping-calculator-button { margin: 0 14px 10px; font-size: 13px; }
.woocommerce-checkout #payment .wc_payment_methods,
.woocommerce-checkout .woocommerce-shipping-methods { gap: 8px; padding: 12px; }
.woocommerce-checkout #payment .wc_payment_method,
.woocommerce-checkout .woocommerce-shipping-methods li { border-radius: 16px; }
.woocommerce-checkout #payment .wc_payment_method > label,
.woocommerce-checkout .woocommerce-shipping-methods label {
	min-block-size: 56px;
	gap: 9px;
	padding-block: 12px !important;
	padding-inline-start: 62px !important;
	font-size: 14px;
	line-height: 1.5;
}
.woocommerce-checkout #payment .wc_payment_method > label img { max-inline-size: 42px; max-block-size: 30px; }
.woocommerce-checkout #payment .payment_box { margin: 0 12px 12px !important; padding: 9px 12px !important; border-radius: 12px; font-size: 13px; }
.woocommerce-checkout #payment .place-order { padding: 12px !important; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p { font-size: 12px; line-height: 1.7; }
.woocommerce-checkout #payment #place_order { min-block-size: 78px; margin-top: 10px !important; padding: 17px 24px 31px !important; border-radius: 18px !important; font-size: 16px !important; }

/* Flat keyless-start lamps: neon perimeter, illuminated core, no spherical treatment. */
.woocommerce-checkout #payment .wc_payment_method > label::before,
.woocommerce-checkout .woocommerce-shipping-methods label::before {
	inset-inline-start: 17px;
	inline-size: 30px;
	block-size: 30px;
	border: 1px solid color-mix(in srgb, var(--bm-accent) 83%, white);
	border-radius: 8px;
	background: linear-gradient(145deg, color-mix(in srgb, var(--bm-accent) 30%, #242039), #12101f 72%);
	box-shadow: inset 0 1px rgba(255,255,255,.28), inset 0 -5px 8px rgba(0,0,0,.52), 0 0 7px color-mix(in srgb, var(--bm-accent) 54%, transparent);
}
.woocommerce-checkout #payment .wc_payment_method > label::after,
.woocommerce-checkout .woocommerce-shipping-methods label::after {
	inset-inline-start: 23px;
	inline-size: 18px;
	block-size: 5px;
	border-radius: 2px;
	background: color-mix(in srgb, var(--bm-accent) 72%, white);
	box-shadow: 0 0 7px var(--bm-accent), 0 0 15px color-mix(in srgb, var(--bm-accent) 72%, transparent);
	opacity: .32;
	transform: none;
}
.woocommerce-checkout #payment .wc_payment_method > .input-radio:checked + label::before,
.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:checked + label::before {
	transform: translateY(1px);
	animation: bodyman-flat-key-pulse 1.9s ease-in-out infinite;
}
.woocommerce-checkout #payment .wc_payment_method > .input-radio:checked + label::after,
.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:checked + label::after { animation: bodyman-flat-key-core 1.9s ease-in-out infinite; }
@keyframes bodyman-flat-key-pulse {
	0%,100% { filter: brightness(1.1) saturate(1.18); box-shadow: inset 0 2px 7px rgba(0,0,0,.62), inset 0 0 0 1px color-mix(in srgb, var(--bm-accent) 40%, transparent), 0 0 10px color-mix(in srgb, var(--bm-accent) 60%, transparent), 0 0 23px color-mix(in srgb, var(--bm-accent) 24%, transparent); }
	50% { filter: brightness(1.42) saturate(1.45); box-shadow: inset 0 2px 7px rgba(0,0,0,.5), inset 0 0 0 1px color-mix(in srgb, var(--bm-accent) 67%, white), 0 0 15px color-mix(in srgb, var(--bm-accent) 86%, transparent), 0 0 34px color-mix(in srgb, var(--bm-accent) 38%, transparent); }
}
@keyframes bodyman-flat-key-core { 0%,100% { opacity:.7; filter:brightness(1); } 50% { opacity:1; filter:brightness(1.4); } }
@media (max-width: 480px) {
	.woocommerce-checkout #payment .wc_payment_method > label,
	.woocommerce-checkout .woocommerce-shipping-methods label { min-block-size:52px; padding-block:10px !important; padding-inline-start:58px !important; font-size:13px; }
	.woocommerce-checkout #payment .wc_payment_method > label::before,
	.woocommerce-checkout .woocommerce-shipping-methods label::before { inline-size:27px; block-size:27px; }
	.woocommerce-checkout #payment .wc_payment_method > label::after,
	.woocommerce-checkout .woocommerce-shipping-methods label::after { inset-inline-start:22px; inline-size:15px; }
}
@media (prefers-reduced-motion: reduce) {
	.woocommerce-checkout #payment .wc_payment_method > .input-radio:checked + label::before,
	.woocommerce-checkout #payment .wc_payment_method > .input-radio:checked + label::after,
	.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:checked + label::before,
	.woocommerce-checkout .woocommerce-shipping-methods input[type="radio"]:checked + label::after { animation:none !important; }
}

/* Address-required delivery notice: safe mobile inset when rates are unavailable. */
.woocommerce-checkout .woocommerce-shipping-totals > td > .woocommerce-shipping-destination,
.woocommerce-checkout .woocommerce-shipping-totals > td > p:not(.woocommerce-shipping-calculator) {
	display: block;
	box-sizing: border-box;
	inline-size: auto;
	margin: 0 12px 12px !important;
	padding: 12px 14px !important;
	border: 1px solid rgba(0, 229, 255, .25);
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(0,229,255,.06));
	color: #ecfbff !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.75;
	text-align: center;
	text-wrap: balance;
	box-shadow: inset 0 1px rgba(255,255,255,.16), 0 6px 14px rgba(5,2,18,.11);
}
@media (max-width: 480px) {
	.woocommerce-checkout .woocommerce-shipping-totals > td > .woocommerce-shipping-destination,
	.woocommerce-checkout .woocommerce-shipping-totals > td > p:not(.woocommerce-shipping-calculator) { margin: 0 10px 10px !important; padding: 11px 12px !important; font-size: 12px; line-height: 1.7; }
}

/* Light floating glass for Woodmart/Elementor billing, notes and product review. */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-checkout-review-order-table {
	box-sizing: border-box;
	border: 1px solid rgba(76, 64, 132, .16);
	border-radius: 24px;
	background:
		radial-gradient(circle at 88% 5%, rgba(78,211,255,.13), transparent 31%),
		radial-gradient(circle at 6% 100%, rgba(180,138,255,.1), transparent 34%),
		linear-gradient(145deg, rgba(255,255,255,.88), rgba(246,249,255,.72));
	box-shadow: inset 0 1px rgba(255,255,255,.88), 0 13px 30px rgba(40,31,82,.1);
	color: #343053;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.woocommerce-checkout .woocommerce-billing-fields,
	.woocommerce-checkout .woocommerce-additional-fields,
	.woocommerce-checkout .woocommerce-checkout-review-order-table { -webkit-backdrop-filter: blur(15px) saturate(120%); backdrop-filter: blur(15px) saturate(120%); }
}
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields { padding: 18px; margin-block: 16px; }
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
	margin: 0 0 14px;
	color: #292348;
	font: inherit;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 800;
	letter-spacing: -.02em;
	text-shadow: 0 1px rgba(255,255,255,.88);
}
.woocommerce-checkout .woocommerce-billing-fields .form-row,
.woocommerce-checkout .woocommerce-additional-fields .form-row { margin-block-end: 13px; }
.woocommerce-checkout .woocommerce-billing-fields label,
.woocommerce-checkout .woocommerce-additional-fields label { color: #454064; font-size: 13px; font-weight: 700; }
.woocommerce-checkout .woocommerce-billing-fields .optional,
.woocommerce-checkout .woocommerce-additional-fields .optional { color: #7c759b; }
.woocommerce-checkout .woocommerce-billing-fields .input-text,
.woocommerce-checkout .woocommerce-billing-fields select,
.woocommerce-checkout .woocommerce-additional-fields .input-text,
.woocommerce-checkout .woocommerce-additional-fields textarea,
.woocommerce-checkout .woocommerce-billing-fields .select2-selection {
	min-block-size: 46px;
	border: 1px solid rgba(70,59,124,.2) !important;
	border-radius: 13px !important;
	background: rgba(255,255,255,.66) !important;
	box-shadow: inset 0 1px rgba(255,255,255,.88), 0 4px 10px rgba(45,35,86,.06) !important;
	color: #302b4c !important;
	font: inherit;
	font-size: 14px;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.woocommerce-checkout .woocommerce-additional-fields textarea { min-block-size: 96px; padding-block: 12px; resize: vertical; }
.woocommerce-checkout .woocommerce-billing-fields .select2-selection { display:flex; align-items:center; }
.woocommerce-checkout .woocommerce-billing-fields .select2-selection__rendered { color:#302b4c !important; line-height:44px !important; }
.woocommerce-checkout .woocommerce-billing-fields .input-text::placeholder,
.woocommerce-checkout .woocommerce-additional-fields .input-text::placeholder,
.woocommerce-checkout .woocommerce-additional-fields textarea::placeholder { color: #8983a4; opacity: 1; }
.woocommerce-checkout .woocommerce-billing-fields .input-text:focus,
.woocommerce-checkout .woocommerce-billing-fields select:focus,
.woocommerce-checkout .woocommerce-additional-fields .input-text:focus,
.woocommerce-checkout .woocommerce-additional-fields textarea:focus,
.woocommerce-checkout .woocommerce-billing-fields .select2-selection:focus,
.woocommerce-checkout .woocommerce-billing-fields .select2-container--open .select2-selection {
	border-color: #00aeca !important;
	box-shadow: 0 0 0 3px rgba(0,174,202,.17), inset 0 1px rgba(255,255,255,.92) !important;
	outline: 0;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table { overflow: hidden; border-collapse: separate; border-spacing: 0; }
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
	padding: 15px 16px;
	border-block-end: 1px solid rgba(70,59,124,.14);
	background: rgba(255,255,255,.45);
	color: #302b4c;
	font-size: 14px;
	font-weight: 800;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item > td { border-block-end: 1px solid rgba(70,59,124,.1); background: transparent !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-title,
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-product-label-link,
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-product-label { color: #343053 !important; font-weight: 700; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod { padding: 14px 16px !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .amount { color: #8a6500 !important; text-shadow: 0 0 8px rgba(246,190,73,.18); }
.woocommerce-checkout #payment #place_order::after { content:'BODYMAN CREDIT CARD • 0001 0001 0002 0003 • CVV2 233'; }
@media (max-width: 480px) {
	.woocommerce-checkout .woocommerce-billing-fields,
	.woocommerce-checkout .woocommerce-additional-fields { padding: 14px; margin-block: 12px; border-radius: 20px; }
	.woocommerce-checkout .woocommerce-billing-fields h3,
	.woocommerce-checkout .woocommerce-additional-fields h3 { margin-block-end: 11px; font-size: 18px; }
	.woocommerce-checkout .woocommerce-billing-fields .form-row,
	.woocommerce-checkout .woocommerce-additional-fields .form-row { margin-block-end: 11px; }
	.woocommerce-checkout .woocommerce-checkout-review-order-table { border-radius: 20px; }
	.woocommerce-checkout .woocommerce-checkout-review-order-table thead th { padding: 12px 13px; font-size: 13px; }
	.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod { padding: 12px 13px !important; }
}

/* Postal-address heading: the native WooCommerce title with an envelope stripe. */
.woocommerce-checkout .woocommerce-billing-fields h3 {
	position: relative;
	display: grid;
	gap: 9px;
}
.woocommerce-checkout .woocommerce-billing-fields h3::before {
	display: block;
	inline-size: clamp(88px, 22%, 138px);
	block-size: 5px;
	border: 1px solid rgba(66,58,103,.12);
	border-radius: 999px;
	background: linear-gradient(90deg, #fff 0 31%, #dc3c4b 31% 63%, #2862ae 63% 100%);
	box-shadow: 0 1px 2px rgba(45,35,86,.12);
	content: '';
}

/* One aligned order-review card; header labels remain visible at every breakpoint. */
.woocommerce-checkout .wd-order-table .elementor-widget-container {
	box-sizing: border-box;
	padding: 14px;
	border: 1px solid rgba(76,64,132,.16);
	border-radius: 24px;
	background:
		radial-gradient(circle at 88% 5%, rgba(78,211,255,.11), transparent 32%),
		linear-gradient(145deg, rgba(255,255,255,.72), rgba(246,249,255,.56));
	box-shadow: inset 0 1px rgba(255,255,255,.84), 0 13px 30px rgba(40,31,82,.08);
}
.woocommerce-checkout .wd-order-table .elementor-widget-container::before {
	display: block;
	margin: 0 2px 10px;
	color: #292348;
	content: 'صورتحساب شما';
	font: inherit;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.4;
}
.woocommerce-checkout .wd-order-table .woocommerce-checkout-review-order-table {
	inline-size: 100%;
	margin: 0;
	border-color: rgba(76,64,132,.13);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead {
	display: block;
	padding: 0;
	border-block-end: 1px solid rgba(70,59,124,.14);
	background: rgba(255,255,255,.45);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th.product-name,
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th.product-total {
	display: block !important;
	inline-size: auto;
	margin: 0;
	padding: 13px 14px !important;
	border: 0 !important;
	color: #302b4c;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th.product-name { min-inline-size: 0; text-align: start; }
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th.product-total { text-align: end; white-space: nowrap; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item + .cart_item { border-block-start: 1px solid rgba(70,59,124,.1); }
.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod { min-inline-size: 0; }
@media (max-width: 480px) {
	.woocommerce-checkout .wd-order-table .elementor-widget-container { padding: 11px; border-radius: 20px; }
	.woocommerce-checkout .wd-order-table .elementor-widget-container::before { margin: 0 2px 8px; font-size: 18px; }
	.woocommerce-checkout .woocommerce-billing-fields h3 { gap: 7px; }
	.woocommerce-checkout .woocommerce-billing-fields h3::before { inline-size: 82px; block-size: 4px; }
	.woocommerce-checkout .woocommerce-checkout-review-order-table thead tr { gap: 6px; }
	.woocommerce-checkout .woocommerce-checkout-review-order-table thead th.product-name,
	.woocommerce-checkout .woocommerce-checkout-review-order-table thead th.product-total { padding: 11px 12px !important; font-size: 12px; }
}

/* Woodmart already renders the order-review title; keep one title and one glass layer. */
.woocommerce-checkout .wd-order-table .elementor-widget-container {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.woocommerce-checkout .wd-order-table .elementor-widget-container::before { display: none; content: none; }
@media (max-width: 480px) {
	.woocommerce-checkout .wd-order-table .elementor-widget-container { padding: 0; border-radius: 0; }
}
