/**
 * Webs de los establecimientos — base común a todos los temas.
 *
 * Aquí vive la estructura (cabecera, secciones, galería, horario, mapa, pie)
 * y la responsividad. Cada tema (`plantillas/<tema>/tema.css`) redefine los
 * tokens `--w-*` y remata detalles. Los colores del dueño llegan en línea
 * desde Render::colores(): --w-c1, --w-c2 y sus derivados (sobre, oscura,
 * clara, suave, suave-oscura).
 *
 * Móvil primero (360 px), objetivos táctiles ≥ 44 px, sin fuentes externas.
 */

:root {
    --w-fondo: #ffffff;
    --w-fondo-2: #f5f3ef;
    --w-fondo-tarjeta: #ffffff;
    --w-texto: #1c1b19;
    --w-tenue: #6b6760;
    --w-linea: #e6e2dc;
    --w-radio: 14px;
    --w-radio-btn: 12px;
    --w-radio-foto: 14px;
    --w-fuente: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --w-fuente-titulo: var(--w-fuente);
    --w-peso-titulo: 700;
    --w-tracking-titulo: -0.01em;
    --w-c1-texto: var(--w-c1-oscura);      /* el color del dueño como texto sobre fondo claro */
    --w-c1-fondo: var(--w-c1-suave);       /* fondo tintado */
    --w-ancho: 1080px;
    --w-ancho-cab: 1360px;
    --w-cab: 64px;
    --w-sombra: 0 1px 2px rgba(28, 27, 25, .06), 0 10px 30px rgba(28, 27, 25, .08);
    --w-sep: clamp(56px, 9vw, 112px);      /* separación vertical entre secciones */
    --w-lado: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--w-cab) + 12px); background: var(--w-fondo); }
html.w-menu-abierto { overflow: hidden; }
body { margin: 0; font: 16px/1.55 var(--w-fuente); color: var(--w-texto); background: var(--w-fondo); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
/* `clip`, no `hidden`: con el menú o el visor abiertos (html con overflow hidden) `hidden` haría de body un contenedor de scroll y la cabecera pegajosa se perdería. */
img { max-width: 100%; display: block; }
a { color: var(--w-c1-texto); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }

.w-saltar { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--w-texto); color: var(--w-fondo); border-radius: 8px; }
.w-saltar:focus { top: 8px; }
.w-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

/* ---- cabecera --------------------------------------------------------------- */
.w-cab { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--w-fondo) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.w-cab.es-pegada { border-color: var(--w-linea); }
/* La cabecera es más ancha que el contenido para que quepa el menú; si aun así no cabe, `es-compacta` (js/web.js). */
.w-cab-int { display: flex; align-items: center; gap: 12px; min-height: var(--w-cab); max-width: var(--w-ancho-cab); margin: 0 auto; padding: 0 var(--w-lado); }
.w-marca { display: inline-flex; align-items: center; min-height: 44px; max-width: 60%; color: var(--w-texto); font-family: var(--w-fuente-titulo); font-weight: var(--w-peso-titulo); letter-spacing: var(--w-tracking-titulo); font-size: 1.125rem; line-height: 1.2; }
.w-marca:hover { text-decoration: none; }
.w-marca-logo { width: auto; height: 40px; max-width: 160px; object-fit: contain; }
.w-marca-nombre { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-nav { margin-left: auto; min-width: 0; overflow: auto hidden; scrollbar-width: none; }
.w-nav::-webkit-scrollbar { display: none; }
.w-nav ul { display: flex; gap: 2px; flex-wrap: nowrap; }
.w-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--w-texto); font-weight: 500; font-size: .9375rem; white-space: nowrap; }
.w-nav a:hover { text-decoration: none; background: var(--w-fondo-2); }
.w-nav a.es-activo { color: var(--w-c1-texto); background: var(--w-c1-fondo); }
.w-cab-cta { min-height: 42px; padding: 0 16px; font-size: .9375rem; }
.w-menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--w-texto); }
.w-menu-btn .ic { width: 26px; height: 26px; }
.w-menu-btn .w-menu-cerrar, .w-cab.es-abierto .w-menu-btn .w-menu-abrir { display: none; }
.w-cab.es-abierto .w-menu-btn .w-menu-cerrar { display: block; }

@media (max-width: 879.98px) {
    .w-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px var(--w-lado) 20px; background: var(--w-fondo); border-bottom: 1px solid var(--w-linea); box-shadow: var(--w-sombra); display: none; }
    .w-cab.es-abierto .w-nav { display: block; }
    .w-nav ul { flex-direction: column; gap: 0; }
    .w-nav a { min-height: 48px; width: 100%; padding: 0 12px; border-radius: 10px; font-size: 1.0625rem; }
    .w-menu-btn { display: inline-flex; margin-left: auto; }
    .w-cab-cta { margin-left: auto; }
    .w-cab-cta + .w-menu-btn { margin-left: 0; }
}
@media (max-width: 419.98px) {
    .w-cab-cta span { display: none; }
    .w-cab-cta { width: 42px; padding: 0; justify-content: center; }
}

