/* Propuesta D de la web de Helapanna (19/11/2026, estructura aprobada por Guillermo). Se carga después de web.css y web-c.css.
   Celular primero (390 px). Color de las redes: NARANJA #FC5A00 (medido de los posteos; autorizado por Guillermo para la web)
   + CELESTE #72CCD8 + blanco; café y crema solo de apoyo. Tonos derivados con color-mix solo para leer bien.
   Letras libres (en /web/fuentes): Fredoka (títulos, gruesa y redondeada) y Nunito (texto).
   Fotos reales en todos los lugares (stock libre hasta tener las propias). Movimiento suave; todo quieto con «reducir movimiento». */

html.d {
    --naranja: #FC5A00;
    --naranja-osc: color-mix(in srgb, #FC5A00 68%, #000);
    --naranja-claro: color-mix(in srgb, #FC5A00 9%, #fff);
    --celeste-r: #72CCD8;
    --celeste-r-claro: color-mix(in srgb, #72CCD8 20%, #fff);
    --tinta: #2B2624;
    --titulos: "Fredoka", "Segoe UI", system-ui, sans-serif;
    --texto: "Nunito", "Segoe UI", system-ui, sans-serif;
    --radio: 26px;
    --rebote: cubic-bezier(.34, 1.56, .64, 1);
    --alto-barra: 76px;
}
html.d body { background: #fff; color: var(--tinta); font-family: var(--texto); font-weight: 500; padding-bottom: var(--alto-barra); }
html.d h1, html.d h2, html.d h3 { font-family: var(--titulos); font-weight: 700; color: var(--tinta); letter-spacing: -.01em; line-height: 1.02; }
html.d h2 { font-size: clamp(2.1rem, 9vw, 3.6rem); margin: 0 0 1rem; }
html.d .sobre { font-family: var(--titulos); font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 1.15rem; color: var(--naranja-osc); }
.sobre-d { font: 600 1.15rem var(--titulos); color: var(--naranja-osc); margin: 0 0 .3rem; }
html.d .caja { padding-left: 16px; padding-right: 16px; }
html.d section { scroll-margin-top: 80px; }

/* ---------- Botones ---------- */
.boton-d { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 56px; padding: 0 1.5rem; border-radius: 999px;
    font: 700 1.2rem/1.1 var(--titulos); text-decoration: none; cursor: pointer; border: 3px solid transparent; transition: transform .3s var(--rebote), box-shadow .3s ease; }
.boton-d:hover { transform: translateY(-3px); }
.boton-d:active { transform: scale(.96); }
.boton-d-grande { min-height: 64px; font-size: 1.35rem; padding: 0 1.8rem; }
.boton-d-gigante { min-height: 76px; font-size: 1.5rem; padding: 0 2rem; width: 100%; max-width: 460px; }
.boton-d-naranja { background: var(--naranja); color: #fff; box-shadow: 0 7px 0 var(--naranja-osc); }
.boton-d-celeste { background: var(--celeste-r); color: var(--tinta); box-shadow: 0 7px 0 color-mix(in srgb, var(--celeste-r) 60%, #000); }
.boton-d-google { background: #fff; color: var(--tinta); box-shadow: 0 8px 0 rgba(0, 0, 0, .25); }
.boton-d-wa { background: #fff; color: var(--tinta); border-color: var(--tinta); }
html.d .boton-c { font: 700 1.15rem/1.1 var(--titulos); border-width: 2.5px; }
html.d .boton-c-oscuro { background: var(--naranja); color: #fff; box-shadow: 0 6px 0 var(--naranja-osc); }
html.d .boton-c-borde { color: var(--tinta); border-color: var(--tinta); }
html.d .link-c { color: var(--naranja-osc); font-weight: 800; }

/* ---------- Cabecera ---------- */
html.d .cabecera, html.d .cabecera.con-fondo { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 rgba(43, 38, 36, .08); }
html.d .cabecera-in { gap: .8rem; }
.marca-d img { width: 52px; height: 52px; display: block; transition: transform .6s var(--rebote); }
.marca-d:hover img, .marca-d:active img { transform: rotate(-18deg) scale(1.06); }
html.d .menu-d { display: none; }
.cta-d { display: none; margin-left: auto; gap: .5rem; }
.cta-d a, .barra-d a { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 999px; text-decoration: none; font: 700 1.1rem var(--titulos); }
.cta-d a { min-height: 46px; padding: 0 1.1rem; }
.cta-d-pedi, .barra-d-pedi { background: var(--naranja); color: #fff; }
.cta-d-club, .barra-d-club { background: var(--celeste-r); color: var(--tinta); }
/* Barra fija abajo (celular): dos botones grandes, siempre a mano */
.barra-d { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); box-shadow: 0 -6px 20px rgba(43, 38, 36, .12); }
.barra-d a { min-height: 58px; font-size: 1.25rem; }
html.d .barra-abajo, html.d .wa-flotante { display: none !important; }
@media (min-width: 900px) {
    html.d body { padding-bottom: 0; }
    .barra-d { display: none; }
    html.d .menu-d { display: flex; }
    html.d .menu-d a { font: 600 1.05rem var(--titulos); color: var(--tinta); }
    .cta-d { display: flex; }
}

/* ---------- Fotos: máscaras orgánicas, zoom suave, aparición al bajar ---------- */
.foto-d { position: relative; display: block; overflow: hidden; border-radius: var(--radio); background: var(--celeste-r-claro); }
.foto-d img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
a:hover .foto-d img, .foto-d:hover img { transform: scale(1.07); }
html.d .aparece { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1); }
html.d .aparece.visible { opacity: 1; transform: none; }
.organica-1 { border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; }
.organica-2 { border-radius: 42% 58% 46% 54% / 54% 42% 58% 46%; }

/* ---------- 1. Héroe: foto a pantalla completa ---------- */
.hd { position: relative; min-height: calc(100svh - 68px - var(--alto-barra)); display: grid; place-items: end center; overflow: hidden; color: #fff; }
.hd-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: acerca-d 18s ease-out both; }
@keyframes acerca-d { from { transform: scale(1.12); } to { transform: scale(1); } }
.hd-velo { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .55) 75%), radial-gradient(circle at 50% 40%, transparent 30%, rgba(252, 90, 0, .25)); }
.hd-in { position: relative; z-index: 1; width: 100%; max-width: 760px; padding: 2rem 16px 2.4rem; display: grid; justify-items: center; text-align: center; }
.hd-logo { margin: 0; line-height: 0; }
.hd-logo img { width: clamp(190px, 58vw, 300px); height: auto; border-radius: 50%; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); animation: entra-logo .9s var(--rebote) both; transition: transform .6s var(--rebote); cursor: pointer; }
.hd-logo:hover img, .hd-logo.gira img { transform: rotate(-14deg) scale(1.04); }
@keyframes entra-logo { from { opacity: 0; transform: scale(.6) rotate(-30deg); } to { opacity: 1; transform: none; } }
/* Slogan oficial: un tercio del ancho del logo (o menos), sin caja */
.hd-slogan { width: clamp(63px, 19vw, 100px); height: auto; margin: .7rem 0 0; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.hd-botones { display: grid; gap: .8rem; width: 100%; max-width: 420px; margin-top: 1.4rem; }
.hd-off { margin: 1rem 0 0; font: 600 1.15rem var(--titulos); text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.hd-off b { background: var(--naranja); padding: .1rem .5rem; border-radius: 8px; text-shadow: none; }

/* ---------- 2. Abierto / cerrado en vivo ---------- */
.vivo-d { display: grid; gap: 8px; padding: 12px 16px; background: var(--tinta); }
.vivo-d-local { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 16px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; font-size: .98rem; }
.vivo-d-punto { width: 12px; height: 12px; border-radius: 50%; background: #9AA; }
.vivo-d-local.abierto .vivo-d-punto { background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: late-d 1.8s infinite; }
@keyframes late-d { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.vivo-d-estado { font: 700 1rem var(--titulos); text-align: right; }
.vivo-d-estado small { display: block; font: 600 .78rem var(--texto); opacity: .85; }
.vivo-d-local.abierto .vivo-d-estado { color: #7CF0B0; }
@media (min-width: 900px) { .vivo-d { grid-template-columns: 1fr 1fr; padding: 12px max(16px, calc((100% - 1100px) / 2)); } }

/* ---------- Papelitos (fondo de redes) ---------- */
.fondo-d { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; color: #fff; }
.fondo-d-ondas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .08; }
.mancha-d { position: absolute; fill: var(--celeste-r); animation: respira 9s ease-in-out infinite alternate; }
@keyframes respira { from { transform: scale(1) rotate(0deg); } to { transform: scale(1.06) rotate(7deg); } }
.confeti-d { position: absolute; inset: -40px 0 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .9) 1.8px, transparent 2.4px), radial-gradient(circle, rgba(114, 204, 216, .9) 2px, transparent 2.6px), radial-gradient(circle, rgba(255, 255, 255, .55) 1.2px, transparent 1.8px);
    background-size: 46px 52px, 71px 63px, 31px 37px; background-position: 0 0, 23px 31px, 17px 11px; animation: confeti-flota 12s linear infinite; }
@keyframes confeti-flota { from { transform: translateY(0); } to { transform: translateY(40px); } }
.garabato-d { position: absolute; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.garabato-d path, .garabato-d circle { stroke-dasharray: 700; stroke-dashoffset: 700; animation: dibujar-d 2.2s .3s ease-out forwards; }
.garabato-d-1 { width: min(42vw, 240px); left: 2%; bottom: 6%; }
.garabato-d-2 { width: min(60vw, 360px); right: -10%; top: -12%; opacity: .3; stroke-width: 1.6; }
.garabato-d-3 { width: 110px; right: 6%; bottom: 10%; }
@keyframes dibujar-d { to { stroke-dashoffset: 0; } }
.destello-d { position: absolute; fill: #fff; width: 20px; animation: titila 2.8s ease-in-out infinite; }
.destello-d-1 { left: 8%; top: 12%; } .destello-d-2 { right: 10%; top: 40%; width: 28px; animation-delay: -1s; } .destello-d-3 { left: 46%; bottom: 8%; width: 16px; animation-delay: -1.8s; }
@keyframes titila { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(20deg); opacity: .6; } }

/* ---------- 3. Pannáticos ---------- */
.club-d { position: relative; overflow: hidden; background: var(--naranja); color: #fff; padding: 3rem 0 3.4rem; }
.club-d-in { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
html.d .club-d h2 { color: #fff; font-size: clamp(2.3rem, 10.5vw, 4.2rem); max-width: 14ch; text-shadow: 0 4px 0 var(--naranja-osc); }
.club-d-pasos { list-style: none; margin: .6rem 0 2rem; padding: 0; display: grid; gap: 1rem; width: 100%; max-width: 980px; }
.club-d-pasos li { position: relative; display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; text-align: left;
    background: #fff; color: var(--tinta); border-radius: 22px; padding: .7rem; box-shadow: 0 8px 0 rgba(0, 0, 0, .14); }
.club-d-pasos .foto-d { grid-row: 1 / span 2; width: 112px; height: 112px; border-radius: 18px; }
.club-d-pasos b { position: absolute; left: -6px; top: -10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--celeste-r); color: var(--tinta);
    font: 700 1.3rem var(--titulos); border: 3px solid #fff; }
.club-d-pasos strong { font: 700 1.45rem var(--titulos); align-self: end; }
.club-d-pasos small { font-size: 1rem; font-weight: 600; align-self: start; }
.club-d-otro { margin: 1.2rem 0 0; font-weight: 700; }
.club-d-otro a { color: #fff; }
.club-d-saldo { display: grid; justify-items: center; gap: .1rem; background: #fff; color: var(--tinta); border-radius: 24px; padding: 1rem 2rem; margin-bottom: 1.5rem; }
.club-d-saldo b { font: 700 3.4rem/1 var(--titulos); color: var(--naranja-osc); }
@media (min-width: 900px) {
    .club-d-pasos { grid-template-columns: repeat(3, 1fr); }
    .club-d-pasos li { grid-template-columns: 1fr; grid-template-rows: auto; text-align: center; padding: .8rem .8rem 1.2rem; }
    .club-d-pasos .foto-d { grid-row: auto; width: 100%; height: 200px; margin-bottom: .6rem; }
}

/* Confeti al entrar */
.lluvia-d { position: fixed; inset: 0; pointer-events: none; z-index: 1000; overflow: hidden; }
.lluvia-d i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: cae-d 1.1s cubic-bezier(.3, .6, .6, 1) forwards; }
@keyframes cae-d { to { transform: translate(var(--x), 105vh) rotate(var(--r)); } }

/* ---------- 4. Lo que hacemos ---------- */
.hacemos-d { padding: 3rem 0; background: #fff; }
.hacemos-d-grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tarjeta-foto-d { position: relative; display: block; border-radius: var(--radio); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 3 / 4; box-shadow: 0 10px 24px rgba(43, 38, 36, .16); }
.tarjeta-foto-d .foto-d { position: absolute; inset: 0; border-radius: 0; }
.tarjeta-foto-d-texto { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .9rem .9rem; background: linear-gradient(to top, rgba(0, 0, 0, .78), transparent); display: grid; gap: .15rem; }
.tarjeta-foto-d b { font: 700 1.35rem/1.05 var(--titulos); }
.tarjeta-foto-d small { font-size: .9rem; font-weight: 600; }
.tarjeta-foto-d:nth-child(1) .foto-d { border-radius: 0; }
.sub-d { font-size: 1.7rem; margin: 2.2rem 0 .8rem; }
.carrusel-d { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
.producto-d { scroll-snap-align: start; display: grid; gap: .35rem; text-decoration: none; color: var(--tinta); }
.producto-d .foto-d { aspect-ratio: 1; }
.producto-d:nth-child(odd) .foto-d { border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; }
.producto-d:nth-child(even) .foto-d { border-radius: 42% 58% 46% 54% / 54% 42% 58% 46%; }
.producto-d b { font: 700 1.15rem var(--titulos); }
.precio-d { font: 700 1.1rem var(--titulos); color: var(--naranja-osc); }
.nota-d { font-weight: 700; margin: .4rem 0 0; }
.nota-d a { color: var(--naranja-osc); }
@media (min-width: 900px) {
    .hacemos-d-grilla { grid-template-columns: repeat(4, 1fr); }
    .carrusel-d { grid-auto-columns: calc((100% - 48px) / 5); }
}

/* ---------- 5. Panna al Paso ---------- */
.alpaso-d { position: relative; padding: 3.4rem 0; color: #fff; background: linear-gradient(rgba(43, 38, 36, .62), rgba(43, 38, 36, .78)), var(--fondo) center / cover; }
.alpaso-d-marca, .paso-d-marca { font: 700 clamp(2.8rem, 13vw, 5.2rem)/.95 var(--titulos); margin: 0; color: var(--naranja); text-shadow: 0 3px 0 #fff, 0 8px 18px rgba(0, 0, 0, .35); }
html.d .alpaso-d h2 { color: #fff; font-size: clamp(1.5rem, 6vw, 2.4rem); font-weight: 600; margin: .6rem 0 1.6rem; }
.alpaso-d-pasos, .paso-d-pasos { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .8rem; }
.alpaso-d-pasos li { display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 20px; padding: .7rem .9rem; backdrop-filter: blur(4px); }
.alpaso-d-pasos b, .paso-d-pasos b { grid-row: 1 / span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--naranja); color: #fff; font: 700 1.8rem var(--titulos); border: 3px solid #fff; }
.alpaso-d-pasos strong { font: 700 1.4rem var(--titulos); }
.alpaso-d-pasos small { font-size: 1rem; font-weight: 600; opacity: .95; }
@media (min-width: 900px) { .alpaso-d-pasos { grid-template-columns: repeat(5, 1fr); } .alpaso-d-pasos li { grid-template-columns: 1fr; justify-items: center; text-align: center; } .alpaso-d-pasos b { grid-row: auto; } }

/* Página Panna al Paso (/d/pedir) */
.paso-d-cab { position: relative; color: #fff; padding: 2.4rem 0 2rem !important; background: linear-gradient(rgba(43, 38, 36, .55), rgba(43, 38, 36, .8)), var(--fondo) center / cover !important; }
.paso-d-cab h1 { color: #fff !important; font: 600 clamp(1.3rem, 5.5vw, 2rem)/1.2 var(--titulos) !important; text-transform: none !important; margin: .5rem 0 1.2rem; }
.paso-d-pasos { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.paso-d-pasos li { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: .25rem .8rem .25rem .25rem; font: 600 1rem var(--titulos); }
.paso-d-pasos b { width: 34px; height: 34px; font-size: 1.1rem; border-width: 2px; }
html.d .pedir-paso h2 { font-size: 1.55rem; display: flex; align-items: center; gap: .6rem; }
html.d .pedir-paso h2 b { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--naranja); color: #fff; font: 700 1.5rem var(--titulos); flex: none; }
html.d .pedir-local[aria-pressed="true"], html.d .pedir-formato[aria-pressed="true"] { border-color: var(--naranja); box-shadow: 0 0 0 3px var(--naranja); }
.pedir-grupo { grid-column: 1 / -1; margin: .8rem 0 .1rem; font: 700 1.15rem var(--titulos); }
html.d .pedir-formato.con-foto img { width: 100%; height: 92px; object-fit: cover; border-radius: 12px; margin-bottom: .3rem; }
/* La vitrina: sabores con su foto */
html.d .pedir-sabores { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
html.d .pedir-sabor.con-foto { display: grid; grid-template-rows: 84px auto; padding: 0 0 .45rem; overflow: hidden; border-radius: 16px; text-align: center; }
html.d .pedir-sabor.con-foto i { width: 100%; height: 84px; border-radius: 0; background-size: cover !important; background-position: center !important; transition: transform .5s ease; }
html.d .pedir-sabor.con-foto span { padding: .3rem .3rem 0; font-weight: 700; font-size: .9rem; line-height: 1.15; }
html.d .pedir-sabor.con-foto:hover i { transform: scale(1.06); }
html.d .pedir-sabor.con-foto[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--naranja); }
html.d .pedir-off b { background: var(--naranja); color: #fff; font: 700 1.3rem var(--titulos); }
.paso-d-retiro p { font-size: 1.1rem; font-weight: 600; }

/* ---------- 6. Mayorista ---------- */
.mayorista-d { padding: 3rem 0; background: var(--celeste-r-claro); }
.mayorista-d-in { display: grid; gap: 1.6rem; }
.mayorista-d-fotos { position: relative; }
.mayorista-d-fotos .foto-d:first-child { aspect-ratio: 4 / 3; }
.foto-d-chica { position: absolute; right: -6px; bottom: -22px; width: 46%; aspect-ratio: 4 / 3; border: 5px solid #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .2); transform: rotate(3deg); }
.mayorista-d-lista { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.mayorista-d-lista li { background: #fff; border-radius: 14px; padding: .7rem .9rem; font-size: 1.05rem; }
.mayorista-d-lista b { font-family: var(--titulos); font-weight: 700; }
.mayorista-d-sabores { margin: 0 0 1.2rem; }
.mayorista-d-sabores summary { cursor: pointer; font: 700 1.05rem var(--titulos); color: var(--naranja-osc); }
.chips-d { list-style: none; padding: 0; margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips-d li { background: #fff; border-radius: 999px; padding: .3rem .75rem; font-weight: 700; font-size: .9rem; }
.mayorista-d-precios { list-style: none; padding: 0; margin: 0 0 1rem; }
.mayorista-d-precios li { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
@media (min-width: 900px) { .mayorista-d-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; } }

/* ---------- 7. Nuestra historia ---------- */
.historia-d { padding: 3rem 0; background: #fff; }
.historia-d-in { display: grid; gap: 1.4rem; }
.historia-d .foto-d { aspect-ratio: 4 / 3; border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; }
.historia-d p { font-size: 1.1rem; line-height: 1.6; }
@media (min-width: 900px) { .historia-d-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; } }

/* ---------- 8. Tips en casa ---------- */
.tips-d { padding: 3rem 0; background: var(--naranja-claro); }

/* ---------- 9. Pie ---------- */
.pie-d { background: var(--naranja); color: #fff; padding: 2.6rem 0 1.2rem; }
.pie-d-in { display: grid; gap: 1.8rem; }
.pie-d-marca { display: grid; justify-items: start; gap: .4rem; }
/* Logo grande; el slogan a un tercio del ancho del logo (o menos), sin caja */
.pie-d-logo { width: 180px; height: auto; border-radius: 50%; }
.pie-d-slogan { width: 60px; height: auto; }
.pie-d-col { display: grid; gap: .35rem; align-content: start; }
.pie-d-col b { font: 700 1.25rem var(--titulos); }
.pie-d-col a { color: #fff; font-weight: 700; }
.pie-d-col span { font-size: .92rem; margin-bottom: .4rem; }
.pie-d-legal { margin: 1.6rem auto 0; font-size: .85rem; opacity: .9; }
.pie-d-legal a { color: #fff; }
@media (min-width: 900px) { .pie-d-in { grid-template-columns: 1fr 1.3fr 1fr; } }

/* ---------- Páginas internas con la D ---------- */
html.d .cabeza-pagina, html.d .pedir-cab:not(.paso-d-cab), html.d .regala-cab { background: var(--naranja); color: #fff; }
html.d .cabeza-pagina h1, html.d .pedir-cab h1, html.d .regala-cab h1 { color: #fff; }
html.d .cabeza-pagina p, html.d .pedir-cab p, html.d .regala-cab p, html.d .pedir-cab .sobre, html.d .cabeza-pagina .sobre { color: #fff; }
html.d .sabor-c { border-radius: 22px; }

@media (prefers-reduced-motion: reduce) {
    .hd-foto, .hd-logo img, .mancha-d, .confeti-d, .destello-d, .vivo-d-local.abierto .vivo-d-punto { animation: none !important; }
    .garabato-d path, .garabato-d circle { animation: none; stroke-dashoffset: 0; }
    html.d .aparece { opacity: 1; transform: none; transition: none; }
    .foto-d img, .marca-d img, .hd-logo img, .boton-d { transition: none; }
    .lluvia-d { display: none; }
}

/* Nuestra historia: «2011» grande al costado, con aparición suave */
.historia-d-foto { position: relative; }
.historia-d-anio { position: absolute; right: -4px; bottom: -26px; font: 700 clamp(4.2rem, 22vw, 7.5rem)/1 var(--titulos); color: var(--naranja); text-shadow: 0 4px 0 #fff, 0 10px 20px rgba(0, 0, 0, .2);
    opacity: 0; transform: translateX(30px) rotate(-6deg); transition: opacity 1s .3s ease, transform 1s .3s cubic-bezier(.34, 1.56, .64, 1); }
.historia-d-foto.visible .historia-d-anio { opacity: 1; transform: rotate(-6deg); }
.historia-d h2 { margin-top: 1.4rem; }
@media (prefers-reduced-motion: reduce) { .historia-d-anio { opacity: 1; transform: rotate(-6deg); transition: none; } }
.historia-d, .mayorista-d, .hacemos-d, .tips-d { overflow-x: clip; }

/* ===== Revisión de Guillermo en Safari (19/11): héroe proporcionado, sin precios en la portada, redes y contacto ===== */
/* Logo hasta ~36 % del alto visible; el slogan, ~47 % del ancho del logo. Los botones entran en la primera pantalla. */
html.d { --logo-hd: min(56vw, 300px, 36svh); }
.hd { min-height: calc(100svh - 68px - var(--alto-barra)); place-items: center; }
.hd-in { padding: 1.2rem 16px 1.4rem; }
.hd-logo img { width: var(--logo-hd); }
.hd-slogan { width: calc(var(--logo-hd) * .47); margin-top: .8rem; }
.hd-botones { margin-top: 1.1rem; gap: .6rem; }
.hd .boton-d-grande { min-height: 58px; font-size: 1.25rem; }
@media (min-width: 900px) {
    .hd { min-height: calc(100svh - 70px); }
    .hd-botones { grid-template-columns: 1fr 1fr; max-width: 560px; }
}
.pie-d-slogan { width: 85px; }
/* Pannáticos: botón blanco, sin marcas de terceros; el garabato no pisa el texto en el celular */
.boton-d-blanco-d { background: #fff; color: var(--naranja-osc); box-shadow: 0 8px 0 rgba(0, 0, 0, .22); }
.club-d-otro { font-size: 1.1rem; }
@media (max-width: 899px) { .club-d .garabato-d, .club-d .destello-d { display: none; } }
/* Productos sin precio: círculos más chicos, grilla pareja y centrada */
.circulos-d { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; justify-items: center; }
.circulos-d .producto-d { width: 100%; max-width: 150px; text-align: center; justify-items: center; }
.circulos-d .producto-d .foto-d { width: 100%; aspect-ratio: 1; border-radius: 50% !important; }
.circulos-d .producto-d b { font-size: 1rem; line-height: 1.15; }
@media (min-width: 900px) {
    .circulos-d { grid-template-columns: repeat(auto-fit, minmax(150px, 170px)); justify-content: center; gap: 22px 28px; }
    .circulos-d .producto-d { max-width: 170px; }
    .sub-d { text-align: center; }
    .nota-d { text-align: center; }
}
/* Redes en círculos, bien visibles */
.redes-d { list-style: none; display: flex; gap: 10px; padding: 0; margin: .8rem 0 0; }
.redes-d a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--naranja-osc); transition: transform .3s var(--rebote); }
.redes-d a:hover { transform: translateY(-3px) rotate(-8deg); }
.redes-d-oscuras a { background: var(--naranja); color: #fff; }
/* Contacto */
.contacto-d { padding: 3rem 0; background: var(--celeste-r-claro); }
.contacto-d-in { display: grid; gap: 1.6rem; }
.contacto-d p { font-size: 1.1rem; }
.contacto-d-form { display: grid; gap: .8rem; background: #fff; border-radius: var(--radio); padding: 1.2rem; box-shadow: 0 10px 24px rgba(43, 38, 36, .1); }
.contacto-d-form label { display: grid; gap: .3rem; font: 600 1rem var(--titulos); }
.contacto-d-form input, .contacto-d-form textarea { font: 500 1.05rem var(--texto); padding: .75rem .9rem; border: 2px solid #E7E1DA; border-radius: 14px; background: #fff; color: var(--tinta); }
.contacto-d-form input:focus, .contacto-d-form textarea:focus { outline: none; border-color: var(--naranja); }
.contacto-d-ok { background: var(--celeste-r-claro); border-radius: 12px; padding: .6rem .8rem; font-weight: 800; margin: 0; }
.contacto-d-form .boton-d { justify-self: start; }
@media (min-width: 900px) { .contacto-d-in { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 3rem; } }

/* ===== Más colores de la paleta de Helapanna (Guillermo, 19/11): títulos en marrón chocolate, fondos alternados
   celeste suave / crema / naranja, y detalles con los acentos (celeste del logo, mostaza, turquesa, salvia). Sin rosa. ===== */
html.d {
    --chocolate: #4B4744;                                           /* café de la paleta */
    --celeste-logo: #69C7EE;
    --mostaza-p: #D69A2D;
    --turquesa-p: #8AC5CB;
    --salvia-p: #A9C2A3;
    --crema-p: #F7F4F1;
    --celeste-suave: color-mix(in srgb, #69C7EE 16%, #fff);
    --mostaza-suave: color-mix(in srgb, #D69A2D 14%, #fff);
}
html.d h1, html.d h2, html.d h3, .producto-d b, .tarjeta-foto-d-texto b { color: var(--chocolate); }
.tarjeta-foto-d-texto b { color: #fff; }
html.d .sobre, .sobre-d { color: var(--naranja-osc); }
.hacemos-d { background: var(--crema-p); }
.mayorista-d { background: var(--celeste-suave); }
.historia-d { background: var(--mostaza-suave); }
.tips-d { background: var(--celeste-suave); }
.contacto-d { background: var(--crema-p); }
.vivo-d { background: var(--chocolate); }
/* Papelitos de colores */
.confeti-d { background-image: radial-gradient(circle, rgba(255, 255, 255, .95) 1.8px, transparent 2.4px), radial-gradient(circle, var(--celeste-logo) 2.2px, transparent 2.8px),
    radial-gradient(circle, var(--mostaza-p) 2px, transparent 2.6px), radial-gradient(circle, var(--turquesa-p) 1.6px, transparent 2.2px);
    background-size: 46px 52px, 71px 63px, 59px 77px, 37px 41px; background-position: 0 0, 23px 31px, 41px 7px, 11px 19px; }
/* Números de paso y chips con los acentos */
.club-d-pasos li:nth-child(1) b { background: var(--celeste-logo); }
.club-d-pasos li:nth-child(2) b { background: var(--mostaza-p); color: #fff; }
.club-d-pasos li:nth-child(3) b { background: var(--turquesa-p); }
.alpaso-d-pasos li:nth-child(2) b { background: var(--celeste-logo); color: var(--chocolate); }
.alpaso-d-pasos li:nth-child(3) b { background: var(--mostaza-p); }
.alpaso-d-pasos li:nth-child(4) b { background: var(--turquesa-p); color: var(--chocolate); }
.alpaso-d-pasos li:nth-child(5) b { background: var(--salvia-p); color: var(--chocolate); }
.paso-d-pasos li:nth-child(2) b { background: var(--celeste-logo); color: var(--chocolate); }
.paso-d-pasos li:nth-child(3) b { background: var(--mostaza-p); }
.paso-d-pasos li:nth-child(4) b { background: var(--turquesa-p); color: var(--chocolate); }
.paso-d-pasos li:nth-child(5) b { background: var(--salvia-p); color: var(--chocolate); }
.chips-d li:nth-child(4n+1) { background: var(--celeste-suave); }
.chips-d li:nth-child(4n+2) { background: var(--mostaza-suave); }
.chips-d li:nth-child(4n+3) { background: color-mix(in srgb, #A9C2A3 25%, #fff); }
.chips-d li:nth-child(4n) { background: #fff; }
.mayorista-d-lista li { border-left: 6px solid var(--celeste-logo); }
.mayorista-d-lista li:nth-child(2) { border-left-color: var(--mostaza-p); }
.mayorista-d-lista li:nth-child(3) { border-left-color: var(--naranja); }
.circulos-d .producto-d:nth-child(3n+1) .foto-d { box-shadow: 0 0 0 5px var(--celeste-logo); }
.circulos-d .producto-d:nth-child(3n+2) .foto-d { box-shadow: 0 0 0 5px var(--mostaza-p); }
.circulos-d .producto-d:nth-child(3n) .foto-d { box-shadow: 0 0 0 5px var(--naranja); }
.historia-d-anio { color: var(--celeste-logo); text-shadow: 0 4px 0 var(--chocolate), 0 10px 20px rgba(0, 0, 0, .2); }
html.d .pedir-paso h2 b { background: var(--chocolate); }
.cta-d-club, .barra-d-club { background: var(--celeste-logo); color: var(--chocolate); }
.boton-d-celeste { background: var(--celeste-logo); color: var(--chocolate); box-shadow: 0 7px 0 color-mix(in srgb, #69C7EE 55%, #000); }
html.d .menu-d a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1180px) {
    html.d .menu-d { gap: 0; }
    html.d .menu-d a { font-size: .95rem; padding-left: .5rem; padding-right: .5rem; }
    .cta-d a { padding: 0 .8rem; font-size: 1rem; }
}
.club-d-otro { display: inline-block; background: rgba(75, 71, 68, .55); border-radius: 999px; padding: .4rem 1.1rem; }

/* ===== Revisión 2 en Safari (1000 × 600): logo ~27 % del alto (tope 240 px) y el slogan ~80 % del logo, como firma ===== */
html.d { --logo-hd: min(52vw, 240px, 27svh); }
@media (max-width: 899px) { html.d { --logo-hd: min(50vw, 220px, 28svh); } }
.hd-slogan { width: calc(var(--logo-hd) * .8); margin-top: .9rem; }
.hd-in { padding-top: 1rem; padding-bottom: 1.2rem; }
/* Pie: logo más chico y el slogan ~85 % del logo */
.pie-d-logo { width: 160px; }
.pie-d-slogan { width: 136px; }

/* ===== Momentos Panna: collage con leve rotación y aparición suave ===== */
.momentos-d { position: relative; overflow: hidden; padding: 3.2rem 0 3.6rem; background: var(--celeste-logo); }
.momentos-d .caja { position: relative; z-index: 1; }
html.d .momentos-d h2 { color: var(--chocolate); }
.momentos-d-bajada { font-size: 1.15rem; font-weight: 700; max-width: 36rem; margin: 0 0 1.8rem; color: var(--chocolate); }
.momentos-d-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.momento-d { margin: 0; position: relative; background: #fff; padding: 8px 8px 0; border-radius: 18px; box-shadow: 0 12px 24px rgba(43, 38, 36, .2); }
.momento-d .foto-d { aspect-ratio: 4 / 5; border-radius: 12px; }
.momento-d figcaption { font: 700 1.05rem var(--titulos); color: var(--chocolate); text-align: center; padding: .55rem 0 .65rem; }
html.d .momento-d.aparece { transform: translateY(30px) rotate(0deg) scale(.94); transition: opacity .8s ease, transform .9s cubic-bezier(.34, 1.56, .64, 1); }
html.d .momento-d:nth-child(1).visible { transform: rotate(-3deg); }
html.d .momento-d:nth-child(2).visible { transform: rotate(2.5deg) translateY(10px); transition-delay: .1s; }
html.d .momento-d:nth-child(3).visible { transform: rotate(2deg); transition-delay: .2s; }
html.d .momento-d:nth-child(4).visible { transform: rotate(-2.5deg) translateY(10px); transition-delay: .3s; }
.momento-d:nth-child(1) figcaption { border-top: 4px solid var(--naranja); }
.momento-d:nth-child(2) figcaption { border-top: 4px solid var(--mostaza-p); }
.momento-d:nth-child(3) figcaption { border-top: 4px solid var(--turquesa-p); }
.momento-d:nth-child(4) figcaption { border-top: 4px solid var(--salvia-p); }
@media (min-width: 900px) { .momentos-d-collage { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
@media (prefers-reduced-motion: reduce) { html.d .momento-d.aparece, html.d .momento-d.visible { transform: none; transition: none; } }

/* ===== Revisión 3 (Guillermo, Safari 1000 × 600): más cool, elegante y moderno =====
   Fondos lisos de la paleta (sin puntitos, ondas ni garabatos), títulos ≤ 48 px, aire justo, animaciones finas:
   aparición suave escalonada (fade + 20 px, ~600 ms), hover sutil (elevar 4 px + sombra + zoom leve). Sin rebotes. */
html.d { --suave-d: cubic-bezier(.16, 1, .3, 1); }
.fondo-d, .garabato-d, .destello-d, .lluvia-d { display: none !important; }
html.d h2, html.d .club-d h2 { font-size: clamp(1.85rem, 6.2vw, 3rem); line-height: 1.05; }
.sub-d { font-size: clamp(1.3rem, 4vw, 1.6rem); }
.alpaso-d-marca, .paso-d-marca { font-size: clamp(2.3rem, 9vw, 3rem); text-shadow: none; color: var(--naranja); }
html.d .alpaso-d h2 { font-size: clamp(1.2rem, 4.5vw, 1.6rem); }
/* Una sola forma grande y suave por sección de color, en vez de patrones */
.club-d::before, .momentos-d::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -30vmax; top: -40vmax; border-radius: 50%;
    background: rgba(255, 255, 255, .1); pointer-events: none; }
.club-d { background: var(--naranja); padding: 2.2rem 0 2.4rem; }
.momentos-d { background: var(--celeste-logo); padding: 2.2rem 0 2.4rem; }

/* Aparición suave y escalonada */
html.d .aparece { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--suave-d), transform .6s var(--suave-d); }
html.d .aparece.visible { opacity: 1; transform: none; }
html.d :is(.club-d-pasos, .hacemos-d-grilla, .circulos-d, .momentos-d-collage, .alpaso-d-pasos) > :nth-child(2) { transition-delay: .08s; }
html.d :is(.club-d-pasos, .hacemos-d-grilla, .circulos-d, .momentos-d-collage, .alpaso-d-pasos) > :nth-child(3) { transition-delay: .16s; }
html.d :is(.club-d-pasos, .hacemos-d-grilla, .circulos-d, .momentos-d-collage, .alpaso-d-pasos) > :nth-child(4) { transition-delay: .24s; }
html.d :is(.club-d-pasos, .hacemos-d-grilla, .circulos-d, .momentos-d-collage, .alpaso-d-pasos) > :nth-child(5) { transition-delay: .32s; }
/* Sin rebotes: botones, logo y entradas con curvas suaves */
.boton-d, .marca-d img, .hd-logo img, .redes-d a { transition: transform .35s var(--suave-d), box-shadow .35s ease, background-color .2s ease; }
.boton-d:hover { transform: translateY(-2px); }
.marca-d:hover img { transform: rotate(-8deg); }
.hd-logo img { animation: entra-suave-d .9s var(--suave-d) both; }
.hd-logo:hover img, .hd-logo.gira img { transform: rotate(-8deg); }
.hd-slogan { animation: entra-suave-d .9s .15s var(--suave-d) both; }
.hd-botones, .hd-off { animation: entra-suave-d .9s .3s var(--suave-d) both; }
@keyframes entra-suave-d { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hd-foto { animation: acerca-suave-d 14s ease-out both; }
@keyframes acerca-suave-d { from { transform: scale(1.05); } to { transform: none; } }
.redes-d a:hover { transform: translateY(-2px); }
.historia-d-anio { transition: opacity .8s .2s var(--suave-d), transform .8s .2s var(--suave-d); }

/* Hover sutil en tarjetas: elevar 4 px + sombra suave + zoom leve de la foto */
:is(.tarjeta-foto-d, .producto-d, .club-d-pasos li, .momento-d) { transition: transform .45s var(--suave-d), box-shadow .45s ease, opacity .6s var(--suave-d); }
.tarjeta-foto-d:hover, .club-d-pasos li:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(43, 38, 36, .18); }
.producto-d:hover { transform: translateY(-4px); }
.foto-d img { transition: transform .8s var(--suave-d); }
a:hover .foto-d img, .foto-d:hover img, .momento-d:hover .foto-d img, .club-d-pasos li:hover .foto-d img { transform: scale(1.04); }
html.d .sabor-c:hover { transform: translateY(-4px); }

/* Momentos: más chico; las 4 polaroids entran con el título en 1000 × 600 */
.momentos-d-bajada { font-size: 1.05rem; margin-bottom: 1.2rem; }
.momento-d { padding: 7px 7px 0; border-radius: 14px; box-shadow: 0 8px 20px rgba(43, 38, 36, .16); }
.momento-d figcaption { font-size: .98rem; padding: .45rem 0 .5rem; }
html.d .momento-d.aparece { transform: translateY(20px); transition: opacity .6s var(--suave-d), transform .6s var(--suave-d), box-shadow .45s ease; }
html.d .momento-d:nth-child(1).visible { transform: rotate(-1.5deg); }
html.d .momento-d:nth-child(2).visible { transform: rotate(1.2deg); }
html.d .momento-d:nth-child(3).visible { transform: rotate(-1deg); }
html.d .momento-d:nth-child(4).visible { transform: rotate(1.5deg); }
html.d .momento-d.visible:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 16px 30px rgba(43, 38, 36, .22); }
@media (min-width: 900px) {
    .momentos-d-collage { max-width: 940px; margin: 0 auto; gap: 20px; }
    .momento-d .foto-d { aspect-ratio: auto; height: 210px; }
}

/* Pannáticos compacto: título, 3 pasos y botón en una pantalla de 1000 × 600 */
.club-d-pasos { margin: .2rem 0 1.4rem; gap: .8rem; }
.club-d-pasos li { box-shadow: 0 6px 18px rgba(0, 0, 0, .12); border-radius: 18px; }
.club-d-pasos strong { font-size: 1.25rem; }
.club-d-pasos small { font-size: .95rem; }
.club-d-pasos b { width: 34px; height: 34px; font-size: 1.05rem; }
.boton-d-gigante { min-height: 56px; font-size: 1.2rem; max-width: 340px; width: auto; padding: 0 2.2rem; }
.boton-d-blanco-d { box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.club-d-otro { font-size: 1rem; margin-top: .9rem; background: none; padding: 0; }
@media (min-width: 900px) {
    .club-d-pasos { max-width: 860px; }
    .club-d-pasos li { padding: .6rem .6rem .9rem; }
    .club-d-pasos .foto-d { height: 130px; margin-bottom: .4rem; }
}

/* Aire justo en el resto */
.hacemos-d, .mayorista-d, .historia-d, .tips-d, .contacto-d { padding: 2.4rem 0; }
.alpaso-d { padding: 2.6rem 0; }
.tarjeta-foto-d { box-shadow: 0 8px 20px rgba(43, 38, 36, .12); }
.boton-d-naranja { box-shadow: 0 6px 18px rgba(252, 90, 0, .3); }
.boton-d-celeste { box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
html.d .boton-c-oscuro { box-shadow: 0 6px 18px rgba(252, 90, 0, .28); }

/* Pie más chico y proporcionado (≤ ~280 px de alto en PC) */
.pie-d { padding: 1.5rem 0 .7rem; }
.pie-d-in { gap: 1.2rem; }
.pie-d-marca { gap: .3rem; }
.pie-d-logo { width: 115px; }
.pie-d-slogan { width: 98px; }
.redes-d { margin-top: .4rem; gap: 8px; }
.redes-d a { width: 40px; height: 40px; }
.redes-d svg { width: 21px; height: 21px; }
.pie-d-col { gap: .2rem; }
.pie-d-col b { font-size: 1.05rem; }
.pie-d-col a { font-size: .95rem; }
.pie-d-col span { font-size: .85rem; margin-bottom: .25rem; }
.pie-d-legal { margin-top: .8rem; font-size: .8rem; }
@media (min-width: 900px) { .pie-d-in { grid-template-columns: auto 1fr 1fr; gap: 3rem; align-items: start; } }

@media (prefers-reduced-motion: reduce) {
    html.d .aparece, html.d .momento-d.aparece { opacity: 1; transform: none; transition: none; }
    .hd-logo img, .hd-slogan, .hd-botones, .hd-off, .hd-foto { animation: none; }
    :is(.tarjeta-foto-d, .producto-d, .club-d-pasos li, .momento-d) { transition: none; }
}
html.d .club-d h2 { text-shadow: none; }

/* ===== Pie elegido (maqueta pie-b2): chocolate, todo centrado, ≤ ~300 px en PC 1000 ===== */
.pie-d { position: relative; overflow: hidden; text-align: center; color: #fff; padding: 32px 24px 14px;
    background: radial-gradient(120% 140% at 85% 100%, #5a524d 0%, #3f3936 60%, #342f2c 100%); }
.pie-d > :not(.pie-d-sonrisa) { position: relative; z-index: 1; }
.pie-d a { color: #fff; text-decoration: none; }
/* La sonrisa del logo como marca de agua: ENTERA dentro del pie (abajo a la derecha, con margen) */
.pie-d-sonrisa { position: absolute; z-index: 0; right: 28px; bottom: 18px; width: 360px; height: auto; fill: none; stroke: #6BC9EE; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; opacity: .14; pointer-events: none; }
.pie-d-sonrisa .punta { stroke-width: 12; }
.pie-d-marca { display: inline-flex; flex-direction: row; align-items: center; gap: 18px; }
.pie-d-logo { width: 84px; height: auto; border-radius: 50%; }
.pie-d-slogan { width: 112px; height: auto; }
.pie-d-menu { max-width: 820px; margin: 18px auto 0; display: flex; justify-content: space-between; font: 600 16px var(--titulos); }
.pie-d-menu a:hover { color: var(--naranja); }
.pie-d-sep { max-width: 820px; height: 1px; margin: 18px auto; background: rgba(255, 255, 255, .15); }
.pie-d-suc { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.pie-d-local { display: grid; justify-items: center; gap: 1px; }
.pie-d-nombre { display: inline-flex; align-items: center; gap: 6px; font: 600 17px var(--titulos); margin-bottom: 2px; }
.pie-d-nombre svg { width: 20px; height: 20px; fill: #6BC9EE; color: #6BC9EE; }
.pie-d-dir, .pie-d-local span { font-size: 14px; opacity: .92; line-height: 1.45; }
.pie-d-llegar { display: inline-block; margin-top: 7px; font: 600 13px var(--titulos); padding: 4px 13px; border-radius: 999px; background: var(--naranja); border: 1.5px solid var(--naranja); }
.pie-d-llegar:hover { background: transparent; }
.pie-d-redes { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.pie-d-redes a { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(107, 201, 238, .8); align-items: center; justify-content: center; color: #6BC9EE; transition: transform .35s var(--suave-d), background-color .2s ease; }
.pie-d-redes a:hover { transform: translateY(-2px); background: rgba(107, 201, 238, .12); }
.pie-d-redes svg { width: 19px; height: 19px; fill: #6BC9EE; }
.pie-d-base { max-width: 820px; margin: 18px auto 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; opacity: .9; }
@media (max-width: 899px) {
    .pie-d { padding: 28px 16px 14px; }
    .pie-d-menu { flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 15px; }
    .pie-d-suc { grid-template-columns: 1fr; gap: 18px; }
    .pie-d-redes { justify-content: center; order: 3; }
    .pie-d-sonrisa { width: 200px; right: 16px; bottom: 14px; }
    .pie-d-base { line-height: 1.6; }
}

/* ===== Fondo de Pannáticos (opción A): degradé naranja + la sonrisa del logo entera como marca de agua ===== */
.club-d { background: radial-gradient(120% 140% at 15% 0%, #FF7A26 0%, #FC5A00 45%, #E04E00 100%); }
.club-d::before { display: none; }
.club-d-sonrisa { position: absolute; z-index: 0; right: 40px; bottom: 28px; width: 460px; height: auto; fill: none; stroke: #fff; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; opacity: .13; pointer-events: none; }
.club-d-sonrisa .punta { stroke-width: 12; }
@media (max-width: 899px) { .club-d-sonrisa { width: 240px; right: 16px; bottom: 16px; } }

/* La sonrisa de marca de agua es la OFICIAL (recortada del logo horizontal, con su ganchito final): marca/sonrisa-blanca.png,
   teñida con máscara (celeste en el pie, blanca en Pannáticos). Entera dentro de la sección. */
.pie-d-sonrisa, .club-d-sonrisa { position: absolute; z-index: 0; display: block; aspect-ratio: 410 / 136; height: auto; pointer-events: none;
    -webkit-mask: url("marca/sonrisa-blanca.png") center / contain no-repeat; mask: url("marca/sonrisa-blanca.png") center / contain no-repeat; }
.pie-d-sonrisa { right: 28px; bottom: 16px; width: 330px; background: #6BC9EE; opacity: .14; }
.club-d-sonrisa { right: 40px; bottom: 28px; width: 460px; background: #fff; opacity: .13; }
@media (max-width: 899px) { .pie-d-sonrisa { width: 190px; right: 16px; bottom: 12px; } .club-d-sonrisa { width: 230px; right: 16px; bottom: 14px; } }
/* Pie más bajo (≤ ~300 px en PC 1000) */
.pie-d { padding: 26px 24px 12px; }
.pie-d-logo { width: 72px; }
.pie-d-slogan { width: 104px; }
.pie-d-menu { margin-top: 14px; font-size: 15.5px; }
.pie-d-sep { margin: 14px auto; }
.pie-d-nombre { font-size: 16px; margin-bottom: 0; }
.pie-d-dir, .pie-d-local span { font-size: 13.5px; line-height: 1.35; }
.pie-d-llegar { margin-top: 5px; padding: 3px 12px; font-size: 12.5px; }
.pie-d-base { margin-top: 14px; padding-top: 10px; font-size: 12.5px; }
.pie-d-sonrisa { opacity: .16; }
.club-d-sonrisa { opacity: .14; }
.pie-d { padding-top: 20px; }
.pie-d-sep { margin: 12px auto; }
.pie-d-base { margin-top: 12px; }

/* ===== Revisión 5 (maquetas heroe / pannaticos-final2 / pie-final2) ===== */
/* Héroe con más aire: logo 140 px con sombra, slogan 150 px a 14 px, botones 250 × 58 separados 56 px, frase a 36 px. */
.hd-logo img { width: 140px; border-radius: 50%; box-shadow: none; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .25)); }
.hd-slogan { width: 150px; margin-top: 14px; }
.hd-botones { display: flex; justify-content: center; gap: 56px; margin-top: 56px; max-width: none; width: auto; }
.hd .boton-d-grande { width: 250px; min-height: 58px; height: 58px; padding: 0; font-size: 1.25rem; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.hd-off { margin-top: 36px; font-size: 1.06rem; }
.hd-in { padding-top: 1rem; padding-bottom: 1rem; }
@media (min-width: 1300px) and (min-height: 850px) { .hd-logo img { width: 160px; } .hd-slogan { width: 170px; } }
@media (max-width: 899px) {
    .hd-logo img { width: 150px; }
    .hd-slogan { width: 160px; margin-top: 12px; }
    .hd-botones { flex-direction: column; align-items: center; gap: 16px; margin-top: 34px; }
    .hd .boton-d-grande { width: min(300px, 82vw); }
    .hd-off { margin-top: 24px; }
}
/* Pannáticos: la sonrisa oficial centrada debajo del título, blanca, como en el slogan */
.club-d-sonrisa { position: static; display: block; width: 120px; margin: -.3rem auto 1.4rem; background: #fff; opacity: .95; right: auto; bottom: auto; }
html.d .club-d-sonrisa.aparece.visible { opacity: .95; }
@media (max-width: 899px) { .club-d-sonrisa { width: 110px; } }
/* Pie: los 3 íconos y la sonrisa debajo forman una carita */
.pie-d-carita { display: grid; justify-items: center; gap: 6px; }
.pie-d-sonrisa { position: static; width: 150px; background: #6BC9EE; opacity: .35; right: auto; bottom: auto; }
@media (max-width: 899px) { .pie-d-carita { order: 3; } .pie-d-sonrisa { width: 140px; } }
@media (min-width: 900px) { .club-d { padding-top: 1.6rem; padding-bottom: 1.8rem; } .club-d-pasos .foto-d { height: 100px; } .club-d-sonrisa { width: 110px; margin: -.5rem auto .9rem; } .club-d-pasos { margin-bottom: 1.1rem; } .club-d-pasos li { padding-bottom: .7rem; } }
@media (max-width: 899px) { .pie-d-carita .pie-d-redes { order: 0; } }

/* ===== Héroe con la foto de Guillermo (20/11): fondo celeste limpio, marca a la izquierda, cucurucho a la derecha ===== */
.hd-ia { display: block; background: radial-gradient(70% 90% at 68% 50%, #96D7F2 0%, #8FD2EF 55%, #84CAE8 100%); color: var(--chocolate); min-height: 0; }
.hd-ia .hd-in { position: relative; z-index: 2; text-align: left; justify-items: start; max-width: none; }
.hd-ia .hd-logo img { width: 140px; border: 5px solid #fff; box-shadow: 0 10px 24px -8px rgba(43, 38, 36, .4); filter: none; }
.hd-ia .hd-slogan { width: 150px; margin-top: 14px; filter: none; }
.hd-ia .hd-botones { justify-content: flex-start; }
.hd-ia .hd-off { color: var(--chocolate); text-shadow: none; }
.hd-ia .hd-off b { color: #fff; }
.boton-d-blanco-hd { background: #fff; color: var(--chocolate); }
.hd-cucurucho { display: block; }
.hd-cucurucho img { display: block; }
@media (min-width: 900px) {
    .hd-ia { height: calc(100svh - 70px); min-height: 520px; max-height: 860px; overflow: hidden; }
    .hd-ia .hd-in { position: absolute; left: max(32px, calc((100% - 1180px) / 2)); top: 50%; transform: translateY(-50%); width: auto; padding: 0; }
    /* El cucurucho a la derecha: la foto a todo el alto, centrada en el 70 % del ancho, con el borde izquierdo fundido en el celeste */
    .hd-cucurucho img { position: absolute; top: 0; height: 100%; width: auto; max-width: none; left: 70%; transform: translateX(-50%);
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 88%, transparent 100%); }
    .hd-ia .hd-botones { gap: 20px; }
    .hd-ia .boton-d-grande { width: 230px; }
}
@media (min-width: 900px) and (max-width: 1100px) { .hd-cucurucho img { left: 73%; } .hd-ia .boton-d-grande { width: 210px; } .hd-ia .hd-botones { gap: 16px; } }
@media (max-width: 899px) {
    .hd-ia { background: linear-gradient(#8FD3F1, #8FD3F1 60%, #89CFEE); }
    .hd-ia .hd-in { justify-items: center; text-align: center; padding: 1.4rem 16px .4rem; }
    .hd-ia .hd-logo img { width: 112px; }
    .hd-ia .hd-slogan { width: 130px; margin-top: 10px; }
    .hd-ia .hd-botones { margin-top: 18px; gap: 12px; }
    .hd-ia .boton-d-grande { min-height: 54px; height: 54px; }
    .hd-ia .hd-off { margin-top: 12px; font-size: .98rem; }
    .hd-cucurucho img { width: 100%; height: auto; margin-top: -6px;
        -webkit-mask-image: linear-gradient(transparent 0, #000 12%); mask-image: linear-gradient(transparent 0, #000 12%); }
}
@media (prefers-reduced-motion: reduce) { .hd-cucurucho img { animation: none; } }

/* ===== Así lo servimos: clips reales cortos, verticales, con póster ===== */
.clips-d { padding: 2.4rem 0; background: var(--crema-p); }
.clips-d h2 { margin-bottom: 1.2rem; }
.clips-d-grilla { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; }
.clip-d { margin: 0; scroll-snap-align: start; }
.clip-d video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--celeste-suave); box-shadow: 0 8px 20px rgba(43, 38, 36, .14); }
.clip-d figcaption { font: 600 1rem var(--titulos); color: var(--chocolate); text-align: center; padding-top: .5rem; }
@media (min-width: 900px) {
    .clips-d-grilla { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 0 auto; gap: 20px; overflow: visible; }
    .clip-d video { aspect-ratio: 3 / 4; }
}

/* ===== Panna al Paso sobre la foto cenital celeste (20/11): texto a la izquierda en el celeste, sin velo ===== */
html.d { --celeste-foto: #96CDE8; }
.alpaso-d { background: var(--celeste-foto) var(--fondo) right center / auto 100% no-repeat; color: var(--chocolate); padding: 2.4rem 0; }
.alpaso-d-marca { color: var(--naranja); text-shadow: none; }
html.d .alpaso-d h2 { color: var(--chocolate); font-weight: 700; }
.alpaso-d .caja { max-width: var(--ancho); }
.alpaso-d-pasos { grid-template-columns: 1fr !important; max-width: 420px; gap: .5rem; margin-bottom: 1.4rem; }
.alpaso-d-pasos li { grid-template-columns: 44px 1fr !important; justify-items: start !important; text-align: left !important; background: rgba(255, 255, 255, .55);
    border: 0; backdrop-filter: none; padding: .45rem .7rem; border-radius: 16px; color: var(--chocolate); }
.alpaso-d-pasos b { grid-row: 1 / span 2 !important; width: 40px; height: 40px; font-size: 1.25rem; border-width: 2px; }
.alpaso-d-pasos strong { font-size: 1.1rem; }
.alpaso-d-pasos small { font-size: .9rem; opacity: 1; }
@media (min-width: 900px) {
    .alpaso-d { min-height: 560px; display: flex; align-items: center; }
    .alpaso-d .caja { width: 100%; }
    .alpaso-d .caja > * { max-width: 42%; }
}
@media (max-width: 899px) {
    .alpaso-d { background: var(--celeste-foto); padding: 0 0 2.2rem; }
    .alpaso-d::before { content: ""; display: block; height: 62vw; background: var(--fondo) 88% center / cover no-repeat; margin-bottom: 1.4rem; }
}
/* Encabezado de /d/pedir con la misma foto */
.paso-d-cab { color: var(--chocolate); background: var(--celeste-foto) var(--fondo) right center / auto 100% no-repeat !important; }
.paso-d-cab h1 { color: var(--chocolate) !important; }
.paso-d-cab .paso-d-marca { color: var(--naranja); text-shadow: none; }
.paso-d-pasos li { background: rgba(255, 255, 255, .6); color: var(--chocolate); }
@media (min-width: 900px) { .paso-d-cab .caja > * { max-width: 48%; } }
@media (max-width: 899px) {
    .paso-d-cab { background: var(--celeste-foto) !important; padding-top: 0 !important; }
    .paso-d-cab::before { content: ""; display: block; height: 52vw; background: var(--fondo) 88% center / cover no-repeat; margin-bottom: 1rem; }
}
@media (min-width: 900px) {
    .alpaso-d { background-position: right -14vw center; }
    .alpaso-d .caja > * { max-width: 40%; }
    .alpaso-d-pasos li { padding: .35rem .6rem; }
    .alpaso-d-pasos small { font-size: .85rem; }
    .paso-d-cab { background-position: right -14vw center !important; }
    .paso-d-cab .caja > * { max-width: 44%; }
}
html.d .paso-d-cab .paso-d-marca { color: var(--naranja) !important; }
@media (min-width: 900px) { .paso-d-cab { background-position: right center !important; } }
/* «Así lo servimos» con 2 clips: grilla pareja y centrada */
.clips-d-grilla { grid-auto-columns: 46%; justify-content: center; }
@media (min-width: 900px) { .clips-d-grilla { grid-template-columns: repeat(2, 1fr); max-width: 520px; } }
/* «Así lo servimos» con 3 clips: en PC 3 parejos; en celular, en fila con scroll horizontal */
.clips-d-grilla { grid-auto-columns: 58%; justify-content: start; }
@media (min-width: 900px) { .clips-d-grilla { grid-template-columns: repeat(3, 1fr); max-width: 780px; } }

/* ===== «Lo que hacemos» (20/11): foto completa arriba, texto abajo en una franja de color (nada encima de la foto) ===== */
.hacemos-d-grilla .tarjeta-foto-d { display: flex; flex-direction: column; aspect-ratio: auto; color: var(--chocolate); background: #fff; }
.hacemos-d-grilla .tarjeta-foto-d .foto-d { position: relative; inset: auto; aspect-ratio: 4 / 3; border-radius: 0; background: #fff; flex: none; }
.hacemos-d-grilla .tarjeta-foto-d .foto-d img { object-fit: contain; padding: 6px; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(1) .foto-d { background: #69C7EE; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(2) .foto-d { background: #FC5A00; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(3) .foto-d { background: #F7F4F1; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(4) .foto-d { background: #EFE7DD; }
.hacemos-d-grilla .tarjeta-foto-d-texto { position: static; flex: 1; background: none; padding: .8rem .9rem 1rem; color: var(--chocolate); }
.hacemos-d-grilla .tarjeta-foto-d-texto b { color: var(--chocolate); font-size: 1.2rem; }
.hacemos-d-grilla .tarjeta-foto-d-texto small { color: var(--chocolate); opacity: .85; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(1) .tarjeta-foto-d-texto { background: var(--celeste-suave); }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(2) .tarjeta-foto-d-texto { background: var(--naranja-claro); }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(3) .tarjeta-foto-d-texto { background: var(--mostaza-suave); }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(4) .tarjeta-foto-d-texto { background: color-mix(in srgb, #A9C2A3 25%, #fff); }
.hacemos-d-grilla { align-items: stretch; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(4) .foto-d img { padding: 0; object-fit: cover; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(3) .foto-d { background: #D69A2D; }
html.d .pedir-formato.con-foto img { object-fit: contain; background: #E7F6FC; height: 110px; padding: 4px; }
.mayorista-d-fotos { align-self: center; } .mayorista-d-fotos .foto-d:first-child { aspect-ratio: 4 / 3; }

/* ===== Pulido (20/11): rebordes de color prolijos, polaroids, «Lo que hacemos» parejo, sello 2011 ===== */
/* Mayorista: la franja es el borde izquierdo de la misma tarjeta (ancho parejo, mismo radio) */
.mayorista-d-lista li { border-left: 0; box-shadow: inset 6px 0 0 var(--celeste-logo); padding-left: 1.1rem; }
.mayorista-d-lista li:nth-child(2) { box-shadow: inset 6px 0 0 var(--mostaza-p); }
.mayorista-d-lista li:nth-child(3) { box-shadow: inset 6px 0 0 var(--naranja); }
/* Mismo lenguaje en los pasos de Pannáticos y Panna al Paso */
.alpaso-d-pasos li { box-shadow: inset 6px 0 0 var(--naranja); }
.alpaso-d-pasos li:nth-child(2) { box-shadow: inset 6px 0 0 var(--celeste-logo); }
.alpaso-d-pasos li:nth-child(3) { box-shadow: inset 6px 0 0 var(--mostaza-p); }
.alpaso-d-pasos li:nth-child(4) { box-shadow: inset 6px 0 0 var(--turquesa-p); }
.alpaso-d-pasos li:nth-child(5) { box-shadow: inset 6px 0 0 var(--salvia-p); }
/* Polaroids: la línea de color va dentro de la tarjeta, del ancho exacto de la foto y rota con ella */
.momento-d figcaption { border-top: 0 !important; position: relative; margin-top: 6px; }
.momento-d figcaption::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 4px; border-radius: 2px; background: var(--naranja); }
.momento-d:nth-child(2) figcaption::before { background: var(--mostaza-p); }
.momento-d:nth-child(3) figcaption::before { background: var(--turquesa-p); }
.momento-d:nth-child(4) figcaption::before { background: var(--salvia-p); }
/* Lo que hacemos: franjas de texto todas iguales (blanco), con un reborde superior de color; mismo alto y alineación */
.hacemos-d-grilla .tarjeta-foto-d .tarjeta-foto-d-texto { background: #fff !important; box-shadow: inset 0 6px 0 var(--celeste-logo); display: flex; flex-direction: column; justify-content: flex-start; gap: .25rem; padding-top: 1rem; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(2) .tarjeta-foto-d-texto { box-shadow: inset 0 6px 0 var(--naranja); }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(3) .tarjeta-foto-d-texto { box-shadow: inset 0 6px 0 var(--mostaza-p); }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(4) .tarjeta-foto-d-texto { box-shadow: inset 0 6px 0 var(--salvia-p); }
.hacemos-d-grilla .tarjeta-foto-d-texto b { line-height: 1.15; }
.hacemos-d-grilla .tarjeta-foto-d-texto small { line-height: 1.4; margin: 0; }
/* Nuestra historia: foto en rectángulo redondeado y un sello «Desde 2011» junto al título */
.historia-d .foto-d { border-radius: var(--radio) !important; aspect-ratio: 4 / 3; }
.historia-d-anio { display: none; }
.historia-d-sello { display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--celeste-logo); color: var(--chocolate); margin: 0 0 .8rem; line-height: 1; }
.historia-d-sello span { font: 600 .85rem var(--titulos); margin-top: .9rem; }
.historia-d-sello b { font: 700 1.7rem var(--titulos); margin-bottom: 1rem; }
.historia-d h2 { margin-top: 0; }
/* Mayorista: composición de cajas (sin marco, sobre el celeste de la sección) */
.mayorista-d-cajas { display: block; }
.mayorista-d-cajas img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) { .mayorista-d-cajas img { max-width: 420px; margin: 0 auto; } }

/* ===== Rebordes EN el contorno (20/11): un solo criterio en toda la web — 6 px del color, como borde de la misma
   tarjeta (sigue su border-radius). Nada de franjas atrás ni sombras internas. ===== */
.hacemos-d-grilla .tarjeta-foto-d:nth-child(4) .foto-d { background: #A9C2A3; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(4) .foto-d img { object-fit: contain; padding: 6px; }
.mayorista-d-lista li, .alpaso-d-pasos li { box-shadow: none !important; border: 0; border-left: 6px solid var(--celeste-logo); }
.mayorista-d-lista li:nth-child(2) { border-left-color: var(--mostaza-p); }
.mayorista-d-lista li:nth-child(3) { border-left-color: var(--naranja); }
.alpaso-d-pasos li:nth-child(1) { border-left-color: var(--naranja); }
.alpaso-d-pasos li:nth-child(2) { border-left-color: var(--celeste-logo); }
.alpaso-d-pasos li:nth-child(3) { border-left-color: var(--mostaza-p); }
.alpaso-d-pasos li:nth-child(4) { border-left-color: var(--turquesa-p); }
.alpaso-d-pasos li:nth-child(5) { border-left-color: var(--salvia-p); }
/* Polaroids: borde inferior de color de la propia polaroid */
.momento-d figcaption::before { display: none; }
.momento-d figcaption { margin-top: 0; }
.momento-d { border-bottom: 6px solid var(--naranja); }
.momento-d:nth-child(2) { border-bottom-color: var(--mostaza-p); }
.momento-d:nth-child(3) { border-bottom-color: var(--turquesa-p); }
.momento-d:nth-child(4) { border-bottom-color: var(--salvia-p); }
/* «Lo que hacemos»: borde inferior de color de la tarjeta (sin la línea interna de arriba) */
.hacemos-d-grilla .tarjeta-foto-d .tarjeta-foto-d-texto { box-shadow: none !important; }
.hacemos-d-grilla .tarjeta-foto-d { border-bottom: 6px solid var(--celeste-logo); }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(2) { border-bottom-color: var(--naranja); }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(3) { border-bottom-color: var(--mostaza-p); }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(4) { border-bottom-color: var(--salvia-p); }
/* Reborde final: un marco fino de color en TODO el contorno (3 px parejos, sigue las esquinas sin «medialuna») */
.mayorista-d-lista li, .alpaso-d-pasos li, .momento-d, .hacemos-d-grilla .tarjeta-foto-d { border: 3px solid var(--celeste-logo) !important; }
.mayorista-d-lista li:nth-child(2) { border-color: var(--mostaza-p) !important; }
.mayorista-d-lista li:nth-child(3) { border-color: var(--naranja) !important; }
.alpaso-d-pasos li:nth-child(1) { border-color: var(--naranja) !important; }
.alpaso-d-pasos li:nth-child(3) { border-color: var(--mostaza-p) !important; }
.alpaso-d-pasos li:nth-child(4) { border-color: var(--turquesa-p) !important; }
.alpaso-d-pasos li:nth-child(5) { border-color: var(--salvia-p) !important; }
.momento-d:nth-child(1) { border-color: var(--naranja) !important; }
.momento-d:nth-child(2) { border-color: var(--mostaza-p) !important; }
.momento-d:nth-child(3) { border-color: var(--turquesa-p) !important; }
.momento-d:nth-child(4) { border-color: var(--salvia-p) !important; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(2) { border-color: var(--naranja) !important; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(3) { border-color: var(--mostaza-p) !important; }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(4) { border-color: var(--salvia-p) !important; }
.mayorista-d-lista li { padding-left: .9rem; }

/* ===== La sonrisa juega (20/11): trazo de la sonrisa oficial, dibujada con stroke-dash; íconos propios; pasos parejos ===== */
.sonrisa-svg-d, .sonrisa-logo-d { overflow: visible; }
.sonrisa-svg-d path, .sonrisa-logo-d path, .ico-d .ico-sonrisa { stroke-dasharray: 100; stroke-dashoffset: 0; }
/* Logo (menú y héroe): la sonrisa se dibuja al cargar y sonríe un poco más al pasar el mouse */
.marca-d, .hd-logo { position: relative; display: inline-block; }
.sonrisa-logo-d { position: absolute; left: 26.9%; top: 58.8%; width: 61.3%; height: 25.6%; fill: none; stroke: #4B4744; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round;
    transform-origin: 50% 30%; transition: transform .45s var(--suave-d); pointer-events: none; }
.sonrisa-logo-d path { animation: dibujar-sonrisa-d .8s .25s cubic-bezier(.65, 0, .35, 1) both; }
.sonrisa-logo-d path + path { animation-delay: .95s; animation-duration: .25s; }
@keyframes dibujar-sonrisa-d { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.marca-d:hover .sonrisa-logo-d, .hd-logo:hover .sonrisa-logo-d { transform: scaleY(1.28); }
.hd-logo img, .hd-logo:hover img, .hd-logo.gira img { transform: none !important; }
.hd-logo .sonrisa-logo-d { left: 26.9%; top: 58.8%; }
/* Títulos de sección: una sonrisa chica que se dibuja al entrar */
.sonrisa-titulo-d { display: block; width: 74px; height: 30px; margin: .25rem 0 0; color: var(--naranja); }
.sonrisa-titulo-d path { stroke-dashoffset: 100; transition: stroke-dashoffset .8s cubic-bezier(.65, 0, .35, 1); }
.sonrisa-titulo-d path + path { transition-delay: .7s; transition-duration: .25s; }
.sonrisa-titulo-d.dibujada path { stroke-dashoffset: 0; }
.momentos-d .sonrisa-titulo-d { color: var(--chocolate); }
.mayorista-d .sonrisa-titulo-d { color: var(--celeste-logo); }
.historia-d .sonrisa-titulo-d { color: var(--mostaza-p); }
.alpaso-d .sonrisa-titulo-d { color: var(--naranja); margin-top: .1rem; }
html.d .alpaso-d .sonrisa-titulo-d { width: 80px; }
.sonrisa-titulo-d + * { margin-top: .6rem; }
html.d h2:has(+ .sonrisa-titulo-d) { margin-bottom: 0; }
/* Pannáticos: la sonrisa debajo del título, que se curva más al bajar (la escala la pone web-d.js) */
.club-d-sonrisa { display: block; width: 120px; height: 48px; margin: -.4rem auto 1rem; color: #fff; background: none !important; -webkit-mask: none !important; mask: none !important;
    opacity: .95; transform-origin: 50% 25%; transform: scaleY(var(--curva-d, .8)); transition: transform .2s linear; }
/* Pie: la carita de las redes guiña cada tanto */
.pie-d-sonrisa { width: 150px; height: 56px; color: #6BC9EE; opacity: .45; background: none !important; -webkit-mask: none !important; mask: none !important;
    transform-origin: 50% 25%; animation: guino-d 6s ease-in-out infinite; }
.pie-d-carita:hover .pie-d-sonrisa { animation: guino-d 1s ease-in-out; }
@keyframes guino-d { 0%, 82%, 100% { transform: scaleY(1); } 88% { transform: scaleY(1.32) rotate(-2deg); } 94% { transform: scaleY(1.05); } }
/* Íconos propios (cucurucho y Pannático) en los botones; la sonrisa del ícono se dibuja al pasar el mouse */
.ico-d { width: 22px; height: 22px; flex: none; color: currentColor; }
.boton-d-grande .ico-d { width: 24px; height: 24px; }
a:hover > .ico-d .ico-sonrisa, a:focus-visible > .ico-d .ico-sonrisa { animation: dibujar-sonrisa-d .45s cubic-bezier(.65, 0, .35, 1); }
/* Botones «Pedí» y «Pannáticos»: al pasar el mouse aparece una sonrisa chica debajo del texto */
.cta-d a, .barra-d a, .hd-botones a { position: relative; }
.sonrisa-boton-d { position: absolute; left: 50%; bottom: 3px; width: 34px; height: 14px; transform: translateX(-50%); pointer-events: none; color: currentColor; }
.sonrisa-boton-d path { stroke-width: 14; stroke-dashoffset: 100; transition: stroke-dashoffset .35s cubic-bezier(.65, 0, .35, 1); }
a:hover > .sonrisa-boton-d path, a:focus-visible > .sonrisa-boton-d path { stroke-dashoffset: 0; }
/* Pedido confirmado: «¡Listo!» con la sonrisa grande que se dibuja */
.listo-d { display: grid; justify-items: center; margin: 1rem 0 .4rem; color: var(--naranja); }
.listo-d span { font: 700 2.4rem var(--titulos); color: var(--chocolate); margin-top: -.2rem; }
.listo-d-sonrisa { width: 170px; height: 68px; }
.listo-d-sonrisa path { animation: dibujar-sonrisa-d 1s .2s cubic-bezier(.65, 0, .35, 1) both; }
.listo-d-sonrisa path + path { animation-delay: 1.1s; animation-duration: .3s; }

/* Panna al Paso: bajada con etiqueta «5 % OFF» y 5 pasos parejos unidos por una línea */
.etiqueta-off-d { display: inline-block; vertical-align: .12em; background: var(--naranja); color: #fff; border-radius: 999px; padding: .1em .6em; font-size: .78em; white-space: nowrap; }
html.d .alpaso-d h2 { font-size: clamp(1.15rem, 4.2vw, 1.5rem); }
.pasos-d { position: relative; list-style: none; padding: 0; display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; max-width: 420px !important; }
.pasos-d li { position: relative; display: flex !important; align-items: center; gap: .8rem; background: #fff !important; border-radius: 16px; padding: .55rem .8rem !important; min-height: 58px; }
.pasos-d li b { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 38px !important; height: 38px !important; grid-row: auto !important; font-size: 1.15rem !important; }
.pasos-d li strong { font: 700 1.08rem var(--titulos); color: var(--chocolate); }
.pasos-d::before { content: ""; position: absolute; left: calc(.8rem + 19px + 3px); top: 30px; bottom: 30px; width: 2px; background: rgba(75, 71, 68, .25); }
@media (min-width: 900px) {
    .alpaso-d .caja > .pasos-d { max-width: 100% !important; }
    .pasos-d { grid-template-columns: repeat(5, 1fr) !important; max-width: 100% !important; gap: 12px !important; }
    .pasos-d li { flex-direction: column; justify-content: flex-start; text-align: center; padding: .9rem .5rem !important; min-height: 124px; }
    .pasos-d::before { left: 10%; right: 10%; top: calc(.9rem + 19px + 3px); bottom: auto; width: auto; height: 2px; }
    .alpaso-d .caja > * { max-width: 46%; }
    .alpaso-d .caja > .pasos-d { max-width: 100% !important; width: 100%; }
}
/* /d/pedir: los mismos 5 pasos, en fila pareja */
.paso-d-pasos { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 760px; }
.paso-d-pasos li { justify-content: flex-start; flex-direction: column; text-align: center; border-radius: 16px !important; padding: .5rem .4rem !important; font-size: .92rem !important; }
@media (max-width: 899px) { .paso-d-pasos { grid-template-columns: 1fr; } .paso-d-pasos li { flex-direction: row; text-align: left; } }
.tip-d-nota { font-size: .85rem; color: var(--chocolate); opacity: .8; }

@media (prefers-reduced-motion: reduce) {
    .sonrisa-logo-d path, .listo-d-sonrisa path, .pie-d-sonrisa, a:hover > .ico-d .ico-sonrisa { animation: none !important; }
    .sonrisa-titulo-d path { stroke-dashoffset: 0; transition: none; }
    .sonrisa-logo-d, .club-d-sonrisa { transition: none; }
}
/* Los trazos dibujables van sobre el <svg> (se heredan dentro del <use>) */
.sonrisa-titulo-d, .sonrisa-boton-d { stroke-dasharray: 100; stroke-dashoffset: 100; }
.sonrisa-titulo-d { transition: stroke-dashoffset .9s cubic-bezier(.65, 0, .35, 1); }
.sonrisa-titulo-d.dibujada { stroke-dashoffset: 0; }
.sonrisa-boton-d { stroke-width: 14; transition: stroke-dashoffset .35s cubic-bezier(.65, 0, .35, 1); }
a:hover > .sonrisa-boton-d, a:focus-visible > .sonrisa-boton-d { stroke-dashoffset: 0; }
.listo-d-sonrisa { stroke-dasharray: 100; animation: dibujar-sonrisa-d 1.1s .2s cubic-bezier(.65, 0, .35, 1) both; }
.ico-d .ico-sonrisa { transform-origin: 50% 35%; transition: transform .35s var(--suave-d); }
a:hover > .ico-d .ico-sonrisa, a:focus-visible > .ico-d .ico-sonrisa { animation: dibujar-sonrisa-d .45s cubic-bezier(.65, 0, .35, 1); transform: scaleY(1.2); }
@media (min-width: 900px) { .alpaso-d .caja > .pasos-d { max-width: 62% !important; } .pasos-d li strong { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .sonrisa-titulo-d { stroke-dashoffset: 0; transition: none; } .listo-d-sonrisa, a:hover > .ico-d .ico-sonrisa { animation: none; } }

/* ===== Páginas de receta en la D (20/11): fondo crema suave, producto sobre color, títulos café ≤ 48 px, dos columnas ===== */
html.d .ficha-receta .ficha-cabeza { background: var(--crema-p) !important; color: var(--chocolate); padding: 1.2rem 0 1.6rem; }
html.d .ficha-receta .ficha-cabeza .ola { display: none; }
html.d .ficha-receta .ficha-in { display: grid; gap: 1.2rem; align-items: start; }
html.d .ficha-receta .ficha-in .migas { grid-column: 1 / -1; color: var(--chocolate); }
html.d .ficha-receta .ficha-in .migas a { color: var(--naranja-osc); }
html.d .ficha-receta .ficha-dibujo { margin: 0; align-self: start; }
html.d .ficha-receta .ficha-dibujo .mancha { display: none; }
html.d .ficha-receta .ficha-dibujo .foto-c, html.d .ficha-receta .ficha-dibujo img { border-radius: var(--radio); border: 3px solid var(--naranja); aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; background: #fff; }
html.d .ficha-receta .ficha-texto { align-self: start; padding-top: .2rem; }
html.d .ficha-receta h1 { font-size: clamp(1.9rem, 6.5vw, 3rem) !important; line-height: 1.05; color: var(--chocolate) !important; margin: .2rem 0 .6rem; }
html.d .ficha-receta .etiqueta, html.d .ficha-receta .ficha-desc { color: var(--chocolate); }
html.d .ficha-receta .etiqueta { color: var(--naranja-osc); font-weight: 700; }
html.d .ficha-receta .ficha-cuerpo { background: #fff; }
html.d .ficha-receta h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
@media (min-width: 900px) { html.d .ficha-receta .ficha-in { grid-template-columns: 1fr 1fr; gap: 2.4rem; } }
/* Botones con ícono propio: ícono de 24 px centrado con el texto, gap parejo, misma altura y padding */
.cta-d a, .barra-d a, .hd-botones .boton-d { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.cta-d a { height: 46px; padding: 0 1.15rem; }
.cta-d a .ico-d, .barra-d a .ico-d, .hd-botones .ico-d { width: 24px; height: 24px; display: block; }
.sonrisa-boton-d { display: none !important; }
/* Nuestra historia: sello al costado del título, título ~40 px con corte natural, todo alineado arriba con la foto */
.historia-d { scroll-margin-top: 90px; }
.historia-d-in { align-items: start !important; }
.historia-d-cabeza { display: flex; align-items: center; gap: 1rem; }
.historia-d-sello { flex: none; margin: 0; width: 84px; height: 84px; }
.historia-d-sello b { font-size: 1.55rem; }
html.d .historia-d h2 { font-size: clamp(1.6rem, 6vw, 2.5rem); text-wrap: balance; margin: 0; }
.historia-d .sonrisa-titulo-d { margin-left: calc(84px + 1rem); }
@media (max-width: 899px) { .historia-d-cabeza { align-items: flex-start; } .historia-d-sello { width: 72px; height: 72px; } .historia-d .sonrisa-titulo-d { margin-left: calc(72px + 1rem); } }
/* Logo del pie: link al inicio, la sonrisa sonríe al pasar el mouse */
a.pie-d-marca { text-decoration: none; cursor: pointer; }
.pie-d-logo-caja { position: relative; display: inline-block; line-height: 0; }
.pie-d-logo-caja .sonrisa-logo-d path { animation: none; }
a.pie-d-marca:hover .sonrisa-logo-d { transform: scaleY(1.28); }
/* Volver arriba */
.arriba-d { position: fixed; right: 16px; bottom: 20px; z-index: 55; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--celeste-logo); color: var(--chocolate);
    display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px rgba(43, 38, 36, .2); transition: transform .3s var(--suave-d); }
.arriba-d[hidden] { display: none; }
.arriba-d:hover { transform: translateY(-3px); }
.arriba-d svg { width: 30px; height: 12px; transform: rotate(180deg); stroke-width: 16; }
@media (max-width: 899px) { .arriba-d { bottom: calc(var(--alto-barra) + 14px); right: 12px; width: 44px; height: 44px; } }
/* Las sonrisas sonríen solas (clase que pone web-d.js cada 5-8 s, solo en pantalla): curva un poco más y vuelve */
.sonrie-solo { animation: sonreir-d 1.4s cubic-bezier(.45, 0, .25, 1) !important; transform-origin: 50% 25%; }
@keyframes sonreir-d { 0%, 100% { scale: 1 1; } 45% { scale: 1.04 1.3; } }
.ico-d.sonrie-solo { animation: none !important; }
.ico-d.sonrie-solo .ico-sonrisa { animation: sonreir-d 1.4s cubic-bezier(.45, 0, .25, 1); transform-box: fill-box; transform-origin: 50% 0; }
.redibuja-solo { animation: redibujar-d 1.5s cubic-bezier(.65, 0, .35, 1) !important; }
@keyframes redibujar-d { 0% { stroke-dashoffset: 0; } 40% { stroke-dashoffset: 100; } 41% { stroke-dashoffset: -100; } 100% { stroke-dashoffset: 0; } }
.pie-d-sonrisa { animation: none; }
.pie-d-carita:hover .pie-d-sonrisa { animation: sonreir-d 1s ease-in-out; }
.sello-sonrisa-d { display: block; width: 34px; height: 14px; margin-top: -.85rem; color: var(--chocolate); stroke-width: 14; }
.historia-d-sello b { margin-bottom: .3rem; }
/* Tarjeta Batidos: la foto con el mismo fondo y la franja de texto de la tarjeta, como las otras tres */
.hacemos-d-grilla .tarjeta-foto-d:nth-child(4) .foto-d img { padding: 6px; object-fit: contain; }
.hacemos-d-grilla .tarjeta-foto-d { overflow: hidden; }
.hacemos-d-grilla .tarjeta-foto-d .tarjeta-foto-d-texto { border-radius: 0; margin: 0; width: auto; }
@media (prefers-reduced-motion: reduce) { .sonrie-solo, .redibuja-solo, .ico-d.sonrie-solo .ico-sonrisa { animation: none !important; } }
.historia-d-cabeza { flex-wrap: wrap; }
.historia-d-cabeza h2 { flex: 1 1 0; min-width: 0; }
.historia-d-cabeza .sonrisa-titulo-d { flex-basis: 100%; }
html.d .historia-d h2 { font-size: clamp(1.6rem, 5.4vw, 2.5rem); }
html.d .historia-d h2 { font-size: clamp(1.55rem, 5vw, 2.15rem); } .historia-d-cabeza .sonrisa-titulo-d { margin-left: calc(84px + 1rem); width: 74px; flex-basis: auto; }
.historia-d-cabeza::after { content: ""; flex-basis: 100%; order: 1; } .historia-d-cabeza .sonrisa-titulo-d { order: 2; }

/* ===== Sonrisas vivas: loop infinito (se curva, vuelve, pausa; los títulos además se redibujan cada tanto) ===== */
.vive-d { transform-origin: 50% 25%; animation: vive-d var(--ciclo-d, 5s) cubic-bezier(.45, 0, .25, 1) var(--desfase-d, 0s) infinite; animation-play-state: paused; }
.vive-d.en-pantalla-d { animation-play-state: running; }
@keyframes vive-d { 0%, 42%, 100% { scale: 1 1; } 18% { scale: 1.05 1.32; } 30% { scale: .99 .94; } }
.sonrisa-titulo-d.vive-d.dibujada { animation-name: vive-dibuja-d; animation-duration: calc(var(--ciclo-d, 5s) * 2); }
@keyframes vive-dibuja-d {
    0%, 21%, 50% { scale: 1 1; stroke-dashoffset: 0; } 9% { scale: 1.05 1.32; } 15% { scale: .99 .94; }
    62% { stroke-dashoffset: 100; } 62.1% { stroke-dashoffset: -100; } 80%, 100% { stroke-dashoffset: 0; }
}
.ico-d.vive-d { animation: none; }
.ico-d.vive-d .ico-sonrisa { transform-box: fill-box; transform-origin: 50% 0; animation: vive-d var(--ciclo-d, 5s) cubic-bezier(.45, 0, .25, 1) var(--desfase-d, 0s) infinite; animation-play-state: paused; }
.ico-d.vive-d.en-pantalla-d .ico-sonrisa { animation-play-state: running; }
.sonrisa-logo-d.vive-d { animation-name: vive-d; }
.listo-d-sonrisa.vive-d { animation: dibujar-sonrisa-d 1.1s .2s cubic-bezier(.65, 0, .35, 1) both, vive-d 5s 1.6s infinite; }
.sonrie-solo, .redibuja-solo { animation: none; }
@media (prefers-reduced-motion: reduce) { .vive-d, .vive-d path, .ico-d.vive-d .ico-sonrisa { animation: none !important; } }

/* ===== Correcciones del iPhone (20/11) ===== */
/* El redibujo va de izquierda a derecha: se borra empezando por la izquierda y se vuelve a dibujar desde la izquierda. */
@keyframes vive-dibuja-d {
    0%, 21%, 50% { scale: 1 1; stroke-dashoffset: 0; } 9% { scale: 1.05 1.32; } 15% { scale: .99 .94; }
    60% { stroke-dashoffset: -100; } 60.1% { stroke-dashoffset: 100; } 80%, 100% { stroke-dashoffset: 0; }
}
/* Sonrisa bajo los títulos: alineada al inicio, justo debajo, sin tocar las letras, ~40 % del título */
.sonrisa-titulo-d { width: clamp(84px, 24vw, 128px); height: auto; aspect-ratio: 200 / 90; margin: .45rem 0 0 2px; }
html.d h2 + .sonrisa-titulo-d, .alpaso-d-marca + .sonrisa-titulo-d { margin-top: .55rem; }
.sonrisa-titulo-d + * { margin-top: .9rem !important; }
/* Historia: la sonrisa dentro de la columna del título, debajo de «Dos hermanos,» */
.historia-d-cabeza::after { display: none; }
.historia-d-cabeza { flex-wrap: nowrap; align-items: flex-start; }
.historia-d-titulo-caja { flex: 1 1 0; min-width: 0; }
.historia-d-titulo-caja .sonrisa-titulo-d { margin-left: 2px !important; order: 0; }
.historia-d-cabeza > .sonrisa-titulo-d { display: none; }
.sello-sonrisa-d { display: none; }
/* Volver arriba: flecha simple, más chico; en el celular no se muestra (está la barra fija) */
.arriba-d { width: 44px; height: 44px; right: 12px; bottom: 16px; }
.arriba-d svg { width: 22px; height: 22px; transform: none; stroke-width: initial; }
@media (max-width: 899px) { .arriba-d { display: none !important; } }
.sonrisa-svg-d path { stroke-dasharray: inherit !important; stroke-dashoffset: inherit !important; transition: none !important; animation: none !important; }
@media (max-width: 899px) { html.d .historia-d h2 { font-size: 1.32rem; } }

/* ===== Sonrisa «de verdad» (20/11): la mueve el director de web-d.js animando el trazo; ya no hay loops CSS ===== */
.vive-d, .vive-d .ico-sonrisa, .sonrisa-titulo-d.dibujada { animation: none !important; }
.sonrisa-titulo-d, .club-d-sonrisa, .pie-d-sonrisa, .sonrisa-logo-d, .ico-d { scale: var(--estira-d, 1) 1; transition: scale .35s cubic-bezier(.34, 1.56, .64, 1); }
.sonrisa-titulo-d { transition: scale .35s cubic-bezier(.34, 1.56, .64, 1), stroke-dashoffset .9s cubic-bezier(.65, 0, .35, 1); }
.marca-d { rotate: var(--inclina-d, 0deg); transition: rotate .5s cubic-bezier(.22, 1, .36, 1); }
.marca-d:hover .sonrisa-logo-d, .hd-logo:hover .sonrisa-logo-d { transform: none; }
@media (prefers-reduced-motion: reduce) { .marca-d { rotate: 0deg; } .sonrisa-titulo-d, .club-d-sonrisa, .pie-d-sonrisa, .sonrisa-logo-d, .ico-d { scale: 1; } }

/* Historia: segunda foto (mostrador) apoyada sobre la principal */
.historia-d-foto { position: relative; }
.historia-d-foto2 { position: absolute; right: -10px; bottom: -28px; width: 42%; aspect-ratio: 4 / 5 !important; border: 4px solid #fff; box-shadow: 0 10px 24px rgba(43, 38, 36, .22); border-radius: 18px !important; }
.historia-d-foto2 img { object-position: 50% 60%; }
@media (max-width: 899px) { .historia-d-foto2 { width: 38%; bottom: -18px; } .historia-d-in { row-gap: 2.4rem; } }
/* Panna al Paso, paso 5: foto del salón */
.paso-d-retiro-foto { display: block; width: 100%; max-width: 520px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; margin-top: .8rem; }
/* «Así lo servimos» con 4 clips: 4 parejos en PC, deslizable en celular */
@media (min-width: 900px) { .clips-d-grilla { grid-template-columns: repeat(4, 1fr) !important; max-width: 960px !important; } }

/* ===== /d/pedir: barra de progreso fija con 3 pasos y encabezado más bajo ===== */
.paso-d-cab { padding: 1.3rem 0 1.1rem !important; }
.paso-d-cab h1 { margin: .3rem 0 0 !important; }
.paso-d-cab .paso-d-marca { font-size: clamp(1.9rem, 7vw, 2.4rem); }
.progreso-d { position: sticky; top: var(--alto-cabecera-d, 68px); z-index: 40; background: rgba(255, 255, 255, .97); box-shadow: 0 6px 16px rgba(43, 38, 36, .08);
    display: flex; align-items: center; height: 48px; }
.progreso-d ol { list-style: none; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; width: 100%; position: relative; }
.progreso-d ol::before { content: ""; position: absolute; left: 16%; right: 16%; top: 50%; height: 2px; background: #E7E1DA; transform: translateY(-50%); }
.progreso-d li { position: relative; display: grid; justify-items: center; }
.progreso-d button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; border: 0; background: rgba(255, 255, 255, .97); padding: 0 .5rem; font: 600 .95rem var(--titulos); color: var(--chocolate); cursor: default; }
.progreso-d b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; font-size: .85rem; }
.progreso-d li.siguiente button { opacity: .45; }
.progreso-d li.hecho button { cursor: pointer; }
.progreso-d li.hecho b { background: var(--salvia-p); border-color: var(--salvia-p); color: #fff; font-size: 0; }
.progreso-d li.hecho b::after { content: "✓"; font-size: .85rem; }
.progreso-d li[aria-current="step"] button { font-weight: 800; color: var(--naranja-osc); }
.progreso-d li[aria-current="step"] b { background: var(--naranja); border-color: var(--naranja); color: #fff; }
.progreso-d-sonrisa { position: absolute; bottom: -9px; width: 34px; height: 13px; color: var(--naranja); stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; pointer-events: none; }
.progreso-d-sonrisa path { stroke-dasharray: inherit; stroke-dashoffset: inherit; }
.progreso-d li[aria-current="step"] .progreso-d-sonrisa { opacity: 1; }
.progreso-d li.dibujada .progreso-d-sonrisa { animation: dibujar-sonrisa-d .7s cubic-bezier(.65, 0, .35, 1) forwards; }
.progreso-d-off { position: absolute; right: 16px; font-size: .8rem; display: none; }
@media (min-width: 900px) {
    .progreso-d { height: 56px; }
    .progreso-d ol { max-width: 760px; }
    .progreso-d button { font-size: 1.05rem; }
    .progreso-d-off { display: inline-block; }
}
@media (max-width: 899px) { .progreso-d { --alto-cabecera-d: 68px; } .progreso-d button span { font-size: .85rem; } }
html.d .pedir-paso { scroll-margin-top: 140px; }
/* «Ver mi pedido · $X» (celular, en /d/pedir) */
.barra-d-pedido { grid-template-columns: 1fr; }
.barra-d-pedido a b { margin-left: .3rem; }
/* Portada: 3 pasos */
@media (min-width: 900px) { .pasos-d-3 { grid-template-columns: repeat(3, 1fr) !important; } .alpaso-d .caja > .pasos-d-3 { max-width: 58% !important; } }
.pasos-d-3 li small { display: block; font-size: .88rem; color: var(--chocolate); opacity: .85; }
.pasos-d-3 li { flex-wrap: wrap; }
@media (min-width: 900px) { .pasos-d-3 li { min-height: 132px; } }
@media (prefers-reduced-motion: reduce) { .progreso-d li.dibujada .progreso-d-sonrisa { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 899px) { .paso-d-cab::before { height: 34vw !important; margin-bottom: .6rem !important; } }
@media (max-width: 899px) { .progreso-d ol { padding: 0 8px; } .progreso-d button { padding: 0 .25rem; gap: .3rem; } .progreso-d button span { font-size: .8rem; white-space: nowrap; } .progreso-d b { width: 24px; height: 24px; } }

/* ===== Grilla de sabores de /d/pedir: foto cuadrada entera, nombre en franja de alto fijo ===== */
html.d .pedir-sabores { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 10px !important; }
@media (max-width: 899px) { html.d .pedir-sabores { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; } }
html.d .pedir-sabor.con-foto { position: relative; display: flex !important; flex-direction: column; padding: 0 !important; border-radius: 16px; overflow: hidden; background: #F7EFE6; border: 3px solid transparent; box-shadow: 0 2px 8px rgba(43, 38, 36, .08) !important; }
html.d .pedir-sabor.con-foto i { display: block; width: 100%; height: auto !important; aspect-ratio: 1 / 1; border-radius: 0; background-size: cover !important; background-position: center !important; background-color: #F7EFE6 !important; flex: none; }
html.d .pedir-sabor.con-foto span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: calc(2 * 1.15em + .9rem); padding: .45rem .35rem; line-height: 1.15; font-size: .95rem; text-align: center; color: var(--chocolate); background: #fff; }
html.d .pedir-sabor.con-foto em { position: absolute; left: 6px; top: 6px; font-size: .7rem; }
@media (max-width: 899px) { html.d .pedir-sabor.con-foto span { font-size: .82rem; } }
html.d .pedir-sabor.con-foto[aria-pressed="true"] { border-color: var(--naranja); box-shadow: none !important; }
html.d .pedir-sabor.con-foto[aria-pressed="true"] span { background: #fff; color: var(--chocolate); font-weight: 800; }
html.d .pedir-sabor.con-foto[aria-pressed="true"]::after { content: "✓"; position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--naranja); color: #fff; font: 800 .85rem var(--texto); }
html.d .pedir-sabor.con-foto:hover i { transform: none; }
html.d .pedir-sabor.agotado i { opacity: .4; filter: grayscale(.6); }
html.d .pedir-sabor.agotado::before { content: "Agotado hoy"; position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); background: var(--chocolate); color: #fff; border-radius: 999px; padding: .15rem .6rem; font: 700 .75rem var(--texto); white-space: nowrap; }
/* Ficha del sabor y tarjetas de sabores: foto cuadrada entera */
html.d .ficha:not(.ficha-receta) .ficha-dibujo img { aspect-ratio: 1 / 1; object-fit: cover; background: #F7EFE6; }
html.d .sabor-c img { object-fit: cover; object-position: center; }
html.d .sabor-c { aspect-ratio: 3 / 4; }
html.d .pedir-sabor.con-foto span { display: flex !important; align-items: center; justify-content: center; align-self: stretch; width: 100%; box-sizing: border-box; height: 3.1em; padding: 0 .35rem; flex: none; }
html.d .pedir-sabor.con-foto span { overflow: hidden; }
html.d .pedir-sabor.con-foto { background: #fff; }
.pedir-sabor-nombre-d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.d .pedir-sabor.con-foto > span { display: flex !important; -webkit-line-clamp: unset; }
html.d .pedir-sabor.con-foto .pedir-sabor-nombre-d { display: -webkit-box !important; padding: 0; height: auto; background: none; font-size: inherit; line-height: 1.15; }
/* Descripción de los palitos (2 renglones, centrada, ancho del círculo) */
.producto-d-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 170px; margin: .1rem auto 0; font: 500 .9rem/1.3 var(--texto); color: color-mix(in srgb, var(--chocolate) 75%, #fff); text-align: center; min-height: 3.9em; }
.circulos-d .producto-d { align-content: start; }
.pedir-formato-desc { display: block; font-style: normal; font-size: .85rem; line-height: 1.3; color: color-mix(in srgb, var(--chocolate) 75%, #fff); margin-top: .25rem; }
/* nombre del sabor: 2 renglones como máximo */
html.d .pedir-sabor.con-foto .pedir-sabor-nombre-d { max-height: 2.3em; }
/* Palitos: la descripción entera (sin cortar), mismo alto reservado para todos */
.producto-d-desc { -webkit-line-clamp: unset; display: block; min-height: 5.2em; }
@media (max-width: 899px) { .producto-d-desc { font-size: .82rem; min-height: 6.6em; } }
/* Nuestra historia: una sola foto grande, entera, rectángulo redondeado; texto alineado arriba */
.historia-d .foto-d { border-radius: 22px !important; aspect-ratio: auto !important; }
.historia-d .foto-d img { height: auto; object-fit: contain; }
.historia-d-in { align-items: start !important; }

/* Nombres de sabores: siempre completos (hasta 3 renglones, letra que se achica), misma altura para todas */
html.d .pedir-sabor.con-foto > span { height: 3.9em; font-size: clamp(.74rem, 1.1vw + .45rem, .95rem); padding: 0 .3rem; }
html.d .pedir-sabor.con-foto .pedir-sabor-nombre-d { display: block !important; -webkit-line-clamp: unset; max-height: none; overflow: visible; text-wrap: balance; line-height: 1.12; }
@media (max-width: 899px) { html.d .pedir-sabor.con-foto > span { font-size: .78rem; height: 3.7em; } }
/* Palitos en el celular: carrusel horizontal con tarjetas anchas, descripción en 2-3 renglones */
@media (max-width: 899px) {
    #palitos + .circulos-d { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: .4rem; justify-items: stretch; }
    #palitos + .circulos-d .producto-d { scroll-snap-align: start; max-width: none; }
    #palitos + .circulos-d .producto-d .foto-d { width: 70%; margin: 0 auto; }
    #palitos + .circulos-d .producto-d-desc { max-width: none; font-size: .82rem; min-height: 3.9em; }
}

/* ===== Panna al Paso estilo tienda de delivery (20/11) ===== */
html.d .tienda-d { padding-bottom: 1rem; }
.menu-d-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
.menu-d-productos { min-width: 0; }
.menu-d-chips { position: sticky; top: var(--tope-pedir-d, 116px); z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: .6rem 0; margin: 0 0 .4rem; background: #fff; scrollbar-width: none; }
.menu-d-chips::-webkit-scrollbar { display: none; }
.menu-d-chip { flex: none; border: 2px solid #E7E1DA; background: #fff; color: var(--chocolate); border-radius: 999px; padding: .45rem .95rem; font: 600 .95rem var(--titulos); cursor: pointer; white-space: nowrap; }
.menu-d-chip:hover { border-color: var(--naranja); color: var(--naranja-osc); }
.menu-d-grupo { scroll-margin-top: calc(var(--tope-pedir-d, 124px) + 64px); margin-bottom: 1.2rem; }
.menu-d-grupo h3 { font-size: 1.25rem; margin: .4rem 0 .6rem; }
.menu-d-grilla { display: grid; gap: 10px; }
.producto-menu-d { display: grid; grid-template-columns: 88px 1fr auto; gap: .8rem; align-items: center; background: #fff; border: 2px solid #EFE9E2; border-radius: 18px; padding: .55rem .7rem .55rem .55rem; }
.producto-menu-d-foto { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; background: #E7F6FC; display: block; }
.producto-menu-d-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.producto-menu-d-texto b { display: block; font: 700 1.05rem var(--titulos); color: var(--chocolate); line-height: 1.15; }
.producto-menu-d-desc { display: block; font-size: .82rem; line-height: 1.3; color: color-mix(in srgb, var(--chocolate) 72%, #fff); margin-top: .15rem; }
.producto-menu-d-precio { margin: .25rem 0 0; font: 700 1rem var(--titulos); color: var(--chocolate); }
.producto-menu-d-precio s { font-weight: 500; opacity: .5; margin-right: .2rem; }
.producto-menu-d-accion { display: flex; align-items: center; gap: 6px; }
.agregar-d { min-height: 40px !important; padding: 0 .95rem !important; font-size: .95rem !important; white-space: nowrap; box-shadow: none !important; }
.cant-d { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--naranja); background: #fff; color: var(--naranja-osc); font: 800 1.1rem/1 var(--titulos); cursor: pointer; display: grid; place-items: center; }
.cant-d-num { min-width: 1.4em; text-align: center; font: 700 1rem var(--titulos); color: var(--chocolate); }
/* Carrito */
.carrito-d { background: #fff; border: 3px solid var(--naranja); border-radius: 20px; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; }
.carrito-d-cab { display: flex; justify-content: space-between; align-items: center; }
.carrito-d-cab b { font: 700 1.3rem var(--titulos); color: var(--chocolate); }
.carrito-d-cerrar { display: none; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--chocolate); cursor: pointer; }
.carrito-d-vacio { display: grid; justify-items: center; text-align: center; gap: .2rem; padding: .8rem 0; color: var(--chocolate); }
.carrito-d-vacio[hidden], .carrito-d-totales[hidden] { display: none; }
.carrito-d-vacio svg { width: 74px; height: 30px; color: var(--naranja); }
.carrito-d-vacio small { opacity: .7; }
.carrito-d-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; max-height: 46vh; overflow: auto; }
.carrito-d-item { display: grid; grid-template-columns: 1fr auto; column-gap: .6rem; row-gap: .3rem; padding-bottom: .55rem; border-bottom: 1px solid #F1ECE6; }
.carrito-d-item-texto b { font: 700 .98rem var(--titulos); color: var(--chocolate); }
.carrito-d-item-texto small { display: block; font-size: .8rem; color: color-mix(in srgb, var(--chocolate) 70%, #fff); line-height: 1.3; }
.carrito-d-precio { grid-row: 1; grid-column: 2; font: 700 .98rem var(--titulos); color: var(--chocolate); text-align: right; }
.carrito-d-cant { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; }
.carrito-d-cant .cant-d { width: 30px; height: 30px; font-size: 1rem; }
.carrito-d-totales p { margin: 0; display: flex; justify-content: space-between; align-items: baseline; }
.carrito-d-sub { font-size: .9rem; color: color-mix(in srgb, var(--chocolate) 70%, #fff); }
.carrito-d-totales .pedir-ahorro { font-size: .9rem; display: block; }
.carrito-d-totales .pedir-ahorro[hidden] { display: none; }
.carrito-d-total { font: 700 1.15rem var(--titulos); color: var(--chocolate); margin-top: .3rem !important; }
.carrito-d-total b { font-size: 1.6rem; }
.carrito-d-seguir { width: 100%; min-height: 54px !important; }
.carrito-d-seguir:disabled, .barra-d-continuar:disabled { opacity: .45; cursor: default; }
.carrito-d.sumo { animation: sumo-d .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes sumo-d { 40% { transform: scale(1.02); box-shadow: 0 0 0 6px rgba(252, 90, 0, .18); } }
@media (min-width: 900px) {
    .menu-d-in { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
    .carrito-d { position: sticky; top: calc(var(--tope-pedir-d, 124px) + 14px); max-height: calc(100vh - var(--tope-pedir-d, 124px) - 28px); overflow: auto; }
    .menu-d-grilla { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
    html.d .pedir { max-width: 1180px; }
}
/* Celular: el carrito es una hoja que sube desde abajo */
@media (max-width: 899px) {
    .carrito-d { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; max-height: 86vh; border-radius: 22px 22px 0 0; border-width: 0; box-shadow: 0 -10px 40px rgba(43, 38, 36, .25);
        transform: translateY(105%); transition: transform .3s cubic-bezier(.22, 1, .36, 1); padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
    .carrito-d.abierto { transform: none; }
    .carrito-d.sumo { animation: none; }
    .carrito-d-cerrar { display: block; }
    .carrito-d-lista { max-height: 50vh; }
    .producto-menu-d { grid-template-columns: 72px 1fr; }
    .producto-menu-d-foto { width: 72px; height: 72px; grid-row: 1 / span 2; }
    .producto-menu-d-accion { grid-column: 2; justify-self: start; }
}
html.panel-d-abierto { overflow: hidden; }
/* Barra fija de abajo en /d/pedir (celular): «Ver mi pedido (N) · $X» + «Continuar» */
.barra-d-pedido { grid-template-columns: 1.6fr 1fr !important; }
.barra-d-pedido button { border: 0; border-radius: 999px; min-height: 58px; font: 700 1rem var(--titulos); cursor: pointer; }
.barra-d-ver { background: #fff; color: var(--chocolate); border: 2px solid var(--naranja) !important; }
.barra-d-continuar { background: var(--naranja); color: #fff; }
.barra-d-pedido.sumo .barra-d-ver { animation: sumo-d .5s cubic-bezier(.34, 1.56, .64, 1); }
/* Panel de sabores: modal centrado en PC, hoja casi a pantalla completa en el celular */
.panel-d { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.panel-d[hidden] { display: none; }
.panel-d-fondo { position: absolute; inset: 0; background: rgba(43, 38, 36, .5); opacity: 0; transition: opacity .2s ease; }
.panel-d-caja { position: relative; width: min(860px, 94vw); max-height: 88vh; background: #fff; border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; outline: none;
    transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s cubic-bezier(.22, 1, .36, 1), opacity .2s ease; }
.panel-d.abierto .panel-d-fondo { opacity: 1; }
.panel-d.abierto .panel-d-caja { transform: none; opacity: 1; }
.panel-d-cab { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: 1rem 1.2rem .7rem; border-bottom: 1px solid #F1ECE6; }
.panel-d-cab b { display: block; font: 700 1.35rem var(--titulos); color: var(--chocolate); }
.panel-d-cab span { font: 600 1rem var(--titulos); color: var(--naranja-osc); }
.panel-d-cab p { grid-column: 1 / -1; margin: 0; font-weight: 700; color: var(--chocolate); }
.panel-d-cerrar { border: 0; background: #F4EFE9; width: 40px; height: 40px; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--chocolate); cursor: pointer; }
html.d .panel-d-grilla { overflow-y: auto; padding: .9rem 1.2rem; flex: 1 1 auto; min-height: 0; overscroll-behavior: contain; align-content: start; grid-auto-rows: max-content; }
.panel-d-pie { padding: .8rem 1.2rem calc(.8rem + env(safe-area-inset-bottom)); border-top: 1px solid #F1ECE6; }
.panel-d-pie .boton-d { width: 100%; min-height: 56px; }
.panel-d-pie .boton-d:disabled { opacity: .45; cursor: default; }
@media (max-width: 899px) {
    .panel-d { place-items: end stretch; }
    .panel-d-caja { width: 100%; max-height: 94vh; height: 94vh; border-radius: 22px 22px 0 0; transform: translateY(100%); opacity: 1; }
    html.d .panel-d-grilla { padding: .7rem; }
}
/* Paso 3: resumen y total */
.resumen-d { background: #FBF7F2; border: 2px solid #EFE9E2; border-radius: 16px; padding: .8rem 1rem; margin-bottom: 1rem; }
.resumen-d-titulo { margin: 0 0 .3rem; font: 700 1.05rem var(--titulos); color: var(--chocolate); }
.resumen-d ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.resumen-d li { display: flex; justify-content: space-between; gap: .8rem; font-size: .95rem; }
.resumen-d-editar { margin-top: .4rem; background: none; border: 0; padding: 0; cursor: pointer; font-size: .95rem; }
.resumen-d-total { display: flex; justify-content: space-between; align-items: baseline; font: 700 1.2rem var(--titulos); color: var(--chocolate); margin: .8rem 0; }
.resumen-d-total b { font-size: 1.6rem; color: var(--naranja-osc); }
@media (prefers-reduced-motion: reduce) { .carrito-d, .panel-d-caja, .panel-d-fondo { transition: none; } .carrito-d.sumo, .barra-d-pedido.sumo .barra-d-ver { animation: none; } }
/* Ajustes de la tienda (20/11, segunda vuelta) */
html.d .progreso-d { background: #fff; }
.producto-menu-d-accion { flex-direction: column; align-items: flex-end; gap: .35rem; }
.producto-menu-d-accion .producto-menu-d-precio { margin: 0; white-space: nowrap; }
.producto-menu-d-accion .cant-wrap-d { display: flex; align-items: center; gap: 6px; }
.menu-d-chip[aria-current="true"] { background: var(--chocolate); border-color: var(--chocolate); color: #fff; }
@media (max-width: 899px) {
    html.d .tienda-d { padding: 1rem .8rem; }
    .producto-menu-d { gap: .3rem .75rem; align-items: start; padding: .5rem; }
    .producto-menu-d-accion { flex-direction: row; justify-content: space-between; align-items: center; justify-self: stretch; }
    .producto-menu-d-desc { font-size: .8rem; }
}
/* Carrito más compacto: − cantidad + a la derecha, al lado del precio */
.carrito-d-item { grid-template-columns: 1fr auto; grid-template-areas: "texto precio" "texto cant"; align-items: start; }
.carrito-d-item-texto { grid-area: texto; }
.carrito-d-precio { grid-area: precio; grid-row: auto; grid-column: auto; }
.carrito-d-cant { grid-area: cant; grid-column: auto; justify-self: end; }
.carrito-d-cant .cant-d { width: 28px; height: 28px; font-size: .95rem; }
@media (min-width: 900px) { html:has(.tienda-d) .arriba-d { display: none !important; } }
.resumen-d li b { white-space: nowrap; }
/* Pasos de Panna al Paso en la portada: textos cortos, centrados y tarjetas parejas */
.pasos-d-3 li small { text-wrap: balance; line-height: 1.25; }
@media (min-width: 900px) { .pasos-d-3 { align-items: stretch; } .pasos-d-3 li { height: 100%; align-items: center; text-align: center; } .pasos-d-3 li small { max-width: 16em; } }
@media (max-width: 899px) { .pasos-d-3 li { display: grid !important; grid-template-columns: 38px 1fr; column-gap: .8rem; min-height: 64px; } .pasos-d-3 li b { grid-row: 1 / span 2 !important; } }
/* Sucursales en la portada (sin «abierto/cerrado»: eso va en Panna al Paso) */
.sucursales-d { padding: 3rem 0 1rem; }
.sucursales-d h2 { margin: 0 0 1rem; }
.sucursales-d-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .sucursales-d-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sucursales-d-lista li { display: grid; gap: .2rem; background: #fff; border: 2px solid #EFE9E2; border-radius: 18px; padding: 1rem 1.2rem; }
.sucursales-d-lista b { font: 700 1.25rem var(--titulos); color: var(--chocolate); }
.sucursales-d-lista small { color: var(--chocolate); opacity: .8; }
.sucursales-d-lista a { display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; font-weight: 700; color: var(--naranja-osc); justify-self: start; }
/* Paso 1 de Panna al Paso: estado real del local y pin a Maps */
.pedir-local-caja { position: relative; }
.pedir-local-caja .pedir-local { width: 100%; padding-right: 3.4rem; }
.pedir-local-mapa { position: absolute; right: .7rem; top: .7rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #F4EFE9; color: var(--chocolate); }
.pedir-local-mapa:hover { color: var(--naranja-osc); }
/* 404 y errores: la sonrisa del logo «triste» (dada vuelta) que vuelve a sonreír al pasar el mouse o tocarla */
.mensaje-d { display: grid; justify-items: center; text-align: center; gap: .6rem; padding: 3.5rem 1rem 4.5rem; max-width: 640px; margin: 0 auto; }
.mensaje-d h1 { margin: .6rem 0 0; font-size: clamp(2rem, 6vw, 3rem); }
.mensaje-d p { margin: 0 0 1rem; font-size: 1.1rem; }
.mensaje-d-logo { position: relative; display: block; width: 180px; height: 180px; }
.mensaje-d-logo img { width: 100%; height: 100%; display: block; }
.mensaje-d-logo svg { position: absolute; left: 26.9%; top: 58.8%; width: 61.3%; height: 25.6%; overflow: visible; fill: none; stroke: #4B4744; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round;
    transform: translateY(18%) scaleY(-.75); transform-origin: 50% 50%; transition: transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.mensaje-d-logo svg path + path { opacity: 0; transition: opacity .2s ease; }
.mensaje-d-logo:hover svg, .mensaje-d-logo:focus-visible svg, .mensaje-d-logo.contento svg { transform: none; }
.mensaje-d-logo:hover svg path + path, .mensaje-d-logo:focus-visible svg path + path, .mensaje-d-logo.contento svg path + path { opacity: 1; transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .mensaje-d-logo svg { transition: none; } }
/* Privacidad y términos */
.legal-d { max-width: 760px; padding-top: 2.5rem; padding-bottom: 3.5rem; }
.legal-d h1 { margin: 0 0 .6rem; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.08; }
.legal-d-quien { margin: 0 0 1.4rem; opacity: .8; }
.legal-d h2 { font-size: 1.3rem; margin: 1.6rem 0 .4rem; }
.legal-d p, .legal-d li { font-size: 1.02rem; line-height: 1.55; }
.legal-d ul { padding-left: 1.2rem; margin: .3rem 0; }
.legal-d a { color: var(--naranja-osc); font-weight: 700; }
@media (min-width: 900px) { .pasos-d-3 li small { text-align: center !important; align-self: center; margin-left: auto; margin-right: auto; } }
@media (max-width: 899px) { .pasos-d-3 li { row-gap: .1rem; align-content: center; } }
html.d .pedir-local .estado { white-space: nowrap; font-size: .92rem; }
/* ===== Pannáticos (/club) con el diseño D: club.css pasa a la paleta y las fuentes de la web ===== */
html.d .club-pagina-d { --terracota: var(--naranja); --terracota-osc: var(--naranja-osc); --terracota-suave: #FFE9DC; --petroleo: var(--chocolate); --petroleo-osc: #2B2624;
    --crema: #fff; --cafe: var(--chocolate); --celeste: #6BC9EE; --celeste-suave: #E2F4FC; font-family: var(--texto); padding: 0 16px 2.5rem; }
html.d body { background: #fff; display: block; min-height: 0; }
html.d .club-pagina-d h1, html.d .club-pagina-d h2, html.d .club-pagina-d .cp-boton, html.d .club-pagina-d button { font-family: var(--titulos); }
html.d .club-pagina-d h1 { font-weight: 700; color: var(--chocolate); }
html.d .club-pagina-d .cp-main { max-width: 1080px; padding: 0; }
html.d .club-pagina-d .cp-panel { border: 3px solid var(--celeste); box-shadow: none; }
html.d .club-pagina-d .cp-boton { box-shadow: 0 6px 16px rgba(252, 90, 0, .25); }
html.d .club-pagina-d a { color: var(--naranja-osc); }
.cp-barra-d { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1080px; margin: 0 auto; padding: 14px 0 4px; }
.cp-barra-d-marca { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--chocolate) !important; }
.cp-barra-d-marca svg { width: 30px; height: 30px; color: #6BC9EE; }
.cp-barra-d-marca b { font: 700 1.2rem var(--titulos); }
.cp-barra-d-marca small { color: var(--gris, #8A877E); font-weight: 600; }
@media (max-width: 420px) { .cp-barra-d-marca small { display: none; } }
html.d .club-pagina-d a.cp-boton, html.d .club-pagina-d .cp-boton { color: #fff; }
html.d .club-pagina-d .cp-boton--claro { color: var(--chocolate); box-shadow: none; } /* 23/11/2026: el botón claro («Guardar» de Tus mails) quedaba blanco sobre blanco. */
html.d .club-pagina-d h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
/* ===== Pago con QR de Mercado Pago, «¡Listo! Tu pedido está pago» y factura (20/11) ===== */
.qr-d { display: grid; justify-items: center; text-align: center; gap: .5rem; padding: .5rem 0 1.2rem; }
.qr-d h1 { margin: 0; }
.qr-d-ayuda { margin: 0; }
.qr-d-codigo { width: min(300px, 78vw); aspect-ratio: 1; display: grid; place-items: center; background: #fff; border: 3px solid var(--naranja); border-radius: 22px; padding: 14px; }
.qr-d-codigo svg { width: 100%; height: 100%; display: block; }
.qr-d-codigo.vencido { opacity: .25; filter: grayscale(1); }
.qr-d-cargando { color: var(--chocolate); opacity: .7; }
.qr-d-total { margin: .3rem 0 0; font: 700 1.2rem var(--titulos); }
.qr-d-total b { font-size: 1.7rem; color: var(--naranja-osc); }
.qr-d-vence { margin: 0; font-weight: 700; color: var(--chocolate); min-height: 1.4em; }
.qr-d-app { display: none !important; }
@media (max-width: 899px), (pointer: coarse) { .qr-d-app { display: inline-flex !important; } }
.qr-d-espera { display: flex; align-items: center; gap: .5rem; margin: .4rem 0 0; font-size: .95rem; }
.qr-d-punto { width: 12px; height: 12px; border-radius: 50%; background: var(--naranja); animation: qr-d-latido 1.2s ease-in-out infinite; }
@keyframes qr-d-latido { 50% { transform: scale(.55); opacity: .5; } }
.qr-d-simular { margin-top: .6rem; border: 2px dashed #8A877E; background: #F7F4F1; color: var(--chocolate); border-radius: 999px; padding: .5rem 1rem; font: 700 .9rem var(--texto); cursor: pointer; }
.pagado-d { margin: .2rem 0 .4rem; text-align: center; font: 700 clamp(1.5rem, 5vw, 2.1rem) var(--titulos); color: var(--naranja-osc); }
.factura-d { display: grid; justify-items: center; gap: .3rem; margin: 0 0 1rem; text-align: center; }
.factura-d small { opacity: .8; }
.pedir-factura { border: 0; padding: 0; margin: 1rem 0; }
.pedir-factura legend { font: 700 1.1rem var(--titulos); margin-bottom: .5rem; }
.pedir-factura-opciones { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: .6rem; }
.pedir-factura-opciones label { display: inline-flex; align-items: center; gap: .4rem; border: 2px solid #E7E1DA; border-radius: 999px; padding: .45rem .9rem; cursor: pointer; font-weight: 700; }
.pedir-factura-opciones label:has(input:checked) { border-color: var(--naranja); background: #FFF2EA; }
.sonrisas-d { margin: .4rem 0 .8rem; padding: .6rem .9rem; border-radius: 14px; background: #E2F4FC; font-weight: 700; color: var(--chocolate); }
.sonrisas-d b { color: var(--naranja-osc); font-size: 1.15em; }
@media (prefers-reduced-motion: reduce) { .qr-d-punto { animation: none; } }
.qr-d [hidden], .qr-d-simular[hidden] { display: none !important; }
.listo-d span[data-pagado-d] { font-size: clamp(1.6rem, 6vw, 2.4rem); text-align: center; }
[data-factura] [hidden] { display: none !important; }
/* Sello «Desde 2011» proporcionado (20/11): bloque centrado, interlineado 1, «Desde» ≈ 40 % de «2011», «2011» ≈ 60 % del ancho, aro blanco fino */
.historia-d-sello { container-type: inline-size; display: inline-flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 0;
    width: 96px !important; height: 96px !important; line-height: 1; box-shadow: inset 0 0 0 5px var(--celeste-logo), inset 0 0 0 7px #fff; }
.historia-d-sello span, .historia-d-sello b { margin: 0 !important; line-height: 1; display: block; }
.historia-d-sello b { font: 700 25cqw/1 var(--titulos) !important; letter-spacing: -.01em; }
.historia-d-sello span { font: 700 10cqw/1 var(--titulos) !important; letter-spacing: .04em; margin-bottom: .04em !important; }
@media (max-width: 899px) { .historia-d-sello { width: 82px !important; height: 82px !important; } .historia-d .sonrisa-titulo-d { margin-left: calc(82px + 1rem); } }
/* Cancelar pedido, «Voy a pasar más tarde» y botón de arrepentimiento (20/11) */
.cancelar-d { display: grid; justify-items: start; gap: .5rem; margin: .4rem 0 1rem; }
.cancelar-d [hidden] { display: none !important; }
.cancelar-d-cuenta { display: grid; gap: .3rem; font-weight: 700; width: min(100%, 360px); }
.boton-d-borde-d { background: #fff !important; color: var(--chocolate) !important; border: 2px solid var(--chocolate) !important; box-shadow: none !important; }
.arrepentimiento-d-form { display: grid; gap: .8rem; max-width: 520px; margin-top: 1rem; }
.arrepentimiento-d-form label { display: grid; gap: .3rem; font-weight: 700; }
.arrepentimiento-d-ok[hidden] { display: none; }
/* Carrito: cada pote con sus sabores (20/11) */
.carrito-d-editar { border: 0; background: none; padding: 0 .3rem; color: var(--naranja-osc); font: 700 .88rem var(--texto); text-decoration: underline; cursor: pointer; }
.panel-d-repetir { grid-column: 1 / -1; justify-self: start; border: 2px dashed var(--naranja); background: #FFF2EA; color: var(--naranja-osc); border-radius: 999px; padding: .3rem .8rem; font: 700 .85rem var(--texto); cursor: pointer; }
.panel-d-repetir[hidden] { display: none; }
/* Sonrisa del paso activo: completa con su ganchito, nunca cortada, ~60 % del ancho de la palabra y centrada debajo (20/11) */
.progreso-d button span { position: relative; display: inline-block; }
.progreso-d-sonrisa { left: 18%; width: 64% !important; height: auto !important; aspect-ratio: 200 / 90; bottom: auto !important; top: calc(100% - 1px); overflow: visible; }
.progreso-d, .progreso-d ol, .progreso-d li, .progreso-d button { overflow: visible; }
.ico-d, .ico-d svg, svg.ico-d, .sonrisa-titulo-d, .club-d-sonrisa, .pie-d-sonrisa, .listo-d-sonrisa, .carrito-d-vacio svg { overflow: visible; }
/* Paso 1 de la portada: una sucursal por renglón, sin partirse (20/11) */
.pasos-d-3 li small.pasos-d-sucursales { display: grid !important; gap: .1rem; }
.pasos-d-sucursales span { display: block; white-space: nowrap; font-size: clamp(.78rem, 1.05vw + .35rem, .9rem); }
/* Menú de d:/pedir: cada producto con su foto del ERP, recortada, sobre el mismo celeste (20/11) */
.producto-menu-d-foto { background: var(--celeste-foto, #96CDE8); }
.producto-menu-d-foto.foto-erp img { object-fit: contain; padding: 8%; box-sizing: border-box; filter: drop-shadow(0 4px 6px rgba(43, 38, 36, .18)); }
.pago-ok.pago-devuelto { background: #E6F4FA; }
/* Helado por kilo (20/11): los 3 potes ya vienen sobre el celeste de la web, a todo el ancho de la tarjeta. */
.hacemos-d-grilla .tarjeta-foto-d:nth-child(1) .foto-d { background: var(--celeste-foto, #96CDE8); }
.hacemos-d-grilla .tarjeta-foto-d:nth-child(1) .foto-d img { object-fit: cover; padding: 0; }

/* ===== Celular ≤ 480 px (21/11/2026, iPhone de Guillermo): Productos Panna y Palitos parejos, nada contra el borde ===== */
@media (max-width: 480px) {
    /* Productos Panna: 3 columnas parejas (margen de 16 px de la caja), círculos de ~104 px con su aro adentro, nombres de 2 renglones a la misma altura */
    #panna + .circulos-d { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; justify-items: center; }
    #panna + .circulos-d .producto-d { width: 100%; max-width: none; min-width: 0; }
    #panna + .circulos-d .producto-d .foto-d { width: min(calc(100% - 10px), 104px); margin: 5px auto 0; }
    #panna + .circulos-d .producto-d b { font-size: .92rem; line-height: 1.15; min-height: 2.3em; text-wrap: balance; overflow-wrap: anywhere; }

    /* Palitos: grilla de 2 columnas (sin carrusel), círculos de ~140 px, nombre y descripción corta completos */
    #palitos + .circulos-d { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible;
        scroll-snap-type: none; gap: 22px 14px; padding-bottom: 0; justify-items: center; }
    #palitos + .circulos-d .producto-d { width: 100%; max-width: none; min-width: 0; scroll-snap-align: none; }
    #palitos + .circulos-d .producto-d .foto-d { width: min(calc(100% - 10px), 140px); margin: 5px auto 0; }
    #palitos + .circulos-d .producto-d b { font-size: .98rem; line-height: 1.15; min-height: 2.3em; text-wrap: balance; }
    #palitos + .circulos-d .producto-d-desc { display: block; -webkit-line-clamp: unset; overflow: visible; max-width: none; min-height: 0;
        font-size: 13px; line-height: 1.3; text-wrap: balance; }
    /* Si quedan impares, el último va centrado en su renglón */
    #palitos + .circulos-d .producto-d:last-child:nth-child(odd) { grid-column: 1 / -1; width: 50%; }
}

/* ===== NADA de scroll horizontal ni carruseles (21/11/2026, Guillermo: «escrolear para los costados no me gusta»). Todo baja en grillas. ===== */
/* Tips en casa: tarjetas con foto cuadrada; título, frase y minutos alineados igual en todas. Celular 2 columnas, PC 3. */
.tips-d-grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin-top: 1rem; }
.tip-d { display: grid; grid-template-rows: auto auto 1fr auto; gap: .3rem; min-width: 0; padding: 8px 8px 12px; border-radius: 18px; background: #fff;
    border: 3px solid var(--celeste-logo); text-decoration: none; color: var(--chocolate); box-shadow: 0 6px 16px rgba(43, 38, 36, .08); }
.tips-d-grilla .tip-d:nth-child(3n+2) { border-color: var(--mostaza-p); }
.tips-d-grilla .tip-d:nth-child(3n) { border-color: var(--naranja); }
.tip-d-foto { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--celeste-suave); }
.tip-d-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tip-d b { font: 700 1rem/1.15 var(--titulos); color: var(--chocolate); margin-top: .2rem; min-height: 2.3em; }
.tip-d .tip-d-nota { font: 500 .82rem/1.3 var(--texto); color: color-mix(in srgb, var(--chocolate) 78%, #fff); margin: 0; }
.tip-d .precio-d { font-size: .98rem; align-self: end; }
@media (min-width: 900px) {
    .tips-d-grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
    .tip-d { padding: 10px 10px 16px; }
    .tip-d b { font-size: 1.15rem; min-height: 0; }
    .tip-d .tip-d-nota { font-size: .95rem; }
}

/* Así lo servimos: celular 2 × 2, PC 4 en fila. */
.clips-d-grilla { grid-auto-flow: row !important; grid-auto-columns: auto !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: visible !important; scroll-snap-type: none !important; gap: 14px 12px !important; padding-bottom: 0 !important; }
@media (min-width: 900px) { .clips-d-grilla { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; max-width: none !important; gap: 20px !important; } }
.clip-d figcaption { font-size: .92rem; line-height: 1.2; }

/* Palitos en PC: los 5 en una fila. */
@media (min-width: 900px) {
    #palitos + .circulos-d { grid-template-columns: repeat(5, minmax(0, 1fr)); justify-content: stretch; gap: 22px 18px; }
    #palitos + .circulos-d .producto-d { max-width: 190px; }
}

/* Menú de /d/pedir: los grupos bajan en renglones (sin deslizar). */
.menu-d-chips { flex-wrap: wrap; overflow: visible; }
/* Fichas y listados (estilos heredados de web.css): grillas, sin márgenes negativos que pasaban el ancho. */
html.d .filtros, html.d .pestanas { flex-wrap: wrap; overflow: visible; }
html.d .sabores-carrusel, html.d .recetas-carrusel, html.d .momentos { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible; scroll-snap-type: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
@media (min-width: 900px) { html.d .sabores-carrusel, html.d .recetas-carrusel { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
html.d .carrusel-d { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; }

/* ===== Sabores de baldes (Mayorista): por familia, cada sabor con foto, nombre y frase; todas las tarjetas iguales ===== */
.mayorista-d-sabores > summary { cursor: pointer; }
.sabores-may-d-familia { display: flex; align-items: center; gap: .45rem; margin: 1.1rem 0 .55rem; font: 700 1rem var(--titulos); color: var(--naranja-osc, #C94700); }
.sabores-may-d-familia svg { width: 30px; height: 14px; color: var(--celeste-logo); fill: none; stroke: currentColor; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.sabores-may-d { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
.sabores-may-d a { display: grid; grid-template-rows: auto auto 1fr; justify-items: center; gap: .25rem; height: 100%; text-decoration: none; text-align: center; color: var(--chocolate); }
.sabores-may-d-foto { display: block; width: min(100%, 84px); aspect-ratio: 1; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 10px rgba(43, 38, 36, .12); }
.sabores-may-d-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sabores-may-d b { font: 700 .8rem/1.15 var(--titulos); color: var(--chocolate); min-height: 2.3em; display: flex; align-items: flex-start; justify-content: center; text-wrap: balance; overflow-wrap: anywhere; }
.sabores-may-d small { font: 500 12px/1.25 var(--texto); color: color-mix(in srgb, var(--chocolate) 72%, #fff); text-wrap: balance; overflow-wrap: anywhere; }
.sabores-may-d a:hover .sabores-may-d-foto, .sabores-may-d a:focus-visible .sabores-may-d-foto { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(43, 38, 36, .18); }
@media (min-width: 900px) {
    .sabores-may-d { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 18px 14px; }
    .sabores-may-d-foto { width: 96px; }
    .sabores-may-d b { font-size: .9rem; }
    .sabores-may-d small { font-size: 13px; }
}

/* ===== Menú del celular (21/11/2026): cabecera compacta con logo de 44 px y botón de menú; panel desde la derecha ===== */
.menu-cel-d-boton { display: none; }
.menu-cel-d[hidden] { display: none; }
@media (max-width: 899px) {
    html.d .cabecera-in { min-height: 58px; padding-top: 6px; padding-bottom: 6px; justify-content: space-between; }
    html.d .marca-d img { width: 44px; height: 44px; }
    .menu-cel-d-boton { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-left: auto; border: 2px solid var(--celeste-logo); border-radius: 14px;
        background: #fff; color: var(--chocolate); cursor: pointer; padding: 0; }
    .menu-cel-d-boton svg { width: 34px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
    /* 21/11: la última rayita es una sonrisa bien marcada (como la del logo, con su ganchito), naranja y que sonríe sola */
    /* Una sola curva continua (sin cortes) con el ganchito; se mueve solo con translate, que el iPhone dibuja sin recortar */
    .menu-cel-d-boton .menu-cel-d-sonrisa { stroke: var(--naranja); stroke-width: 3.4; stroke-dasharray: none !important; stroke-dashoffset: 0 !important; animation: sonrisa-menu-d 6s 1s ease-in-out infinite; }
    @keyframes sonrisa-menu-d { 0%, 22%, 100% { transform: translateY(0); } 7% { transform: translateY(1.6px); } 13% { transform: translateY(-.6px); } 18% { transform: translateY(.4px); } }
    .menu-cel-d-boton { box-shadow: 0 3px 0 var(--celeste-logo); }
    .menu-cel-d-boton:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--celeste-logo); }
    .menu-cel-d-boton[aria-expanded="true"] { border-color: var(--naranja); }
    .menu-cel-d { position: fixed; inset: 0; z-index: 90; }
    .menu-cel-d-fondo { position: absolute; inset: 0; background: rgba(43, 38, 36, .45); opacity: 0; transition: opacity .2s ease; }
    .menu-cel-d-caja { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
        background: #fff; border-left: 5px solid var(--naranja); border-radius: 22px 0 0 22px; padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
        transform: translateX(100%); transition: transform .22s cubic-bezier(.22, 1, .36, 1); outline: none; }
    .menu-cel-d.abierto .menu-cel-d-fondo { opacity: 1; }
    .menu-cel-d.abierto .menu-cel-d-caja { transform: none; }
    .menu-cel-d-cab { display: flex; align-items: center; gap: 10px; }
    .menu-cel-d-cab img:first-child { width: 52px; height: 52px; }
    .menu-cel-d-slogan { width: 104px; height: auto; mix-blend-mode: multiply; }
    .menu-cel-d-cerrar { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #E7E1DA; background: #fff; color: var(--chocolate); display: grid; place-items: center; cursor: pointer; }
    .menu-cel-d-cerrar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
    .menu-cel-d-links { display: grid; gap: 10px; }
    .menu-cel-d-links a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 14px; border-radius: 16px; border: 2px solid var(--celeste-logo);
        background: #fff; color: var(--chocolate); font: 700 1.12rem var(--titulos); text-decoration: none; }
    .menu-cel-d-links a:nth-child(3n+2) { border-color: var(--mostaza-p); }
    .menu-cel-d-links a:nth-child(3n) { border-color: var(--naranja); }
    .menu-cel-d-links a:active { background: var(--celeste-suave); }
    .menu-cel-d-links svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--naranja); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .menu-cel-d-redes { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid #E7E1DA; }
    .menu-cel-d-redes a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; border-radius: 999px;
        border: 2px solid #E7E1DA; color: var(--chocolate); text-decoration: none; font: 700 .95rem var(--titulos); }
    .menu-cel-d-redes svg { width: 22px; height: 22px; }
    .menu-cel-d-redes .menu-cel-d-wa { flex: 1 1 100%; background: #fff; border-color: var(--chocolate); color: var(--chocolate); padding: 0 14px; }
    html.menu-cel-d-abierto { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .menu-cel-d-caja, .menu-cel-d-fondo { transition: none; } }
/* Eventos a 360 px: los botones de sabores no se pasan del ancho. */
html.d .pedir-sabores > * { min-width: 0; max-width: 100%; }
html.d .pedir-sabores .pedir-sabor span { min-width: 0; overflow-wrap: anywhere; }
/* Sabores de baldes: renglón de ancho completo debajo de las fotos y el texto (PC: 7-8 columnas). */
.mayorista-d-in > .mayorista-d-sabores { grid-column: 1 / -1; margin: 0; }
@media (min-width: 900px) { .mayorista-d-in > .mayorista-d-sabores .sabores-may-d { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

/* ===== 21/11: las sonrisas se mueven SOLAS (pedido de Guillermo): un gesto corto y una pausa larga, cada una a su ritmo ===== */
@keyframes sonrie-siempre-d {
    0%, 22%, 100% { transform: scaleY(1); }
    6% { transform: scaleX(1.04) scaleY(1.38); }
    11% { transform: scaleX(.98) scaleY(.9); }
    16% { transform: scaleY(1.14); }
}
html.d .pie-d-sonrisa, html.d .club-d-sonrisa, html.d .sonrisa-titulo-d, html.d .sonrisa-logo-d {
    transform-origin: 50% 20%; animation: sonrie-siempre-d 6s cubic-bezier(.45, 0, .25, 1) infinite !important; }
html.d .club-d-sonrisa { animation-duration: 6.5s !important; animation-delay: -2s !important; }
html.d .sonrisa-titulo-d { animation-duration: 7s !important; }
html.d .sonrisa-logo-d { animation-duration: 7.5s !important; animation-delay: -3s !important; }
html.d .ico-d .ico-sonrisa { transform-box: fill-box; transform-origin: 50% 0; animation: sonrie-siempre-d 6.5s cubic-bezier(.45, 0, .25, 1) infinite !important; }
/* El logo grande saluda solo cada 8 s */
@keyframes saluda-logo-d { 0%, 82%, 100% { rotate: 0deg; } 86% { rotate: -7deg; } 91% { rotate: 6deg; } 96% { rotate: -2deg; } }
html.d .hd-logo img { animation: entra-suave-d .9s var(--suave-d) both, saluda-logo-d 8s 1.2s ease-in-out infinite !important; }

/* 21/11: en el panel de sabores del pedido, la frase corta debajo del nombre (como en la portada) */
html.d .pedir-sabor .pedir-sabor-frase-d { display: block; margin-top: .2rem; font: 400 .82rem/1.25 var(--texto, inherit); color: #8A877E; text-wrap: balance; }
@media (max-width: 899px) { html.d .pedir-sabor .pedir-sabor-frase-d { font-size: .74rem; } }
/* La frase va DEBAJO del nombre (columna), no al costado; la caja crece para que entren los dos */
html.d .pedir-sabor.con-foto > span { flex-direction: column !important; justify-content: flex-start !important; height: auto !important; min-height: 3.1em; padding: .4rem .35rem .5rem !important; overflow: visible !important; gap: .15rem; }
html.d .pedir-sabor.con-foto > span > .pedir-sabor-nombre-d, html.d .pedir-sabor.con-foto > span > .pedir-sabor-frase-d { display: block !important; width: 100%; height: auto; padding: 0; background: none; overflow: visible; overflow-wrap: normal; word-break: normal; }

/* ---- 21/11/2026: pedido programado (hoy / mañana), «Repetir pedido» y aviso de «listo» ---- */
.hora-d { display: grid; gap: .5rem; }
.hora-d-elegir { display: grid; gap: .7rem; background: var(--celeste-suave); border-radius: 18px; padding: .9rem; max-width: 520px; }
.hora-d-elegir[hidden] { display: none; }
.hora-d-dias { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.hora-d-dia { min-height: 52px; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--chocolate) 25%, #fff); background: #fff; color: var(--chocolate);
    font: 700 1.05rem var(--titulos); display: grid; place-content: center; gap: 0; line-height: 1.15; cursor: pointer; padding: .3rem .5rem; }
.hora-d-dia small { font: 600 .78rem var(--texto); opacity: .75; }
.hora-d-dia[aria-pressed="true"] { background: var(--naranja); border-color: var(--naranja); color: #fff; }
.hora-d-dia:disabled { opacity: .45; cursor: not-allowed; }
.hora-d-hora { display: grid; gap: .3rem; font-weight: 700; }
.hora-d-hora select { min-height: 48px; font-size: 1.05rem; }
.hora-d-elegir .pedir-ayuda { margin: 0; }
.repetir-d { background: var(--celeste-suave); color: var(--chocolate); border-radius: 16px; padding: .8rem 1rem; font-weight: 700; margin: 0 0 1rem; }
.repetir-d--falta { background: var(--mostaza-suave); border: 2px solid var(--mostaza-p); }
.repetir-d[hidden] { display: none; }
.carrito-d-item-texto small.carrito-d-falta { color: var(--naranja-osc); font-weight: 800; }
.avisame-d { display: grid; gap: .5rem; justify-items: start; background: var(--celeste-suave); border-radius: 18px; padding: .9rem 1rem; margin: .4rem 0 1rem; }
.avisame-d[hidden], .avisame-d [hidden] { display: none !important; }
.avisame-d p { margin: 0; }
.avisame-d-ok { font-weight: 800; color: var(--chocolate); }
.programado-d { display: inline-block; background: var(--naranja-claro); color: var(--naranja-osc); border-radius: 999px; padding: .2em .8em; font-weight: 800; }
.repetir-pedido-d { margin: .2rem 0 1rem; }

/* 22/11 (Guillermo): la Gift Panna también a mano en el celular, al lado de Pedí y Pannáticos. */
.barra-d:not(.barra-d-pedido) { grid-template-columns: 1fr 1.25fr .9fr; gap: 6px; }
.barra-d:not(.barra-d-pedido) a { font-size: 1.02rem; gap: 6px; padding: 0 8px; }
.barra-d-gift { background: var(--chocolate); color: #fff; }
.barra-d a .ico-d { flex: none; }

/* 23/11: el logo del menú siempre redondo (con el menú largo se achicaba de costado y quedaba ovalado) */
.marca-d { flex: none; }
.marca-d img { flex: none; aspect-ratio: 1; object-fit: contain; }

/* 23/11/2026 (Luciana): aire entre el título con su sonrisa y el texto de «Nuestra historia». */
.historia-d-cabeza { margin-bottom: 1.8rem; }
/* 23/11/2026 (Luciana): el naranja sobre celeste se perdía con poco brillo: borde blanco y sombra suave para que se lea siempre. */
html.d .paso-d-cab .paso-d-marca, html.d .alpaso-d-marca {
  text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff, 0 3px 0 #fff, 0 8px 16px rgba(75, 71, 68, .35) !important;
}
html.d .paso-d-cab .paso-d-marca + .sonrisa-titulo-d, html.d .alpaso-d-marca + .sonrisa-titulo-d { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff); }

/* 23/11/2026: si el celular no deja reproducir el clip solo, va la misma toma animada (misma forma que el video). */
.clip-d-anim { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--celeste-suave); box-shadow: 0 8px 20px rgba(43, 38, 36, .14); }
@media (min-width: 900px) { .clip-d-anim { aspect-ratio: 3 / 4; } }
