body.fsp-commerce-flow {
	--fsp-commerce-bg: #f1f5f9;
	--fsp-commerce-surface: #ffffff;
	--fsp-commerce-border: #e2e8f0;
	--fsp-commerce-text: #0f172a;
	--fsp-commerce-muted: #64748b;
	--fsp-commerce-accent: var(--fsp-brand-orange, #f97316);
	background: var(--fsp-commerce-bg);
	color: var(--fsp-commerce-text);
	font-family: 'Vazirmatn', Tahoma, 'Segoe UI', system-ui, sans-serif;
	direction: rtl;
}

body.fsp-commerce-flow .ct-header,
body.fsp-commerce-flow #header,
body.fsp-commerce-flow header.site-header {
	display: none !important;
}

body.fsp-commerce-flow .site-main,
body.fsp-commerce-flow main,
body.fsp-commerce-flow .ct-container,
body.fsp-commerce-flow .entry-content {
	box-sizing: border-box;
}

body.fsp-commerce-flow .site-main,
body.fsp-commerce-flow .ct-container,
body.fsp-commerce-flow .entry-content {
	max-width: 1100px;
	margin-inline: auto;
}

body.fsp-commerce-flow .entry-content {
	padding: clamp(20px, 4vw, 48px) 16px 72px;
}

body.fsp-commerce-flow h1,
body.fsp-commerce-flow .entry-title {
	margin: 0 0 20px;
	color: #0f172a;
	font-size: clamp(1.7rem, 4vw, 2.5rem);
	font-weight: 900;
	letter-spacing: -0.03em;
}

body.fsp-commerce-flow .woocommerce {
	display: block;
	width: 100%;
}

body.fsp-commerce-flow .woocommerce-notices-wrapper,
body.fsp-commerce-flow .woocommerce-cart-form,
body.fsp-commerce-flow .cart-collaterals,
body.fsp-commerce-flow form.checkout,
body.fsp-commerce-flow .woocommerce-order,
body.fsp-commerce-flow .woocommerce-MyAccount-content,
body.fsp-commerce-flow .woocommerce-MyAccount-navigation {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--fsp-commerce-border);
	border-radius: 20px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
	padding: clamp(16px, 3vw, 28px);
}

body.fsp-commerce-flow .woocommerce-notices-wrapper {
	margin-bottom: 16px;
}

body.fsp-commerce-flow .woocommerce-message,
body.fsp-commerce-flow .woocommerce-info,
body.fsp-commerce-flow .woocommerce-error {
	border: 0;
	border-radius: 14px;
	background: #eff6ff;
	color: #1e3a8a;
	line-height: 1.8;
	padding: 14px 18px;
	margin: 0 0 12px;
}

body.fsp-commerce-flow .woocommerce-error {
	background: #fff7ed;
	color: #9a3412;
}

body.fsp-commerce-flow table.shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--fsp-commerce-border);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}

body.fsp-commerce-flow table.shop_table th,
body.fsp-commerce-flow table.shop_table td {
	padding: 14px;
	border-bottom: 1px solid var(--fsp-commerce-border);
	text-align: right;
	vertical-align: middle;
}

body.fsp-commerce-flow table.shop_table th {
	background: #f8fafc;
	color: var(--fsp-commerce-muted);
	font-size: 0.9rem;
	font-weight: 800;
}

body.fsp-commerce-flow table.shop_table tr:last-child td {
	border-bottom: 0;
}

body.fsp-commerce-flow .product-name a {
	color: #0f172a;
	font-weight: 800;
	text-decoration: none;
}

body.fsp-commerce-flow .amount {
	color: #0f172a;
	font-weight: 900;
}

body.fsp-commerce-flow input[type='text'],
body.fsp-commerce-flow input[type='email'],
body.fsp-commerce-flow input[type='tel'],
body.fsp-commerce-flow input[type='number']:not(.fsp-qty__input):not(.qty),
body.fsp-commerce-flow input[type='password'],
body.fsp-commerce-flow textarea,
body.fsp-commerce-flow select,
body.fsp-commerce-flow .select2-container .select2-selection--single {
	width: 100%;
	min-height: 46px;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	background: #fff;
	color: #0f172a;
	font-family: inherit;
	box-sizing: border-box;
}