/* ---- secciones ------------------------------------------------------------ */
.w-sec { padding: var(--w-sep) 0; }
.w-sec:nth-of-type(even):not(.w-portada) { background: var(--w-fondo-2); }
.w-sec-int { max-width: var(--w-ancho); margin: 0 auto; padding: 0 var(--w-lado); }
.w-sec-tit { font-family: var(--w-fuente-titulo); font-weight: var(--w-peso-titulo); letter-spacing: var(--w-tracking-titulo); font-size: clamp(1.625rem, 2vw + 1rem, 2.25rem); line-height: 1.15; margin-bottom: 20px; text-wrap: balance; }
.w-prosa { font-size: 1.0625rem; line-height: 1.65; color: var(--w-texto); max-width: 64ch; }
.w-prosa p + p { margin-top: 1em; }
.w-nota { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: var(--w-radio); background: var(--w-c1-fondo); color: var(--w-texto); font-size: .9375rem; max-width: 64ch; }
.w-nota .ic { margin-top: .15em; color: var(--w-c1-texto); }

/* botones */
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--w-radio-btn); background: var(--w-c1); color: var(--w-sobre-c1); font-weight: 600; line-height: 1.2; text-decoration: none; transition: transform .12s, filter .15s, background .15s; }
.w-btn:hover { text-decoration: none; filter: brightness(1.06); }
.w-btn:active { transform: scale(.98); }
.w-btn .ic { width: 1.2em; height: 1.2em; }
.w-btn--grande { min-height: 54px; padding: 0 28px; font-size: 1.0625rem; }
.w-btn--sec { background: transparent; color: var(--w-c1-texto); box-shadow: inset 0 0 0 2px var(--w-c1-texto); }
.w-btn--sec:hover { background: var(--w-c1-fondo); filter: none; }

/* ---- portada -------------------------------------------------------------- */
.w-portada { position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 720px); padding: 0; overflow: hidden; background: var(--w-c1); color: #fff; isolation: isolate; }
.w-portada.sin-foto { background: linear-gradient(135deg, var(--w-c1), var(--w-c2)); }
.w-portada-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.w-portada-velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .12) 100%); }
.w-portada.sin-foto .w-portada-velo { background: radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .18), transparent 55%), linear-gradient(to top, rgba(0, 0, 0, .35), transparent 70%); }
.w-portada-int { width: 100%; padding-top: calc(var(--w-sep) + 40px); padding-bottom: var(--w-sep); display: grid; gap: 16px; justify-items: start; }
.w-portada-tit { font-family: var(--w-fuente-titulo); font-weight: var(--w-peso-titulo); letter-spacing: var(--w-tracking-titulo); font-size: clamp(2.125rem, 5vw + 1rem, 4.5rem); line-height: 1.02; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); max-width: 16ch; }
.w-portada-sub { font-size: clamp(1.0625rem, 1vw + .75rem, 1.375rem); line-height: 1.4; max-width: 48ch; opacity: .94; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.w-portada-acciones { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- sobre nosotros ---------------------------------------------------------- */
.w-texto .w-sec-int { display: grid; gap: 32px; align-items: center; }
.w-texto-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--w-radio-foto); box-shadow: var(--w-sombra); }
@media (min-width: 880px) {
    .w-texto.con-foto .w-sec-int { grid-template-columns: 1.1fr .9fr; gap: 64px; }
    .w-texto.con-foto .w-texto-foto { order: 2; }
}

/* ---- fotos ------------------------------------------------------------------
   Composición por defecto: cuadrícula. Cada tema la cambia (marcos, mosaico,
   arcos, protagonista). Al pulsar, el visor (más abajo). */
