/*
 * Menú del celular de Alore (decisión 0061). Colores, radios y textos con las variables de Bricks (0060);
 * el segundo valor de cada var() es solo un respaldo.
 */
.alore-mm { display: flex; flex-direction: column; gap: var(--space-s, 12px); font-family: inherit; color: var(--cacao, #3E2C27); }
.alore-mm a { color: inherit; text-decoration: none; }
.alore-mm a:focus-visible, .alore-mm summary:focus-visible { outline: 2px solid var(--coral-oscuro, #A6483A); outline-offset: 2px; border-radius: var(--radius-m, 8px); }
.alore-mm-icono { flex: none; display: block; }

/* Envía hoy */
.alore-mm-hoy { display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 4px; }
.alore-mm-hoy__icono { width: 52px; height: 52px; border-radius: var(--radius-l, 12px); background: var(--eucalipto-claro, #E2ECE3); color: var(--eucalipto-oscuro, #3E6650); display: flex; align-items: center; justify-content: center; }
.alore-mm-hoy__textos { display: flex; flex-direction: column; gap: 2px; }
.alore-mm-hoy__titulo { font-size: 17px; font-weight: 800; }
.alore-mm-hoy__sub { font-size: 14px; font-weight: 700; color: var(--eucalipto-oscuro, #3E6650); }
.alore-mm-hoy > .alore-mm-icono { color: var(--eucalipto-oscuro, #3E6650); }

/* Tarjeta de temporada */
.alore-mm-temp { display: grid; grid-template-columns: 76px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--alore-mm-fondo, var(--miel-claro, #FBEFD2)); }
.alore-mm-temp__img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-l, 12px); }
.alore-mm-temp__textos { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.alore-mm-temp__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.alore-mm-temp__meses { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--alore-mm-tinta, var(--miel-oscuro, #8A5B12)); }
.alore-mm-temp__titulo { font-family: "Lora", Georgia, serif; font-weight: 600; font-size: 21px; line-height: 1.2; }
.alore-mm-temp__texto { font-size: 14px; line-height: 1.4; }
.alore-mm-etiqueta { display: inline-block; font-size: 11px; font-weight: 800; line-height: 1.5; padding: 1px 8px; border-radius: var(--radius-pill, 999px); background: var(--blanco, #fff); color: var(--alore-mm-tinta, var(--miel-oscuro, #8A5B12)); }

/* Secciones (acordeón nativo) */
.alore-mm-secciones { display: flex; flex-direction: column; }
.alore-mm-sec { border-top: 1px solid var(--borde, #EBD9CF); }
.alore-mm-sec:last-child { border-bottom: 1px solid var(--borde, #EBD9CF); }
.alore-mm-sec__cabeza { display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 12px 4px; cursor: pointer; list-style: none; }
.alore-mm-sec__cabeza::-webkit-details-marker { display: none; }
.alore-mm-sec__mini { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-l, 12px); }
.alore-mm-sec__mini--icono { display: flex; align-items: center; justify-content: center; background: var(--coral-claro, #F6DDD3); color: var(--coral-oscuro, #A6483A); }
.alore-mm-sec__textos { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.alore-mm-sec__titulo { font-size: 18px; font-weight: 800; }
.alore-mm-sec__sub { font-size: 13px; color: var(--cacao-suave, #5B4842); }
.alore-mm-sec__cabeza > .alore-mm-icono { color: var(--cacao-suave, #5B4842); transition: transform var(--transicion, 200ms ease); }
.alore-mm-sec[open] > .alore-mm-sec__cabeza > .alore-mm-icono { transform: rotate(180deg); color: var(--coral-oscuro, #A6483A); }
.alore-mm-sec__cuerpo { display: flex; flex-direction: column; gap: 16px; padding: 4px 4px 20px; }

/* Fotos */
.alore-mm-fotos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.alore-mm-foto { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: center; }
.alore-mm-foto__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-l, 12px); background: var(--coral-claro, #F6DDD3); }
.alore-mm-foto__texto { font-size: 13px; font-weight: 700; line-height: 1.25; }
.alore-mm-foto .alore-mm-etiqueta { position: absolute; top: 6px; left: 6px; }

/* Botones (chips) */
.alore-mm-chips, .alore-mm-rapidos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.alore-mm-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill, 999px); border: 1px solid var(--borde, #EBD9CF); background: var(--blanco, #fff); font-size: 14px; font-weight: 600; color: var(--cacao, #3E2C27); text-decoration: none; }
.alore-mm-chip:hover { border-color: var(--coral-oscuro, #A6483A); color: var(--coral-oscuro, #A6483A); }
.alore-mm-grupo { display: flex; flex-direction: column; gap: 8px; }
.alore-mm-grupo__titulo { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cacao-suave, #5B4842); }

/* Puntos de color (muestran el color de la flor, no son de la paleta) */
.alore-mm-punto { width: 12px; height: 12px; border-radius: 999px; flex: none; }
.alore-mm-punto--rojas { background: #C0392B; }
.alore-mm-punto--rosadas { background: #E6A3AE; }
.alore-mm-punto--amarillas { background: #F2C230; }
.alore-mm-punto--blancas { background: #fff; border: 1px solid #D9C4B8; }
.alore-mm-punto--moradas { background: #8E5BA8; }
.alore-mm-punto--azules { background: #4A74B5; }

/* Enlaces secundarios */
.alore-mm-extra { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.alore-mm-extra a { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 16px; font-weight: 600; }

/* Accesos rápidos (bajo el buscador del celular): una fila que se desliza */
.alore-mm-rapidos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.alore-mm-rapidos::-webkit-scrollbar { display: none; }
.alore-mm-rapidos li { flex: none; }
.alore-mm-chip--temporada { background: var(--alore-mm-fondo); color: var(--alore-mm-tinta); border-color: transparent; font-weight: 800; }

/*
 * Respuesta al tocar (pedido de Sergio, 2026-11-19): todo lo que se toca se encoge un poco y cambia de fondo,
 * las secciones se abren con un deslizamiento y su contenido entra en cascada. Sin JavaScript.
 */
.alore-mm a, .alore-mm summary { -webkit-tap-highlight-color: transparent; transition: transform 140ms ease, background-color var(--transicion, 200ms ease), border-color var(--transicion, 200ms ease), color var(--transicion, 200ms ease); }
.alore-mm a:active, .alore-mm summary:active { transform: scale(.97); }
.alore-mm-hoy, .alore-mm-sec__cabeza, .alore-mm-extra a { border-radius: var(--radius-l, 12px); }
.alore-mm-hoy:active, .alore-mm-sec__cabeza:active, .alore-mm-extra a:active { background: var(--crema, #FBF4F0); }
.alore-mm-temp:active { transform: scale(.98); }
.alore-mm-chip:active { background: var(--coral-claro, #F6DDD3); border-color: var(--coral-oscuro, #A6483A); color: var(--coral-oscuro, #A6483A); }
.alore-mm-foto__img { transition: transform 160ms ease, box-shadow 160ms ease; }
.alore-mm-foto:active { transform: none; }
.alore-mm-foto:active .alore-mm-foto__img { transform: scale(.95); box-shadow: 0 0 0 3px var(--coral-claro, #F6DDD3); }

@keyframes alore-mm-abrir { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes alore-mm-subir { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.alore-mm-sec[open] > .alore-mm-sec__cuerpo { animation: alore-mm-abrir 240ms ease both; }
.alore-mm-sec[open] .alore-mm-fotos > li { animation: alore-mm-subir 320ms cubic-bezier(.2, .7, .3, 1) both; }
.alore-mm-sec[open] .alore-mm-fotos > li:nth-child(2) { animation-delay: 40ms; }
.alore-mm-sec[open] .alore-mm-fotos > li:nth-child(3) { animation-delay: 80ms; }
.alore-mm-sec[open] .alore-mm-fotos > li:nth-child(4) { animation-delay: 120ms; }
.alore-mm-sec[open] .alore-mm-fotos > li:nth-child(5) { animation-delay: 160ms; }
.alore-mm-sec[open] .alore-mm-fotos > li:nth-child(6) { animation-delay: 200ms; }
.alore-mm-sec[open] .alore-mm-chips, .alore-mm-sec[open] .alore-mm-grupo { animation: alore-mm-subir 320ms 180ms cubic-bezier(.2, .7, .3, 1) both; }

/* Al abrir el panel lateral, los bloques del menú entran uno tras otro. */
.brx-open .alore-mm > *, .brx-open .alore-mm-secciones > .alore-mm-sec { animation: alore-mm-subir 380ms cubic-bezier(.2, .7, .3, 1) both; }
.brx-open .alore-mm > :nth-child(1) { animation-delay: 60ms; }
.brx-open .alore-mm > :nth-child(2) { animation-delay: 110ms; }
.brx-open .alore-mm > .alore-mm-secciones { animation: none; }
.brx-open .alore-mm-secciones > .alore-mm-sec:nth-child(1) { animation-delay: 160ms; }
.brx-open .alore-mm-secciones > .alore-mm-sec:nth-child(2) { animation-delay: 200ms; }
.brx-open .alore-mm-secciones > .alore-mm-sec:nth-child(3) { animation-delay: 240ms; }
.brx-open .alore-mm-secciones > .alore-mm-sec:nth-child(4) { animation-delay: 280ms; }
.brx-open .alore-mm-secciones > .alore-mm-sec:nth-child(5) { animation-delay: 320ms; }
.brx-open .alore-mm > .alore-mm-extra { animation-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
	.alore-mm *, .alore-mm { animation: none !important; transition: none !important; }
}

/* Botón de temporada en el menú de escritorio */
.alore-temporada-boton { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border-radius: var(--radius-pill, 999px); background: var(--alore-mm-fondo); color: var(--alore-mm-tinta); font-size: 15px; font-weight: 800; text-decoration: none; }
.alore-temporada-boton:hover { text-decoration: underline; }

/* Con el menú del celular abierto, el botón flotante de WhatsApp (Joinchat, capa 9000) tapaba las pastillas de
   ocasiones. Se oculta mientras el menú está abierto y vuelve al cerrarlo (Sergio, 2026-11-20, decisión 0093). */
body:has(#cab-menu-movil.brx-open) .joinchat { display: none !important; }