body.fsp-commerce-flow textarea {
	min-height: 110px;
	padding: 12px;
}

body.fsp-commerce-flow label {
	color: #334155;
	font-weight: 700;
}

body.fsp-commerce-flow .form-row {
	margin-bottom: 14px;
}

body.fsp-commerce-flow .woocommerce-billing-fields,
body.fsp-commerce-flow .woocommerce-additional-fields,
body.fsp-commerce-flow #order_review_heading,
body.fsp-commerce-flow #order_review {
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--fsp-commerce-border);
	border-radius: 18px;
	padding: 18px;
	margin-bottom: 18px;
}

body.fsp-commerce-flow #order_review_heading {
	margin-top: 20px;
	font-size: 1.3rem;
}

body.fsp-commerce-flow button.button,
body.fsp-commerce-flow a.button,
body.fsp-commerce-flow input.button,
body.fsp-commerce-flow #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 20px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--fsp-commerce-accent), #c2410c);
	color: #fff;
	font-family: inherit;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

body.fsp-commerce-flow button.button:disabled,
body.fsp-commerce-flow button.button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
	background: #cbd5e1;
	color: #475569;
	box-shadow: none;
}

body.fsp-commerce-flow .fsp-cart-update-hint {
	display: block;
	margin-top: 8px;
	color: var(--fsp-commerce-muted);
	font-size: 0.86rem;
	line-height: 1.7;
}

body.fsp-commerce-flow a.remove {
	color: #dc2626 !important;
	text-decoration: none;
	font-weight: 900;
}

body.fsp-commerce-flow .cart_totals {
	float: none;
	width: 100%;
}

body.fsp-commerce-flow .woocommerce-privacy-policy-text {
	color: var(--fsp-commerce-muted);
	font-size: 0.92rem;
	line-height: 1.9;
}

body.fsp-commerce-flow .woocommerce-NoticeGroup {
	margin-bottom: 16px;
}

.fsp-cart-shell {
	width: 100%;
	max-width: 100%;
	background: #eef2f7;
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--fsp-chrome-fixed-top, 64px));
}

.fsp-cart-shell__content {
	flex: 1 0 auto;
	padding: clamp(20px, 4vw, 36px) var(--fsp-page-pad-x, 16px) 28px;
}

.fsp-cart-shell__inner {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	gap: 18px;
}

.fsp-cart-shell__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 22px 24px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.fsp-cart-shell__header h1 {
	margin: 0 0 6px;
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	font-weight: 900;
	color: #0f172a;
}

.fsp-cart-shell__lead {
	margin: 0;
	color: #64748b;
	font-size: 0.95rem;
	line-height: 1.8;
}

.fsp-cart-shell__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 12px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #1e40af;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.fsp-cart-shell__notices .woocommerce-message,
.fsp-cart-shell__notices .woocommerce-info,
.fsp-cart-shell__notices .woocommerce-error,
.fsp-commerce-notices .woocommerce-message,
.fsp-commerce-notices .woocommerce-info,
.fsp-commerce-notices .woocommerce-error {
	border: 0;
	border-radius: 14px;
	padding: 14px 18px;
	margin: 0;
	line-height: 1.8;
}

.fsp-cart-shell__notices .woocommerce-message,
.fsp-commerce-notices .woocommerce-message {
	background: #ecfdf5;
	color: #065f46;
}

.fsp-cart-shell__notices .woocommerce-error,
.fsp-commerce-notices .woocommerce-error {
	background: #fff7ed;
	color: #9a3412;
}

.fsp-cart-layout {
	display: grid;
	gap: 18px;
	align-items: start;
	min-width: 0;
}

.fsp-cart-layout > * {
	min-width: 0;
}