.w-galeria { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.w-galeria-item { display: block; aspect-ratio: 1; border-radius: var(--w-radio-foto); overflow: hidden; background: var(--w-fondo-2); cursor: zoom-in; }
.w-galeria-item img { width: 100%; height: 100%; object-fit: cover; }
.w-fotos.n-1 .w-galeria { grid-template-columns: 1fr; }
.w-fotos.n-1 .w-galeria-item { aspect-ratio: 16 / 9; }
@media (min-width: 640px) {
    .w-galeria { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .w-fotos.n-2 .w-galeria, .w-fotos.n-4 .w-galeria { grid-template-columns: repeat(2, 1fr); }
    .w-fotos.n-4 .w-galeria-item, .w-fotos.n-2 .w-galeria-item { aspect-ratio: 4 / 3; }
}

/* ---- carta ------------------------------------------------------------------
   La carta entera dentro de la web. Estructura común; el aspecto (hoja de
   papel, lista sobre negro, tarjetas, columna centrada) lo da cada tema. */
.w-carta-caja { display: grid; justify-items: center; text-align: center; gap: 14px; max-width: 640px; margin: 0 auto; padding: clamp(28px, 5vw, 48px) var(--w-lado); border-radius: var(--w-radio); background: var(--w-fondo-tarjeta); box-shadow: var(--w-sombra); }
.w-carta-caja .w-prosa { text-align: center; }
.w-carta-caja .w-sec-tit { margin-bottom: 0; }
.w-carta-ico { width: 44px; height: 44px; color: var(--w-c1-texto); }
.w-carta-caja .w-btn { margin-top: 8px; }

.w-carta-cab { margin-bottom: 24px; }
.w-carta-cab .w-sec-tit { margin-bottom: 12px; }
.w-carta-tabs { display: flex; gap: 8px; margin: 0 calc(var(--w-lado) * -1) 28px; padding: 2px var(--w-lado); overflow: auto hidden; scrollbar-width: none; }
.w-carta-tabs::-webkit-scrollbar { display: none; }
.w-carta-tab { flex: none; min-height: 44px; padding: 0 18px; border: 1px solid var(--w-linea); border-radius: 999px; background: var(--w-fondo-tarjeta); color: var(--w-texto); font-weight: 600; white-space: nowrap; }
.w-carta-tab[aria-selected="true"] { background: var(--w-c1); color: var(--w-sobre-c1); border-color: transparent; }
.w-carta-menu[hidden] { display: none; }
.w-carta-menu-cab { display: grid; gap: 6px; margin-bottom: 28px; padding: 16px 18px; border-radius: var(--w-radio); background: var(--w-c1-fondo); }
.w-carta-menu-precio { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-family: var(--w-fuente-titulo); font-weight: var(--w-peso-titulo); font-size: 1.25rem; line-height: 1.2; }
.w-carta-menu-precio strong { font-size: 1.5rem; color: var(--w-c1-texto); white-space: nowrap; }
.w-carta-menu-info { color: var(--w-tenue); font-size: .9375rem; }
.w-carta-grupo { margin-bottom: 36px; }
.w-carta-grupo-tit { margin-bottom: 14px; font-family: var(--w-fuente-titulo); font-weight: var(--w-peso-titulo); letter-spacing: var(--w-tracking-titulo); font-size: 1.375rem; line-height: 1.2; break-after: avoid; }
.w-plato { display: flex; gap: 14px; align-items: flex-start; break-inside: avoid; }
.w-plato + .w-plato { margin-top: 16px; }
.w-plato-foto { flex: none; width: 64px; height: 64px; border-radius: var(--w-radio-foto); overflow: hidden; background: var(--w-fondo-2); cursor: zoom-in; }
.w-plato-foto img { width: 100%; height: 100%; object-fit: cover; }
.w-plato-cuerpo { flex: 1; min-width: 0; }
.w-plato-linea { display: flex; align-items: baseline; gap: 8px; }
.w-plato-nombre { font: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.w-plato-nombre small { display: block; font-weight: 400; font-size: .9375rem; color: var(--w-tenue); }
.w-plato-puntos { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--w-tenue); opacity: .55; transform: translateY(-4px); }
.w-plato-precio { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--w-c1-texto); }
.w-carta .bc-money-symbol { font-size: .8em; margin-left: 1px; }
.w-plato-desc { margin-top: 3px; color: var(--w-tenue); font-size: .9375rem; line-height: 1.45; }
.w-plato-formatos { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: .9375rem; }
.w-plato-formatos strong { color: var(--w-c1-texto); font-variant-numeric: tabular-nums; }
.w-carta-pie { display: flex; justify-content: center; margin-top: 8px; }
/* Resumen de la carta: el final se difumina para que se lea que sigue en la carta digital. */
.w-carta-grupos.es-recortada { -webkit-mask-image: linear-gradient(black calc(100% - 150px), transparent calc(100% - 20px)); mask-image: linear-gradient(black calc(100% - 150px), transparent calc(100% - 20px)); }
.w-carta.es-resumen .w-carta-pie { position: relative; margin-top: -24px; }
@media (max-width: 879.98px) {
    /* En el móvil, a una columna, dos platos por familia. */
    .w-carta-grupos.es-recortada .w-plato:nth-child(n+3) { display: none; }
}
@media (min-width: 880px) {
    .w-carta-grupos { columns: 2; column-gap: 56px; }
}

/* ---- horario ------------------------------------------------------------------ */
.w-horario .w-sec-int { max-width: 720px; }
.w-horario-tabla { width: 100%; border-collapse: collapse; background: var(--w-fondo-tarjeta); border-radius: var(--w-radio); overflow: hidden; box-shadow: var(--w-sombra); }
.w-horario-tabla th, .w-horario-tabla td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--w-linea); vertical-align: top; }
.w-horario-tabla tr:last-child th, .w-horario-tabla tr:last-child td { border-bottom: 0; }
.w-horario-tabla th { font-weight: 600; width: 42%; }
.w-horario-tabla th small { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--w-c1); color: var(--w-sobre-c1); font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; vertical-align: middle; }
.w-horario-tabla td { font-variant-numeric: tabular-nums; }
.w-horario-tramo { display: block; }
.w-horario-cerrado { color: var(--w-tenue); }
.w-horario-tabla tr.es-hoy th, .w-horario-tabla tr.es-hoy td { background: var(--w-c1-fondo); }

