/* Espacio con Estilo Content — estilos del front (formulario de contacto y caja de relacionados) */

/* ---------- Formulario de contacto ---------- */
.ece-contacto {
	max-width: 640px;
	margin: 2rem auto;
}

.ece-form .ece-field {
	margin-bottom: 1.25rem;
}

.ece-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.ece-form input[type="text"],
.ece-form input[type="email"],
.ece-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.9rem;
	border: 1px solid #d8cfc2;
	border-radius: 8px;
	background: #fffdf9;
	font: inherit;
	color: inherit;
}

.ece-form input:focus,
.ece-form textarea:focus {
	outline: 2px solid #c4703f;
	outline-offset: 1px;
	border-color: #c4703f;
}

.ece-form .ece-btn {
	display: inline-block;
	padding: 0.8rem 2rem;
	border: none;
	border-radius: 999px;
	background: #c4703f;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
}

.ece-form .ece-btn:hover {
	background: #a85c31;
}

/* Honeypot: fuera de la vista, pero no display:none (los bots lo rellenan). */
.ece-form .ece-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.ece-notice {
	padding: 1rem 1.25rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
}

.ece-notice-success {
	background: #eef6ec;
	border: 1px solid #9cc184;
	color: #2f5d2a;
}

.ece-notice-error {
	background: #fdf0ec;
	border: 1px solid #d99a86;
	color: #7c3a24;
}

.ece-notice-error ul {
	margin: 0.5rem 0 0;
	padding-left: 1.25rem;
}

/* ---------- Caja "Más ideas para tu hogar" ---------- */
.ece-related {
	margin: 3rem 0 1rem;
	padding: 2rem;
	background: #faf6ef;
	border: 1px solid #e9dfcf;
	border-radius: 14px;
}

.ece-related-title {
	margin: 0 0 1.5rem;
	font-size: 1.5rem;
	line-height: 1.3;
}

.ece-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.ece-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e9dfcf;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
}

.ece-card-link:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.ece-card-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #efe8da;
}

.ece-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ece-card-title {
	display: block;
	padding: 0.9rem 1rem 1.1rem;
	font-weight: 600;
	line-height: 1.4;
}

@media (max-width: 700px) {
	.ece-related {
		padding: 1.25rem;
	}
	.ece-related-grid {
		grid-template-columns: 1fr;
	}
}