.fsp-cart-summary {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
	padding: clamp(16px, 3vw, 22px);
	min-width: 0;
	box-sizing: border-box;
	overflow: clip;
}

.fsp-cart-empty,
.fsp-cart-form {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
	padding: clamp(16px, 3vw, 22px);
	min-width: 0;
	box-sizing: border-box;
}

.fsp-cart-empty {
	text-align: center;
}

.fsp-cart-empty p {
	margin: 0 0 16px;
	color: #475569;
	font-size: 1.05rem;
}

.fsp-cart-items {
	display: grid;
	gap: 14px;
}

.fsp-cart-item {
	display: grid;
	gap: 14px;
	padding: 16px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #f8fafc;
}

.fsp-cart-item__main {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.fsp-cart-item__media img {
	display: block;
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	background: #fff;
}

.fsp-cart-item__title {
	margin: 0 0 6px;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.6;
}

.fsp-cart-item__title a {
	color: #0f172a;
	text-decoration: none;
}

.fsp-cart-item__sku {
	margin: 0 0 8px;
	color: #64748b;
	font-size: 0.82rem;
	font-weight: 700;
}

.fsp-cart-item__unit-price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: #475569;
	font-size: 0.9rem;
}

.fsp-cart-item__unit-price strong {
	color: #0f172a;
}

.fsp-cart-item__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
}

.fsp-cart-item__qty-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.fsp-cart-item__qty-label {
	color: #64748b;
	font-size: 0.82rem;
	font-weight: 800;
}

.fsp-cart-item__subtotal {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #64748b;
	font-size: 0.9rem;
}

.fsp-cart-item__subtotal strong {
	color: #0f172a;
	font-size: 1rem;
}

.fsp-cart-item__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid #fecaca;
	background: #fff5f5;
	color: #dc2626;
	font-weight: 800;
	text-decoration: none;
	font-size: 0.88rem;
}

.fsp-cart-item__remove:hover {
	background: #fee2e2;
}

.fsp-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.fsp-qty--static {
	padding: 8px 14px;
}

.fsp-qty__btn {
	width: 44px;
	height: 44px;
	border: 0;
	background: #f8fafc;
	color: #0f172a;
	font-size: 1.35rem;
	font-weight: 900;
	cursor: pointer;
	line-height: 1;
}

.fsp-qty__btn:hover {
	background: #e2e8f0;
}

.fsp-qty__btn:active {
	background: #cbd5e1;
}

.fsp-qty__input {
	width: 64px;
	min-height: 44px;
	border: 0;
	border-inline: 1px solid #e2e8f0;
	text-align: center;
	font: inherit;
	font-weight: 800;
	font-size: 1rem;
	color: #0f172a;
	background: #fff;
	-moz-appearance: textfield;
	cursor: text;
}

.fsp-qty__input::-webkit-outer-spin-button,
.fsp-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.fsp-cart-form__actions {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e2e8f0;
}

.fsp-cart-form__hint {
	margin: 0;
	color: #64748b;
	font-size: 0.88rem;
	line-height: 1.7;
}

.fsp-cart-summary h2 {
	margin: 0 0 14px;
	font-size: 1.15rem;
	font-weight: 900;
	color: #0f172a;
}

.fsp-cart-summary__rows {
	margin: 0;
}

.fsp-cart-summary__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #e2e8f0;
}

.fsp-cart-summary__row:last-child {
	border-bottom: 0;
}

.fsp-cart-summary__row dt,
.fsp-cart-summary__row dd {
	margin: 0;
}

.fsp-cart-summary__row dd {
	font-weight: 900;
	color: #0f172a;
}

.fsp-cart-summary__row--total {
	padding-top: 14px;
	font-size: 1.05rem;
}

body.fsp-cart-page .fsp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border-radius: 12px;
	font-weight: 900;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}

