.wpf-product-fields {
	width: 100%;
	margin: 0 0 1.25rem;
	padding: 1rem 0 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	direction: rtl;
	text-align: right;
}

.wpf-product-fields__title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
}

.wpf-field {
	margin: 0 0 0.85rem;
}

.wpf-field__label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 500;
	text-align: right;
}

.wpf-required {
	color: #c0392b;
	margin-left: 0;
	margin-right: 2px;
}

.wpf-field__input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 0.75rem;
	border: 1px solid #cfcfcf;
	border-radius: 4px;
	background: #fff;
	font: inherit;
	line-height: 1.4;
	direction: rtl;
	text-align: right;
}

.wpf-field__input::placeholder {
	direction: rtl;
	text-align: right;
	opacity: 0.7;
}

.wpf-field__input::-webkit-input-placeholder {
	direction: rtl;
	text-align: right;
}

.wpf-field__input::-moz-placeholder {
	direction: rtl;
	text-align: right;
	opacity: 0.7;
}

.wpf-field__input:-ms-input-placeholder {
	direction: rtl;
	text-align: right;
}

/* Keep email/phone/password values readable while placeholder stays right-aligned. */
.wpf-field__input--ltr:not(:placeholder-shown) {
	direction: ltr;
	text-align: left;
	unicode-bidi: isolate;
}

.wpf-field__input:focus {
	outline: 2px solid rgba(26, 102, 166, 0.35);
	outline-offset: 1px;
	border-color: #1a66a6;
}

.wpf-field.is-error .wpf-field__input {
	border-color: #c0392b;
}

.wpf-field__error {
	margin: 0.3rem 0 0;
	color: #c0392b;
	font-size: 0.875rem;
	text-align: right;
}

.wpf-product-fields__note {
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
	opacity: 0.75;
	text-align: right;
}

.wpf-product-fields.is-saving {
	opacity: 0.7;
	pointer-events: none;
}