/* ---- reservas -------------------------------------------------------------- */
.w-reservas .w-sec-int { max-width: 720px; }
.w-reservas .w-prosa { margin-bottom: 20px; }
.w-res-caja { border: 1px solid var(--w-linea); border-radius: var(--w-radio); background: var(--w-fondo-tarjeta); box-shadow: var(--w-sombra); overflow: hidden; padding-bottom: 8px; }
/* Sin reservas online: tarjeta con el teléfono, que ocupa el ancho de la sección para cuadrar igual con el título centrado que alineado a la izquierda. */
.w-reservas-tel { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 20px; text-align: center; }
.w-reservas-tel-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--w-c1-fondo); color: var(--w-c1-texto); }
.w-reservas-tel-ico .ic { width: 24px; height: 24px; }
.w-reservas-tel-dato { display: grid; gap: 2px; }
.w-reservas-tel-lbl { color: var(--w-tenue); font-size: .875rem; }
.w-reservas-num { color: var(--w-texto); font-family: var(--w-fuente-titulo); font-weight: var(--w-peso-titulo); font-size: clamp(1.625rem, 1.5vw + 1.1rem, 2rem); line-height: 1.2; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-reservas-num:hover { color: var(--w-c1-texto); text-decoration: none; }
.w-reservas-tel .w-btn { width: 100%; padding-inline: 16px; }
@media (min-width: 640px) {
    .w-reservas-tel { flex-direction: row; gap: 18px; padding: 28px 32px; text-align: left; }
    .w-reservas-tel-dato { flex: 1; }
    .w-reservas-tel .w-btn { flex: none; width: auto; padding-inline: 24px; white-space: nowrap; }
}

/* ---- mapa -------------------------------------------------------------------- */
.w-mapa .w-sec-int { display: grid; gap: 28px; align-items: start; }
.w-mapa-dir { display: flex; gap: 10px; align-items: flex-start; font-size: 1.0625rem; margin-bottom: 18px; }
.w-mapa-dir .ic { margin-top: .2em; color: var(--w-c1-texto); }
.w-mapa-texto .w-nota { margin: 0 0 18px; }
.w-mapa-marco { position: relative; border-radius: var(--w-radio); overflow: hidden; background: var(--w-fondo-2); box-shadow: var(--w-sombra); aspect-ratio: 4 / 3; }
.w-mapa-marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 880px) {
    .w-mapa .w-sec-int { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
    .w-mapa-marco { aspect-ratio: 16 / 10; }
}

/* ---- redes ------------------------------------------------------------------ */
.w-redes-lista { display: flex; flex-wrap: wrap; gap: 10px; }
.w-red { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--w-fondo-tarjeta); border: 1px solid var(--w-linea); color: var(--w-texto); font-weight: 600; transition: border-color .15s, transform .12s; }
.w-red:hover { text-decoration: none; border-color: var(--w-c1); transform: translateY(-1px); }
.w-red .ic { width: 22px; height: 22px; color: var(--w-c1-texto); }

/* ---- contacto (con las redes dentro cuando están las dos) ---------------------- */
.w-contacto .w-sec-int { display: grid; gap: 28px; }
.w-contacto-cab .w-sec-tit { margin-bottom: 12px; }
.w-contacto-lista { display: grid; gap: 10px; }
.w-contacto-lista a { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px; border-radius: var(--w-radio); background: var(--w-fondo-tarjeta); border: 1px solid var(--w-linea); color: var(--w-texto); transition: border-color .15s; }
.w-contacto-lista a:hover { text-decoration: none; border-color: var(--w-c1); }
.w-contacto-lista .ic { width: 24px; height: 24px; color: var(--w-c1-texto); }
.w-contacto-lista a > span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.w-contacto-lbl { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--w-tenue); font-weight: 600; }
.w-contacto-redes { margin-top: 24px; }
.w-contacto-redes-tit { margin-bottom: 10px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--w-tenue); font-weight: 600; }
@media (min-width: 640px) { .w-contacto-lista { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) {
    .w-contacto .w-sec-int { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
}

/* ---- pie ------------------------------------------------------------------- */
.w-pie { padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); background: var(--w-texto); color: var(--w-fondo); }
.w-pie-int { max-width: var(--w-ancho); margin: 0 auto; padding: 0 var(--w-lado); display: grid; gap: 6px; }
.w-pie-nombre { font-family: var(--w-fuente-titulo); font-weight: var(--w-peso-titulo); font-size: 1.125rem; }
.w-pie-dir { font-size: .9375rem; opacity: .75; }
.w-credito { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; opacity: .85; }
.w-credito a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---- cabecera compacta ----------------------------------------------------------
   Cuando los enlaces no caben en una línea, `js/web.js` pone `es-compacta` y el
   menú pasa a hamburguesa también en escritorio (mismas reglas que en móvil). */
.w-cab.es-compacta .w-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px var(--w-lado) 20px; background: var(--w-fondo); border-bottom: 1px solid var(--w-linea); box-shadow: var(--w-sombra); display: none; }
.w-cab.es-compacta.es-abierto .w-nav { display: block; }
.w-cab.es-compacta .w-nav ul { flex-direction: column; gap: 0; max-width: var(--w-ancho); margin: 0 auto; }
.w-cab.es-compacta .w-nav a { min-height: 48px; width: 100%; padding: 0 12px; font-size: 1.0625rem; }
.w-cab.es-compacta .w-menu-btn { display: inline-flex; margin-left: auto; }
.w-cab.es-compacta .w-cab-cta { margin-left: auto; }
.w-cab.es-compacta .w-cab-cta + .w-menu-btn { margin-left: 0; }

/* ---- visor de fotos -------------------------------------------------------------
   Amplía las fotos de la galería y de los platos sin salir de la web. */
html.w-visor-abierto { overflow: hidden; }
.w-visor { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 8px; background: rgba(10, 10, 10, .95); color: #fff; }
.w-visor[hidden] { display: none; }
.w-visor-fig { grid-column: 2; display: grid; justify-items: center; gap: 10px; min-width: 0; padding: calc(64px + env(safe-area-inset-top)) 0 calc(16px + env(safe-area-inset-bottom)); }
.w-visor-fig img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; border-radius: 4px; }
.w-visor.es-cargando .w-visor-fig img { opacity: .35; }
.w-visor-fig figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding: 0 12px; font: 400 .875rem/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: rgba(255, 255, 255, .82); text-align: center; }
.w-visor-fig figcaption span:last-child { font-variant-numeric: tabular-nums; opacity: .7; }
.w-visor-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.w-visor-btn:hover { background: rgba(255, 255, 255, .26); }
.w-visor-btn[hidden] { display: none; }
.w-visor-btn .ic { width: 24px; height: 24px; }
.w-visor-cerrar { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 10px; z-index: 1; }
.w-visor-ant { grid-column: 1; }
.w-visor-sig { grid-column: 3; }
@media (max-width: 639.98px) {
    .w-visor { grid-template-columns: minmax(0, 1fr); padding: 0; }
    .w-visor-fig { grid-column: 1; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .w-visor-ant, .w-visor-sig { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); }
    .w-visor-ant { left: 18px; }
    .w-visor-sig { right: 18px; }
}

