.smfu-product-intro {
	margin: 0 0 18px;
}

.smfu-product-intro--rtl {
	direction: rtl;
	text-align: right;
}

.smfu-product-intro--ltr {
	direction: ltr;
	text-align: left;
}

.smfu-product-intro__title {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	color: #111827;
}

.smfu-product-intro__description {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: #4b5563;
}

.smfu-form {
	--smfu-primary: #16a34a;
	--smfu-button-bg: #14532d;
	--smfu-button-text: #ffffff;
	--smfu-badge-bg: #dcfce7;
	--smfu-badge-text: #15803d;
	--smfu-summary-bg: #f7f8f5;
	--smfu-border: #e7e7e7;
	--smfu-muted: #6b7280;
	--smfu-bg: #ffffff;
	--smfu-radius: 24px;
	--smfu-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);

	background: var(--smfu-bg);
	border: 1px solid var(--smfu-border);
	border-radius: var(--smfu-radius);
	box-shadow: var(--smfu-shadow);
	padding: 24px;
	margin: 18px 0;
	width: 100%;
	box-sizing: border-box;
}

.smfu-form--rtl { direction: rtl; text-align: right; }
.smfu-form--ltr { direction: ltr; text-align: left; }

.smfu-form__branding { text-align: center; margin-bottom: 18px; }
.smfu-form__logo-image { max-width: 120px; height: auto; display: inline-block; }

.smfu-form__product-header { text-align: center; }
.smfu-form__product-title {
	margin: 0 0 10px;
	font-size: 26px;
	line-height: 1.25;
	font-weight: 800;
	color: #111827;
}
.smfu-form__price-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.smfu-form__price { font-size: 32px; font-weight: 900; color: var(--smfu-primary); text-align:center; }
.smfu-form__price ins { color: var(--smfu-primary); text-decoration: none; font-weight: 900; }
.smfu-form__price del { color: #9ca3af; font-size: 0.55em; margin-inline-end: 8px; }
.smfu-form__sale-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--smfu-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
.smfu-form__cod-line {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--smfu-badge-text);
	font-weight: 700;
}
.smfu-form__header { margin-bottom: 10px; text-align: center; }
.smfu-form__title { margin: 0 0 6px; font-size: 24px; line-height: 1.25; color: #111827; font-weight: 800; }
.smfu-form__subtitle { margin: 0; font-size: 15px; line-height: 1.6; color: var(--smfu-muted); }
.smfu-form__trust-row {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 10px 0 18px;
}
.smfu-form__trust-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: #ffffff;
	border: 1px solid var(--smfu-border);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #374151;
}
.smfu-form__trust-icon { color: var(--smfu-primary); font-size: 13px; }
.smfu-form__divider { border-top: 1px solid var(--smfu-border); margin: 18px 0 20px; }

.smfu-form__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.smfu-form__field { display: flex; flex-direction: column; gap: 7px; }
.smfu-form__field--full { grid-column: 1 / -1; }
.smfu-form__label { font-size: 13px; font-weight: 700; color: #111827; }
.smfu-form__required { color: #ef4444; margin-inline-start: 4px; }
.smfu-form__input,
.smfu-form__qty-input {
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid var(--smfu-border);
	border-radius: 16px;
	font-size: 16px;
	line-height: 1.4;
	background: #fff;
	box-sizing: border-box;
	color: #111827;
}
.smfu-form__textarea {
	min-height: 110px;
	padding-top: 14px;
	padding-bottom: 14px;
	resize: vertical;
}
.smfu-form__input:focus,
.smfu-form__qty-input:focus {
	outline: none;
	border-color: var(--smfu-primary);
	box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.smfu-form__quantity-row { margin-top: 16px; }
.smfu-form__qty-control {
	display: grid;
	grid-template-columns: 56px 1fr 56px;
	gap: 8px;
	align-items: center;
}
.smfu-form__qty-btn {
	min-height: 52px;
	border: 1px solid var(--smfu-border);
	border-radius: 16px;
	background: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #111827;
}
.smfu-form__qty-input { text-align: center; font-weight: 700; }

.smfu-form__summary {
	margin-top: 18px;
	padding: 18px;
	border-radius: 20px;
	background: var(--smfu-summary-bg);
	border: 1px solid var(--smfu-border);
}
.smfu-form__summary-title { font-size: 16px; font-weight: 800; color: #111827; margin-bottom: 12px; }
.smfu-form__summary-line {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
	font-size: 14px;
	color: #4b5563;
}
.smfu-form__summary-line--total {
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--smfu-border);
	font-size: 16px;
	font-weight: 800;
	color: #111827;
}
.smfu-form__summary-price,
.smfu-form__total-price { color: var(--smfu-primary); font-weight: 800; }

.smfu-form__messages { margin-top: 14px; }
.smfu-form__error,
.smfu-form__success {
	font-size: 14px;
	line-height: 1.6;
	padding: 12px 14px;
	border-radius: 14px;
}
.smfu-form__error { background: #fff2f2; color: #b42318; }
.smfu-form__success { background: #ecfdf3; color: #027a48; }
.smfu-form__footer { margin-top: 18px; }
.smfu-form__submit {
	width: 100%;
	min-height: 56px;
	border: none;
	border-radius: 18px;
	background: var(--smfu-button-bg) !important;
	color: var(--smfu-button-text) !important;
	font-size: 18px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(20, 83, 45, 0.22);
}
.smfu-form__submit:hover,
.smfu-form__submit:focus { opacity: 0.96; }
.smfu-form__trust {
	margin: 12px 0 0;
	text-align: center;
	font-size: 13px;
	line-height: 1.7;
	color: var(--smfu-muted);
}

.smfu-form__thankyou { text-align: center; padding: 10px 0 2px; }
.smfu-form__thankyou-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: 800;
	background: #ecfdf3;
	color: #16a34a;
}
.smfu-form__thankyou-title { margin: 0 0 8px; font-size: 22px; line-height: 1.3; color: #111827; }
.smfu-form__thankyou-message { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--smfu-muted); }
.smfu-form__thankyou-reference { margin: 0; font-size: 14px; line-height: 1.5; color: #111827; }

.smfu-hide-default-cart-form form.cart { display: none !important; }

.single-product div.product .summary > p.price,
.single-product div.product .summary > .price,
.single-product div.product .summary > .product_meta,
.single-product div.product .summary > .woocommerce-product-rating {
	display: none !important;
}

.smfu-form__select {
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%), linear-gradient(135deg, #6b7280 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-inline-end: 34px;
}
.smfu-form--rtl .smfu-form__select {
	background-position: 18px calc(50% - 3px), 24px calc(50% - 3px);
	padding-inline-end: 12px;
	padding-inline-start: 34px;
}
