/* "Ideal para" y teléfono (va al final de todas las hojas, en portada y en producto).
   El uso se cuenta con dibujo + texto corto: hay clientes que leen poco. Móvil primero. */
:root {
  --fuente-tel: "Baloo 2", "Outfit", system-ui, sans-serif;
  --verde-wa: oklch(62% 0.17 150);
  --escena-0: oklch(93% 0.045 75);
  --escena-1: oklch(92% 0.04 245);
  --escena-2: oklch(92% 0.05 150);
  --escena-3: oklch(92% 0.05 45);
}

/* Teléfono: letra redonda y alegre, menos formal */
.telefono { font-family: var(--fuente-tel); font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.pie-datos .telefono { font-size: 1.6rem; line-height: 1; color: #fff; }
.tel-cabeza { display: none; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem 0 .7rem; margin-left: auto; border-radius: 999px; background: var(--verde-wa); color: #fff; text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease); }
.tel-cabeza:hover { transform: translateY(-1px); }
.tel-cabeza:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
.tel-cabeza svg { width: 1.25rem; height: 1.25rem; }
.tel-cabeza .telefono { font-size: 1.3rem; line-height: 1; padding-top: .15rem; }
.tel-cabeza { display: inline-flex; }
/* Celular angosto: el teléfono va en la cabecera y "Mi pedido" queda como carrito con su número */
@media (max-width: 29.99rem) {
  .cabecera { gap: .5rem; padding-inline: .75rem; }
  .cabecera .logo-palabra { font-size: 1.15rem; }
  .cabecera .logo svg { width: 2.6rem; }
  .tel-cabeza { padding: 0 .6rem 0 .45rem; gap: .25rem; }
  .tel-cabeza .telefono { font-size: 1.08rem; }
  .btn-pedido { gap: .3rem; padding: 0 .6rem; font-size: 0; }
  .btn-pedido::before { content: ""; width: 1.35rem; height: 1.35rem; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11h11.2L21 8H6.3'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.5'/%3E%3Ccircle cx='17' cy='19.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11h11.2L21 8H6.3'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.5'/%3E%3Ccircle cx='17' cy='19.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
  .btn-pedido .cuenta { font-size: .85rem; }
}
@media (min-width: 48rem) { .tel-cabeza { margin-left: 0; } }

/* Íconos (también en la página de producto, que no carga portada.css) */
.sirve-icono .icono { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icono-mini { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Tarjeta: fila de usos en dibujo */
.tarjeta-usos { display: flex; gap: .3rem; }
.tarjeta-usos > span { display: inline-grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--crema-2); color: var(--cobalto); }

/* Página de producto: Ideal para */
.prod-sirve { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--linea); }
.prod-sirve h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.sirve-frase { margin: .5rem 0 1.5rem; font-size: 1.1rem; color: var(--tinta-suave); max-width: 40rem; }
.sirve-foto { margin: 0 0 1.25rem; overflow: hidden; border-radius: calc(var(--radio) * 1.4); aspect-ratio: 4 / 5; max-width: 26rem; }
.sirve-foto img { width: 100%; height: 100%; object-fit: cover; }
.sirve-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.sirve-lista li { display: grid; justify-items: start; gap: .6rem; padding: 1rem; border-radius: var(--radio); background: var(--crema); }
.sirve-icono { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--cobalto); color: #fff; }
.sirve-icono .icono { width: 1.75rem; height: 1.75rem; }
.sirve-texto { display: grid; gap: .15rem; }
.sirve-texto b { font-size: 1.02rem; line-height: 1.25; }
.sirve-texto small { font-size: .9rem; line-height: 1.35; color: var(--tinta-suave); }
@media (min-width: 48rem) { .sirve-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } .sirve-lista li { padding: 1.25rem; } }

/* Portada: escenas de uso */
.asi-se-usa { max-width: 76rem; margin: 0 auto; padding: 3.5rem 1rem 0; }
.asi-se-usa h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
.asi-intro { margin: .4rem 0 1.5rem; font-size: 1.1rem; color: var(--tinta-suave); }
.escenas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.escena a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: calc(var(--radio) * 1.4); background: var(--escena-0); color: var(--tinta); text-decoration: none; isolation: isolate; transition: transform 200ms var(--ease); }
.escena-1 a { background: var(--escena-1); }
.escena-2 a { background: var(--escena-2); }
.escena-3 a { background: var(--escena-3); }
.escena a:hover { transform: translateY(-3px); }
.escena a:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }
/* El dibujo grande del uso, de fondo: cuenta la escena aunque no haya foto en uso */
.escena-dibujo { position: absolute; right: -12%; top: 18%; z-index: -1; width: 78%; color: var(--cobalto); opacity: .13; }
.escena-icono { display: block; width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.escena img { position: absolute; left: 50%; bottom: .9rem; width: auto; height: auto; max-width: 74%; max-height: calc(100% - 6.6rem); transform: translateX(-50%); filter: drop-shadow(0 12px 10px oklch(30% 0.05 40 / .28)); }
.escena-texto { position: absolute; left: .85rem; right: .85rem; top: .85rem; display: grid; gap: .1rem; }
.escena-texto b { font-family: var(--fuente-display); font-size: clamp(1.05rem, 4.2vw, 1.5rem); font-weight: 700; line-height: 1.1; text-wrap: balance; }
.escena-texto small { font-size: .82rem; font-weight: 600; color: var(--tinta-suave); }
.escena-ver { display: none; position: absolute; left: .85rem; bottom: .85rem; align-items: center; min-height: 2rem; max-width: calc(100% - 1.7rem); padding: 0 .8rem; border-radius: 999px; background: var(--cobalto); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Con foto en uso (cuando el dueño la mande): la foto llena el mosaico y el texto va sobre un velo */
.escena.con-foto img { inset: 0; left: 0; bottom: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; transform: none; filter: none; z-index: -1; }
.escena.con-foto .escena-dibujo { display: none; }
.escena.con-foto a::after { content: ""; position: absolute; inset: 0 0 auto; height: 45%; z-index: -1; background: linear-gradient(oklch(100% 0 0 / .85), transparent); }
@media (min-width: 48rem) {
  .escenas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .escena-texto { left: 1.1rem; right: 1.1rem; top: 1.1rem; }
  .escena-ver { display: inline-flex; left: 1.1rem; bottom: 1.1rem; }
  .escena img { bottom: 4rem; max-height: calc(100% - 9.6rem); }
}
@media (prefers-reduced-motion: reduce) { .escena a, .tel-cabeza { transition: none; } }

/* El aviso vacío asomaba 2 px abajo de la pantalla */
.aviso:not(.visible) { visibility: hidden; }
/* En celular el WhatsApp ya está siempre en la cabecera: el flotante solo tapaba botones */
@media (max-width: 47.99rem) { .flotante-whatsapp { display: none; } }