/* ---- textos legales ------------------------------------------------------------ */
.w-legal .w-sec-int { max-width: 820px; }
.w-legal .w-sec-tit { display: block; text-align: left; }
.w-legal-volver { margin-bottom: 20px; font-size: .9375rem; }
.w-legal-volver a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.w-legal-texto { font-family: var(--w-fuente); font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.w-legal-texto h2, .w-legal-texto h3, .w-legal-texto h4 { margin: 1.8em 0 .5em; font-family: var(--w-fuente-titulo); font-weight: var(--w-peso-titulo); line-height: 1.25; }
.w-legal-texto h2 { font-size: 1.375rem; }
.w-legal-texto h3 { font-size: 1.125rem; }
.w-legal-texto h4 { font-size: 1rem; }
.w-legal-texto p, .w-legal-texto ul, .w-legal-texto ol { margin: 0 0 1em; }
.w-legal-texto ul, .w-legal-texto ol { padding-left: 1.3em; }
.w-legal-texto ul { list-style: disc; }
.w-legal-texto a { text-decoration: underline; text-underline-offset: 3px; }
.w-legal-texto table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.2em; font-size: .875rem; }
.w-legal-texto th, .w-legal-texto td { padding: 8px 10px; border: 1px solid var(--w-linea); text-align: left; vertical-align: top; }
.w-legal-texto th { background: var(--w-fondo-2); }
.w-legal-pref { margin-top: 28px; }
.w-pie-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; font-size: .875rem; }
.w-pie-legal a { display: inline-flex; align-items: center; min-height: 36px; color: inherit; opacity: .85; text-decoration: underline; text-underline-offset: 3px; }
.w-pie-legal a:hover, .w-pie-legal a[aria-current] { opacity: 1; }

/* ---- página que no existe (404 dentro de la web) -------------------------------- */
.w-noexiste { text-align: center; }
.w-noexiste .w-sec-int { display: grid; justify-items: center; gap: 8px; max-width: 640px; padding-top: 24px; padding-bottom: 24px; }
.w-noexiste .w-sec-tit { display: block; margin-bottom: 4px; }
.w-noexiste-volver { margin-top: 18px; }

