.epf-wrap {
	max-width: 920px;
	margin: 24px auto;
	padding: 28px;
	border: 1px solid #e8ebef;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(16, 24, 40, 0.06);
}

.epf-message-error {
	color: #b91c1c;
	font-weight: 600;
	margin-bottom: 16px;
}

.epf-section {
	margin-bottom: 28px;
}

.epf-section-title {
	margin: 0 0 16px;
	font-size: 18px;
	color: #14532d;
}

.epf-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.epf-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.epf-field-full {
	grid-column: 1 / -1;
}

.epf-label {
	font-size: 14px;
	font-weight: 600;
	color: #1f2937;
}

.epf-control {
	width: 100%;
	border: 1px solid #d6dae1;
	border-radius: 10px;
	min-height: 46px;
	padding: 0 12px;
	font-size: 14px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.epf-control:focus {
	outline: none;
	border-color: #4ea454;
	box-shadow: 0 0 0 4px rgba(78, 164, 84, 0.14);
	transform: translateY(-1px);
}

textarea.epf-control {
	padding: 12px;
	min-height: 130px;
	resize: vertical;
}

.epf-phone {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 46px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #d6dae1;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.epf-phone:focus-within {
	border-color: #4ea454;
	box-shadow: 0 0 0 4px rgba(78, 164, 84, 0.14);
	transform: translateY(-1px);
}

.epf-phone-prefix {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	gap: 8px;
	font-weight: 600;
	color: #111827;
	background: #f8fafc;
	border-right: 1px solid #e5e7eb;
	white-space: nowrap;
	flex: 0 0 auto;
}

.epf-phone .epf-control {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transform: none;
}

.epf-submit-wrap {
	margin-top: 8px;
}

.epf-submit,
.epf-add-product {
	border: 0;
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.epf-submit {
	background: linear-gradient(135deg, #68bf6f, #4ea454);
	color: #fff;
}

.epf-add-product {
	background: #fff;
	color: #1f2937;
	border: 1px solid #e5e7eb;
	margin-top: 12px;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.epf-wrap button.epf-add-product {
	background: #fff !important;
	background-image: none !important;
	color: #1f2937 !important;
	border: 1px solid #e5e7eb !important;
	box-shadow: none !important;
}

.epf-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(78, 164, 84, 0.28);
}

.epf-wrap button.epf-add-product:hover,
.epf-wrap .epf-add-product:hover {
	background: #fc9d07 !important;
	border-color: #fc9d07 !important;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(252, 157, 7, 0.35);
}

.epf-help {
	font-size: 12px;
	color: #64748b;
}

.epf-products-container {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.epf-product-card {
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

.epf-wrap .epf-product-card {
	background: #fff !important;
	background-image: none !important;
	border-color: #e5e7eb !important;
	box-shadow: none !important;
}

.epf-product-card.is-open {
	border-color: #fc9d07;
	background: #fff;
}

.epf-wrap .epf-product-card.is-open {
	border-color: #fc9d07 !important;
	background: #fff !important;
}

.epf-product-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	background: #f8faf8;
	border-bottom: 1px solid transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Anula estilos del tema (Elementor) que pintan botones/header en rojo */
.epf-wrap .epf-product-card-header,
.epf-wrap .epf-product-card.is-open .epf-product-card-header {
	background: #f8faf8 !important;
	background-image: none !important;
	box-shadow: none !important;
}

.epf-wrap .epf-product-card-header:hover {
	background: rgba(252, 157, 7, 0.08) !important;
}

.epf-wrap .epf-product-card.is-open .epf-product-card-header {
	background: rgba(252, 157, 7, 0.1) !important;
	border-bottom: 1px solid rgba(252, 157, 7, 0.25) !important;
	border-left: 4px solid #fc9d07;
	padding-left: 10px;
}

.epf-product-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1f2937;
	transition: color 0.2s ease;
}

.epf-wrap button.epf-product-toggle,
.epf-wrap button.epf-product-toggle:focus,
.epf-wrap button.epf-product-toggle:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #1f2937 !important;
	padding: 0 !important;
	min-height: 0 !important;
	line-height: 1.4;
}

.epf-wrap button.epf-product-toggle:hover,
.epf-wrap .epf-product-toggle:hover,
.epf-wrap .epf-product-card-header:hover .epf-product-toggle {
	color: #fc9d07 !important;
	background: transparent !important;
}

.epf-wrap .epf-product-card.is-open .epf-product-toggle,
.epf-wrap .epf-product-card.is-open button.epf-product-toggle {
	color: #c77800 !important;
	background: transparent !important;
}

.epf-product-toggle-icon::before {
	content: '▸';
	display: inline-block;
	transition: transform 0.2s ease;
}

.epf-product-card.is-open .epf-product-toggle-icon::before {
	transform: rotate(90deg);
}

.epf-product-remove {
	border: 0;
	background: transparent;
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 8px;
}

.epf-wrap button.epf-product-remove,
.epf-wrap button.epf-product-remove:focus,
.epf-wrap button.epf-product-remove:active {
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #64748b !important;
}

.epf-wrap button.epf-product-remove:hover {
	background: rgba(252, 157, 7, 0.12) !important;
	color: #c77800 !important;
}

.epf-product-card-body {
	display: none;
	padding: 18px 14px 14px;
}

.epf-product-card.is-open .epf-product-card-body {
	display: block;
}

.epf-suggested-hint {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #eef8f0;
	border: 1px solid #b8d9be;
	color: #14532d;
	font-size: 13px;
}

.epf-city-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.epf-city-chip {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid #d6dae1;
	background: #f8fafc;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.epf-city-chip input {
	display: none;
}

.epf-city-chip.epf-chip-active {
	border-color: #4ea454;
	background: rgba(78, 164, 84, 0.12);
	color: #1e4b22;
}

.epf-dropzone {
	position: relative;
	border: 2px dashed #7fbf87;
	background: #eef8f0;
	border-radius: 12px;
	min-height: 145px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.epf-dropzone:hover,
.epf-dropzone.epf-dropzone-active {
	border-color: #4ea454;
	background: #e7f5ea;
	transform: translateY(-1px);
}

.epf-dropzone-title {
	font-size: 20px;
	font-weight: 600;
	color: #1f2937;
}

.epf-dropzone-sub {
	font-size: 14px;
	color: #4b5563;
	margin-top: 6px;
}

.epf-file-input-hidden {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.epf-file-feedback {
	margin-top: 8px;
	font-size: 13px;
	color: #334155;
}

.epf-autocomplete-wrap {
	position: relative;
}

.epf-autocomplete-list {
	position: absolute;
	z-index: 20;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #d6dae1;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
	max-height: 260px;
	overflow-y: auto;
}

.epf-autocomplete-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border-radius: 8px;
	cursor: pointer;
}

.epf-autocomplete-item:hover,
.epf-autocomplete-item.is-active {
	background: #eef8f0;
}

.epf-autocomplete-thumb {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	background: #f1f5f9;
	flex-shrink: 0;
}

.epf-autocomplete-meta {
	font-size: 12px;
	color: #64748b;
}

.epf-success {
	max-width: 920px;
	margin: 24px auto;
	padding: 28px;
	border: 1px solid #d8e9dc;
	border-radius: 16px;
	background: #f4fbf5;
	box-shadow: 0 12px 35px rgba(16, 24, 40, 0.06);
	text-align: center;
}

.epf-success h3 {
	margin: 0 0 8px;
	color: #14532d;
	font-size: 26px;
}

.epf-success p {
	margin: 6px 0;
	color: #1f2937;
	font-size: 15px;
}

.epf-success-actions {
	margin-top: 18px;
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.epf-success-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.epf-success-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(16, 24, 40, 0.12);
}

.epf-success-btn-primary {
	background: linear-gradient(135deg, #68bf6f, #4ea454);
	color: #fff;
}

.epf-success-btn-secondary {
	background: #fff;
	color: #14532d;
	border: 1px solid #b8d9be;
}

@media (max-width: 768px) {
	.epf-form-grid {
		grid-template-columns: 1fr;
	}
}