body.fsp-cart-page .fsp-btn--primary,
body.fsp-cart-page .fsp-cart-summary__checkout {
	background: linear-gradient(135deg, var(--fsp-brand-orange, #f97316), #c2410c);
	color: #fff;
}

.fsp-cart-summary__checkout {
	display: flex;
	width: 100%;
	max-width: 100%;
	margin-top: 16px;
	justify-content: center;
	align-self: stretch;
	box-sizing: border-box;
	white-space: normal;
	text-align: center;
	line-height: 1.5;
	padding: 12px 14px;
	box-shadow: 0 8px 20px rgba(249, 115, 22, 0.18);
}

@media (min-width: 900px) {
	.fsp-cart-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.fsp-cart-summary {
		position: sticky;
		top: calc(var(--fsp-chrome-fixed-top, 64px) + 16px);
	}
}

@media (max-width: 768px) {
	.fsp-cart-shell__header {
		padding: 18px 16px;
	}

	.fsp-cart-shell__back {
		width: 100%;
	}

	.fsp-cart-item__main {
		grid-template-columns: 72px minmax(0, 1fr);
	}

	.fsp-cart-item__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.fsp-cart-item__subtotal,
	.fsp-cart-item__remove {
		justify-content: space-between;
	}
}

.fsp-checkout-shell {
	width: 100%;
	max-width: 100%;
	background: #eef2f7;
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--fsp-chrome-fixed-top, 64px));
}

.fsp-checkout-shell__content {
	flex: 1 0 auto;
	padding: clamp(20px, 4vw, 36px) var(--fsp-page-pad-x, 16px) 28px;
}

.fsp-cart-shell > .fsp-brand-trust,
.fsp-cart-shell > .fsp-brand-gateway,
.fsp-checkout-shell > .fsp-brand-trust,
.fsp-checkout-shell > .fsp-brand-gateway {
	flex-shrink: 0;
	margin-top: 0;
	width: 100%;
	max-width: none;
}

.fsp-cart-shell > .fsp-brand-trust,
.fsp-checkout-shell > .fsp-brand-trust {
	background: #eef2f7;
	border-top: 1px solid #e2e8f0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.fsp-cart-shell > .fsp-brand-gateway,
.fsp-checkout-shell > .fsp-brand-gateway {
	background: #fff;
	border-top: 1px solid #e2e8f0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.fsp-cart-shell > .fsp-brand-gateway .fsp-brand-gateway__inner,
.fsp-checkout-shell > .fsp-brand-gateway .fsp-brand-gateway__inner {
	padding-bottom: calc(28px + var(--fsp-mobile-dock-h, 0px));
}

.fsp-checkout-shell__inner {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	gap: 18px;
	min-width: 0;
}

.fsp-checkout-shell__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 22px 24px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.fsp-checkout-shell__header h1 {
	margin: 0 0 6px;
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	font-weight: 900;
	color: #0f172a;
}

.fsp-checkout-shell__lead {
	margin: 0;
	color: #64748b;
	font-size: 0.95rem;
	line-height: 1.8;
}

.fsp-checkout-shell__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 12px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #1e40af;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.fsp-checkout-shell__notices .woocommerce-message,
.fsp-checkout-shell__notices .woocommerce-info,
.fsp-checkout-shell__notices .woocommerce-error {
	border: 0;
	border-radius: 14px;
	padding: 14px 18px;
	margin: 0;
	line-height: 1.8;
}

.fsp-checkout-shell__notices .woocommerce-message {
	background: #ecfdf5;
	color: #065f46;
}

.fsp-checkout-shell__notices .woocommerce-error {
	background: #fff7ed;
	color: #9a3412;
	border: 1px solid #fed7aa;
}

.fsp-checkout-shell__notices .woocommerce-error::before {
	content: 'لطفاً موارد زیر را تکمیل کنید:';
	display: block;
	margin-bottom: 8px;
	font-weight: 800;
	color: #9a3412;
}

.fsp-checkout-shell__notices .woocommerce-error ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsp-checkout-shell__notices .woocommerce-error li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(154, 52, 18, 0.12);
	line-height: 1.7;
}

.fsp-checkout-shell__notices .woocommerce-error li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.fsp-checkout-shell__notices .woocommerce-error li:first-child {
	padding-top: 0;
}

.fsp-shipping-buyer-notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 16px;
	border: 2px solid #f59e0b;
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
	box-shadow: 0 10px 24px rgba(245, 158, 11, 0.16);
	margin: 0 0 18px;
}