/* ---- vista previa / demo ------------------------------------------------------ */
.w-preview-aviso { position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; padding: 8px 14px; border-radius: 999px; background: rgba(28, 27, 25, .88); color: #fff; font-size: .8125rem; font-weight: 600; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ======== Reservas: copiado de qr.buenacarta.com/plantillas/_comun/base.css (fuente de verdad) ======== */
/* Variables que espera ese bloque, derivadas de los tokens del tema. */
.w-reservas {
    --c1: var(--w-c1); --c1-tinta: var(--w-c1-texto); --sobre-c1: var(--w-sobre-c1); --c1-suave: var(--w-c1-fondo);
    --fondo: var(--w-fondo-tarjeta); --fondo-2: var(--w-fondo-2); --linea: var(--w-linea); --tenue: var(--w-tenue); --texto: var(--w-texto);
    --radio: var(--w-radio); --rojo: #e0263c; --fuente-titulo: var(--w-fuente-titulo); --nav: 0px; --barra: 0px;
}
:where(.c-res) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.c-res a { color: inherit; text-decoration: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
.c-oculto {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.c-nota {
    display: flex; gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radio);
    background: var(--fondo-2);
    font-size: .9375rem;
}
.c-nota .ic { margin-top: .1em; color: var(--tenue); }
.c-boton {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 48px; padding: 0 20px;
    border-radius: 12px;
    background: var(--c1); color: var(--sobre-c1);
    font-weight: 600;
}
.c-boton:disabled { opacity: .6; }
.c-form-msg { min-height: 1.3em; font-size: .875rem; }
.c-form-msg.es-error { color: #c8261b; }
.c-uds { display: flex; align-items: center; margin-right: 8px; border: 1px solid var(--linea); border-radius: 999px; background: var(--fondo); }
.c-uds button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.c-uds button:active { background: var(--fondo-2); }
.c-uds .ic { width: 18px; height: 18px; }
.c-uds output { min-width: 1.5em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
@keyframes c-late { from { transform: scale(.6); } }
/* ---- reservar mesa (#reservar) y página de la reserva (reserva.php) ------------ */

/* lo que el motor enseña y esconde lleva su propio display: `hidden` tiene que poder más */
.c-res [hidden], .c-res-gestion [hidden] { display: none !important; }
.c-res .c-barra { padding-left: 8px; }   /* siempre lleva flecha de volver */
.c-res-tit { margin: 24px 20px 12px; font: 600 1.0625rem/1.25 var(--fuente-titulo); }
.c-res-paso > .c-res-tit:first-child { margin-top: 20px; }
.c-res-nota { margin: 12px 16px 0; }
.c-res-nota a { color: var(--c1-tinta); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* carga y avisos */
.c-res-carga { display: grid; gap: 14px; padding: 20px 16px; }
.c-res-carga span { height: 52px; border-radius: var(--radio); background: var(--fondo-2); animation: c-res-late 1.1s ease-in-out infinite alternate; }
.c-res-carga span:nth-child(2) { height: 300px; animation-delay: .15s; }
.c-res-carga span:nth-child(3) { animation-delay: .3s; }
@keyframes c-res-late { to { opacity: .45; } }
.c-res-aviso { display: grid; justify-items: center; gap: 16px; padding: 56px 24px; text-align: center; color: var(--tenue); }
.c-res-aviso > .ic { width: 40px; height: 40px; }
.c-res-aviso .c-boton { width: auto; }

/* píldoras: personas, zonas, días alternativos */
.c-res-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.c-res-chip {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 48px; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--linea); border-radius: 999px;
    background: var(--fondo);
    font-weight: 600; font-variant-numeric: tabular-nums;
    transition: background-color .15s, color .15s, border-color .15s;
}
.c-res-chip--n { width: 48px; padding: 0; }
.c-res-chip:not(:disabled):active { background: var(--fondo-2); }
.c-res-chip[aria-checked="true"] { background: var(--c1); color: var(--sobre-c1); border-color: transparent; }
.c-res-chip:disabled { opacity: .4; text-decoration: line-through; }
.c-res-chip--mas select { position: absolute; inset: 0; width: 100%; opacity: 0; font-size: 16px; cursor: pointer; }

/* calendario */
.c-res-cal { margin: 0 16px; padding: 8px 10px 12px; border: 1px solid var(--linea); border-radius: var(--radio); background: var(--fondo); }
.c-res-cal-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.c-res-cal-cab strong { font-weight: 600; }
.c-res-cal-cab button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.c-res-cal-cab button:not(:disabled):active { background: var(--fondo-2); }
.c-res-cal-cab button:disabled { opacity: .25; cursor: default; }
.c-res-cal-sem, .c-res-cal-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.c-res-cal-sem span { padding: 6px 0 4px; font-size: .75rem; font-weight: 600; color: var(--tenue); text-transform: uppercase; }
.c-res-cal-dias { transition: opacity .2s; }
.c-res-cal-dias.es-cargando { opacity: .4; pointer-events: none; }
.c-res-dia {
    position: relative;
    height: 44px; border-radius: 12px;
    font-weight: 600; font-variant-numeric: tabular-nums;
    transition: background-color .15s, color .15s;
}
.c-res-dia::after {
    content: ""; position: absolute; left: 50%; bottom: 5px;
    width: 5px; height: 5px; border-radius: 50%; transform: translateX(-50%);
}
.c-res-dia.es-libre::after { background: #2f9e44; }
.c-res-dia.es-pocas::after { background: #e8a317; }
.c-res-dia.es-completo { color: var(--tenue); text-decoration: line-through; text-decoration-color: rgba(127, 127, 127, .6); }
.c-res-dia.es-completo::after { background: var(--rojo); opacity: .7; }
.c-res-dia.es-cerrado, .c-res-dia.es-fuera { color: var(--tenue); opacity: .45; font-weight: 400; }
.c-res-dia:disabled { cursor: default; }
.c-res-dia:not(:disabled):active { background: var(--fondo-2); }
.c-res-dia.es-hoy { box-shadow: inset 0 0 0 1.5px var(--linea); }
.c-res-dia[aria-pressed="true"] { background: var(--c1); color: var(--sobre-c1); box-shadow: none; }
.c-res-dia[aria-pressed="true"]::after { background: currentColor; }
.c-res-leyenda { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 10px 16px 0; font-size: .8125rem; color: var(--tenue); }
.c-res-leyenda li { display: inline-flex; align-items: center; gap: 6px; }
.c-res-leyenda li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.c-res-leyenda .es-libre::before { background: #2f9e44; }
.c-res-leyenda .es-pocas::before { background: #e8a317; }
.c-res-leyenda .es-completo::before { background: var(--rojo); opacity: .7; }

/* día elegido: zonas y horas */
[data-res-dia] { scroll-margin-top: calc(var(--barra) + env(safe-area-inset-top)); transition: opacity .2s; }
[data-res-dia].es-cargando { opacity: .4; pointer-events: none; }
.c-res-alternativas h3 { margin: 16px 20px 10px; font-size: .875rem; font-weight: 600; color: var(--tenue); }
.c-res-turno { padding: 0 16px; }
.c-res-turno + .c-res-turno { margin-top: 16px; }
.c-res-turno h3 { margin: 0 4px 8px; font-size: .875rem; font-weight: 600; color: var(--tenue); }
.c-res-turno h3 small { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fdecea; color: #9b1c13; font-size: .75rem; }
.c-res-horas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
/* Bloques de horas separados (comidas · cenas) sin nombrar los turnos: solo un hueco entre ellos */
.c-res-horas + .c-res-horas { margin-top: 16px; }
.c-res-hasta { margin: 12px 16px 0; }
.c-res-hora {
    min-height: 44px; border: 1px solid var(--linea); border-radius: 12px;
    background: var(--fondo);
    font-weight: 600; font-variant-numeric: tabular-nums;
    transition: background-color .15s, color .15s;
}
.c-res-hora:not(:disabled):active { background: var(--fondo-2); }
.c-res-hora[aria-pressed="true"] { background: var(--c1); color: var(--sobre-c1); border-color: transparent; }
.c-res-hora.es-lleno { border-color: transparent; background: var(--fondo-2); color: var(--tenue); font-weight: 400; text-decoration: line-through; cursor: default; }

/* barra fija con lo elegido, encima de la botonera */
.c-res-msg-cuando { margin: 16px 20px 0; }
.c-res-pie {
    position: sticky; z-index: 5; bottom: calc(var(--nav) + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 12px;
    margin-top: 24px; padding: 12px 16px;
    background: var(--fondo); border-top: 1px solid var(--linea);
}
.c-res-pie p { flex: 1; min-width: 0; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.c-res-pie .c-boton { width: auto; flex: none; }

/* formulario */
.c-res-form { display: grid; gap: 6px; padding: 16px 20px 28px; }
.c-res-form > label, .c-res-sub { margin-top: 12px; font-size: .875rem; font-weight: 600; }
.c-res-form label small, .c-res-extras legend small { font-weight: 400; color: var(--tenue); }
.c-res-form input:not([type="checkbox"]), .c-res-form select, .c-res-form textarea {
    width: 100%; min-height: 48px; padding: 12px;
    border: 1px solid var(--linea); border-radius: 12px;
    background: var(--fondo); color: var(--texto);
    font: inherit; font-size: 16px;   /* 16 px: iOS no hace zoom al enfocar */
}
.c-res-form textarea { resize: vertical; min-height: 88px; }
.c-res-form input:focus, .c-res-form select:focus, .c-res-form textarea:focus { outline: 2px solid var(--c1-tinta); outline-offset: -1px; border-color: transparent; }
.c-res-form input.es-error, .c-res-form select.es-error, .c-res-form textarea.es-error { border-color: #c8261b; box-shadow: 0 0 0 1px #c8261b; }
.c-res-form .c-form-msg:empty, .c-res-msg-cuando:empty { display: none; }
.c-res-error { font-size: .8125rem; color: #c8261b; }
.c-res-error:empty { display: none; }
.c-res-ayuda { font-size: .8125rem; color: var(--tenue); }
.c-res-resumen {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 4px 4px 14px; border-radius: 12px;
    background: var(--c1-suave); font-weight: 600; line-height: 1.3;
}
.c-res-resumen span { flex: 1; min-width: 0; }
.c-res-resumen button { min-height: 44px; padding: 0 10px; color: var(--c1-tinta); font-size: .875rem; text-decoration: underline; text-underline-offset: 2px; }
.c-res-tel { display: flex; gap: 8px; }
.c-res-prefijo {
    position: relative; flex: none;
    display: inline-flex; align-items: center; gap: 4px;
    min-height: 48px; padding: 0 10px 0 12px;
    border: 1px solid var(--linea); border-radius: 12px;
    background: var(--fondo);
    font-weight: 600; font-variant-numeric: tabular-nums;
}
.c-res-prefijo .ic { width: 14px; height: 14px; opacity: .6; }
.c-res-form .c-res-prefijo select { position: absolute; inset: 0; min-height: 0; padding: 0; opacity: 0; cursor: pointer; }
.c-res-extras { display: grid; gap: 2px; margin: 16px 0 0; padding: 0; border: 0; }
.c-res-extras legend { margin-bottom: 4px; padding: 0; font-size: .875rem; font-weight: 600; }
.c-res-cuenta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--linea); }
.c-res-cuenta .c-uds { margin-right: 0; }
.c-res-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; font-size: .9375rem; line-height: 1.4; cursor: pointer; }
.c-res-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--c1-tinta); }
.c-res-check input.es-error { outline: 2px solid #c8261b; outline-offset: 1px; box-shadow: none; }
.c-res-enlace { padding: 0; color: var(--c1-tinta); font: inherit; text-decoration: underline; text-underline-offset: 2px; }
.c-res-privacidad { padding: 10px 12px; border-radius: 10px; background: var(--fondo-2); font-size: .8125rem; color: var(--tenue); }
.c-res-privacidad a { color: var(--c1-tinta); text-decoration: underline; }
.c-res-condiciones { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--fondo-2); }
.c-res-condiciones h3 { font-size: .875rem; font-weight: 600; }
.c-res-condiciones p { margin-top: 4px; font-size: .9375rem; white-space: pre-line; }
.c-res-condiciones .c-res-check { margin-top: 10px; }
.c-res-form [data-res-enviar] { margin-top: 16px; }
.c-res-form [data-res-enviar].es-enviando { opacity: .7; pointer-events: none; }

/* reserva hecha y página de la reserva */
.c-res-hecho, .c-res-gestion { padding: 32px 20px 28px; text-align: center; }
.c-res-sello {
    display: grid; place-items: center;
    width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
    background: #e3f4e6; color: #1e7b34;
    animation: c-late .4s cubic-bezier(.3, 1.6, .5, 1);
}
.c-res-sello .ic { width: 36px; height: 36px; }
.c-res-hecho .c-res-sello .ic + .ic, .c-res-hecho .c-res-sello.es-pendiente .ic:first-child { display: none; }
.c-res-hecho .c-res-sello.es-pendiente .ic + .ic { display: block; }
.c-res-sello.es-pendiente, .c-res-sello--pendiente { background: #fff1d6; color: #8a5a00; }
.c-res-sello--no { background: var(--fondo-2); color: var(--tenue); }
.c-res-gestion-tit { font: 700 1.375rem/1.25 var(--fuente-titulo); text-wrap: balance; }
.c-res-gestion-txt { margin-top: 8px; color: var(--tenue); }
/* Confirmación de asistencia desde el recordatorio y lista de espera */
.c-res-confirmada { display: inline-flex; align-items: center; gap: 6px; color: var(--c1-tinta); font-weight: 600; }
.c-res-confirmada .ic { width: 18px; height: 18px; }
.c-res-confirmar { display: grid; gap: 10px; margin: 16px 0 4px; padding: 16px; border-radius: 14px; background: var(--fondo-2); }
.c-res-confirmar p { margin: 0; font-weight: 600; }
.c-res-confirmar .c-boton { width: 100%; }
.c-res-espera { margin: 12px 16px 0; }
.c-res-espera .c-boton { width: 100%; }
.c-res-hecho .c-res-nota { margin: 16px 0 0; text-align: left; }
.c-res-ficha { margin: 20px 0; padding: 4px 16px; border: 1px solid var(--linea); border-radius: var(--radio); background: var(--fondo); text-align: left; }
.c-res-ficha > div { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; }
.c-res-ficha > div + div { border-top: 1px solid var(--linea); }
.c-res-ficha dt .ic { margin-top: 2px; color: var(--tenue); }
.c-res-ficha dd { flex: 1; min-width: 0; margin: 0; }
.c-res-ficha-fecha::first-letter { text-transform: uppercase; }
.c-res-ficha-nota { font-size: .9375rem; color: var(--tenue); }
.c-res-codigo { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.0625rem; letter-spacing: .12em; }
.c-res-mensaje { margin-bottom: 20px; text-align: left; }
.c-res-acciones { display: grid; gap: 10px; }
.c-res-acciones .c-res-enlace { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; }
.c-res-acciones .c-res-gestion-txt { margin: 0 0 4px; }
.c-boton--suave { background: var(--fondo-2); color: var(--texto); }
.c-boton--peligro { background: #c8261b; color: #fff; }
.c-res-direccion { margin-top: 20px; font-size: .8125rem; color: var(--tenue); }
.c-gestion-pagina .c-barra--color h1:last-child { padding-right: 44px; }
.c-gestion-pagina .c-form p { color: var(--tenue); }

/* Eventos y menús con plazas al reservar. */
.c-res-eventos { display: grid; gap: 8px; margin: 0 20px; }
.c-res-evento { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--linea); border-radius: 12px; background: var(--fondo); color: var(--texto); text-align: left; font: inherit; cursor: pointer; }
.c-res-evento[aria-checked="true"] { border-color: var(--c1); box-shadow: inset 0 0 0 1px var(--c1); }
.c-res-evento.es-lleno { opacity: .55; cursor: default; }
.c-res-evento-tit { font-weight: 700; }
.c-res-evento-sub { font-size: .875rem; color: var(--texto-2, inherit); opacity: .8; }
.c-res-evento-extra { font-size: .875rem; }

/* ---- web de ejemplo: franja fija arriba que avisa de que el negocio es inventado ---- */
.es-ejemplo { --w-ejemplo-alto: 46px; }
html:has(.es-ejemplo) { scroll-padding-top: calc(var(--w-cab) + var(--w-ejemplo-alto, 46px) + 12px); }
.w-ejemplo { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 14px; height: var(--w-ejemplo-alto); padding: 0 max(12px, env(safe-area-inset-left)) 0 max(12px, env(safe-area-inset-right)); background: #121212; color: #fff; font: 500 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0; text-transform: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.w-ejemplo-txt { margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-ejemplo-txt strong { font-weight: 800; }
.w-ejemplo-txt strong::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #2fd12f; box-shadow: 0 0 0 3px rgba(47, 209, 47, .25); vertical-align: 1px; }
.w-ejemplo-mas { color: rgba(255, 255, 255, .72); }
.w-ejemplo-btn { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: #1fa200; color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.w-ejemplo-btn::after { content: ""; position: absolute; inset: -7px -4px; }
.w-ejemplo-btn:hover { background: #188300; color: #fff; text-decoration: none; }
.es-ejemplo .w-cab { top: var(--w-ejemplo-alto); }
@media (max-width: 639.98px) { .w-ejemplo-mas { display: none; } }

/* ---- selector de idioma (Web Pro con varios idiomas): códigos en la cabecera, nombres dentro del menú ----
   Los temas dan estilo a todo `.w-nav ul` y `.w-nav a` (columna, ancho completo, bordes): lo del selector
   va con !important para que se vea igual en todos. */
.w-idiomas { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.w-idiomas a { display: inline-flex !important; align-items: center; justify-content: center; width: auto !important; min-width: 34px; min-height: 34px; padding: 0 6px !important; border: 0 !important; border-radius: 999px !important; background: none !important; color: inherit; font-size: .8125rem !important; font-weight: 600; letter-spacing: .04em; text-transform: none; text-decoration: none; opacity: .7; transition: opacity .2s; }
.w-idiomas a::before, .w-idiomas a::after { content: none !important; }
.w-idiomas a:hover { opacity: 1; text-decoration: none; }
.w-idiomas a[aria-current] { opacity: 1; box-shadow: inset 0 0 0 1.5px currentColor !important; }
.w-idiomas--cab { margin-left: 8px; flex: none; }
.w-nav .w-idiomas--menu { display: none !important; flex-direction: row !important; flex-wrap: wrap; gap: 6px; margin: 10px 0 0 !important; padding: 12px 0 0 !important; border-top: 1px solid var(--w-linea); }
.w-nav .w-idiomas--menu li { width: auto !important; }
.w-nav .w-idiomas--menu a { min-height: 40px; padding: 0 14px !important; font-size: .9375rem !important; letter-spacing: 0; }
@media (max-width: 879.98px) {
    .w-idiomas--cab { display: none; }
    .w-nav .w-idiomas--menu { display: flex !important; }
}
.w-cab.es-compacta .w-idiomas--cab { display: none; }
.w-cab.es-compacta .w-nav .w-idiomas--menu { display: flex !important; }
