/* Páginas legales de Lumy: mismo diseño que la tienda (frontend/index.html).
   Rosa empolvado + negro, Bodoni Moda en títulos, Manrope en el texto, una columna de 560 px.
   Los colores son los mismos tokens de la tienda: si cambian allá, cambian aquí. */
:root {
  --rosa: #B86B7B;
  --rosa-fuerte: #9E4F61;
  --rosa-claro: #F6EAEC;
  --negro: #151113;
  --barra-tinta: #F3D9DE;
  --fondo: #FBF7F6;
  --tinta: #151113;
  --tinta-suave: #6B5F63;
  --linea: #E8DCDD;
  --titulo: 'Bodoni Moda', Didot, 'Bodoni 72', Georgia, serif;
  --texto: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radio: 6px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font-family: var(--texto); font-size: 16px; line-height: 1.6; }
.envoltura { width: min(100%, 560px); margin: 0 auto; }
a { color: var(--rosa-fuerte); }

/* barra de anuncios + cabecera, como en la tienda */
.anuncio { background: var(--negro); color: var(--barra-tinta); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-align: center; padding: 8px 16px; text-transform: uppercase; }
.cabecera { position: sticky; top: 0; z-index: 20; background: rgba(251,247,246,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.cabecera .envoltura { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 8px 12px; }
.marca { font-family: var(--titulo); font-weight: 700; font-style: italic; font-size: 36px; line-height: .9; color: var(--tinta); text-align: center; text-decoration: none; }
.marca small { display: block; font-family: var(--texto); font-size: 9.5px; font-weight: 800; letter-spacing: .34em; color: var(--tinta-suave); margin-top: 7px; font-style: normal; }
.icono { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radio); color: var(--tinta); }
.icono svg { width: 24px; height: 24px; }

/* el documento */
.legal { padding: 28px 16px 40px; display: grid; gap: 14px; }
.legal h1 { font-family: var(--titulo); font-weight: 500; font-size: 34px; line-height: 1.1; margin: 0; text-align: center; text-wrap: balance; }
.legal .fecha { margin: -4px 0 6px; text-align: center; font-size: 13px; color: var(--tinta-suave); }
.legal h2 { font-family: var(--titulo); font-weight: 500; font-size: 22px; line-height: 1.2; margin: 14px 0 0; text-wrap: balance; }
.legal p, .legal ul, .legal ol { margin: 0; }
.legal ul, .legal ol { padding-left: 20px; display: grid; gap: 6px; }
.legal li::marker { color: var(--rosa); }
.legal strong { font-weight: 800; }
.legal .destacado { background: var(--rosa-claro); border: 1px solid var(--linea); border-radius: var(--radio); padding: 14px 16px; }
.legal .tabla { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.legal th { font-weight: 800; background: var(--rosa-claro); }
.contacto { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 16px; display: grid; gap: 2px; font-size: 15px; }
.contacto b { font-size: 16px; }
.volver { justify-self: center; margin-top: 8px; font-weight: 800; color: var(--tinta); }
.pendiente { color: var(--rosa-fuerte); font-weight: 800; }

/* pie, como en la tienda */
footer { background: var(--rosa-claro); border-top: 1px solid var(--linea); padding: 28px 16px calc(28px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 14px; color: var(--tinta-suave); }
footer .envoltura { display: grid; gap: 10px; }
footer .marca { font-size: 46px; }
footer a { color: var(--tinta); font-weight: 700; }
footer .enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
footer .enlaces a[aria-current] { color: var(--rosa-fuerte); }
