/* Sweet Disaster v2 — misma paleta pastel, más legible y ligera */
:root {
    --bg: #f0f2f5;
    --card: #ffffff;
    --texto: #2d3748;
    --suave: #4a5568;
    --borde: #e5e7ec;

    --rosa: #ffb7b2;
    --rosa-claro: #ffe6e3;
    --rosa-fuerte: #b83a52;   /* texto de acento sobre blanco (AA) */
    --verde: #88c9b3;
    --verde-claro: #e2f3ec;
    --verde-fuerte: #22705a;
    --azul: #a3c4f3;
    --azul-claro: #e6effd;
    --azul-fuerte: #2f5c9a;

    --radio: 18px;
    --sombra: 0 1px 2px rgba(45, 55, 72, .06), 0 8px 24px rgba(45, 55, 72, .07);
    --sombra-hover: 0 2px 4px rgba(45, 55, 72, .08), 0 16px 36px rgba(45, 55, 72, .12);
    --ancho: 1180px;

    /* Nombres antiguos (usados por el laboratorio heredado) */
    --bg-dark: var(--bg);
    --bg-card: var(--card);
    --accent-neon: var(--rosa);
    --accent-glow: var(--verde);
    --accent-blue: var(--azul);
    --text-primary: var(--texto);
    --text-muted: var(--suave);
    --glass-border: var(--borde);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--texto);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--azul-fuerte); outline-offset: 2px; border-radius: 6px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.envoltura { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 16px; }

/* ---------- Navegación ---------- */
.sd-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--borde);
}
.sd-nav .envoltura { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 800; letter-spacing: .02em; font-size: 1.1rem; white-space: nowrap; }
.logo img { width: 34px; height: 34px; }
.logo b { color: var(--rosa-fuerte); }
.nav-enlaces { display: flex; gap: .25rem; margin-left: auto; }
.nav-enlaces a { text-decoration: none; font-weight: 600; padding: .5rem .85rem; border-radius: 999px; white-space: nowrap; }
.nav-enlaces a:hover { background: var(--rosa-claro); }
.nav-enlaces a[aria-current="page"] { background: var(--rosa); }
.nav-redes { display: flex; gap: .4rem; }
.icono-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg); border: 0; cursor: pointer; text-decoration: none; position: relative;
}
.icono-btn:hover { background: var(--verde-claro); }
.icono-btn svg { width: 20px; height: 20px; }
.contador-lista {
    position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px;
    background: var(--rosa-fuerte); color: #fff; font-size: .7rem; font-weight: 800; border-radius: 999px;
    display: none; place-items: center;
}
.contador-lista.si { display: grid; }

@media (max-width: 900px) {
    .sd-nav .envoltura { flex-wrap: wrap; gap: .25rem .75rem; padding-top: .5rem; }
    .nav-redes { margin-left: auto; }
    .nav-enlaces { order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px .5rem; overflow-x: auto; scrollbar-width: none; }
    .nav-enlaces::-webkit-scrollbar { display: none; }
}
@media (max-width: 420px) {
    .logo { font-size: .95rem; gap: .4rem; }
    .logo img { width: 30px; height: 30px; }
    .nav-redes { gap: .25rem; }
    .icono-btn { width: 36px; height: 36px; }
    .nav-enlaces { justify-content: space-between; gap: 0; }
    .nav-enlaces a { padding: .45rem .6rem; font-size: .95rem; }
}
/* Evita que estilos heredados (laboratorio) deformen la cabecera */
.sd-nav .icono-btn { padding: 0; margin: 0; line-height: 1; box-shadow: none; border: 0; min-width: 0; }
.sd-nav .icono-btn svg { display: block; margin: 0; }