.fsp-shipping-buyer-notice--checkout {
	margin-bottom: 22px;
}

.fsp-shipping-buyer-notice--cart {
	margin: 18px 0 0;
}

.fsp-shipping-buyer-notice--inline {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-width: 1px;
	border-radius: 12px;
	box-shadow: none;
}

.fsp-shipping-buyer-notice__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #d97706;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
}

.fsp-shipping-buyer-notice__text {
	margin: 0;
	color: #92400e;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.8;
}

.fsp-checkout-layout .form-row.woocommerce-invalid > label {
	color: #b45309;
}

.fsp-checkout-layout .form-row.woocommerce-invalid input,
.fsp-checkout-layout .form-row.woocommerce-invalid select,
.fsp-checkout-layout .form-row.woocommerce-invalid .select2-selection {
	border-color: #f97316 !important;
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.fsp-checkout-layout .form-row .woocommerce-error[role='alert'] {
	display: none;
}

.fsp-checkout-layout {
	min-width: 0;
}

.fsp-checkout-layout .woocommerce-checkout {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.fsp-checkout-layout #customer_details,
.fsp-checkout-layout #order_review_heading,
.fsp-checkout-layout #order_review {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
	padding: clamp(16px, 3vw, 22px);
	min-width: 0;
	box-sizing: border-box;
}

.fsp-checkout-layout #customer_details {
	display: grid;
	gap: 18px;
}

.fsp-checkout-layout .col-1,
.fsp-checkout-layout .col-2 {
	width: 100%;
	float: none;
	min-width: 0;
}

.fsp-checkout-layout h3 {
	margin: 0 0 14px;
	font-size: 1.1rem;
	font-weight: 900;
	color: #0f172a;
}

.fsp-checkout-layout .form-row {
	margin-bottom: 14px;
}

.fsp-checkout-layout label {
	display: block;
	margin-bottom: 6px;
	color: #334155;
	font-weight: 700;
	font-size: 0.92rem;
}

.fsp-checkout-layout input[type='text'],
.fsp-checkout-layout input[type='email'],
.fsp-checkout-layout input[type='tel'],
.fsp-checkout-layout input[type='number'],
.fsp-checkout-layout input[type='password'],
.fsp-checkout-layout textarea,
.fsp-checkout-layout select {
	width: 100%;
	min-height: 46px;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	background: #fff;
	color: #0f172a;
	font-family: inherit;
	box-sizing: border-box;
	padding: 10px 12px;
}

.fsp-checkout-layout textarea {
	min-height: 110px;
	resize: vertical;
}

.fsp-checkout-layout table.shop_table {
	width: 100%;
	border-collapse: collapse;
}

.fsp-checkout-layout table.shop_table th,
.fsp-checkout-layout table.shop_table td {
	padding: 10px 0;
	border-bottom: 1px solid #e2e8f0;
	text-align: right;
	vertical-align: middle;
}

.fsp-checkout-layout table.shop_table tr:last-child th,
.fsp-checkout-layout table.shop_table tr:last-child td {
	border-bottom: 0;
}

.fsp-checkout-layout #payment {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e2e8f0;
}

.fsp-checkout-layout #place_order {
	display: flex;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	margin-top: 12px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--fsp-brand-orange, #f97316), #c2410c);
	color: #fff;
	font-family: inherit;
	font-weight: 900;
	cursor: pointer;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
}

.fsp-checkout-layout .woocommerce-privacy-policy-text {
	margin-top: 12px;
	color: #64748b;
	font-size: 0.88rem;
	line-height: 1.8;
}

