/* ==========================================================
   Fuego Dulce · Ajustes finos (auditoría en celular, 18 nov)
   Carga al final de todo; solo corrige tamaños y encimados.
   ========================================================== */

/* Correo en Contacto: se lee mejor en minúsculas */
.fdct-card:has(a[href^="mailto"]) .fdct-card__t,
a[href^="mailto"].fdct-card .fdct-card__t,
a[href^="mailto"] .fdct-card__t { text-transform: none !important; font-family: 'DM Sans', system-ui, sans-serif !important; font-weight: 800 !important; letter-spacing: 0; overflow-wrap: anywhere; }

/* Página "no encontrada" con estilo de la marca */
.fd404 { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 14px; padding: clamp(60px, 10vw, 120px) max(20px, calc((100% - 760px) / 2)); text-align: center; color: #26101b; font-family: 'DM Sans', system-ui, sans-serif; }
.fd404__tag { display: inline-block; padding: 8px 16px 6px; border-radius: 999px; background: #c60342; color: #fff; font-family: 'FD Cookies', 'Bricolage Grotesque', sans-serif; font-size: 1.15rem; transform: rotate(-4deg); }
.fd404 h1 { margin: 0; color: #26101b; font: 400 clamp(2.6rem, 1.8rem + 5vw, 5.4rem)/0.92 'Anton', sans-serif; text-transform: uppercase; text-wrap: balance; }
.fd404 h1 em { font-style: normal; color: #c60342; }
.fd404 p { max-width: 42ch; margin: 0; color: #6b5560; font-size: 18px; line-height: 1.5; }
.fd404__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.fd404 a.fd404__btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 800 16px/1 'DM Sans', sans-serif; text-decoration: none; }
.fd404 a.fd404__btn--main { background: #c60342; color: #fff; box-shadow: 0 6px 0 #8a022e; }
.fd404 a.fd404__btn--alt { color: #26101b; box-shadow: inset 0 0 0 2px #26101b; }
.fd404__img { width: clamp(120px, 22vw, 200px); height: auto; filter: drop-shadow(0 16px 16px rgba(38, 16, 27, .25)); animation: fd404-fl 5s ease-in-out infinite; }
@keyframes fd404-fl { 50% { transform: translateY(-12px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .fd404__img { animation: none; } }

@media (max-width: 640px) {
	/* Dulces flotantes: más chicos y a las esquinas, sin tapar títulos ni botones */
	img.fdt-g, img.fdhp-g, img.fdct-g, img.fdbp-g, img.fdcr-g, img.fdcc-g { width: 42px !important; height: auto !important; }
	img.fdt-g--a, img.fdhp-g--a, img.fdct-g--a, img.fdcr-g--a { left: -12px !important; right: auto !important; top: 10px !important; bottom: auto !important; }
	img.fdt-g--b, img.fdhp-g--b, img.fdct-g--b, img.fdcr-g--b, img.fdbp-g--b { right: -12px !important; left: auto !important; top: 10px !important; bottom: auto !important; }
	img.fdct-g--c, img.fdbp-g--c { right: -12px !important; left: auto !important; top: 8px !important; bottom: auto !important; }
	img.fdcc-g--0 { left: -16px !important; right: auto !important; }
	img.fdcc-g--1 { right: -12px !important; left: auto !important; }

	/* Envíos: el título ya no va de orilla a orilla */
	.fdhp .fdhp-h1, h1.fdhp-h1 { font-size: clamp(2.3rem, 10.5vw, 3rem) !important; }

	/* "Así preparamos tu pedido": fotos más compactas y el número fuera del título */
	.fdem .fdem-steps { max-width: 300px !important; gap: 30px !important; }
	.fdem .fdem-step__ph { margin-bottom: 28px; }
	.fdem .fdem-step__ph img { aspect-ratio: 4 / 3 !important; }
	.fdem .fdem-step__n { width: 42px; height: 42px; left: -8px; bottom: -16px; font-size: 1.3rem; }

	/* Sobre nosotras: fotos instantáneas más grandes y menos hueco */
	.fdso-hero { padding-bottom: 28px !important; }
	.fdso-hero__photos:has(.fdso-ph--3) { height: 490px !important; }
	.fdso-hero__photos:has(.fdso-ph--3) .fdso-ph--1 { width: 54% !important; left: -2% !important; top: 15% !important; }
	.fdso-hero__photos:has(.fdso-ph--3) .fdso-ph--3 { width: 50% !important; left: 25% !important; top: 0 !important; }
	.fdso-hero__photos:has(.fdso-ph--3) .fdso-ph--2 { width: 50% !important; right: -2% !important; left: auto !important; top: 47% !important; }
	.fdso-ph figcaption { font-size: .9rem; }

	/* Puntos de venta: menos hueco y el campo del código postal completo */
	.elementor-element-0801ff3 { padding-bottom: 8px !important; }
	.fdpv__form input { min-width: 0; padding: 0 12px !important; font-size: 15px !important; }
	.fdpv__form input::placeholder { font-size: 15px; }
	.fdpv__form button { flex: none; padding: 0 16px !important; }

	/* Pago: la caja de Mercado Pago sin doble margen */
	.fdck #payment ul.payment_methods { padding: 12px 10px !important; }
	.fdck #payment div.payment_box { padding: 8px 6px !important; }
	.fdck #payment div.payment_box [class*="mp-"] { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; }

	/* Sellos (envío, hecho a mano, pago seguro): los tres parejos en una fila */
	.fdf-trust, .fdcr-trust { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px !important; text-align: center; }
	.fdf-trust li, .fdcr-trust li { flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px !important; font-size: 12px; line-height: 1.25; }

	/* Ficha: "Así se disfruta" en tres columnas chicas */
	.fdf-info__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px !important; }
	.fdf .fdf-info__item h3 { font-size: 1.05rem !important; }
	.fdf-info__item p { font-size: 13px !important; }
	.fdf-info__ico { transform: scale(.8); }
}