/* ---------- Botones y píldoras ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.3rem; border-radius: 999px; border: 0; cursor: pointer;
    font-weight: 700; text-decoration: none; line-height: 1.2;
    background: var(--rosa); color: var(--texto);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--sombra); }
.btn.verde { background: var(--verde); }
.btn.azul { background: var(--azul); }
.btn.blanco { background: #fff; box-shadow: inset 0 0 0 1.5px var(--borde); }
.btn.oscuro { background: var(--texto); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

.pildora {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .25rem .65rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
    background: var(--bg); white-space: nowrap;
}
.pildora.rosa { background: var(--rosa-claro); }
.pildora.verde { background: var(--verde-claro); }
.pildora.azul { background: var(--azul-claro); }

/* ---------- Portada ---------- */
.portada { padding: 2.5rem 0 1.5rem; }
.portada .envoltura { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center; }
.portada h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 1rem; font-weight: 800; letter-spacing: -.02em; }
.portada h1 span { background: linear-gradient(transparent 62%, var(--rosa) 62%); }
.portada p.intro { font-size: 1.15rem; color: var(--suave); margin: 0 0 1.5rem; max-width: 34ch; }
.buscador-rapido { display: flex; gap: .5rem; background: #fff; padding: .4rem; border-radius: 999px; box-shadow: var(--sombra); max-width: 460px; }
.buscador-rapido input { flex: 1; border: 0; outline: 0; font: inherit; padding: .5rem .9rem; background: transparent; min-width: 0; }
.cifras { display: flex; gap: 1.5rem; margin-top: 1.5rem; color: var(--suave); font-size: .95rem; }
.cifras b { display: block; font-size: 1.5rem; color: var(--texto); }

.destacada { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--sombra-hover); text-decoration: none; display: block; aspect-ratio: 4 / 3; background: var(--rosa-claro); }
.destacada img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.destacada:hover img { transform: scale(1.03); }
.destacada .etiqueta-nueva { position: absolute; top: 14px; left: 14px; }
.destacada .pie {
    position: absolute; inset: auto 0 0 0; padding: 3rem 1.25rem 1.1rem; color: #fff;
    background: linear-gradient(transparent, rgba(20, 24, 34, .82));
}
.destacada .pie h2 { margin: 0 0 .5rem; font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.2; }
.destacada .pie .pildora { background: rgba(255, 255, 255, .92); color: var(--texto); }

@media (max-width: 860px) {
    .portada { padding-top: 1.25rem; }
    .portada .envoltura { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .buscador-rapido { max-width: none; }
}

/* ---------- Secciones ---------- */
.seccion { padding: 2rem 0; }
.seccion-cabecera { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.seccion h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; letter-spacing: -.01em; }
.seccion .sub { color: var(--suave); margin: .25rem 0 0; }

/* Carrusel horizontal (últimas) */
.carrusel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem 16px 1rem; margin: 0 -16px; scrollbar-width: thin; }
.carrusel > * { scroll-snap-align: start; }
@media (max-width: 640px) { .carrusel { grid-auto-columns: 78%; } }

/* Chips de categorías */
.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem 16px .75rem; margin: 0 -16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex: none; display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem 1rem; border-radius: 999px; border: 0; cursor: pointer;
    background: #fff; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--borde); white-space: nowrap;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--rosa); }
.chip[aria-pressed="true"] { background: var(--rosa); box-shadow: none; }
.chip small { opacity: .7; font-weight: 600; }