@media (min-width: 900px) {
	.fsp-checkout-layout .woocommerce-checkout {
		grid-template-columns: minmax(0, 1fr) 360px;
		align-items: start;
	}

	.fsp-checkout-layout #customer_details {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.fsp-checkout-layout #order_review_heading,
	.fsp-checkout-layout #order_review {
		grid-column: 2;
	}

	.fsp-checkout-layout #order_review {
		position: sticky;
		top: calc(var(--fsp-chrome-fixed-top, 64px) + 16px);
	}
}

@media (max-width: 768px) {
	.fsp-checkout-shell__header {
		padding: 18px 16px;
	}

	.fsp-checkout-shell__back {
		width: 100%;
	}
}

@media (max-width: 768px) {
	body.fsp-commerce-flow .entry-content {
		padding-inline: 12px;
	}

	body.fsp-commerce-flow .woocommerce-cart-form,
	body.fsp-commerce-flow .cart-collaterals,
	body.fsp-commerce-flow form.checkout {
		padding: 14px;
		border-radius: 16px;
	}

	body.fsp-commerce-flow table.shop_table th,
	body.fsp-commerce-flow table.shop_table td {
		padding: 10px;
		font-size: 0.92rem;
	}

	body.fsp-commerce-flow button.button,
	body.fsp-commerce-flow a.button,
	body.fsp-commerce-flow input.button,
	body.fsp-commerce-flow #place_order {
		width: 100%;
	}
}

/* Phone payment proof (thank-you) */
.fsp-payment-proof {
	margin: 24px 0 8px;
	padding: 0;
}

.fsp-payment-proof__header {
	margin-bottom: 14px;
}

.fsp-payment-proof__header h2 {
	margin: 0 0 8px;
	font-size: 1.35rem;
}

.fsp-payment-proof__lead {
	margin: 0;
	color: #475569;
	line-height: 1.7;
}

.fsp-payment-proof__notice {
	margin-bottom: 14px;
	padding: 12px 14px;
	border-radius: 10px;
	font-weight: 600;
}

.fsp-payment-proof__notice.is-success {
	background: #ecfdf5;
	color: #065f46;
}

.fsp-payment-proof__notice.is-error {
	background: #fef2f2;
	color: #991b1b;
}

.fsp-payment-proof__card {
	padding: 18px;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.fsp-payment-proof__steps {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	gap: 12px;
	counter-reset: none;
}

.fsp-payment-proof__step {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 14px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
}

.fsp-payment-proof__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #0f172a;
	color: #fff;
	font-weight: 900;
}

.fsp-payment-proof__step-text {
	margin: 0 0 10px;
	color: #0f172a;
	line-height: 1.8;
	font-weight: 600;
}

.fsp-payment-proof__call-btn {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border-radius: 12px;
	background: linear-gradient(135deg, #0f172a, #1d4ed8);
	color: #fff;
	text-decoration: none;
	font-weight: 800;
}

.fsp-payment-proof__call-btn.is-static {
	cursor: default;
}

.fsp-payment-proof__call-label {
	font-size: 0.9rem;
	opacity: 0.92;
}

.fsp-payment-proof__call-number {
	font-size: 1.25rem;
	letter-spacing: 0.03em;
}

.fsp-payment-proof__status {
	margin-bottom: 16px;
	padding: 14px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
}

.fsp-payment-proof__status.is-verified {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #065f46;
	font-weight: 700;
}

.fsp-payment-proof__receipt-preview {
	display: block;
	max-width: 280px;
	height: auto;
	margin-top: 10px;
	border-radius: 10px;
}

.fsp-payment-proof__form {
	display: grid;
	gap: 14px;
	padding-top: 4px;
	border-top: 1px dashed #cbd5e1;
}

.fsp-payment-proof__form-grid {
	display: grid;
	gap: 14px;
}

@media (min-width: 720px) {
	.fsp-payment-proof__form-grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.fsp-payment-proof__field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	color: #0f172a;
}

.fsp-payment-proof__field input[type="text"],
.fsp-payment-proof__field input[type="file"] {
	width: 100%;
	box-sizing: border-box;
}

.fsp-payment-proof__field input[type="text"] {
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-family: inherit;
}

.fsp-payment-proof__hint {
	margin: 6px 0 0;
	color: #64748b;
	font-size: 0.85rem;
}

.fsp-payment-proof__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--fsp-brand-orange, #f97316), #c2410c);
	color: #fff;
	font-family: inherit;
	font-weight: 900;
	cursor: pointer;
}

