/* =============================================================
   FARMACIA RUIZ AZNAR (Valencia) — Sistema visual v2 (19-oct-2026)
   Tipografía v3 (farmacia): Newsreader (títulos, serif) + Public Sans (texto)
   Paleta: negro oliva (estructura) · lima (señal) · azul puerto (un bloque fuerte + azulejos) · tiza (fondo)
   Regla de color: la lima SOLO con tinta oscura encima o sobre fondo oscuro.
                   El texto verde sobre claro es --ra-oliva (#5E6B14).
   Rasgos de marca: subrayador lima (.fra-mark), arco (.fra-arch), anillos del mortero (.fra-rings),
                    franja de azulejos (.fra-tiles).
   Prefijo de clases: fra-
   Estado de marca: propuesta sin OK de la farmacia (ver LEEME_BUILD.md).
   ============================================================= */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/newsreader-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/newsreader-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/publicsans-latin.woff2") format("woff2");
}

:root {
  /* Marca */
  --ra-lima: #B0C22E;
  --ra-negro: #14180C;
  --ra-azul: #14505C;
  --ra-tiza: #F4F6EE;
  --ra-oliva: #5E6B14;
  --ra-blanco: #FFFFFF;
  --ra-ink-on-lima: #14180C;
  /* Derivados permitidos (no son colores nuevos de marca) */
  --ra-lima-hover: #C6D93F;
  --ra-lima-tinte: #EAF0C8;
  --ra-negro-suave: #232819;
  --ra-texto-2: #5A6152;
  --ra-azul-hover: #1D6C7C;
  --ra-alt: #E8ECDD;
  --ra-linea: rgba(20, 24, 12, .12);
  --ra-linea-fuerte: rgba(20, 24, 12, .28);
  --ra-linea-oscura: rgba(244, 246, 238, .16);
  --ra-tiza-2: rgba(244, 246, 238, .78);
  /* Estados */
  --ra-error: #B3261E;
  --ra-ok: #4A7C2F;
  --ra-aviso: #8F5C10;

  --ra-ff-display: "Newsreader", Georgia, "Times New Roman", serif;
  --ra-ff-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fra-gut: clamp(20px, 4vw, 48px);
  --fra-sec: clamp(72px, 9vw, 136px);
  --fra-maxw: 1320px;
  --fra-maxw-header: 1320px;
  --fra-r-s: 14px;
  --fra-r-m: 24px;
  --fra-r-l: 32px;
  --fra-ease: cubic-bezier(.2, .7, .2, 1);
  --fra-sh-1: 0 1px 2px rgba(20, 24, 12, .05), 0 12px 30px -16px rgba(20, 24, 12, .24);
  --fra-sh-2: 0 2px 5px rgba(20, 24, 12, .07), 0 30px 60px -26px rgba(20, 24, 12, .42);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: var(--ra-ff-body, "Public Sans", system-ui, sans-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ra-negro, #14180C);
  background: var(--ra-tiza, #F4F6EE);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
picture { display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--ra-lima, #B0C22E); color: var(--ra-negro, #14180C); }

:focus-visible { outline: 3px solid var(--ra-azul, #14505C); outline-offset: 3px; }
.fra-on-dark :focus-visible { outline-color: var(--ra-lima, #B0C22E); }

/* Contenido pendiente de datos de la farmacia: oculto hasta desbloquear */
[data-pendiente] { display: none !important; }

.fra-sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.fra-skip {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--ra-lima, #B0C22E); color: var(--ra-negro, #14180C);
  padding: 12px 20px; border-radius: 999px; font-weight: 700; min-height: 44px;
  display: inline-flex; align-items: center;
}
.fra-skip:focus { left: 12px; position: fixed; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4, .fra-h {
  font-family: var(--ra-ff-display, "Newsreader", Georgia, serif);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -.02em;
  line-height: 1.04;
  margin: 0;
  color: var(--ra-negro, #14180C);
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: 1; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.03; }
h3 { font-size: 1.5rem; line-height: 1.1; }
h4 { font-size: 1.2rem; line-height: 1.2; }

/* Kicker: línea corta + versales con tracking */
.fra-kicker {
  display: inline-flex; align-items: flex-start; gap: 12px;
  font-family: var(--ra-ff-body, "Public Sans", system-ui, sans-serif);
  font-size: .8125rem; font-weight: 700; line-height: 1.35;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ra-oliva, #5E6B14);
  margin: 0 0 18px; text-wrap: balance;
}
.fra-kicker::before { content: ""; flex: none; width: 24px; height: 2px; margin-top: .62em; border-radius: 2px; background: currentColor; }
.fra-on-dark .fra-kicker, .fra-kicker--lima { color: var(--ra-lima, #B0C22E); }

.fra-lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: var(--ra-texto-2, #5A6152); max-width: 56ch; }
.fra-on-dark .fra-lead { color: var(--ra-tiza-2, rgba(244, 246, 238, .78)); }
.fra-text-lima { color: var(--ra-lima, #B0C22E); }

/* Subrayador lima: la palabra clave del titular. Sobre fondo oscuro, la palabra va en lima y sin trazo. */
.fra-mark {
  background: linear-gradient(transparent 58%, var(--ra-lima, #B0C22E) 58% 90%, transparent 90%);
  padding-inline: .06em; margin-inline: -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.fra-on-dark .fra-mark { background: none; color: var(--ra-lima, #B0C22E); padding-inline: 0; margin-inline: 0; }

/* ---------- Layout ---------- */
.fra-wrap { width: 100%; max-width: var(--fra-maxw, 1320px); margin-inline: auto; padding-inline: var(--fra-gut, clamp(20px, 4vw, 48px)); }
.fra-section { padding-block: var(--fra-sec, clamp(72px, 9vw, 136px)); position: relative; overflow-x: clip; }
.fra-section--tight { padding-block: calc(var(--fra-sec, clamp(72px, 9vw, 136px)) * .6); }
.fra-section--alt { background: var(--ra-alt, #E8ECDD); }
.fra-section--blanco { background: var(--ra-blanco, #FFFFFF); }
.fra-section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 60px); }
.fra-section__head h2 + p { margin-top: 16px; }

/* Cabecera de sección en dos columnas: kicker + titular a la izquierda, apoyo a la derecha */
.fra-sec-head { display: grid; gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4.5vw, 60px); }
.fra-sec-head h2 { max-width: 16ch; }
.fra-sec-head__side { max-width: 52ch; }
.fra-sec-head__side p { color: var(--ra-texto-2, #5A6152); margin: 0; font-size: 1.125rem; }
@media (min-width: 900px) {
  .fra-sec-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .fra-sec-head__side { justify-self: end; text-align: left; padding-bottom: 6px; }
}

.fra-on-dark { color: var(--ra-tiza, #F4F6EE); background: var(--ra-negro, #14180C); }
.fra-on-dark h1, .fra-on-dark h2, .fra-on-dark h3, .fra-on-dark h4 { color: var(--ra-tiza, #F4F6EE); }
.fra-on-azul { background: var(--ra-azul, #14505C); }

/* ---------- Motivos de marca ---------- */
/* Anillos del mortero: arcos concéntricos finos, solo en esquinas y a baja opacidad */
.fra-rings {
  position: absolute; z-index: 0; pointer-events: none; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 var(--rg, 34px), var(--rc, rgba(94, 107, 20, .2)) var(--rg, 34px) calc(var(--rg, 34px) + 1.5px));
  -webkit-mask-image: radial-gradient(circle at center, #000 0 18%, transparent 68%);
  mask-image: radial-gradient(circle at center, #000 0 18%, transparent 68%);
}
.fra-on-dark .fra-rings { --rc: rgba(176, 194, 46, .2); }
.fra-on-azul .fra-rings { --rc: rgba(244, 246, 238, .16); }
/* Arco: parte superior semicircular */
.fra-arch { border-radius: 999px 999px 28px 28px; overflow: hidden; }
/* Franja de azulejos (cenefa en azul puerto) */
.fra-tiles { height: 26px; background: var(--ra-azul, #14505C) url("/img/brand/azulejo-franja.svg") repeat-x 0 0 / 28px 28px; }
.fra-tiles--fina { height: 14px; background-size: 15px 15px; }

/* ---------- Botones ---------- */
.fra-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 12px 28px;
  font-family: var(--ra-ff-body, "Public Sans", system-ui, sans-serif); font-weight: 700; font-size: 1.0625rem; line-height: 1.1;
  border-radius: 999px; border: 2px solid transparent;
  transition: transform .35s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), background-color .25s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), color .25s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), border-color .25s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), box-shadow .35s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
  white-space: nowrap; cursor: pointer;
}
.fra-btn:hover { transform: translateY(-2px); }
.fra-btn:active { transform: translateY(0); }
.fra-btn svg { width: 20px; height: 20px; flex: none; }
/* Flecha en círculo: se aplica a toda flecha de botón sin tocar el marcado */
.fra-btn > svg.fra-ico-arrow {
  width: 34px; height: 34px; padding: 8px; border-radius: 50%; margin: -7px -16px -7px 2px;
  transition: transform .35s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), background-color .25s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-btn:hover > svg.fra-ico-arrow { transform: translateX(4px); }
.fra-btn--primary { background: var(--ra-negro, #14180C); color: var(--ra-tiza, #F4F6EE); }
.fra-btn--primary:hover { background: var(--ra-negro-suave, #232819); box-shadow: 0 16px 30px -16px rgba(20, 24, 12, .6); }
.fra-btn--primary > svg.fra-ico-arrow { background: var(--ra-lima, #B0C22E); color: var(--ra-negro, #14180C); }
.fra-btn--lima { background: var(--ra-lima, #B0C22E); color: var(--ra-negro, #14180C); }
.fra-btn--lima:hover { background: var(--ra-lima-hover, #C6D93F); box-shadow: 0 16px 30px -16px rgba(176, 194, 46, .8); }
.fra-btn--lima > svg.fra-ico-arrow { background: var(--ra-negro, #14180C); color: var(--ra-lima, #B0C22E); }
.fra-btn--azul { background: var(--ra-azul, #14505C); color: var(--ra-blanco, #FFFFFF); }
.fra-btn--azul:hover { background: var(--ra-azul-hover, #1D6C7C); }
.fra-btn--azul > svg.fra-ico-arrow { background: var(--ra-lima, #B0C22E); color: var(--ra-negro, #14180C); }
.fra-btn--ghost { border-color: var(--ra-negro, #14180C); color: var(--ra-negro, #14180C); }
.fra-btn--ghost:hover { background: var(--ra-negro, #14180C); color: var(--ra-tiza, #F4F6EE); }
.fra-btn--ghost-light { border-color: var(--ra-tiza, #F4F6EE); color: var(--ra-tiza, #F4F6EE); }
.fra-btn--ghost-light:hover { background: var(--ra-tiza, #F4F6EE); color: var(--ra-negro, #14180C); }
.fra-btn--sm { min-height: 46px; padding: 8px 22px; font-size: 1rem; }
.fra-btn--sm > svg.fra-ico-arrow { width: 30px; height: 30px; padding: 7px; margin: -7px -14px -7px 0; }
.fra-btn--xl { min-height: 64px; padding: 16px 36px; font-size: 1.1875rem; }
.fra-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.fra-on-dark .fra-btn--primary { background: var(--ra-lima, #B0C22E); color: var(--ra-negro, #14180C); }
.fra-on-dark .fra-btn--primary:hover { background: var(--ra-lima-hover, #C6D93F); }
.fra-on-dark .fra-btn--primary > svg.fra-ico-arrow { background: var(--ra-negro, #14180C); color: var(--ra-lima, #B0C22E); }

.fra-btnrow { display: flex; flex-wrap: wrap; gap: 12px 14px; }

/* Enlace con subrayador: se rellena de lima al pasar el ratón */
.fra-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--ra-oliva, #5E6B14); line-height: 1.2; padding-inline: 2px;
  background: linear-gradient(var(--ra-lima, #B0C22E), var(--ra-lima, #B0C22E)) 0 calc(100% - 7px) / 100% 3px no-repeat;
  transition: gap .3s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), background-size .35s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), color .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-link svg { width: 18px; height: 18px; flex: none; }
.fra-link:hover { gap: 12px; color: var(--ra-negro, #14180C); background-size: 100% 70%; }
.fra-on-dark .fra-link { color: var(--ra-lima, #B0C22E); background-image: linear-gradient(var(--ra-lima, #B0C22E), var(--ra-lima, #B0C22E)); }
.fra-on-dark .fra-link:hover { color: var(--ra-negro, #14180C); }

/* Iconos (sprite inline, trazo 2 px, extremos redondeados) */
.fra-ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Topbar ---------- */
.fra-topbar { background: var(--ra-negro, #14180C); color: var(--ra-tiza, #F4F6EE); font-size: .875rem; }
.fra-topbar .fra-wrap { max-width: var(--fra-maxw-header, 1320px); }
.fra-topbar__in { display: flex; align-items: center; justify-content: center; gap: 8px 22px; min-height: 44px; }
.fra-topbar a, .fra-topbar__note {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 4px;
  font-weight: 500; white-space: nowrap; transition: color .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-topbar a:hover { color: var(--ra-lima, #B0C22E); }
.fra-topbar .fra-ico { width: 16px; height: 16px; color: var(--ra-lima, #B0C22E); }
.fra-topbar__sep { width: 1px; height: 14px; background: var(--ra-linea-oscura, rgba(244, 246, 238, .16)); }
.fra-topbar__note { display: none; color: var(--ra-tiza-2, rgba(244, 246, 238, .78)); }
@media (max-width: 440px) { .fra-topbar__city { display: none; } .fra-topbar__in { gap: 4px 14px; } }
@media (min-width: 900px) {
  .fra-topbar__in { justify-content: flex-start; }
  .fra-topbar__note { display: inline-flex; margin-left: auto; }
}

/* ---------- Cabecera ---------- */
.fra-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 246, 238, .88);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--ra-linea, rgba(20, 24, 12, .12));
  transition: box-shadow .3s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), background-color .3s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-header.is-scrolled { background: rgba(244, 246, 238, .95); box-shadow: 0 14px 34px -22px rgba(20, 24, 12, .5); }
.fra-header .fra-wrap { max-width: var(--fra-maxw-header, 1320px); }
.fra-header__in { display: flex; align-items: center; gap: 12px; height: 72px; }
.fra-brand { display: inline-flex; align-items: center; min-height: 48px; flex: none; }
.fra-brand img { height: 40px; width: auto; }
.fra-nav { display: none; flex: 1 1 auto; justify-content: center; gap: 2px; min-width: 0; }
.fra-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: 999px; font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: background-color .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-nav a:hover { background: var(--ra-alt, #E8ECDD); }
.fra-nav a[aria-current="page"] { background: var(--ra-lima-tinte, #EAF0C8); }

.fra-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.fra-icon-btn {
  width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background-color .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), transform .3s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-icon-btn:hover { background: var(--ra-alt, #E8ECDD); transform: translateY(-1px); }
.fra-icon-btn--user { display: none; }
.fra-header .fra-btn--lima { display: none; margin-left: 8px; }
.fra-burger { width: 48px; height: 48px; }

@media (min-width: 1220px) {
  .fra-header__in { height: 84px; gap: 20px; }
  .fra-brand img { height: 46px; }
  .fra-nav { display: flex; }
  .fra-icon-btn--user { display: inline-flex; }
  .fra-header .fra-btn--lima { display: inline-flex; }
  .fra-burger { display: none; }
}
/* De 1220 a 1359 px caben los 7 items (con Servicios, La farmacia y Pla del Real desbloqueados) con menos aire y el logo algo menor */
@media (min-width: 1220px) and (max-width: 1359px) {
  .fra-header__in { gap: 12px; }
  .fra-brand img { height: 42px; }
  .fra-nav a { padding: 0 8px; font-size: .94rem; }
}

/* ---------- Cajón móvil ---------- */
.fra-drawer {
  position: fixed; inset: 0; z-index: 100; isolation: isolate;
  display: none; flex-direction: column;
  background: var(--ra-negro, #14180C); color: var(--ra-tiza, #F4F6EE);
  padding: 0 var(--fra-gut, clamp(20px, 4vw, 48px));
  overflow-y: auto; overflow-x: clip;
  opacity: 0; transform: translateY(-14px);
  transition: opacity .35s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), transform .35s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), display .35s allow-discrete;
}
.fra-drawer.is-open { display: flex; opacity: 1; transform: none; }
@starting-style { .fra-drawer.is-open { opacity: 0; transform: translateY(-14px); } }
.fra-drawer__rings { right: -34%; top: 30%; width: 120vw; max-width: 720px; --rg: 40px; }
.fra-drawer__top { display: flex; align-items: center; justify-content: space-between; height: 72px; flex: none; }
.fra-drawer__top img { height: 40px; width: auto; }
.fra-drawer__close { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--ra-linea-oscura, rgba(244, 246, 238, .16)); transition: background-color .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)); }
.fra-drawer__close:hover { background: var(--ra-negro-suave, #232819); }
.fra-drawer nav { display: flex; flex-direction: column; margin-top: 8px; position: relative; z-index: 1; }
.fra-drawer nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  font-family: var(--ra-ff-display, "Newsreader", Georgia, serif); font-weight: 700; font-size: 1.85rem; letter-spacing: -.02em;
  text-transform: lowercase; border-bottom: 1px solid var(--ra-linea-oscura, rgba(244, 246, 238, .16));
  transition: color .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), padding .3s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-drawer nav a:hover { color: var(--ra-lima, #B0C22E); padding-left: 6px; }
.fra-drawer nav a[aria-current="page"] { color: var(--ra-lima, #B0C22E); }
.fra-drawer nav a .fra-ico { color: var(--ra-lima, #B0C22E); }
.fra-drawer__cta { margin-top: 24px; position: relative; z-index: 1; }
.fra-drawer__cta .fra-btn { width: 100%; }
.fra-drawer__tools { display: flex; gap: 8px; margin-top: 16px; position: relative; z-index: 1; }
.fra-drawer__tools a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  border: 1.5px solid var(--ra-linea-oscura, rgba(244, 246, 238, .16)); border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: border-color .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), color .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-drawer__tools a:hover { border-color: var(--ra-lima, #B0C22E); color: var(--ra-lima, #B0C22E); }
.fra-drawer__call { margin-top: auto; padding-block: 28px 24px; position: relative; z-index: 1; }
.fra-drawer__call a {
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px;
  border-radius: 999px; background: var(--ra-tiza, #F4F6EE); color: var(--ra-negro, #14180C); font-weight: 700; font-size: 1.125rem;
}
.fra-drawer__tiles { flex: none; margin-inline: calc(var(--fra-gut, clamp(20px, 4vw, 48px)) * -1); }
body.fra-lock { overflow: hidden; }

/* ---------- Pie ---------- */
.fra-footer { position: relative; overflow: clip; isolation: isolate; background: var(--ra-negro, #14180C); color: var(--ra-tiza-2, rgba(244, 246, 238, .78)); font-size: 1rem; }
.fra-footer__mark { position: absolute; z-index: -1; right: -5%; bottom: 70px; width: min(52vw, 560px); height: auto; opacity: .07; pointer-events: none; }
.fra-footer__grid { display: grid; gap: 36px 24px; grid-template-columns: 1fr 1fr; padding-top: clamp(52px, 7vw, 92px); }
.fra-footer__brand { grid-column: 1 / -1; }
.fra-footer__brand img { height: 52px; width: auto; margin-bottom: 20px; }
.fra-footer__brand p { max-width: 30ch; margin: 0; font-size: 1.0625rem; }
.fra-footer h2 {
  font-family: var(--ra-ff-body, "Public Sans", system-ui, sans-serif); text-transform: uppercase; letter-spacing: .14em; font-size: .8125rem; font-weight: 700;
  color: var(--ra-lima, #B0C22E); margin: 0 0 12px; line-height: 1.3;
}
.fra-footer ul { list-style: none; display: flex; flex-direction: column; }
.fra-footer li a, .fra-footer li span {
  display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; line-height: 1.3;
}
.fra-footer li a { min-width: 44px; transition: color .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), transform .25s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)); }
.fra-footer li a:hover { transform: translateX(3px); }
.fra-footer a:hover { color: var(--ra-lima, #B0C22E); }
.fra-footer__contact li { align-items: flex-start; }
.fra-footer__nota {
  margin-top: clamp(40px, 5vw, 64px); padding-block: 22px; border-top: 1px solid var(--ra-linea-oscura, rgba(244, 246, 238, .16));
  font-size: .9375rem; color: var(--ra-tiza-2, rgba(244, 246, 238, .78));
}
.fra-footer__nota p { margin: 0; max-width: 78ch; }
.fra-footer__nota p + p { margin-top: 4px; }
.fra-footer__bottom { border-top: 1px solid var(--ra-linea-oscura, rgba(244, 246, 238, .16)); padding-block: 14px 24px; font-size: .9375rem; }
.fra-footer__bottom-in { display: flex; flex-direction: column; gap: 4px 28px; }
.fra-footer__copy { color: var(--ra-tiza, #F4F6EE); font-weight: 500; padding-block: 8px; }
.fra-footer__mtryx { color: var(--ra-tiza, #F4F6EE); }
.fra-footer__mtryx a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ra-lima, #B0C22E); }

@media (min-width: 720px) {
  .fra-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
}
@media (min-width: 1000px) {
  .fra-footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr 1.15fr; gap: 40px; }
  .fra-footer__brand { grid-column: auto; }
}
@media (min-width: 720px) {
  .fra-footer__bottom-in { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
}

/* ---------- Chips ---------- */
.fra-chip { display: flex; align-items: center; gap: 14px; }
.fra-chip__ico {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ra-lima, #B0C22E); color: var(--ra-negro, #14180C);
}
.fra-chip__txt { font-weight: 700; line-height: 1.3; }
.fra-chip__txt small { display: block; font-size: .875rem; font-weight: 500; color: var(--ra-texto-2, #5A6152); }

/* ---------- Tarjetas ---------- */
.fra-grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .fra-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .fra-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .fra-grid { gap: 24px; }
}
@media (min-width: 1000px) { .fra-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.fra-card {
  background: var(--ra-blanco, #FFFFFF); border: 1px solid var(--ra-linea, rgba(20, 24, 12, .12)); border-radius: var(--fra-r-m, 24px);
  padding: clamp(24px, 3vw, 36px); position: relative; box-shadow: var(--fra-sh-1, 0 1px 2px rgba(20, 24, 12, .05), 0 12px 30px -16px rgba(20, 24, 12, .24));
  transition: transform .4s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), box-shadow .4s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), border-color .3s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
a.fra-card:hover, .fra-card--hover:hover { transform: translateY(-6px); box-shadow: var(--fra-sh-2, 0 2px 5px rgba(20, 24, 12, .07), 0 30px 60px -26px rgba(20, 24, 12, .42)); border-color: var(--ra-linea-fuerte, rgba(20, 24, 12, .28)); }
.fra-card__ico {
  width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ra-lima, #B0C22E); color: var(--ra-negro, #14180C); margin-bottom: 22px;
}
.fra-card h3 { margin-bottom: 10px; }
.fra-card p { color: var(--ra-texto-2, #5A6152); margin-bottom: 0; }
.fra-card--oscura { background: var(--ra-negro, #14180C); color: var(--ra-tiza-2, rgba(244, 246, 238, .78)); border-color: transparent; }
.fra-card--oscura p { color: var(--ra-tiza-2, rgba(244, 246, 238, .78)); }
.fra-card--oscura h3, .fra-card--oscura h2 { color: var(--ra-tiza, #F4F6EE); }

/* Tarjeta de artículo (oculta hasta que haya artículos): foto, categoría, titular */
.fra-post { display: flex; flex-direction: column; background: var(--ra-blanco, #FFFFFF); border: 1px solid var(--ra-linea, rgba(20, 24, 12, .12)); border-radius: var(--fra-r-m, 24px); overflow: hidden; box-shadow: var(--fra-sh-1, 0 1px 2px rgba(20, 24, 12, .05), 0 12px 30px -16px rgba(20, 24, 12, .24)); transition: transform .4s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), box-shadow .4s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)); }
.fra-post:hover { transform: translateY(-6px); box-shadow: var(--fra-sh-2, 0 2px 5px rgba(20, 24, 12, .07), 0 30px 60px -26px rgba(20, 24, 12, .42)); }
.fra-post__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.fra-post__img > img, .fra-post__img > picture img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)); }
.fra-post:hover .fra-post__img > img, .fra-post:hover .fra-post__img > picture img { transform: scale(1.06); }
.fra-post__img .fra-hueco { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.fra-post__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fra-post__meta { font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ra-oliva, #5E6B14); }
.fra-post h3 { font-size: 1.35rem; }

/* Hueco de marca donde irá una foto real (sin texto de prompt, sin modal) */
.fra-hueco {
  position: relative; overflow: hidden; border-radius: var(--fra-r-m, 24px);
  background: var(--ra-lima-tinte, #EAF0C8); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
}
.fra-hueco::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 78% 110%, transparent 0 34px, rgba(94, 107, 20, .16) 34px 35px);
}
.fra-hueco img { position: relative; width: 38%; max-width: 180px; opacity: .9; }

/* ---------- Acordeón (FAQ) ---------- */
.fra-acc { display: grid; gap: 12px; }
.fra-acc__item { background: var(--ra-blanco, #FFFFFF); border: 1px solid var(--ra-linea, rgba(20, 24, 12, .12)); border-radius: var(--fra-r-m, 24px); box-shadow: var(--fra-sh-1, 0 1px 2px rgba(20, 24, 12, .05), 0 12px 30px -16px rgba(20, 24, 12, .24)); transition: border-color .25s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), box-shadow .35s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)); }
.fra-acc__item:hover { border-color: var(--ra-linea-fuerte, rgba(20, 24, 12, .28)); }
.fra-acc__item.is-open { border-color: var(--ra-linea-fuerte, rgba(20, 24, 12, .28)); box-shadow: var(--fra-sh-2, 0 2px 5px rgba(20, 24, 12, .07), 0 30px 60px -26px rgba(20, 24, 12, .42)); }
.fra-acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  min-height: 72px; padding: 14px 24px;
  font-family: var(--ra-ff-display, "Newsreader", Georgia, serif); font-weight: 700; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em;
  border-radius: var(--fra-r-m, 24px);
}
.fra-acc__plus {
  position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ra-lima, #B0C22E);
  transition: transform .35s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), background-color .25s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-acc__btn:hover .fra-acc__plus { background: var(--ra-lima-hover, #C6D93F); }
.fra-acc__plus::before, .fra-acc__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  background: var(--ra-negro, #14180C); border-radius: 2px; transition: transform .35s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-acc__plus::after { transform: rotate(90deg); }
.fra-acc__item.is-open .fra-acc__plus::after { transform: rotate(0deg); }
.fra-acc__item.is-open .fra-acc__plus { transform: rotate(180deg); }
.fra-acc__panel { padding: 0 24px; color: var(--ra-texto-2, #5A6152); overflow: hidden; }
.fra-acc__panel > * { margin: 0 0 .8em; max-width: 62ch; }
.fra-acc__panel > :last-child { margin-bottom: 22px; }
.fra-acc__panel[hidden] { display: none; }
.fra-acc__panel.is-anim { transition: height .35s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)); }

/* ---------- Formularios ---------- */
.fra-form { display: grid; gap: 20px; }
.fra-field { display: grid; gap: 8px; }
.fra-field label, .fra-label { font-weight: 700; font-size: 1rem; }
.fra-field .fra-opt { font-weight: 500; color: var(--ra-texto-2, #5A6152); }
.fra-input, .fra-textarea, .fra-select {
  width: 100%; min-height: 56px; padding: 14px 18px; font-size: 1rem; line-height: 1.4;
  background: var(--ra-blanco, #FFFFFF); border: 1.5px solid var(--ra-linea-fuerte, rgba(20, 24, 12, .28)); border-radius: var(--fra-r-s, 14px);
  transition: border-color .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)), box-shadow .2s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-textarea { min-height: 168px; resize: vertical; }
.fra-input:hover, .fra-textarea:hover, .fra-select:hover { border-color: var(--ra-negro, #14180C); }
.fra-input:focus-visible, .fra-textarea:focus-visible, .fra-select:focus-visible { outline: 3px solid var(--ra-azul, #14505C); outline-offset: 2px; border-color: var(--ra-azul, #14505C); }
.fra-field.is-invalid .fra-input, .fra-field.is-invalid .fra-textarea { border-color: var(--ra-error, #B3261E); }
.fra-field__hint { font-size: .9375rem; color: var(--ra-texto-2, #5A6152); margin: 0; }
.fra-field__error { font-size: .9375rem; color: var(--ra-error, #B3261E); font-weight: 700; margin: 0; }
.fra-field__error[hidden] { display: none; }
.fra-check { display: flex; gap: 12px; align-items: flex-start; }
.fra-check input {
  -webkit-appearance: none; appearance: none; width: 44px; height: 44px; margin: 0; flex: none; cursor: pointer; border: 0; border-radius: 12px;
  background: no-repeat center / 28px 28px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Crect x='1.5' y='1.5' width='25' height='25' rx='7' fill='%23fff' stroke='%2314180C' stroke-width='2'/%3E%3C/svg%3E");
}
.fra-check input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Crect x='1.5' y='1.5' width='25' height='25' rx='7' fill='%2314180C' stroke='%2314180C' stroke-width='2'/%3E%3Cpath d='M8 14.5l4 4 8-9' fill='none' stroke='%23B0C22E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fra-check label { font-weight: 500; display: block; padding-block: 10px; min-height: 44px; }
.fra-check label a { text-decoration: underline; text-underline-offset: 3px; color: var(--ra-oliva, #5E6B14); font-weight: 700; }
.fra-form__status { border-radius: var(--fra-r-s, 14px); padding: 14px 18px; font-weight: 700; }
.fra-form__status[hidden] { display: none; }
.fra-form__status--ok { background: var(--ra-lima-tinte, #EAF0C8); color: var(--ra-negro, #14180C); border: 1.5px solid var(--ra-ok, #4A7C2F); }
.fra-form__status--error { background: var(--ra-blanco, #FFFFFF); color: var(--ra-error, #B3261E); border: 1.5px solid var(--ra-error, #B3261E); }

/* Buscador (GET a /tienda/ con post_type=product) */
.fra-search {
  display: flex; align-items: stretch; background: var(--ra-blanco, #FFFFFF); border-radius: 999px; padding: 6px;
  border: 1.5px solid var(--ra-negro, #14180C); max-width: 640px; box-shadow: var(--fra-sh-1, 0 1px 2px rgba(20, 24, 12, .05), 0 12px 30px -16px rgba(20, 24, 12, .24));
  transition: box-shadow .3s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-search:focus-within { box-shadow: 0 0 0 4px rgba(20, 80, 92, .22), var(--fra-sh-1, 0 1px 2px rgba(20, 24, 12, .05), 0 12px 30px -16px rgba(20, 24, 12, .24)); }
.fra-search input[type="search"] {
  flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 20px; font-size: 1rem; border: 0; background: transparent; border-radius: 999px;
}
.fra-search input[type="search"]:focus-visible { outline: none; }
.fra-search .fra-btn { flex: none; min-height: 52px; }

/* ---------- Mapa con consentimiento por clic (no se carga nada de Google antes) ---------- */
.fra-mapbox {
  position: relative; isolation: isolate; overflow: hidden; min-height: 360px; border-radius: var(--fra-r-l, 32px);
  background: var(--ra-azul, #14505C) url("/img/brand/azulejo.svg") center / 72px;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--ra-tiza, #F4F6EE);
}
.fra-mapbox__bg { position: absolute; inset: 0; z-index: -2; }
.fra-mapbox__bg picture { height: 100%; }
.fra-mapbox__bg img { width: 100%; height: 100%; object-fit: cover; }
.fra-mapbox::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 80, 92, 0) 30%, rgba(14, 24, 12, .45) 100%); }
.fra-mapbox::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 26px; background: var(--ra-azul, #14505C) url("/img/brand/azulejo-franja.svg") repeat-x 0 0 / 28px 28px; }
.fra-mapbox__mark { position: absolute; z-index: 0; left: 50%; top: 27%; width: min(30%, 170px); transform: translate(-50%, -50%); filter: drop-shadow(0 10px 18px rgba(14, 24, 12, .25)); }
.fra-mapbox__panel { position: relative; z-index: 2; margin: 16px 16px 42px; padding: 18px 20px; border-radius: var(--fra-r-m, 24px); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ra-negro, #14180C); display: grid; gap: 12px; }
.fra-mapbox__tag { display: flex; align-items: center; gap: 10px; font-weight: 700; line-height: 1.25; }
.fra-mapbox__tag .fra-ico { color: var(--ra-oliva, #5E6B14); }
.fra-mapbox__aviso { margin: 0; font-size: .875rem; color: var(--ra-texto-2, #5A6152); line-height: 1.4; }
.fra-mapbox__frame { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; background: var(--ra-alt, #E8ECDD); }
.fra-mapbox.is-loaded .fra-mapbox__mark, .fra-mapbox.is-loaded .fra-mapbox__panel { display: none; }

/* ---------- Bloque final: el único bloque de color fuerte de la página (home e interiores) ---------- */
.fra-final { padding-block: clamp(56px, 8vw, 112px); background: var(--ra-tiza, #F4F6EE); }
.fra-final__panel {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--fra-r-l, 32px);
  padding: clamp(40px, 7vw, 96px) clamp(28px, 6vw, 88px); color: var(--ra-tiza, #F4F6EE);
}
.fra-final__bg { position: absolute; inset: 0; z-index: -3; opacity: .5; mix-blend-mode: multiply; }
.fra-final__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 70%; }
.fra-final__panel .fra-rings { z-index: -2; right: -12%; top: -34%; width: min(120%, 820px); --rg: 38px; }
.fra-final__disc {
  position: absolute; z-index: -1; right: -44px; top: -44px; width: 124px; aspect-ratio: 1; border-radius: 50%;
  background: var(--ra-lima, #B0C22E); display: grid; place-items: center;
}
.fra-final__disc img { position: absolute; left: 14px; bottom: 28px; width: 34px; }          /* en móvil solo asoma un cuarto de círculo: símbolo pequeño dentro de la parte visible, lejos del titular */
@media (min-width: 760px) {
  .fra-final__disc { right: clamp(-120px, -8vw, -40px); top: auto; bottom: clamp(-150px, -10vw, -60px); width: clamp(260px, 34vw, 430px); }
  .fra-final__disc img { position: static; width: 52%; margin: -8% 0 0 -10%; }
}
.fra-final h2 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); max-width: 13ch; margin-bottom: 18px; }
.fra-final p { margin: 0 0 clamp(26px, 4vw, 40px); max-width: 34ch; font-size: 1.25rem; color: var(--ra-tiza-2, rgba(244, 246, 238, .78)); }
.fra-final .fra-btnrow { position: relative; z-index: 1; }

/* ---------- Marcador de pendiente (visible solo en maqueta) ---------- */
.fra-pendiente { background: #FFE9A8; color: var(--ra-negro, #14180C); border-radius: 6px; padding: 1px 8px; font-weight: 700; outline: 1.5px dashed var(--ra-aviso, #8F5C10); }

/* ---------- Banner de cookies (componente listo; se activa cuando haya GA4) ---------- */
.fra-cookies {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; max-height: 40vh; overflow-y: auto;
  background: var(--ra-negro, #14180C); color: var(--ra-tiza, #F4F6EE); border-radius: var(--fra-r-m, 24px); padding: 20px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.fra-cookies[hidden] { display: none; }
.fra-cookies__btns { display: flex; gap: 12px; margin-top: 14px; }
.fra-cookies__btns .fra-btn { flex: 1; min-height: 48px; padding-inline: 16px; }
.fra-cookies a { text-decoration: underline; text-underline-offset: 3px; color: var(--ra-lima, #B0C22E); }
@media (min-width: 720px) { .fra-cookies { left: auto; right: 24px; bottom: 24px; max-width: 460px; } }

/* ---------- Aparecer al hacer scroll (escalonado). Sin JS el contenido nunca queda oculto ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js-on .fra-reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)) var(--d, 0ms), transform .8s var(--fra-ease, cubic-bezier(.2, .7, .2, 1)) var(--d, 0ms); }
  html.js-on .fra-reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0ms !important; }
}

/* Defensa contra desbordes laterales */
html, body { overflow-x: clip; }


/* =============================================================
   v3 · CARÁCTER DE FARMACIA (19-oct-2026, noche)
   Jordi: «parece una web de Glovo». Se mantiene la marca (logo, lima, oliva, azul puerto, tiza)
   y cambia el carácter: serif en titulares, texto sobrio, botones rectangulares con esquina corta,
   sin píldoras ni flechas en círculo, cruz de farmacia como señal, azul puerto en la franja superior.
   Esta capa va al final: sustituye a lo anterior sin tocar el marcado.
   ============================================================= */
:root {
  --ra-oliva-hondo: #4A5610;
  --ra-oliva-hondo-hover: #394209;
  --fra-r-s: 6px;
  --fra-r-m: 10px;
  --fra-r-l: 14px;
  --fra-sh-1: 0 1px 2px rgba(20, 24, 12, .04);
  --fra-sh-2: 0 1px 2px rgba(20, 24, 12, .05), 0 16px 30px -22px rgba(20, 24, 12, .3);
  }
body { font-size: 1.0625rem; line-height: 1.62; letter-spacing: .002em; }

/* Titulares: serif, frase normal (la primera letra en mayúscula por CSS), sin negrita de póster */
h1, h2, h3, h4, .fra-h {
  font-family: var(--ra-ff-display, "Newsreader", Georgia, serif);
  font-weight: 500; text-transform: none; letter-spacing: -.012em; line-height: 1.12;
  font-optical-sizing: auto;
}
h1::first-letter, h2::first-letter, h3::first-letter, h4::first-letter, .fra-h::first-letter { text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.018em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; }
h3 { font-size: 1.45rem; line-height: 1.2; }
h4 { font-size: 1.2rem; }

/* Palabra clave: cursiva en oliva (antes, subrayador lima) */
.fra-mark { background: none; font-style: italic; font-weight: 500; color: var(--ra-oliva, #5E6B14); padding: 0; margin: 0; }
.fra-on-dark .fra-mark { color: var(--ra-lima, #B0C22E); }

/* Kicker: cruz de farmacia en lugar de raya */
.fra-kicker { align-items: center; gap: 10px; font-weight: 600; font-size: .8125rem; letter-spacing: .12em; }
.fra-kicker::before {
  width: 13px; height: 13px; margin-top: 0; border-radius: 0; flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 2h6v7h7v6h-7v7H9v-7H2V9h7z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 2h6v7h7v6h-7v7H9v-7H2V9h7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fra-lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); }

/* Botones: rectangulares, sobrios */
.fra-btn { min-height: 52px; padding: 12px 26px; gap: 10px; border-radius: 8px; border-width: 1.5px; font-weight: 600; font-size: 1rem; letter-spacing: .005em; }
.fra-btn:hover { transform: none; }
.fra-btn > svg.fra-ico-arrow, .fra-btn--sm > svg.fra-ico-arrow {
  width: 18px; height: 18px; padding: 0; margin: 0; border-radius: 0;
  background: none !important; color: currentColor !important;
}
.fra-btn:hover > svg.fra-ico-arrow { transform: translateX(3px); }
.fra-btn--primary, .fra-btn--lima { background: var(--ra-oliva-hondo, #4A5610); color: #fff; }
.fra-btn--primary:hover, .fra-btn--lima:hover { background: var(--ra-oliva-hondo-hover, #394209); box-shadow: none; }
.fra-on-dark .fra-btn--primary, .fra-on-dark .fra-btn--lima { background: var(--ra-lima, #B0C22E); color: var(--ra-negro, #14180C); }
.fra-on-dark .fra-btn--primary:hover, .fra-on-dark .fra-btn--lima:hover { background: var(--ra-lima-hover, #C6D93F); }
.fra-btn--ghost { border-color: var(--ra-oliva-hondo, #4A5610); color: var(--ra-oliva-hondo, #4A5610); }
.fra-btn--ghost:hover { background: var(--ra-oliva-hondo, #4A5610); color: #fff; }
.fra-btn--sm { min-height: 44px; padding: 8px 20px; font-size: .9375rem; }
.fra-skip { border-radius: 8px; }

/* Enlace: subrayado fino */
.fra-link {
  font-weight: 600; color: var(--ra-oliva-hondo, #4A5610);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1.5px no-repeat;
}
.fra-link:hover { color: var(--ra-negro, #14180C); background-size: 100% 1.5px; }
.fra-on-dark .fra-link { color: var(--ra-lima, #B0C22E); background-image: linear-gradient(currentColor, currentColor); }
.fra-on-dark .fra-link:hover { color: var(--ra-tiza, #F4F6EE); }

/* Franja superior en azul puerto, con el horario */
.fra-topbar { background: var(--ra-azul, #14505C); font-size: .875rem; }
.fra-topbar .fra-ico { color: var(--ra-lima-tinte, #EAF0C8); }
.fra-topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fra-topbar__sep { background: rgba(244, 246, 238, .28); }
.fra-topbar__hours { display: none; align-items: center; gap: 8px; min-height: 44px; padding-inline: 4px; font-weight: 500; white-space: nowrap; }
@media (min-width: 760px) { .fra-topbar__hours { display: inline-flex; } }
@media (min-width: 760px) and (max-width: 1099px) { .fra-topbar__hours .fra-topbar__sat { display: none; } }

/* Cabecera: blanca, menú con subrayado */
.fra-header { background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--ra-linea, rgba(20, 24, 12, .12)); }
.fra-header.is-scrolled { background: rgba(255, 255, 255, .98); box-shadow: 0 10px 26px -22px rgba(20, 24, 12, .5); }
.fra-nav a { border-radius: 0; font-weight: 500; padding: 0 12px; }
.fra-nav a:hover, .fra-nav a[aria-current="page"] { background: none; }
.fra-nav a[aria-current="page"] { font-weight: 600; }
.fra-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 2px;
  background: var(--ra-oliva, #5E6B14); transform: scaleX(0); transform-origin: left center;
  transition: transform .3s var(--fra-ease, cubic-bezier(.2, .7, .2, 1));
}
.fra-nav a:hover::after, .fra-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 1220px) and (max-width: 1359px) { .fra-nav a::after { left: 8px; right: 8px; } }
.fra-icon-btn { border-radius: 8px; }

/* Cajón móvil */
.fra-drawer nav a { font-weight: 500; text-transform: none; letter-spacing: -.01em; font-size: 1.7rem; }
.fra-drawer nav a::first-letter { text-transform: uppercase; }
.fra-drawer__tools a, .fra-drawer__call a { border-radius: 8px; }
.fra-drawer__tools a { font-weight: 600; }
.fra-drawer__call a { font-weight: 600; }

/* Pie */
.fra-footer h2 { font-weight: 600; letter-spacing: .13em; }
.fra-footer h2::first-letter { text-transform: none; }

/* Aviso */
.fra-nota { border-radius: 8px; font-weight: 600; }

/* v3: buscador y avisos sin píldora */
.fra-search { border-radius: 10px; padding: 5px; }
.fra-search input { border-radius: 8px; }
.fra-search .fra-btn, .fra-search button { border-radius: 7px; }
.fra-nota { border-radius: 8px; }
.fra-acc__item { border-radius: 10px; }

/* v3b · más serio (Jordi, 19-oct noche): franja superior y bloque final en negro oliva (no azul), iconos en cuadrado tintado, sin círculos lima */
.fra-topbar { background: var(--ra-negro, #14180C); }
.fra-topbar .fra-ico { color: var(--ra-lima, #B0C22E); }
.fra-topbar__sep { background: rgba(244, 246, 238, .22); }
.fra-chip__ico { border-radius: 8px; background: var(--ra-lima-tinte, #EAF0C8); color: var(--ra-oliva-hondo, #4A5610); }
.fra-acc__plus { border-radius: 8px; background: var(--ra-lima-tinte, #EAF0C8); }
.fra-acc__btn:hover .fra-acc__plus { background: var(--ra-alt, #E8ECDD); }
.fra-acc__plus::before, .fra-acc__plus::after { background: var(--ra-oliva-hondo, #4A5610); }
.fra-final__panel { background: var(--ra-negro-suave, #232819); }
.fra-final__panel .fra-rings { --rc: rgba(244, 246, 238, .1); }
.fra-final__disc { display: none; }
.fra-final__bg { opacity: .28; }
/* Envío gratis en la barra de arriba (8-nov-2026, Jorge: «no se le da suficiente importancia al envío gratis»). Va PRIMERO en .fra-topbar__in
   (web/_tools/topbar_envio.py en la web estática; header.php en la tienda). Solo hay envío gratis nacional (península), sin reparto local.
   En el móvil (<760 px) la barra enseña solo esta frase (dirección y teléfono siguen en el cajón, el pie y /contacto.html); en pantalla ancha
   va delante de lo de siempre, y se quita «Tienda online…» (<1400 px), el horario (<1100 px) y el «Sáb» del horario desde 1400 px (allí entra «Tienda online…» y no caben los dos; medido) para que no se corte. */
.fra-topbar__envio { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 4px; flex: none; font-weight: 600; white-space: nowrap; }
@media (max-width: 759px) {
  .fra-topbar__in { justify-content: center; }
  .fra-topbar__in > :not(.fra-topbar__envio) { display: none; }
}
@media (min-width: 1400px) { .fra-topbar__hours .fra-topbar__sat { display: none; } }
@media (min-width: 760px) and (max-width: 1399px) { .fra-topbar__note { display: none; } }
@media (min-width: 760px) and (max-width: 1099px) { .fra-topbar__hours, .fra-topbar__hours + .fra-topbar__sep { display: none; } }
