:root {
  --burgundy: #8B1229;
  --cherry: #47131C;
  --rosa: #FFDBED;
  --rosa-medio: #F7BFD2;
  --rosa-linea: #F5B8CD;
  --guayaba: #EA6B7E;
  --beige: #FFFDE9;
  --gris: #7A4A54;
  --verde: #2F8F5B;
  --serif: "Gloock", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --abajo: env(safe-area-inset-bottom, 0px);
  --ancho: 1180px;
  --cab: 72px;
  --sombra: 0 14px 34px rgba(71, 19, 28, .14);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { background: #FFFDE9; scroll-padding-top: calc(var(--cab) + 72px); }
body { margin: 0; min-height: 100dvh; background: linear-gradient(180deg, #FFE3EF 0%, #FFF0EC 45%, #FFFDE9 100%) fixed; color: var(--cherry); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
body.sin-scroll { overflow: hidden; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.08; }
em { font-style: normal; color: var(--burgundy); }
a { color: var(--burgundy); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--guayaba); outline-offset: 2px; }
.gris { color: var(--gris); }
.chico { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; color: var(--burgundy); }
.opcional { font-weight: 500; color: var(--gris); }
.arranque, .error-total { min-height: 100dvh; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 24px; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--burgundy); color: var(--rosa); padding: 10px 16px; border-radius: 12px; z-index: 100; }
.saltar:focus { left: 8px; }
main { min-height: 60vh; }
main:focus { outline: none; }

/* Botones y campos */
.btn { min-height: 48px; padding: 0 22px; border-radius: 24px; border: 1.5px solid var(--burgundy); background: transparent; color: var(--burgundy); font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-principal { background: var(--burgundy); color: var(--rosa); border-color: var(--burgundy); font-weight: 800; box-shadow: 0 8px 20px rgba(139,18,41,.22); }
.btn-principal:hover:not(:disabled) { box-shadow: 0 12px 26px rgba(139,18,41,.3); }
.btn-claro { border-color: var(--rosa); color: var(--rosa); }
.btn-grande { min-height: 56px; padding: 0 26px; font-size: 16px; border-radius: 28px; }
.btn-ancho { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-doble { flex-direction: column; gap: 0; line-height: 1.2; }
.btn-doble small { font-size: 11px; font-weight: 600; opacity: .85; }
.enlace { background: none; border: 0; padding: 6px 0; min-height: 40px; color: var(--burgundy); font-weight: 700; text-decoration: underline; cursor: pointer; }
.centro { display: block; margin: 8px auto 0; }
.campo { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }

.campo input, .campo select, .campo textarea { min-height: 50px; border-radius: 16px; border: 1.5px solid var(--rosa-linea); background: #fff; padding: 0 16px; font-size: 16px; font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.campo textarea { padding: 12px 16px; min-height: 78px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--burgundy); box-shadow: 0 0 0 4px rgba(234,107,126,.18); outline: none; }
.error { background: #FFE6EA; border: 1.5px solid var(--guayaba); color: var(--cherry); border-radius: 16px; padding: 12px 16px; font-weight: 600; margin: 0; }
#aviso { position: fixed; left: 50%; bottom: calc(96px + var(--abajo)); transform: translateX(-50%); background: var(--cherry); color: var(--rosa); padding: 13px 22px; border-radius: 24px; font-weight: 700; font-size: 14px; box-shadow: 0 12px 28px rgba(0,0,0,.25); max-width: calc(100% - 32px); width: max-content; z-index: 90; text-align: center; animation: subir .25s ease-out; }
#aviso.mal { background: var(--guayaba); color: var(--cherry); }
@keyframes subir { from { transform: translate(-50%, 14px); opacity: 0; } }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 40; background: rgba(255, 237, 244, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(245,184,205,.6); }
.cabecera-in { max-width: var(--ancho); margin: 0 auto; height: var(--cab); padding: 0 20px; display: flex; align-items: center; gap: 20px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cherry); margin-right: auto; }
.marca img { width: 44px; height: 44px; border-radius: 50%; }
.marca span { display: flex; flex-direction: column; line-height: 1; }
.marca b { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.marca small { font-size: 9px; font-weight: 800; letter-spacing: 2.4px; color: var(--burgundy); margin-top: 3px; }
.nav-principal { display: flex; gap: 4px; }
.nav-principal a { text-decoration: none; color: var(--cherry); font-weight: 700; padding: 10px 16px; border-radius: 20px; }
.nav-principal a:hover { background: rgba(255,255,255,.7); }
.nav-principal a[aria-current="page"] { background: var(--burgundy); color: var(--rosa); }
.btn-carrito { position: relative; width: 48px; height: 48px; border-radius: 24px; background: var(--burgundy); color: var(--rosa); display: grid; place-items: center; text-decoration: none; flex-shrink: 0; }
.contador { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--guayaba); color: var(--cherry); font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid #FFEDF4; }

/* Pie */
.pie { background: var(--cherry); color: var(--rosa); margin-top: 72px; padding: 48px 20px calc(110px + var(--abajo)); }
.pie-in { max-width: var(--ancho); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.pie h3 { font-size: 22px; margin-bottom: 12px; color: var(--beige); }
.pie-marca img { border-radius: 50%; }
.pie-marca p { max-width: 260px; color: var(--rosa-medio); }
.pie a { color: var(--rosa); }
.horario { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.horario div { display: flex; justify-content: space-between; gap: 12px; }
.horario span { opacity: .85; }
.contacto { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.contacto li { display: flex; gap: 10px; align-items: flex-start; }
.contacto svg { flex-shrink: 0; margin-top: 1px; }
.pie-legal { max-width: var(--ancho); margin: 36px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,219,237,.2); display: flex; justify-content: space-between; font-size: 13px; color: var(--rosa-medio); }

/* Barra flotante "Ver mi pedido" (teléfonos y tablets) */
.barra-pedido { position: fixed; left: 16px; right: 16px; bottom: calc(14px + var(--abajo)); z-index: 45; max-width: 560px; margin: 0 auto; min-height: 62px; border-radius: 31px; background: var(--burgundy); color: var(--rosa); text-decoration: none; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 24px; box-shadow: 0 14px 30px rgba(139,18,41,.35); }
.barra-pedido.entra { animation: barra .35s cubic-bezier(.2,1.4,.4,1); }
@keyframes barra { from { transform: translateY(90px); } }
.barra-pedido span:first-child { display: flex; flex-direction: column; line-height: 1.2; }
.barra-pedido small { font-size: 12px; opacity: .85; }
.barra-total { background: var(--rosa); color: var(--cherry); border-radius: 22px; padding: 9px 16px; font-weight: 800; }
.flotante-wa { position: fixed; right: 18px; bottom: calc(18px + var(--abajo)); z-index: 44; width: 56px; height: 56px; border-radius: 28px; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.flotante-wa.con-barra { bottom: calc(92px + var(--abajo)); }
.bola-vuela { position: fixed; z-index: 95; width: 28px; height: 28px; border-radius: 50%; pointer-events: none; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0,0,0,.25); }

/* Animación al aparecer */
.al-ver { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.al-ver.visto { opacity: 1; transform: none; }

/* Estado de la tienda */
.estado { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; background: #fff; border-radius: 20px; padding: 6px 14px; box-shadow: 0 4px 12px rgba(71,19,28,.08); }
.estado i { width: 9px; height: 9px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 4px rgba(47,143,91,.18); }
.estado.cerrado i { background: var(--guayaba); box-shadow: 0 0 0 4px rgba(234,107,126,.22); }

/* Tarjetas de producto */
.tarjetas-producto { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tarjetas-producto.grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tarjeta-producto { background: #fff; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(71,19,28,.07); transition: transform .2s, box-shadow .2s; }
.tarjeta-producto:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.tp-enlace { display: block; }
.tarjeta-producto .foto { aspect-ratio: 1 / 1; background: var(--rosa); overflow: hidden; display: grid; place-items: center; }
.tarjeta-producto .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tarjeta-producto:hover .foto img { transform: scale(1.05); }
.foto.ilustrada { background: radial-gradient(circle at 50% 40%, #fff 0%, var(--rosa) 70%); }
.foto.ilustrada svg { height: 82%; width: auto; }
.foto.dulce img { width: 46% !important; height: 46% !important; object-fit: contain !important; opacity: .9; }
.tp-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tp-info h3 { font-size: 21px; }
.tp-info h3 a { color: inherit; text-decoration: none; }
.tp-info p { margin: 0; font-size: 13px; color: var(--gris); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-pie { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.precio { display: flex; flex-direction: column; line-height: 1.2; }
.precio b { font-size: 18px; }
.precio small { font-size: 12px; color: var(--gris); }
.btn-mas { width: 46px; height: 46px; border-radius: 23px; border: 0; background: var(--burgundy); color: var(--rosa); display: grid; place-items: center; cursor: pointer; transition: transform .15s; }
.btn-mas:hover { transform: scale(1.08) rotate(90deg); }
.tarjeta-producto.agotado .foto { filter: grayscale(.7); opacity: .6; }
.etiqueta-agotado { font-size: 11px; font-weight: 800; letter-spacing: 1px; background: var(--rosa); padding: 6px 12px; border-radius: 12px; text-transform: uppercase; }

/* Menú */
.menu-pagina { max-width: var(--ancho); margin: 0 auto; padding: 28px 20px 0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.menu-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.menu-cab > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.menu-cab h1 { font-size: clamp(40px, 5vw, 58px); }
.chip-tasa { background: #fff; border-radius: 16px; padding: 8px 14px; font-size: 13px; white-space: nowrap; }
.menu-herramientas { position: sticky; top: var(--cab); z-index: 20; padding: 10px 0 12px; margin: 0 -6px; padding-inline: 6px; background: linear-gradient(180deg, #FFEAF1 80%, rgba(255,234,241,0)); display: flex; flex-direction: column; gap: 10px; }
.buscador { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--rosa-linea); border-radius: 26px; padding: 0 18px; min-height: 52px; }
.buscador:focus-within { border-color: var(--burgundy); box-shadow: 0 0 0 4px rgba(234,107,126,.18); }
.buscador input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 16px; min-height: 48px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex-shrink: 0; text-decoration: none; color: var(--burgundy); border: 1.5px solid var(--burgundy); border-radius: 20px; padding: 8px 16px; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.6); transition: background .2s, color .2s; }
.chips a.activo { background: var(--burgundy); color: var(--rosa); }
.cat-seccion { padding-top: 18px; }
.cat-seccion h2 { font-size: 32px; margin-bottom: 14px; }
.aviso-cat { display: flex; gap: 8px; align-items: center; background: var(--rosa); border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600; margin: -4px 0 14px; }
.sin-resultados { text-align: center; color: var(--gris); padding: 40px 0; }
.carrito-lateral { position: sticky; top: calc(var(--cab) + 20px); background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 14px; max-height: calc(100dvh - var(--cab) - 40px); overflow: auto; }
.carrito-lateral h2 { font-size: 26px; }
.lat-lineas { display: flex; flex-direction: column; gap: 12px; }
.lat-linea { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.lat-linea small { display: block; color: var(--gris); font-size: 12px; line-height: 1.3; }
.lat-linea > span { display: flex; align-items: center; gap: 2px; font-weight: 700; }
.lat-linea button { border: 0; background: none; color: var(--gris); cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 16px; }
.lat-linea button:hover { background: var(--rosa); }
.lat-total { display: flex; justify-content: space-between; font-size: 18px; border-top: 1px dashed var(--rosa-linea); padding-top: 12px; }
.lat-vacio { text-align: center; color: var(--gris); }

/* Ventana de producto */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.modal-fondo { position: absolute; inset: 0; background: rgba(40, 8, 15, .55); animation: aparecer .2s ease-out; }
.modal-caja { position: relative; width: min(940px, 100%); height: min(660px, calc(100dvh - 48px)); background: var(--beige); border-radius: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.35); animation: modal .32s cubic-bezier(.2,1.2,.4,1); }
.modal.saliendo .modal-caja { animation: modal-salir .2s ease-in forwards; }
.modal.saliendo .modal-fondo { animation: aparecer .2s reverse forwards; }
@keyframes aparecer { from { opacity: 0; } }
@keyframes modal { from { transform: translateY(30px) scale(.96); opacity: 0; } }
@keyframes modal-salir { to { transform: translateY(30px) scale(.96); opacity: 0; } }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 22px; border: 0; background: #fff; color: var(--cherry); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.m-visual { grid-row: 1 / 3; position: relative; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--rosa) 62%, var(--rosa-medio) 100%); display: grid; place-items: center; min-height: 420px; overflow: hidden; }
.m-vaso { position: absolute; inset: 7% 12% 5%; display: grid; place-items: center; }
.m-vaso svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-foto-mini { position: absolute; left: 18px; bottom: 18px; width: 92px; height: 92px; object-fit: cover; border-radius: 20px; border: 4px solid #fff; box-shadow: var(--sombra); transform: rotate(-5deg); }
.m-tam { position: absolute; right: 18px; bottom: 22px; background: var(--burgundy); color: var(--rosa); font-weight: 800; border-radius: 16px; padding: 6px 14px; }
.m-foto { width: 100%; height: 100%; display: grid; place-items: center; }
.m-foto img { width: 100%; height: 100%; object-fit: cover; }
.m-foto.dulce img { width: 50% !important; height: auto !important; }
.m-opciones { padding: 30px 30px 10px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.m-cab { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; padding-right: 44px; }
.m-cab h2 { font-size: 36px; }
.m-cab .precio { align-items: flex-end; white-space: nowrap; }
.m-opciones > p { margin: 0; }
.etiqueta-tiempo { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; background: var(--cherry); color: var(--rosa); border-radius: 14px; padding: 6px 12px; font-size: 12px; font-weight: 700; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
legend { font-family: var(--serif); font-size: 22px; padding: 0; margin-bottom: 10px; }
legend small { font-family: var(--sans); font-size: 12px; color: var(--gris); margin-left: 6px; }
.tamanos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tamanos label, .toppings label, .tipo { cursor: pointer; }
.tamanos input, .toppings input, .tipo input { position: absolute; opacity: 0; pointer-events: none; }
.tamanos span { display: flex; flex-direction: column; align-items: center; border: 1.5px solid var(--rosa-linea); border-radius: 20px; padding: 12px; background: #fff; transition: all .15s; }
.tamanos small { color: var(--gris); font-size: 12px; }
.tamanos input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: var(--rosa); }
.tamanos input:checked + span small { color: var(--rosa-medio); }
.tamanos input:focus-visible + span, .toppings input:focus-visible + span, .tipo input:focus-visible + span { outline: 3px solid var(--guayaba); outline-offset: 2px; }
.toppings { display: flex; flex-wrap: wrap; gap: 8px; }
.toppings span { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--rosa-linea); border-radius: 22px; padding: 9px 14px; background: #fff; font-weight: 600; font-size: 14px; transition: all .15s; }
.toppings small { color: var(--gris); font-size: 12px; }
.toppings input:checked + span { background: var(--rosa); border-color: var(--burgundy); }
.toppings input:checked + span::before { content: "✓"; font-weight: 800; color: var(--burgundy); }
.m-accion { display: flex; gap: 12px; align-items: center; padding: 14px 30px 22px; border-top: 1px solid var(--rosa-linea); background: var(--beige); }
.m-accion .btn { flex: 1; min-height: 56px; }
.cantidad { display: flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--rosa-linea); border-radius: 28px; padding: 4px; }
.cantidad button { width: 46px; height: 46px; border-radius: 23px; border: 0; background: var(--rosa); font-size: 22px; font-weight: 700; cursor: pointer; }
.cantidad b { min-width: 28px; text-align: center; font-size: 17px; }
.cantidad.chica button { width: 32px; height: 32px; font-size: 18px; }
.cantidad.chica b { min-width: 22px; font-size: 14px; }

/* Vaso */
.vaso-svg { overflow: visible; }
.vaso-svg .cae > * { animation: caer .7s cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(var(--i, 0) * 35ms); }
.vaso-svg .cae > path { animation: espuma .6s ease-out both; transform-origin: 50% 0; transform-box: fill-box; }
@keyframes caer { from { transform: translateY(-220px); opacity: 0; } 60% { opacity: 1; } }
@keyframes espuma { from { transform: scaleY(0); } }

/* Hacer pedido */
.volver { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; margin-bottom: 8px; }
.pedir { max-width: var(--ancho); margin: 0 auto; padding: 28px 20px 0; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.pedir h1, .angosto h1 { font-size: clamp(38px, 5vw, 52px); margin-bottom: 18px; }
.pedir-form { display: flex; flex-direction: column; gap: 18px; }
.bloque { background: #fff; border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 6px 18px rgba(71,19,28,.06); }
.bloque h2 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.bloque h2 .num { width: 30px; height: 30px; border-radius: 15px; background: var(--burgundy); color: var(--rosa); font-family: var(--sans); font-size: 15px; font-weight: 800; display: grid; place-items: center; }
.tipos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tipo span { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; border: 2px solid var(--rosa-linea); border-radius: 22px; padding: 16px; height: 100%; transition: all .15s; }
.tipo b { font-size: 16px; }
.tipo small { color: var(--gris); font-size: 13px; }
.tipo input:checked + span { border-color: var(--burgundy); background: var(--rosa); box-shadow: inset 0 0 0 1px var(--burgundy); }
.tipo svg { color: var(--burgundy); }
.retiro-dir { display: flex; gap: 6px; margin: 0; font-size: 14px; }
.dos-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nota-club { display: flex; gap: 10px; align-items: center; background: var(--rosa); border-radius: 16px; padding: 10px 14px; margin: 0; font-size: 13px; }
.nota-club svg { flex-shrink: 0; color: var(--burgundy); }
.gratis { flex-direction: row; align-items: center; background: var(--rosa); cursor: pointer; }
.gratis input { width: 24px; height: 24px; accent-color: var(--burgundy); flex-shrink: 0; }
.gratis span { display: flex; flex-direction: column; }
.gratis small { color: var(--gris); }
.pedir-resumen { position: sticky; top: calc(var(--cab) + 20px); background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 14px; }
.pedir-resumen h2 { font-size: 26px; }
.res-lineas { display: flex; flex-direction: column; gap: 14px; }
.res-linea { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: start; font-size: 14px; }
.res-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.res-info small { color: var(--gris); font-size: 12px; line-height: 1.35; }
.res-acciones { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.totales { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--rosa-linea); padding-top: 12px; }
.totales > div, .fila-total { display: flex; justify-content: space-between; gap: 12px; }
.totales > div span:first-child { color: var(--gris); }
.totales .desc span { color: var(--verde) !important; font-weight: 700; }
.totales .total { font-size: 20px; font-weight: 800; margin-top: 4px; }
.totales .total span:first-child { color: var(--cherry); }
.totales .total-bs { font-size: 13px; }
.totales .total-bs b { font-size: 16px; }
.suma-sellos { display: flex; gap: 8px; align-items: center; background: var(--rosa); border-radius: 16px; padding: 8px 12px; margin: 0; font-size: 13px; }
.suma-sellos img { border-radius: 50%; }
.legal { font-size: 12px; margin: 0; text-align: center; }
.vacio-grande { max-width: 520px; margin: 0 auto; padding: 60px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vacio-grande h1 { font-size: 40px; }

/* Pago */
.angosto { max-width: 780px; margin: 0 auto; padding: 28px 20px 0; display: flex; flex-direction: column; gap: 18px; }
.angosto h1 { margin-bottom: 0; }
.monto { background: var(--cherry); color: var(--rosa); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.monto .chico { color: var(--rosa-medio); }
.monto-bs { font-family: var(--serif); font-size: clamp(36px, 6vw, 52px); line-height: 1.05; }
.monto-usd { font-size: 13px; opacity: .85; }
.monto .btn { margin-top: 8px; min-height: 42px; }
.pago-columnas { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; align-items: start; }
.datos-pago { display: flex; flex-direction: column; }
.copiar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--rosa-linea); }
.copiar:last-child { border: 0; }
.copiar div { display: flex; flex-direction: column; }
.copiar b { font-size: 17px; }
.copiar button { width: 44px; height: 44px; border-radius: 22px; border: 1.5px solid var(--rosa-linea); background: #fff; color: var(--burgundy); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.ref { letter-spacing: 2px; }
.subir { border: 2px dashed var(--rosa-linea); border-radius: 18px; padding: 16px; text-align: center; font-weight: 700; font-size: 14px; cursor: pointer; background: var(--beige); }
.subir:hover { border-color: var(--burgundy); }

/* Seguimiento */
.seguimiento { max-width: var(--ancho); margin: 0 auto; padding: 28px 20px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.seg-visual { position: sticky; top: calc(var(--cab) + 20px); }
.mapa { height: min(560px, 70dvh); border-radius: 30px; overflow: hidden; box-shadow: var(--sombra); background: var(--rosa); }
.estado-ilus { aspect-ratio: 1; border-radius: 34px; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--rosa) 65%); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(71,19,28,.06); }
.estado-ilus img { width: 62%; animation: flotar 5s ease-in-out infinite; }
.seg-info { display: flex; flex-direction: column; gap: 14px; }
.seg-info .grande { font-family: var(--serif); font-size: clamp(42px, 6vw, 60px); line-height: 1; }
.seg-info .sub { font-size: 16px; font-weight: 600; margin-top: -6px; }
.numero-retiro { align-self: flex-start; background: var(--burgundy); color: var(--rosa); border-radius: 24px; padding: 14px 24px; display: flex; flex-direction: column; align-items: center; }
.numero-retiro small { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; color: var(--rosa-medio); }
.numero-retiro b { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; }
.pasos { list-style: none; padding: 0; margin: 6px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pasos li { font-size: 12px; font-weight: 600; color: var(--gris); padding-top: 12px; position: relative; }
.pasos li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: var(--rosa-medio); }
.pasos li.hecho::before { background: var(--burgundy); }
.pasos li.actual { color: var(--cherry); font-weight: 800; }
.pasos li.actual::before { background: linear-gradient(90deg, var(--burgundy) 0 40%, var(--rosa-medio) 40%); background-size: 250% 100%; animation: progreso 1.6s linear infinite; }
@keyframes progreso { from { background-position: 100% 0; } to { background-position: 0 0; } }
.afuera { display: flex; gap: 14px; align-items: center; background: var(--burgundy); color: var(--rosa); border-radius: 22px; padding: 16px 18px; box-shadow: 0 10px 24px rgba(139,18,41,.28); animation: latido 1.6s ease-in-out infinite; font-size: 28px; }
.afuera b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.afuera span span { font-size: 13px; }
.afuera div { font-size: 14px; }
@keyframes latido { 50% { transform: scale(1.02); } }
.aviso-push { border: 1.5px dashed var(--burgundy); flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.repartidor { flex-direction: row; align-items: center; }
.repartidor img { border-radius: 26px; object-fit: cover; background: var(--rosa); }
.repartidor > div { flex: 1; min-width: 0; }
.redondo { width: 46px; height: 46px; border-radius: 23px; border: 1.5px solid var(--burgundy); color: var(--burgundy); display: grid; place-items: center; flex-shrink: 0; }
.redondo.oscuro { background: var(--burgundy); color: var(--rosa); }
.foto-entrega { width: 100%; border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--rosa); }
.pin-mapa { width: 36px; height: 36px; border-radius: 18px; border: 3px solid #FFFDE9; display: grid; place-items: center; font-size: 17px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }

/* Mis pedidos */
.club-mini { background: var(--burgundy); color: var(--rosa); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.club-mini-cab { display: flex; justify-content: space-between; align-items: center; }
.club-mini .chico { color: var(--rosa-medio); }
.club-mini-cab b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.club-mini-cab small { font-size: 22px; opacity: .7; }
.club-mini p { margin: 0; font-size: 14px; color: var(--rosa-medio); }
.club-mini p b { color: var(--rosa); }
.club-sellos.chicos { gap: 8px; max-width: 420px; }
.lista-pedidos { display: flex; flex-direction: column; gap: 10px; }
.pedido-fila { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 14px 18px; text-decoration: none; color: inherit; box-shadow: 0 4px 12px rgba(71,19,28,.05); }
.pedido-fila div { display: flex; flex-direction: column; }
.pedido-fila small { color: var(--gris); }
.estado-pill { font-size: 12px; font-weight: 800; border-radius: 12px; padding: 6px 12px; background: var(--rosa); white-space: nowrap; }
.estado-pill.activo { background: var(--burgundy); color: var(--rosa); }
.nota-dispositivo { font-size: 13px; margin: 0; }

/* Agradecimiento animado */
.gracias { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 35%, #A8203A 0%, var(--burgundy) 55%, var(--cherry) 100%); overflow: hidden; animation: g-entrar .35s ease-out; }
.gracias.saliendo { animation: g-salir .35s ease-in forwards; }
.gracias-caja { position: relative; width: min(400px, 100%); background: var(--beige); border-radius: 30px; padding: 28px 22px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.3); animation: g-caja .6s cubic-bezier(.2, 1.4, .4, 1) .1s both; }
.gracias-ilus { width: 130px; margin-top: -84px; animation: g-saludo 1.4s ease-in-out .6s infinite; transform-origin: 50% 90%; }
.gracias h2 { font-size: 30px; line-height: 1.05; animation: g-subir .5s ease-out .35s both; }
.gracias p { margin: 0; color: var(--gris); animation: g-subir .5s ease-out .5s both; }
.gracias .gracias-sellos { background: var(--rosa); color: var(--cherry); border-radius: 16px; padding: 8px 14px; font-weight: 800; font-size: 14px; animation: g-pop .5s cubic-bezier(.2, 1.6, .4, 1) .8s both; }
.gracias .btn { margin-top: 6px; animation: g-subir .5s ease-out .65s both; }
.gracias-barra { width: 100%; height: 4px; border-radius: 2px; background: var(--rosa); overflow: hidden; }
.gracias-barra span { display: block; height: 100%; background: var(--burgundy); animation: g-barra 6.5s linear forwards; }
.perlas i { position: absolute; top: -30px; width: var(--t); height: var(--t); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8a6a63, var(--cherry) 60%); animation: g-caer linear infinite; }
.perlas i:nth-child(3n) { background: radial-gradient(circle at 35% 30%, #fff, var(--rosa) 55%); }
.perlas i:nth-child(4n) { background: radial-gradient(circle at 35% 30%, #ffd1d8, var(--guayaba) 60%); }
@keyframes g-entrar { from { opacity: 0; } }
@keyframes g-salir { to { opacity: 0; } }
@keyframes g-caja { from { transform: scale(.6) translateY(40px); opacity: 0; } }
@keyframes g-subir { from { transform: translateY(14px); opacity: 0; } }
@keyframes g-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes g-saludo { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
@keyframes g-caer { to { transform: translateY(110vh) rotate(360deg); } }
@keyframes g-barra { from { width: 100%; } to { width: 0; } }

/* ─── Tablets ─── */
@media (max-width: 1080px) {
  .menu-pagina { grid-template-columns: minmax(0, 1fr); }
  .carrito-lateral { display: none; }
  .tarjetas-producto, .tarjetas-producto.grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pedir { grid-template-columns: minmax(0, 1fr); }
  .pedir-resumen { position: static; }
}
/* ─── Teléfonos ─── */
@media (max-width: 760px) {
  :root { --cab: 64px; }
  body { font-size: 15px; }
  .cabecera-in { padding: 0 16px; gap: 10px; }
  .marca b { font-size: 21px; }
  .marca img { width: 40px; height: 40px; }
  .nav-principal { gap: 0; }
  .nav-principal a { padding: 8px 10px; font-size: 13px; }
  .nav-principal a:first-child { display: none; }
  .tarjetas-producto { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .tarjetas-producto::-webkit-scrollbar { display: none; }
  .tarjetas-producto > * { scroll-snap-align: start; }
  .tarjetas-producto.grilla { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 12px; }
  .grilla .tarjeta-producto { border-radius: 22px; }
  .grilla .tp-info { padding: 10px 12px 12px; }
  .grilla .tp-info h3 { font-size: 17px; }
  .grilla .tp-info p { font-size: 12px; }
  .grilla .precio b { font-size: 16px; }
  .grilla .btn-mas { width: 40px; height: 40px; }
  .pie-in { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pie-legal { flex-direction: column; gap: 6px; }
  .menu-pagina { padding: 16px 16px 0; }
  .menu-cab { flex-direction: column; align-items: flex-start; }
  .modal { padding: 0; place-items: end stretch; grid-template-columns: minmax(0, 1fr); }
  .modal-caja { width: 100%; height: auto; max-height: 94dvh; border-radius: 28px 28px 0 0; display: flex; flex-direction: column; animation-name: hoja; }
  .m-visual, .m-accion { flex: none; }
  .m-opciones { flex: 1 1 auto; min-height: 0; }
  @keyframes hoja { from { transform: translateY(100%); } }
  .modal.saliendo .modal-caja { animation: hoja-salir .2s ease-in forwards; }
  @keyframes hoja-salir { to { transform: translateY(100%); } }
  .m-visual { grid-row: auto; min-height: 0; height: 34dvh; }
  .m-foto-mini { width: 64px; height: 64px; left: 14px; bottom: 14px; border-radius: 14px; }
  .m-opciones { padding: 18px 18px 6px; }
  .m-cab h2 { font-size: 28px; }
  .m-accion { padding: 12px 16px calc(12px + var(--abajo)); }
  .pedir, .angosto, .seguimiento { padding: 16px 16px 0; }
  .tipos, .dos-campos, .pago-columnas { grid-template-columns: minmax(0, 1fr); }
  .tipos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tipo span { padding: 12px; }
  .seguimiento { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .seg-visual { position: static; }
  .mapa { height: 44dvh; }
  .estado-ilus { aspect-ratio: auto; height: 200px; }
  .estado-ilus img { width: auto; height: 170px; }
  .pasos li { font-size: 11px; }
  .bloque { padding: 18px; border-radius: 22px; }
  #aviso { bottom: calc(92px + var(--abajo)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .al-ver { opacity: 1; transform: none; }
  .perlas, .burbujas { display: none; }
  .gracias-barra span { animation: g-barra 6.5s linear forwards !important; }
}

/* Aviso de promoción (se activa en el panel › Página web) */
.aviso-promo { background: var(--guayaba); color: var(--cherry); text-align: center; font-weight: 700; font-size: 14px; padding: 10px 16px; }
.aviso-promo em { color: var(--beige); font-style: normal; }

/* ═══ Portada · Sip. Smile. Repeat. ═══ */
:root { --leche: #E9CBA7; --rosa-fondo: #FFE3EF; }
.btn-rosa { background: var(--rosa); color: var(--cherry); border-color: var(--rosa); font-weight: 800; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-borde-rosa { border-color: var(--rosa); color: var(--rosa); }
.btn-borde-rosa:hover { background: rgba(255,219,237,.12); }

/* Cabecera encima del escenario burgundy */
.cabecera.sobre-escenario { background: var(--burgundy); border-bottom-color: transparent; transition: background .25s, border-color .25s; }
.cabecera.sobre-escenario .marca { color: var(--beige); }
.cabecera.sobre-escenario .marca small { color: var(--rosa-medio); }
.cabecera.sobre-escenario .nav-principal a { color: var(--rosa); }
.cabecera.sobre-escenario .nav-principal a:hover { background: rgba(255,219,237,.12); }
.cabecera.sobre-escenario .nav-principal a[aria-current="page"] { background: var(--rosa); color: var(--burgundy); }
.cabecera.sobre-escenario .btn-carrito { background: var(--rosa); color: var(--burgundy); }
.cabecera.sobre-escenario.solida { background: rgba(139, 18, 41, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Escenario (hero) */
.escenario { position: relative; background: var(--burgundy); color: var(--rosa); overflow: hidden; }
.escenario::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgba(234,107,126,.38), transparent 70%); pointer-events: none; }
.escenario-in { position: relative; max-width: var(--ancho); margin: 0 auto; padding: 28px 20px 120px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: center; min-height: min(760px, calc(100dvh - var(--cab))); }
.lema { display: flex; flex-direction: column; font-size: clamp(64px, 10.5vw, 156px); line-height: .9; letter-spacing: -2px; margin: 0 0 22px; }
.lema span { opacity: .28; transform: translateX(-6px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,1.4,.4,1); }
.lema span.activa { opacity: 1; transform: none; }
.lema span:nth-child(1) { color: var(--rosa); }
.lema span:nth-child(2) { color: var(--beige); padding-left: .5em; }
.lema span:nth-child(3) { color: var(--guayaba); padding-left: 1em; }
.bajada { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; color: var(--beige); margin: 0 0 10px; max-width: 22ch; }
.bajada em { color: var(--rosa-medio); }
.bajada-chica { margin: 0 0 24px; max-width: 46ch; color: var(--rosa-medio); font-size: 16px; }
.botones-escenario { display: flex; gap: 12px; flex-wrap: wrap; }
.escenario-pie { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.escenario .estado { background: rgba(255,255,255,.12); color: var(--rosa); box-shadow: none; }
.escenario .repetir { background: rgba(255,255,255,.1); border-color: var(--rosa-medio); color: var(--rosa); }
.escenario .repetir small { color: var(--rosa-medio); }
.escenario .repetir-cta { background: var(--rosa); color: var(--burgundy); }
.repetir { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 22px; border: 1.5px dashed var(--burgundy); background: rgba(255,255,255,.7); cursor: pointer; text-align: left; max-width: 100%; }
.repetir span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.repetir small { font-size: 11px; font-weight: 700; }
.repetir b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.repetir-cta { background: var(--burgundy); color: var(--rosa); border-radius: 16px; padding: 8px 14px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.mini-foto { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: var(--rosa); flex-shrink: 0; display: grid; place-items: center; }
.mini-foto img { width: 100%; height: 100%; object-fit: cover; }
.mini-foto.ilustrada svg { width: 80%; height: 88%; }
.mini-foto.dulce img { width: 70%; height: 70%; object-fit: contain; }

.escenario-arte { position: relative; height: 100%; min-height: 520px; display: grid; place-items: center; }
.escena { position: relative; width: min(380px, 80%); aspect-ratio: 220 / 340; cursor: pointer; border-radius: 40px; }
.escena:focus-visible { outline: 3px solid var(--rosa); outline-offset: 8px; }
.escena-vaso, .escena-vaso svg { width: 100%; height: 100%; display: block; }
.escena .vaso-svg path[stroke="#47131C"], .escena .vaso-svg rect[stroke="#47131C"] { stroke: #2A0A10; }
.sombra-vaso { position: absolute; left: 18%; right: 18%; bottom: -2%; height: 22px; border-radius: 50%; background: rgba(40, 6, 14, .45); filter: blur(8px); z-index: -1; }
.escena .liquido-g { transition: transform 1.1s cubic-bezier(.6,0,.3,1); }
.escena.s-sip .liquido-g { transform: translateY(58%); }
.escena.s-repeat .liquido-g { transition-duration: .9s; }
.escena .cara .ojos-felices, .escena .cara .cachete { opacity: 0; transition: opacity .3s; }
.escena .cara .ojos-abiertos { transition: opacity .3s; }
.escena.s-smile .cara .ojos-felices, .escena.s-smile .cara .cachete { opacity: 1; }
.escena.s-smile .cara .ojos-abiertos { opacity: 0; }
.escena.s-smile { animation: rebote .6s cubic-bezier(.2,1.6,.4,1); }
@keyframes rebote { 40% { transform: scale(1.05, .95) translateY(4px); } 70% { transform: scale(.98, 1.03) translateY(-6px); } }
.sticker { position: absolute; top: 6%; right: 2%; width: 120px; height: 120px; border-radius: 50%; background: var(--guayaba); color: var(--cherry); display: grid; place-items: center; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.15; transform: rotate(12deg); box-shadow: 0 14px 30px rgba(0,0,0,.25); border: 4px dashed rgba(71,19,28,.35); }
.sticker b { font-family: var(--serif); font-weight: 400; font-size: 24px; display: block; }
.chica-escenario { position: absolute; width: 30%; left: -2%; bottom: 4%; filter: drop-shadow(0 10px 16px rgba(0,0,0,.3)); transform: rotate(-6deg); }
.foto-flotante { position: absolute; width: 34%; left: -4%; bottom: 6%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; border: 6px solid var(--rosa); transform: rotate(-7deg); box-shadow: 0 18px 36px rgba(0,0,0,.3); }
.pista { position: absolute; bottom: 0; right: 10%; font-family: var(--serif); font-size: 18px; color: var(--rosa-medio); transform: rotate(-4deg); }
.pista::before { content: "↖"; margin-right: 6px; font-family: var(--sans); }
.ola { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; }

/* Cinta de sabores */
.cinta { background: var(--cherry); color: var(--rosa); overflow: hidden; padding: 14px 0; font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.cinta-mov { display: inline-flex; gap: 22px; align-items: center; padding-left: 22px; animation: cinta 48s linear infinite; }
.cinta i { color: var(--guayaba); font-style: normal; font-size: 16px; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Bloques de la portada */
.bloque-home { max-width: var(--ancho); margin: 0 auto; padding: 64px 20px 0; }
.bloque-home h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; max-width: 18ch; }
.cab-home { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.enlace-flecha { font-weight: 800; white-space: nowrap; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Favoritas como pegatinas */
.pegatinas { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px 20px; }
.tarjeta-producto.pegatina { border: 6px solid #fff; border-radius: 30px; transform: rotate(var(--giro, 0deg)); box-shadow: 0 16px 30px rgba(71,19,28,.14); transition: transform .25s cubic-bezier(.2,1.4,.4,1), box-shadow .25s; }
.tarjeta-producto.pegatina:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); box-shadow: 0 22px 40px rgba(71,19,28,.2); }
.tarjeta-producto.pegatina .foto { aspect-ratio: 4 / 5; }

/* Tres pasos */
.pasos-home { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: paso; }
.pasos-home li { counter-increment: paso; display: flex; flex-direction: column; gap: 14px; position: relative; }
.pasos-home li::before { content: counter(paso); position: absolute; top: -6px; left: 0; font-family: var(--serif); font-size: 88px; line-height: 1; color: var(--guayaba); opacity: .9; }
.paso-arte { height: 190px; display: grid; place-items: center; background: var(--rosa); border-radius: 50% 50% 46% 54% / 56% 48% 52% 44%; margin-left: 40px; }
.paso-arte img, .paso-arte svg { max-height: 160px; width: auto; }
.pasos-home h3 { font-size: 26px; }
.pasos-home p { margin: 4px 0 0; color: var(--gris); max-width: 34ch; }

/* Alora Club: tarjeta de sellos física */
.club-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.club-texto p { color: var(--gris); font-size: 17px; max-width: 40ch; margin: 14px 0 20px; }
.club-tuyo { background: var(--rosa); border-radius: 14px; padding: 12px 16px; color: var(--cherry) !important; }
.tarjeta-sellos { position: relative; background: var(--beige); border: 3px solid var(--burgundy); border-radius: 26px; padding: 26px 26px 18px 46px; transform: rotate(-3deg); box-shadow: 14px 16px 0 var(--burgundy); }
.tarjeta-sellos::before { content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; border-left: 3px dotted var(--rosa-linea); }
.ts-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ts-cab img { border-radius: 50%; }
.ts-cab b { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--burgundy); display: block; line-height: 1; }
.ts-cab small { color: var(--gris); font-weight: 600; }
.ts-sellos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sello { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--rosa-linea); display: grid; place-items: center; font-size: 12px; font-weight: 800; overflow: hidden; color: var(--burgundy); }
.sello img { width: 88%; opacity: 0; }
.sello.lleno { border: 0; background: var(--rosa); }
.sello.lleno img { opacity: 1; transform: rotate(-12deg); }
.sello.regalo { background: var(--guayaba); color: var(--cherry); border: 0; }
.tarjeta-sellos.al-ver { opacity: 1; transform: rotate(-3deg); }
.tarjeta-sellos.al-ver.visto .sello.lleno img { animation: estampar .5s cubic-bezier(.2,1.6,.4,1) calc(var(--i) * .11s) both; }
@keyframes estampar { from { opacity: 0; transform: scale(2.4) rotate(-40deg); } }
.ts-pie { margin: 16px 0 0; text-align: right; font-family: var(--serif); color: var(--burgundy); font-size: 18px; }

/* Dulces */
.dulces-home { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.dulces-home > img { max-height: 320px; justify-self: center; }
.dulces-home p { color: var(--gris); margin: 12px 0 0; max-width: 46ch; }
.nombres-dulces { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.nombres-dulces a { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); color: var(--cherry); text-decoration: none; background-image: linear-gradient(var(--guayaba), var(--guayaba)); background-size: 0 3px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s; }
.nombres-dulces a:hover { background-size: 100% 3px; }

/* Visítanos */
.visita-home { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 36px; align-items: center; padding-bottom: 20px; }
.direccion-grande { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; margin: 14px 0 18px; max-width: 26ch; }
.horario { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.horario div { display: flex; justify-content: space-between; gap: 12px; }
.horario.grande { font-size: 16px; max-width: 420px; margin-bottom: 22px; }
.horario.grande div { border-bottom: 1px dashed var(--rosa-linea); padding-bottom: 8px; }
.botones-fila { display: flex; gap: 12px; flex-wrap: wrap; }
.etiqueta-ig { margin: 14px 0 0; }
.visita-arte { display: grid; place-items: center; background: var(--rosa); border-radius: 50%; aspect-ratio: 1; }
.visita-arte img { width: 72%; }

/* Pie con el lema gigante */
.pie-lema { max-width: var(--ancho); margin: 0 auto 36px; font-family: var(--serif); font-size: clamp(48px, 9vw, 128px); line-height: .95; color: var(--rosa); letter-spacing: -1.5px; }

@media (max-width: 1080px) {
  .escenario-in { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
  .club-home, .dulces-home, .visita-home { gap: 28px; }
}
@media (max-width: 760px) {
  .escenario-in { grid-template-columns: minmax(0, 1fr); padding: 10px 16px 96px; min-height: 0; gap: 0; }
  .escenario-arte { order: -1; min-height: 0; height: 330px; }
  .escena { width: auto; height: 300px; }
  .sticker { width: 88px; height: 88px; font-size: 11px; right: 4%; top: 4%; }
  .sticker b { font-size: 18px; }
  .chica-escenario { width: 28%; left: 2%; bottom: 4%; }
  .foto-flotante { width: 30%; left: 2%; }
  .pista { right: 4%; font-size: 15px; }
  .lema { font-size: clamp(56px, 18vw, 86px); flex-direction: row; flex-wrap: wrap; gap: 0 .22em; margin-bottom: 14px; letter-spacing: -1px; }
  .lema span:nth-child(2), .lema span:nth-child(3) { padding-left: 0; }
  .botones-escenario .btn { flex: 1 1 220px; }
  .ola { height: 56px; }
  .cinta { font-size: 18px; padding: 10px 0; }
  .bloque-home { padding: 44px 16px 0; }
  .pegatinas { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 66%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 10px 16px 18px; scrollbar-width: none; }
  .pegatinas::-webkit-scrollbar { display: none; }
  .pegatinas > * { scroll-snap-align: center; }
  .pasos-home { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pasos-home li { flex-direction: row; align-items: center; }
  .pasos-home li::before { font-size: 60px; top: 50%; transform: translateY(-50%); }
  .paso-arte { width: 120px; height: 120px; flex-shrink: 0; margin-left: 34px; }
  .paso-arte img, .paso-arte svg { max-height: 100px; }
  .pasos-home h3 { font-size: 22px; }
  .club-home, .dulces-home, .visita-home { grid-template-columns: minmax(0, 1fr); }
  .tarjeta-sellos { padding: 20px 18px 14px 38px; box-shadow: 8px 10px 0 var(--burgundy); margin-right: 8px; }
  .ts-sellos { gap: 8px; }
  .dulces-home > img { max-height: 180px; order: 2; }
  .visita-arte { width: 60%; justify-self: center; }
  .pie-lema { margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .cinta-mov { animation: none; }
  .lema span { opacity: 1; transform: none; }
}

/* Banda del menú (misma familia que el escenario de la portada) */
.banda-menu { position: relative; background: var(--burgundy); color: var(--rosa); padding: 18px 20px 70px; overflow: hidden; }
.banda-menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 85% 20%, rgba(234,107,126,.35), transparent 70%); }
.banda-menu-in { position: relative; max-width: var(--ancho); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.banda-menu h1 { font-size: clamp(56px, 8vw, 104px); line-height: .9; color: var(--beige); letter-spacing: -1px; }
.banda-datos { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.banda-menu .estado { background: rgba(255,255,255,.12); color: var(--rosa); box-shadow: none; }
.banda-menu .chip-tasa { background: var(--rosa); color: var(--cherry); }
.banda-menu .ola { height: 60px; }
.menu-pagina { padding-top: 6px; }
.menu-herramientas { background: linear-gradient(180deg, #FFE3EF 80%, rgba(255,227,239,0)); }
@media (max-width: 760px) { .banda-menu { padding: 10px 16px 50px; } .banda-menu .ola { height: 40px; } }
.menu-herramientas { border-radius: 0 0 22px 22px; }

/* ─── Mis pedidos ─────────────────────────────────────────────────────── */
.mis { max-width: var(--ancho); margin: 0 auto; padding: 34px 24px 10px; display: flex; flex-direction: column; gap: 26px; }
.mis-cab h1 { font-size: clamp(42px, 6vw, 68px); margin-top: 6px; }
.mis h2 { font-size: 28px; margin-bottom: 16px; }

/* Pedido en curso */
.mis-activo { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 20px 22px; border-radius: 28px; background: radial-gradient(circle at 0% 0%, #A8203A 0%, var(--burgundy) 55%, #6E0E21 100%); color: var(--rosa); text-decoration: none; box-shadow: var(--sombra); transition: transform .2s; }
.mis-activo:hover { transform: translateY(-3px); }
.mis-activo-foto { width: 116px; aspect-ratio: 1; border-radius: 24px; overflow: hidden; display: grid; place-items: center; background: var(--rosa); }
.mis-activo-foto img { width: 100%; height: 100%; object-fit: cover; }
.mis-activo-foto.ilustrada svg { height: 86%; width: auto; }
.mis-activo-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mis-activo-info .chico { color: var(--rosa-medio); }
.mis-activo-info > b { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.mis-activo-info > small { color: var(--rosa-medio); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mis-pasos { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); position: relative; }
.mis-pasos::before, .mis-pasos::after { content: ""; position: absolute; top: 6px; left: calc(50% / var(--n)); height: 3px; border-radius: 3px; }
.mis-pasos::before { right: calc(50% / var(--n)); background: rgba(255, 219, 237, .25); }
.mis-pasos::after { width: calc((100% - 100% / var(--n)) * var(--i) / (var(--n) - 1)); background: var(--rosa); transition: width .6s; }
.mis-pasos li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: rgba(255, 219, 237, .6); text-align: center; }
.mis-pasos li span { width: 15px; height: 15px; border-radius: 50%; background: #7a1024; border: 3px solid rgba(255, 219, 237, .35); }
.mis-pasos li.hecho { color: var(--rosa-medio); }
.mis-pasos li.hecho span { background: var(--rosa); border-color: var(--rosa); }
.mis-pasos li.ahora { color: var(--rosa); }
.mis-pasos li.ahora span { background: var(--guayaba); border-color: var(--rosa); box-shadow: 0 0 0 0 rgba(234, 107, 126, .7); animation: latido 1.6s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 10px rgba(234, 107, 126, 0); } 100% { box-shadow: 0 0 0 0 rgba(234, 107, 126, 0); } }
.mis-activo-btn { pointer-events: none; }

/* Tarjeta + historial */
.mis-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 44px; align-items: start; }
.mis-grid.solo { grid-template-columns: minmax(0, 460px); }
.mis-club { position: sticky; top: calc(var(--cab) + 20px); display: flex; flex-direction: column; gap: 18px; }
.mis-club > p { margin: 8px 0 0; color: var(--gris); font-size: 15px; }
.mis-club > p b { color: var(--burgundy); }
.mis-tarjeta { margin: 4px 14px 10px 4px; }
.ts-cab .ts-cuenta { margin-left: auto; font-family: var(--serif); font-size: 34px; color: var(--burgundy); line-height: 1; }
.ts-cab .ts-cuenta small { font-size: 18px; color: var(--gris); }
.mis-premio { margin-top: 8px; display: flex; gap: 12px; align-items: center; background: var(--guayaba); color: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: 0 10px 24px rgba(234, 107, 126, .35); }
.mis-premio > span { font-size: 30px; }
.mis-premio b { display: block; font-size: 16px; }
.mis-premio small { opacity: .92; }

.mis-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mis-fila { background: #fff; border-radius: 22px; box-shadow: 0 6px 18px rgba(71, 19, 28, .06); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.mis-fila:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(71, 19, 28, .1); }
.mis-fila-link { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; color: inherit; text-decoration: none; }
.mis-fila-foto { width: 64px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: var(--rosa); }
.mis-fila-foto img { width: 100%; height: 100%; object-fit: cover; }
.mis-fila-foto.ilustrada svg { height: 84%; width: auto; }
.mis-fila-foto.dulce img { width: 60%; height: 60%; object-fit: contain; }
.mis-fila-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mis-fila-txt b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mis-fila-txt small { color: var(--gris); font-size: 12.5px; }
.mis-fila-der { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mis-fila-der b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--burgundy); }
.estado-pill.entregado { background: #E3F3EA; color: var(--verde); }
.estado-pill.cancelado { background: #F1E6E8; color: var(--gris); }
.mis-fila.cancelado { opacity: .7; }
.mis-otra { width: 100%; border: 0; border-top: 1px dashed var(--rosa-linea); background: #FFF6FA; color: var(--burgundy); font: inherit; font-weight: 800; font-size: 13.5px; padding: 11px; cursor: pointer; transition: background .15s; }
.mis-otra:hover { background: var(--rosa); }

.mis-vacio { background: #fff; border-radius: 28px; padding: 34px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 6px 18px rgba(71, 19, 28, .06); }
.mis-vacio b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--burgundy); }
.mis-vacio p { margin: 0 0 8px; color: var(--gris); max-width: 32ch; }

.mis-pie { border-top: 1px solid var(--rosa-linea); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.mis-pie p { margin: 0; color: var(--gris); font-size: 13px; max-width: 60ch; }
.mis-pie .btn.enlace { min-height: 0; padding: 4px 0; font-size: 13px; }

@media (max-width: 1080px) {
  .mis-grid { gap: 30px; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .mis { padding: 20px 16px 6px; gap: 20px; }
  .mis h2 { font-size: 24px; margin-bottom: 12px; }
  .mis-activo { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: 24px; }
  .mis-activo-foto { width: 78px; border-radius: 18px; }
  .mis-activo-info > b { font-size: 26px; }
  .mis-activo-btn { grid-column: 1 / -1; width: 100%; }
  .mis-pasos li { font-size: 0; gap: 0; }
  .mis-pasos { margin-top: 10px; }
  .mis-grid, .mis-grid.solo { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .mis-club { position: static; }
  .mis-tarjeta { margin: 0 8px 8px 0; }
  .mis-fila-link { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px 10px 10px; }
  .mis-fila-foto { width: 54px; border-radius: 15px; }
  .mis-pie { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .mis-pasos li.ahora span { animation: none; } }