.fsp-payment-proof__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.fsp-account-thankyou-link {
	margin: 1.5rem 0 0.5rem;
	padding: 1.15rem 1.25rem;
	border-radius: 16px;
	background: linear-gradient(135deg, #0f172a, #1e3a8a);
	border: 1px solid rgba(255, 204, 0, 0.35);
	text-align: center;
}

.fsp-account-thankyou-link__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.35rem;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--fsp-brand-orange, #f97316), #c2410c);
	color: #fff !important;
	font-weight: 900;
	text-decoration: none !important;
	font-size: 1rem;
}

.fsp-account-thankyou-link__hint {
	margin: 0.65rem 0 0;
	color: #cbd5e1;
	font-size: 0.85rem;
}

/* Full-width thank-you shell (replaces narrow theme layout) */
.fsp-thankyou-shell {
	background: #f1f5f9;
	min-height: calc(100vh - var(--fsp-chrome-fixed-top, 64px));
	max-width: 100%;
}

.fsp-thankyou-shell__content {
	padding: clamp(20px, 4vw, 40px) var(--fsp-page-pad-x, 16px) 40px;
}

.fsp-thankyou-shell__inner {
	max-width: 1100px;
	margin: 0 auto;
}

.fsp-thankyou-shell__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.fsp-thankyou-shell__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #c2410c;
}

.fsp-thankyou-shell__header h1 {
	margin: 0 0 0.4rem;
	font-size: clamp(1.6rem, 3.5vw, 2.2rem);
	font-weight: 900;
	color: #0f172a;
}

.fsp-thankyou-shell__lead {
	margin: 0;
	color: #64748b;
	line-height: 1.7;
	max-width: 36rem;
}

.fsp-thankyou-shell__shop {
	display: inline-flex;
	padding: 0.6rem 1rem;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e2e8f0;
	color: #1e40af;
	font-weight: 700;
	text-decoration: none;
	font-size: 0.9rem;
}

.fsp-thankyou-layout {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
	padding: clamp(18px, 3vw, 32px);
	width: 100%;
	box-sizing: border-box;
}

.fsp-thankyou-layout .woocommerce-order {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.fsp-thankyou-shell > .fsp-brand-trust,
.fsp-thankyou-shell > .fsp-brand-gateway {
	margin-top: 2rem;
}

.fsp-open-orders-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 1.25rem 0;
	padding: 1.1rem 1.2rem;
	border-radius: 14px;
	background: linear-gradient(135deg, #0f172a, #1e3a8a);
	color: #e2e8f0;
	text-align: right;
}

.fsp-open-orders-banner__title {
	margin: 0 0 0.35rem;
	font-weight: 800;
	color: #fff;
}

.fsp-open-orders-banner__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.65;
	color: #cbd5e1;
	max-width: 40rem;
}

.fsp-open-orders-banner__btn {
	display: inline-flex;
	padding: 0.7rem 1.15rem;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--fsp-brand-orange, #f97316), #c2410c);
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
}

.fsp-checkout-empty,
.fsp-cart-empty__hint {
	color: #64748b;
	line-height: 1.7;
}

.fsp-checkout-empty {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 1.5rem;
}

.fsp-checkout-empty__hint {
	margin: 0.5rem 0 1rem;
}

/* Override theme narrow containers on legacy commerce-flow pages */
body.fsp-commerce-flow .entry-content,
body.fsp-commerce-flow .ct-container,
body.fsp-order-received-page .entry-content {
	max-width: 1100px !important;
	width: 100% !important;
}

body.fsp-commerce-flow .woocommerce-order {
	max-width: none;
	width: 100%;
}