.filtro-texto { width: 100%; max-width: 320px; padding: .65rem 1rem; border-radius: 999px; border: 1.5px solid var(--borde); font: inherit; background: #fff; }

/* Tarjetas de receta */
.rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.25rem; }
.tarjeta {
    display: flex; flex-direction: column; background: var(--card); border-radius: var(--radio);
    overflow: hidden; box-shadow: var(--sombra); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.tarjeta:hover { transform: translateY(-3px); box-shadow: var(--sombra-hover); }
.tarjeta .foto { aspect-ratio: 4 / 3; background: var(--rosa-claro); overflow: hidden; }
.tarjeta .foto img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta .cuerpo { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.tarjeta .cat { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--verde-fuerte); }
.tarjeta h3 {
    font-size: 1.02rem; line-height: 1.3; margin: 0; font-weight: 700;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tarjeta .macros { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: auto; }
.tarjeta[hidden] { display: none; }
.sin-resultados { padding: 2rem; text-align: center; color: var(--suave); background: #fff; border-radius: var(--radio); }

/* Ranking */
.ranking { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.ranking a { display: flex; gap: .9rem; align-items: center; background: #fff; border-radius: var(--radio); padding: .65rem; box-shadow: var(--sombra); text-decoration: none; }
.ranking img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
.ranking .pos { font-size: 1.4rem; font-weight: 800; color: var(--rosa-fuerte); width: 1.6rem; text-align: center; flex: none; }
.ranking .t { font-weight: 700; line-height: 1.25; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ranking .v { font-size: .85rem; color: var(--suave); }

/* Banda laboratorio */
.banda {
    display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
    background: var(--verde-claro); border-radius: 24px; padding: 1.5rem 1.75rem;
}
.banda .emoji { font-size: 2.6rem; }
.banda h2 { font-size: 1.4rem; }
.banda p { margin: .25rem 0 0; color: var(--suave); }
@media (max-width: 640px) { .banda { grid-template-columns: 1fr; text-align: center; } }

/* Opiniones */
.opiniones { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.opinion { background: #fff; border-radius: var(--radio); padding: 1.1rem 1.2rem; box-shadow: var(--sombra); }
.opinion .corazones { color: var(--rosa-fuerte); letter-spacing: .1em; }
.opinion p { margin: .4rem 0; }
.opinion .autor { font-size: .9rem; color: var(--suave); font-weight: 600; }

/* ---------- Página de receta ---------- */
.miga { font-size: .9rem; color: var(--suave); padding: 1rem 0 .5rem; }
.miga a { text-decoration: none; font-weight: 600; }
.miga a:hover { text-decoration: underline; }
.receta-cabecera { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: center; padding-bottom: 1.5rem; }
.receta-foto { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--rosa-claro); box-shadow: var(--sombra); }
.receta-foto img { width: 100%; height: 100%; object-fit: cover; }
.receta-cabecera h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.15; margin: .4rem 0 1rem; letter-spacing: -.01em; }
.receta-cabecera .cat { font-weight: 700; color: var(--verde-fuerte); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.macro-fila { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1.25rem; }
.macro { background: #fff; border-radius: 14px; padding: .6rem .5rem; text-align: center; box-shadow: var(--sombra); }
.macro b { display: block; font-size: 1.2rem; line-height: 1.2; }
.macro span { font-size: .78rem; color: var(--suave); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.macro.kcal { background: var(--rosa-claro); }
.macro.prot { background: var(--verde-claro); }
.acciones { display: flex; flex-wrap: wrap; gap: .5rem; }
.valoracion { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; color: var(--suave); font-size: .95rem; flex-wrap: wrap; }
.valoracion .corazones button { background: none; border: 0; font-size: 1.4rem; cursor: pointer; padding: 0 .1rem; line-height: 1; filter: grayscale(1); opacity: .5; }
.valoracion .corazones button.on { filter: none; opacity: 1; }

@media (max-width: 860px) {
    .receta-cabecera { grid-template-columns: 1fr; gap: 1rem; }
    .receta-foto { margin: 0 -16px; border-radius: 0; aspect-ratio: 4 / 3; box-shadow: none; }
}

.receta-cuerpo { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 2rem; align-items: start; padding-bottom: 2rem; }
@media (max-width: 860px) { .receta-cuerpo { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } }

.caja { background: #fff; border-radius: var(--radio); padding: 1.25rem 1.4rem; box-shadow: var(--sombra); }
.caja h2 { font-size: 1.25rem; margin: 0 0 .75rem; line-height: 1.25; }
.caja h3 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
.caja ul { padding-left: 1.2rem; margin: .4rem 0; }
.caja p { margin: .5rem 0; }

.ingredientes { position: sticky; top: 84px; background: var(--rosa-claro); box-shadow: none; }
.ingredientes ul { list-style: none; padding: 0; }
.ingredientes li { padding: .45rem 0; border-bottom: 1px dashed rgba(184, 58, 82, .22); }
.ingredientes li:last-child { border-bottom: 0; }
.ingredientes label { display: flex; gap: .65rem; cursor: pointer; align-items: flex-start; }
.ingredientes input[type="checkbox"] { width: 20px; height: 20px; margin: .2rem 0 0; accent-color: var(--rosa-fuerte); flex: none; }
.ingredientes input:checked + span { text-decoration: line-through; opacity: .55; }
.ingredientes ul ul { padding-left: 1.9rem; }
.ingredientes .btn { width: 100%; margin-top: .9rem; background: #fff; }
@media (max-width: 860px) { .ingredientes { position: static; } }

.lectura { max-width: 68ch; font-size: 1.08rem; line-height: 1.75; }
.pasos { counter-reset: paso; }
.pasos h3 {
    display: flex; align-items: center; gap: .75rem; font-size: 1.2rem; margin: 1.75rem 0 .5rem; line-height: 1.3;
}
.pasos h3:first-of-type { margin-top: .5rem; }
.pasos h3::before {
    counter-increment: paso; content: counter(paso);
    flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--verde); font-weight: 800; font-size: 1rem;
}
.pasos h3 .num { display: none; }
.lectura img, .figura-paso { border-radius: 16px; margin: 1rem 0; box-shadow: var(--sombra); width: 100%; }
.lectura strong { color: var(--texto); }
.lectura a { color: var(--rosa-fuerte) !important; font-weight: 700; }

.nutricion { background: var(--azul-claro); box-shadow: none; }
.tips { background: var(--verde-claro); box-shadow: none; }
.cita { background: #fff; border-left: 6px solid var(--rosa); }
.cita blockquote { margin: 0; }
.cierre { background: var(--rosa); box-shadow: none; text-align: center; }
.cierre a { color: var(--texto) !important; }
.bloques { display: grid; gap: 1.25rem; margin-top: 2rem; }

/* Compartir */
.compartir-caja { background: #fff; border-radius: var(--radio); padding: 1.25rem; box-shadow: var(--sombra); margin-top: 2rem; text-align: center; }
.compartir-caja h2 { margin: 0 0 .25rem; font-size: 1.25rem; }
.compartir-caja p { margin: 0 0 1rem; color: var(--suave); }
.redes { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.red { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 700; border: 0; cursor: pointer; background: var(--bg); }
.red svg { width: 18px; height: 18px; }
.red:hover { background: var(--azul-claro); }

/* Relacionadas */
.relacionadas { padding: 1rem 0 3rem; }

/* Barra fija móvil */
.barra-movil {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--borde); padding: .4rem .5rem calc(.4rem + env(safe-area-inset-bottom));
    grid-template-columns: repeat(4, 1fr); gap: .25rem;
}
.barra-movil button { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: .1rem; font-size: .75rem; font-weight: 600; padding: .35rem 0; cursor: pointer; border-radius: 12px; }
.barra-movil button span { font-size: 1.3rem; line-height: 1; }
.barra-movil button:active { background: var(--rosa-claro); }
@media (max-width: 760px) {
    .barra-movil { display: grid; }
    body.con-barra { padding-bottom: 76px; }
    .acciones.escritorio { display: none; }
}

/* Modo cocina */
body.cocina .receta-cabecera, body.cocina .bloques, body.cocina .compartir-caja, body.cocina .relacionadas, body.cocina .sd-pie, body.cocina .miga { display: none; }
body.cocina .lectura { font-size: 1.3rem; max-width: none; }
body.cocina .ingredientes { font-size: 1.15rem; }
.aviso-cocina { display: none; background: var(--verde); padding: .6rem 1rem; text-align: center; font-weight: 700; border-radius: 12px; margin: 1rem 0; }
body.cocina .aviso-cocina { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ---------- Panel lateral (lista) y diálogos ---------- */
.capa { position: fixed; inset: 0; background: rgba(20, 24, 34, .45); z-index: 90; display: none; }
.capa.abierta { display: block; }
.panel {
    position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; z-index: 100;
    transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; padding: 1.25rem;
}
.panel.abierto { transform: none; }
.panel header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.panel header h2 { margin: 0; font-size: 1.3rem; }
.panel ul { list-style: none; padding: 0; margin: 0; overflow-y: auto; flex: 1; }
.panel li { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid var(--borde); }
.panel li span { flex: 1; }
.panel li button { background: none; border: 0; cursor: pointer; color: var(--suave); }
.panel footer { display: grid; gap: .5rem; padding-top: 1rem; }
.panel .vacio { color: var(--suave); text-align: center; padding: 2rem 0; }

dialog { border: 0; border-radius: 22px; padding: 1.5rem; width: min(460px, calc(100% - 32px)); box-shadow: var(--sombra-hover); color: var(--texto); }
dialog::backdrop { background: rgba(20, 24, 34, .45); }
dialog h2 { margin: 0 0 .5rem; }
dialog .cerrar { position: absolute; top: .75rem; right: .75rem; }
dialog input, dialog textarea { width: 100%; font: inherit; padding: .75rem 1rem; border-radius: 12px; border: 1.5px solid var(--borde); margin: .35rem 0 .75rem; }
.selector-corazones button { background: none; border: 0; font-size: 1.8rem; cursor: pointer; filter: grayscale(1); opacity: .45; }
.selector-corazones button.on { filter: none; opacity: 1; }

.aviso { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); background: var(--texto); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; z-index: 200; opacity: 0; transition: .25s ease; pointer-events: none; }
.aviso.ver { opacity: 1; transform: translateX(-50%); }

/* ---------- Buscador ---------- */
.buscador-cabecera { text-align: center; padding: 2rem 0 1rem; }
.buscador-cabecera h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 .4rem; }
.buscador-cabecera p { color: var(--suave); margin: 0 auto; max-width: 52ch; }
.ingredientes-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; background: #fff; border-radius: 24px; padding: 1.25rem; box-shadow: var(--sombra); margin: 1rem 0 1.5rem; }
.estado-busqueda { text-align: center; color: var(--suave); margin-bottom: 1rem; }

/* ---------- Pie ---------- */
.sd-pie { margin-top: 2rem; background: #fff; border-top: 1px solid var(--borde); padding: 2rem 0; }
.sd-pie .envoltura { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.sd-pie p { margin: 0; color: var(--suave); }
.sd-pie .marca { font-weight: 800; font-size: 1.15rem; color: var(--texto); }

/* ---------- Laboratorio heredado: unificar con tarjetas blancas ---------- */
.lab .calc-container, .lab .tool-card, .lab .glass { background: #fff !important; box-shadow: var(--sombra) !important; border: 0 !important; backdrop-filter: none !important; }
.lab .section { padding-top: 2rem !important; min-height: 0 !important; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
    .sd-nav, .barra-movil, .compartir-caja, .relacionadas, .sd-pie, .acciones, .valoracion { display: none !important; }
    body { background: #fff; }
    .caja, .macro { box-shadow: none; }
}
.lab .glass-input, .lab input, .lab select { background: #fff !important; color: var(--texto) !important; border: 1.5px solid var(--borde) !important; box-shadow: none !important; }
.lab .glass-input::placeholder, .lab input::placeholder { color: #8a94a6 !important; }
.lab .glass-input:focus, .lab input:focus, .lab select:focus { border-color: var(--rosa) !important; outline: none; }
/* Menú: nombre largo en pantallas grandes, corto en móvil */
.nav-enlaces .corto { display: none; }
@media (max-width: 560px) {
    .nav-enlaces .largo { display: none; }
    .nav-enlaces .corto { display: inline; }
}
.opinion .autor { line-height: 1.4; }
