.csf-form-card {
	max-width: 640px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 32px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
}

.csf-form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
}

.csf-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 18px;
}

.csf-field-full {
	flex: 1 1 100%;
}

.csf-field-half {
	flex: 1 1 calc(50% - 16px);
}

.csf-field-label {
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
	color: #1f2937;
}

.csf-required {
	color: #dc2626;
	margin-left: 2px;
}

.csf-field input,
.csf-field select,
.csf-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 11px 14px;
	font-size: 15px;
	font-family: inherit;
	color: #111827;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.csf-field input:focus,
.csf-field select:focus,
.csf-field textarea:focus {
	outline: none;
	border-color: #7a2e1a;
	box-shadow: 0 0 0 3px rgba(122, 46, 26, 0.15);
}

.csf-field input:disabled,
.csf-field select:disabled,
.csf-field textarea:disabled {
	background: #f3f4f6;
	opacity: 0.7;
}

.csf-checkbox-label,
.csf-radio-option {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: normal;
}

.csf-checkbox-label input,
.csf-radio-option input {
	width: auto;
}

.csf-radio-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.csf-field-error {
	color: #dc2626;
	font-size: 13px;
	margin-top: 4px;
}

.csf-discount-row {
	display: flex;
	gap: 8px;
}

.csf-discount-row .csf-discount-input {
	flex: 1;
}

.csf-discount-apply-btn,
.csf-discount-remove-btn {
	flex-shrink: 0;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 0 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.csf-discount-apply-btn {
	background: #fcebe5;
	color: #7a2e1a;
}

.csf-discount-apply-btn:hover:not(:disabled) {
	background: #7a2e1a;
	color: #fff;
}

.csf-discount-apply-btn:disabled,
.csf-discount-remove-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.csf-discount-remove-btn {
	background: transparent;
	border-color: #d1d5db;
	color: #6b7280;
}

.csf-discount-remove-btn:hover:not(:disabled) {
	background: #f3f4f6;
	color: #374151;
}

.csf-discount-message {
	display: block;
	font-size: 13px;
	margin-top: 4px;
}

.csf-discount-message.csf-discount-success {
	color: #166534;
}

.csf-discount-message.csf-discount-error {
	color: #dc2626;
}

.csf-payment-section {
	margin: 8px 0 24px;
}

.csf-captcha-wrap {
	margin: 4px 0 20px;
	display: flex;
	justify-content: flex-start;
}

.csf-payment-element-wrap {
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fafafa;
}

.csf-payment-element-loading {
	color: #6b7280;
	font-size: 14px;
	padding: 6px 2px;
}

.csf-submit-btn {
	width: 100%;
	background: #7a2e1a;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

.csf-submit-btn:hover:not(:disabled) {
	background: #5c2313;
}

.csf-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.csf-form-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
}

.csf-form-success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	padding: 10px 14px;
	border-radius: 8px;
	margin-top: 16px;
	font-size: 14px;
}

@media (max-width: 480px) {
	.csf-form-card {
		padding: 20px;
		border-radius: 10px;
	}

	.csf-field-half {
		flex: 1 1 100%;
	}
}
