/* ============================================================================
   inloff — Home 2026 (warm minimalism · CRO-first)
   ----------------------------------------------------------------------------
   Estilos de las secciones que generan los shortcodes de inc/inloff-home-blocks.php.
   Mobile-first. Full-bleed robusto. Reveals gated bajo .inloff-js (sin JS = todo
   visible). Respeta prefers-reduced-motion. Consume tokens de inloff-tokens.css.
   ========================================================================= */

/* Guard: evita scroll horizontal por el full-bleed (solo en la home). */
body.home { overflow-x: hidden; }

/* La portada va a sangre: eliminamos el padding vertical del wrapper de
   contenido de Flatsome (#content.page-wrapper 30px arriba/abajo + el .col que
   envuelve todo 30px abajo) para que el hero quede pegado al header y la última
   sección pegada al footer, sin bandas vacías. Scoped a body.home. */
body.home #content.page-wrapper { padding-top: 0 !important; padding-bottom: 0 !important; }
body.home #content .row-main > .col,
body.home #content .row-main > .col > .col-inner { padding-bottom: 0 !important; }

/* ---------------------------------------------------------------------------
   Base de sección + full-bleed
   ------------------------------------------------------------------------ */
.inloff-home {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: clamp(40px, 6vw, 96px) 0;
  background: var(--inloff-cream);
  color: var(--inloff-ink);
  -webkit-font-smoothing: antialiased;
}
.inloff-home + .inloff-home { border-top: 1px solid var(--inloff-line); }
.inloff-home__inner {
  width: 100%;
  max-width: var(--inloff-max);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 40px);
  box-sizing: border-box;
}

/* Variantes de fondo alternas para ritmo visual */
.inloff-home-trustline { padding: 18px 0; background: var(--inloff-cream-light); }
/* USP en cream-warm (no cream-light) para que NO se lea como una continuación de
   la trustline: dos bandas finas seguidas con el mismo fondo colapsaban en una. */
.inloff-home-usp { background: var(--inloff-cream-warm); padding: clamp(28px,4vw,56px) 0; }
.inloff-home-recipients { background: var(--inloff-cream-warm); }
/* Quiebre tonal navy a media página (C3): el gift finder —centro de conversión—
   sobre fondo navy, con su card blanca flotando como foco. Rompe la sucesión de
   5 secciones crema y da cadencia (hero navy … finder navy … proceso navy). */
.inloff-home-finder { background: var(--inloff-navy); }
.inloff-home-process { background: var(--inloff-navy); color: var(--inloff-on-navy); }
.inloff-home-reviews { background: var(--inloff-cream-warm); }

/* ---------------------------------------------------------------------------
   Tipografía / encabezados de sección
   ------------------------------------------------------------------------ */
.inloff-h2 {
  font-family: var(--inloff-font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 1rem + 2.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--inloff-navy);
  margin: 0 0 0.4em;
}
.inloff-home-process .inloff-h2 { color: var(--inloff-on-navy); }
.inloff-lead {
  font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.12rem);
  line-height: 1.55;
  color: var(--inloff-ink-soft);
  margin: 0;
  max-width: 56ch;
}
.inloff-home-process .inloff-lead { color: var(--inloff-on-navy-soft); }
.inloff-eyebrow,
.inloff-gf__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--inloff-bronze-text);
  margin-bottom: 14px;
}
.inloff-eyebrow .inloff-ico,
.inloff-gf__eyebrow .inloff-ico { width: 16px; height: 16px; }
.inloff-secthead { max-width: 760px; margin: 0 0 clamp(24px, 3vw, 44px); }
.inloff-secthead--light { color: var(--inloff-on-navy); }

/* ---------------------------------------------------------------------------
   Iconos / estrellas / botones
   ------------------------------------------------------------------------ */
.inloff-ico { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.inloff-stars { display: inline-flex; gap: 1px; color: var(--inloff-heart); font-size: 0.95em; line-height: 1; letter-spacing: 1px; }
.inloff-star.is-empty { color: rgba(197,161,132,0.32); }
.inloff-star.is-half {
  background: linear-gradient(90deg, var(--inloff-heart) 50%, rgba(197,161,132,0.32) 50%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* O2.5+O2.6 — Botones del hero: contraste + feedback de press + sticky-hover
   ----------------------------------------------------------------------------
   Cambios vs versión anterior:
   - transition: 0.45s → 180ms en UI states (Emil: 100-250ms para feedback
     responsive; 450ms se siente lento al click).
   - :active { transform: scale(0.97) } para feedback físico de press.
   - Hover wrapped en @media (hover: hover) and (pointer: fine) para evitar
     sticky-hover tras tap en móvil/táctil (los hovers vía tap permanecen
     pegados hasta el siguiente tap, confunde al usuario). */
.inloff-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--inloff-radius-pill);
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 180ms var(--inloff-ease-out, var(--inloff-ease)),
              background-color 180ms ease,
              color 180ms ease,
              box-shadow 200ms ease;
  min-height: 48px; box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
.inloff-btn:active { transform: scale(0.97); transition-duration: 80ms; }
.inloff-btn:focus-visible {
  outline: 2px solid var(--inloff-heart);
  outline-offset: 3px;
}

/* Anillo de foco compartido para superficies interactivas no-botón (tiles,
   cards de destinatario/producto, opciones y cards del gift finder). Antes solo
   dependían del outline por defecto del navegador, invisible sobre fotos oscuras
   o sobre el navy del estado seleccionado. Doble halo (dorado + navy translúcido)
   para que se vea sobre cualquier fondo. */
.inloff-tile:focus-visible,
.inloff-rcard:focus-visible,
.inloff-pcard:focus-visible,
.inloff-gf__opt:focus-visible,
.inloff-gf__card:focus-visible {
  outline: 3px solid var(--inloff-heart);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(27, 37, 64, 0.40);
}

/* Utilidad solo-lector (para el valor numérico de las estrellas, que van
   aria-hidden en cards y reseñas). */
.inloff-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.inloff-btn--primary { background: var(--inloff-navy); color: var(--inloff-cream); box-shadow: var(--inloff-shadow-sm); }
.inloff-btn--ghost { background: transparent; color: var(--inloff-navy); border-color: var(--inloff-navy); }
.inloff-btn--heart { background: var(--inloff-heart); color: var(--inloff-navy); }

@media (hover: hover) and (pointer: fine) {
  .inloff-btn--primary:hover {
    background: var(--inloff-navy-deep); color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--inloff-shadow);
  }
  .inloff-btn--ghost:hover {
    background: var(--inloff-navy); color: var(--inloff-cream);
    transform: translateY(-2px);
  }
  .inloff-btn--heart:hover {
    background: var(--inloff-heart-dark);
    transform: translateY(-2px);
  }
}

/* ---------------------------------------------------------------------------
   Hero editorial a sangre (shortcode [inloff_hero])
   ------------------------------------------------------------------------ */
.inloff-home-hero {
  position: relative; padding: 0; overflow: hidden;
  min-height: clamp(520px, 82vh, 780px);
  display: flex; align-items: center; justify-content: center;
  background: var(--inloff-navy);
}
.inloff-hero__media { position: absolute; inset: 0; z-index: 0; }
.inloff-hero__media img,
.inloff-hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.inloff-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,26,46,0.30) 0%, rgba(19,26,46,0.34) 42%, rgba(19,26,46,0.64) 100%);
}
.inloff-hero__content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  max-width: 800px; padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 40px);
}
.inloff-hero__eyebrow {
  display: inline-block; color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.74rem; font-weight: 700;
  margin-bottom: 18px;
  /* Red de seguridad de contraste igual que h1/lead: el eyebrow es texto pequeño
     (exige 4.5:1) y cae en la franja alta del overlay, la más débil. */
  text-shadow: 0 1px 16px rgba(19, 26, 46, 0.55);
}
.inloff-hero__h1 {
  font-family: var(--inloff-font-serif); font-weight: 600; color: #fff;
  font-size: clamp(2.4rem, 1rem + 5.6vw, 4.6rem); line-height: 1.03; letter-spacing: -0.015em;
  margin: 0 0 0.4em; text-shadow: 0 2px 30px rgba(19, 26, 46, 0.4);
}
.inloff-hero__h1 span { display: block; }
.inloff-hero__h1 em { display: block; font-style: italic; color: var(--inloff-heart-light); }
.inloff-hero__lead {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem); line-height: 1.55;
  color: rgba(255, 255, 255, 0.94); margin: 0 auto 1.7em; max-width: 46ch;
  text-shadow: 0 1px 16px rgba(19, 26, 46, 0.4);
}
.inloff-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
/* Hero ghost CTA: outline cream sobre foto del hero. Le damos un fondo
   navy semi-transparente (30% alpha) para garantizar contraste AA del
   texto blanco sin importar la zona de la foto sobre la que caiga
   (ADR-077 prohíbe backdrop-filter por su coste GPU en scrolling). */
.inloff-hero__ctas .inloff-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background-color: rgba(19, 26, 46, 0.30);
}
@media (hover: hover) and (pointer: fine) {
  .inloff-hero__ctas .inloff-btn--ghost:hover {
    background: #fff;
    color: var(--inloff-navy);
    border-color: #fff;
  }
}
.inloff-hero__occasions { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; margin-top: 24px; }
/* Área táctil real (≥40px) sin separar el subrayado del texto: usamos
   text-decoration (no border-bottom), así el subrayado sigue pegado a la palabra
   aunque el hit-area crezca con el padding vertical. */
.inloff-hero__occasions a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 4px 2px;
  color: rgba(255, 255, 255, 0.92); font-size: 0.84rem; font-weight: 500;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.42);
  text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.inloff-hero__occasions a:hover { color: #fff; text-decoration-color: var(--inloff-heart-light); }

/* ---------------------------------------------------------------------------
   Banda superior — deadline estacional
   ------------------------------------------------------------------------ */
.inloff-home-deadline {
  background: var(--inloff-navy);
  color: var(--inloff-on-navy);
  text-align: center;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  font-weight: 500;
}
/* Campaña: texto navy sobre dorado (~5.4:1, AA) en vez de blanco (~3.25:1, falla
   para texto pequeño). Se activa en cada ventana estacional = máximo tráfico. */
.inloff-home-deadline.is-campaign { background: var(--inloff-heart-dark); color: var(--inloff-navy); font-weight: 600; }
.inloff-home-deadline a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.inloff-home-deadline__link { white-space: nowrap; }

/* ---------------------------------------------------------------------------
   Trust strip
   ------------------------------------------------------------------------ */
.inloff-trustline__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 28px;
}
.inloff-trustline__cell { display: inline-flex; align-items: center; gap: 9px; font-size: 0.86rem; color: var(--inloff-ink-soft); }
.inloff-trustline__cell .inloff-ico { width: 18px; height: 18px; color: var(--inloff-heart-dark); }
.inloff-trustline__txt strong { color: var(--inloff-navy); }

/* ---------------------------------------------------------------------------
   USP row
   ------------------------------------------------------------------------ */
.inloff-usp__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.inloff-usp__cell { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px; }
.inloff-usp__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--inloff-heart-dark); box-shadow: var(--inloff-shadow-sm);
  margin-bottom: 6px;
}
.inloff-usp__ico .inloff-ico { width: 26px; height: 26px; }
.inloff-usp__title { font-weight: 700; color: var(--inloff-navy); font-size: 0.98rem; }
.inloff-usp__sub { font-size: 0.82rem; color: var(--inloff-muted); }

/* ---------------------------------------------------------------------------
   Bento — compra por ocasión
   ------------------------------------------------------------------------ */
.inloff-bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.inloff-bento__tiles { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }

.inloff-tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--inloff-radius); min-height: 180px;
  background-size: cover; background-position: center;
  text-decoration: none; color: #fff; isolation: isolate;
  box-shadow: var(--inloff-shadow-sm);
  transition: transform var(--inloff-dur) var(--inloff-ease), box-shadow var(--inloff-dur) var(--inloff-ease);
}
.inloff-tile.is-feature { min-height: 320px; }
.inloff-tile:hover { transform: translateY(-3px); box-shadow: var(--inloff-shadow); }
.inloff-tile__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(19,26,46,0.05) 0%, rgba(19,26,46,0.62) 100%);
}
/* Bloque editorial de color cuando no hay imagen */
.inloff-tile.no-img { background: var(--inloff-navy); }
.inloff-tile.no-img:nth-child(2n) { background: var(--inloff-bronze-fill); }
.inloff-tile.no-img:nth-child(3n) { background: var(--inloff-navy-soft); }
.inloff-tile.no-img .inloff-tile__shade { background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.18)); }
.inloff-tile__body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 18px 20px; }
.inloff-tile__name { font-family: var(--inloff-font-serif); font-size: 1.35rem; line-height: 1.1; font-weight: 600; text-shadow: 0 1px 14px rgba(0,0,0,0.25); }
.inloff-tile.is-feature .inloff-tile__name { font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); }
.inloff-tile__count { font-size: 0.78rem; opacity: 0.86; }
.inloff-tile__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; margin-top: 8px; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.inloff-tile__cta .inloff-ico { width: 16px; height: 16px; }
.inloff-tile:hover .inloff-tile__cta, .inloff-tile:focus-visible .inloff-tile__cta { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------------
   Recipients — Bento asimétrico (decisión D2, iteración 2)
   ----------------------------------------------------------------------------
   Antes: 6 cards idénticas en fila simétrica → anti-pattern.
   Iteración 1: 2 grandes apiladas izquierda (col 2fr) + 2×2 medianas
                derecha. Las grandes salían 3:1 (panorámicas) → perdían
                presencia.
   Iteración 2 (ESTA): 2 grandes lado a lado en row 1 (ratio ~5:4, cuadrado-
                       paisaje suave) + 4 medianas en row 2 (ratio paisaje).
                       Las grandes son protagonistas reales sin competencia
                       en su fila.

   El orden DOM se conserva: las cards 1ª y 2ª del shortcode son las
   "featured" (Pareja + Padres). El orden lo decide `tiles="..."` en
   UX Builder.

   Mobile (≤768px): stack vertical 1 col, ratio paisaje en todas.
   ------------------------------------------------------------------------ */
.inloff-rcards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .inloff-rcards {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  /* Hero cards: cada una ocupa 2 columnas → mitad del ancho */
  .inloff-rcard:nth-child(1),
  .inloff-rcard:nth-child(2) {
    grid-column: span 2;
    aspect-ratio: 5 / 4;
    min-height: 0;
  }
  /* Medianas: 1 columna cada una, ratio paisaje */
  .inloff-rcard:nth-child(n+3) {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}
.inloff-rcard {
  position: relative; overflow: hidden; border-radius: var(--inloff-radius);
  min-height: 200px; display: flex; align-items: flex-end; padding: 20px;
  text-decoration: none; color: #fff; background: var(--inloff-navy);
  background-size: cover; background-position: center;
  box-shadow: var(--inloff-shadow-sm);
  transition: transform var(--inloff-dur) var(--inloff-ease), box-shadow var(--inloff-dur) var(--inloff-ease);
  isolation: isolate;
}
@media (min-width: 768px) {
  .inloff-rcard:nth-child(1),
  .inloff-rcard:nth-child(2) { padding: 28px 30px; }
}
.inloff-rcard:nth-child(3n) { background: var(--inloff-bronze-fill); }
.inloff-rcard:nth-child(4n) { background: var(--inloff-navy-soft); }
.inloff-rcard:hover { transform: translateY(-3px); box-shadow: var(--inloff-shadow); }
.inloff-rcard__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(19,26,46,0) 30%, rgba(19,26,46,0.62) 100%);
}
.inloff-rcard.no-img .inloff-rcard__shade {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,0,0,0.16));
}
.inloff-rcard__name {
  position: relative;
  font-family: var(--inloff-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.32);
}
@media (min-width: 768px) {
  .inloff-rcard:nth-child(1) .inloff-rcard__name,
  .inloff-rcard:nth-child(2) .inloff-rcard__name {
    font-size: clamp(1.7rem, 1rem + 1.5vw, 2.2rem);
    letter-spacing: -0.015em;
  }
}

/* ---------------------------------------------------------------------------
   Gift finder
   ------------------------------------------------------------------------ */
/* Wizard container: max-width 1080px (era 840px) para que el step 1 bento
   6-col no quede apretado — las featured suben de 222×177 a ~320×256, las
   medianas de 97×97 a ~150×150. Padding ligero para no robar más espacio. */
.inloff-gf { max-width: 1080px; margin: 0 auto; background: #fff; border-radius: var(--inloff-radius-lg); padding: clamp(22px, 3vw, 44px); box-shadow: var(--inloff-shadow); }
.inloff-gf__head { text-align: center; }
.inloff-gf__eyebrow { justify-content: center; }
.inloff-gf__title { font-family: var(--inloff-font-serif); font-size: clamp(1.7rem, 1rem + 2.4vw, 2.8rem); color: var(--inloff-navy); margin: 0 0 6px; }
.inloff-gf__sub { color: var(--inloff-ink-soft); margin: 0; font-size: 0.98rem; }

/* Indicador de pasos */
.inloff-gf__ind { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 24px 0 28px; padding: 0; }
.inloff-gf__ind li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--inloff-ink-soft); }
.inloff-gf__ind li span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--inloff-cream-deep); color: var(--inloff-ink-soft); font-size: 0.78rem; font-weight: 700; transition: background-color .3s, color .3s; }
.inloff-gf__ind li.is-active { color: var(--inloff-navy); }
.inloff-gf__ind li.is-active span { background: var(--inloff-heart); color: var(--inloff-navy); }
.inloff-gf__ind li.is-done { color: var(--inloff-navy); }
.inloff-gf__ind li.is-done span { background: var(--inloff-navy); color: #fff; }

.inloff-gf__step, .inloff-gf__result { display: none; }
.inloff-gf__step.is-active, .inloff-gf__result.is-active { display: block; animation: inloff-fade .35s var(--inloff-ease); }
.inloff-gf__q { font-family: var(--inloff-font-serif); font-weight: 600; color: var(--inloff-navy); margin: 0 0 20px; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); text-align: center; outline: none; }

/* Opciones tipo tarjeta con emoji
   ----------------------------------------------------------------------------
   Steps 2 (destinatario) y 3 (presupuesto) → grid simple uniforme.
   Step 1 (ocasión) → bento variable (decisión D3 del audit 2026-05-30):
     - .inloff-gf__opt--featured (boda, San Valentín, comunión) → col-span 2,
       aspect 5:4. Las 3 ocasiones top-seller protagonistas.
     - .inloff-gf__opt--special (Sorpréndeme) → col-span 4 (full row), heart-fill,
       cierra el flow con CTA distintivo.
     - resto → col-span 1, aspect 4:3.
   Mobile ≤768px: todos en stack 1 col, las featured mantienen aspect más
   cuadrado y la special sigue en heart-fill. */
.inloff-gf__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.inloff-gf__opt {
  appearance: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 96px; padding: 16px 12px; cursor: pointer;
  border: 1.5px solid var(--inloff-line-strong); border-radius: var(--inloff-radius); background: var(--inloff-cream-light);
  transition: border-color .2s, background-color .2s, transform .2s var(--inloff-ease), box-shadow .2s;
}
.inloff-gf__opt:hover { border-color: var(--inloff-heart); transform: translateY(-2px); box-shadow: var(--inloff-shadow-sm); }
.inloff-gf__opt.is-selected { border-color: var(--inloff-navy); background: var(--inloff-navy); }
.inloff-gf__opt.is-selected .inloff-gf__opt-label { color: #fff; }
.inloff-gf__opt-emoji { display: inline-flex; align-items: center; justify-content: center; line-height: 1; color: var(--inloff-navy); }
.inloff-gf__opt-emoji .inloff-ico { width: 30px; height: 30px; }
/* Estado seleccionado: fondo navy → el trazo (currentColor) pasa a crema; el acento dorado se mantiene. */
.inloff-gf__opt.is-selected .inloff-gf__opt-emoji { color: var(--inloff-cream, #FAF7F2); }
.inloff-gf__opt-label { font-size: 0.9rem; font-weight: 600; color: var(--inloff-navy); text-align: center; }

/* Step 1 bento — desktop ≥768px (iteración 3: layout mixto)
   ----------------------------------------------------------------------------
   Las 3 featured (boda, San Valentín, comunión) usan layout VERTICAL
   (icon arriba + label centrado debajo) con cards cuadradas-paisaje 5:4.
   Las 6 medianas usan layout HORIZONTAL (icon izquierda + label derecha)
   para que labels naturales largos ("Día de la Madre", "un aniversario")
   quepan en 1 línea sin tener que abreviar y sin romper la uniformidad
   visual del row. La special es row también con tratamiento heart.

   Por qué horizontal en medianas: cuando los 6 items son cuadrados con
   label vertical centrado, la longitud variable del label genera 2 líneas
   inconsistentes ("Día de la Madre" vs "Bautizo"). Con layout horizontal
   el label fluye en 1 línea sea cual sea su longitud (hasta el límite del
   ancho disponible). Diferenciar el layout también establece jerarquía
   clara entre featured (verticales, protagonistas) y medianas (horizontales,
   secundarias). */
@media (min-width: 768px) {
  .inloff-gf__step[data-step="1"] .inloff-gf__opts {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  /* Medianas (default en step 1): col-span 2 + layout horizontal.
     Cards ~320×128 paisaje delgadas → label tiene ~250px ancho disponible
     y cabe holgado en 1 línea aunque sea "Día de la Madre" o más. */
  .inloff-gf__step[data-step="1"] .inloff-gf__opt {
    grid-column: span 2;
    aspect-ratio: auto;
    min-height: 112px;
    padding: 16px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    text-align: left;
  }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt .inloff-gf__opt-emoji .inloff-ico {
    width: 28px; height: 28px;
    flex-shrink: 0;
  }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt .inloff-gf__opt-label {
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
  }
  /* Featured: layout vertical, cards más grandes y cuadradas-paisaje */
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--featured {
    grid-column: span 2;
    aspect-ratio: 5 / 4;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 14px 10px;
    gap: 12px;
  }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--featured .inloff-gf__opt-emoji .inloff-ico {
    width: 48px; height: 48px;
  }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--featured .inloff-gf__opt-label {
    font-size: 1.08rem;
    text-align: center;
    line-height: 1.15;
    flex: 0;
  }
  /* Special: row full width con tratamiento heart */
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--special {
    grid-column: span 6;
    min-height: 120px;
    padding: 20px 28px;
    justify-content: center;
    text-align: center;
    gap: 16px;
    background: var(--inloff-heart);
    border-color: var(--inloff-heart);
  }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--special:hover {
    background: var(--inloff-heart-dark);
    border-color: var(--inloff-heart-dark);
  }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--special .inloff-gf__opt-emoji .inloff-ico {
    width: 36px; height: 36px;
  }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--special .inloff-gf__opt-label {
    font-size: 1.15rem;
    color: var(--inloff-navy);
    font-family: var(--inloff-font-serif);
    font-weight: 600;
    text-align: center;
    flex: 0;
  }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--special .inloff-gf__opt-emoji {
    color: var(--inloff-navy);
  }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--special.is-selected {
    background: var(--inloff-navy);
    border-color: var(--inloff-navy);
  }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--special.is-selected .inloff-gf__opt-label,
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--special.is-selected .inloff-gf__opt-emoji {
    color: #fff;
  }
}

/* Step 1 bento — mobile <768px: las featured y la special siguen con su
   tratamiento visual aunque el layout sea 1 col. */
.inloff-gf__step[data-step="1"] .inloff-gf__opt--special {
  background: var(--inloff-heart);
  border-color: var(--inloff-heart);
}
.inloff-gf__step[data-step="1"] .inloff-gf__opt--special:hover {
  background: var(--inloff-heart-dark);
  border-color: var(--inloff-heart-dark);
}
.inloff-gf__step[data-step="1"] .inloff-gf__opt--special.is-selected {
  background: var(--inloff-navy);
  border-color: var(--inloff-navy);
}
.inloff-gf__step[data-step="1"] .inloff-gf__opt--special.is-selected .inloff-gf__opt-label,
.inloff-gf__step[data-step="1"] .inloff-gf__opt--special.is-selected .inloff-gf__opt-emoji {
  color: #fff;
}

/* Área táctil real ≥44px (antes ~19px, solo la altura de línea). Se conserva el
   look de enlace subrayado, centrado con margin auto. */
.inloff-gf__back, .inloff-gf__restart {
  display: flex; align-items: center; justify-content: center;
  width: -moz-fit-content; width: fit-content; min-height: 44px; padding: 8px 16px;
  margin: 18px auto 0;
  background: none; border: none; color: var(--inloff-muted); cursor: pointer;
  font-size: 0.86rem; text-decoration: underline; text-underline-offset: 3px;
}

/* Resultado */
.inloff-gf__result { text-align: center; }
.inloff-gf__loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 36px 0; color: var(--inloff-ink-soft); font-size: 0.98rem; }
.inloff-gf__spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--inloff-cream-deep); border-top-color: var(--inloff-heart); animation: inloff-spin .8s linear infinite; }
@keyframes inloff-spin { to { transform: rotate(360deg); } }
.inloff-gf__rtitle { font-family: var(--inloff-font-serif); font-weight: 600; color: var(--inloff-navy); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); margin: 0 0 20px; }
.inloff-gf__rnote { color: var(--inloff-muted); font-size: 0.9rem; margin: -12px 0 20px; }
.inloff-gf__rgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.inloff-gf__card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; text-align: left; }
.inloff-gf__card-img { display: block; aspect-ratio: 1 / 1; border-radius: var(--inloff-radius); background-size: cover; background-position: center; background-color: var(--inloff-cream-deep); box-shadow: var(--inloff-shadow-sm); transition: transform .3s var(--inloff-ease); }
.inloff-gf__card:hover .inloff-gf__card-img { transform: translateY(-3px); box-shadow: var(--inloff-shadow); }
.inloff-gf__card-name { font-size: 0.82rem; font-weight: 600; color: var(--inloff-navy); line-height: 1.25; }
.inloff-gf__card-price { font-size: 0.82rem; font-weight: 700; color: var(--inloff-heart-dark); }
.inloff-gf__card-price del { color: var(--inloff-muted); font-weight: 400; margin-right: 5px; }
.inloff-gf__card-price ins { text-decoration: none; }
.inloff-gf__result .inloff-btn { display: inline-flex; }
.inloff-gf__reshuffle {
  display: inline-flex; align-items: center; gap: 7px; margin: 14px auto 0;
  background: var(--inloff-cream-warm); border: 1.5px solid var(--inloff-line-strong);
  color: var(--inloff-navy); font-weight: 600; font-size: 0.9rem; padding: 11px 20px;
  border-radius: var(--inloff-radius-pill); cursor: pointer;
  transition: border-color .2s, transform .2s var(--inloff-ease), background-color .2s;
}
.inloff-gf__reshuffle:hover { border-color: var(--inloff-heart); background: #fff; transform: translateY(-1px); }
.inloff-gf__reshuffle .inloff-ico { width: 18px; height: 18px; }
.inloff-gf__restart { margin-top: 8px; }

@media (min-width: 560px) {
  .inloff-gf__opts { grid-template-columns: repeat(3, 1fr); }
  .inloff-gf__rgrid { grid-template-columns: repeat(4, 1fr); }
}
/* Rango tablet (560–767px): antes de que entren los bentos de desktop (768px),
   damos proporción intermedia — recipients a 2 columnas (evita cards panorámicas
   vacías) y la special del gift finder a todo el ancho (no huérfana a 1/3). */
@media (min-width: 560px) and (max-width: 767px) {
  .inloff-rcards { grid-template-columns: repeat(2, 1fr); }
  .inloff-rcard { aspect-ratio: 4 / 3; min-height: 0; }
  .inloff-gf__step[data-step="1"] .inloff-gf__opt--special { grid-column: 1 / -1; }
}
@media (max-width: 419px) {
  .inloff-gf__ind li { font-size: 0; gap: 0; } /* en muy estrecho, solo los números */
  .inloff-gf__ind li span { font-size: 0.78rem; }
}

/* ---------------------------------------------------------------------------
   Name preview
   ------------------------------------------------------------------------ */
.inloff-preview { display: grid; grid-template-columns: 1fr; gap: clamp(24px,4vw,56px); align-items: center; }
.inloff-preview__copy { max-width: 48ch; }
.inloff-preview__field { display: block; margin: 22px 0; }
.inloff-preview__label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--inloff-muted); margin-bottom: 8px; }
.inloff-preview__input {
  width: 100%; max-width: 360px; box-sizing: border-box;
  padding: 14px 18px; border: 1.5px solid var(--inloff-line-strong); border-radius: var(--inloff-radius);
  font-size: 1.05rem; color: var(--inloff-navy); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.inloff-preview__input:focus { outline: none; border-color: var(--inloff-heart); box-shadow: 0 0 0 4px var(--inloff-heart-glow); }
.inloff-preview__stage { position: relative; border-radius: var(--inloff-radius-lg); overflow: hidden; background: var(--inloff-cream-deep); box-shadow: var(--inloff-shadow); aspect-ratio: 4 / 3; }
.inloff-preview__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inloff-preview__img--ph { background: linear-gradient(135deg, var(--inloff-cream-warm), var(--inloff-cream-deep)); }
.inloff-preview__engraving {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--inloff-font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(1.35rem, 1rem + 2.2vw, 2.3rem); color: var(--inloff-navy);
  text-align: center; max-width: 80%; pointer-events: none; line-height: 1.12;
  padding: 14px 30px; border-radius: var(--inloff-radius);
  background: rgba(250, 247, 242, 0.88);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 32px rgba(19, 26, 46, 0.20);
  transition: opacity .2s ease, transform .2s ease;
}
.inloff-preview__engraving::before {
  content: ""; position: absolute; inset: 5px; border-radius: 9px;
  border: 1px dashed var(--inloff-line-heart); pointer-events: none;
}
.inloff-preview__engraving:not(.is-typed) { color: var(--inloff-muted); }

/* ---------------------------------------------------------------------------
   Process (made-to-order)
   ------------------------------------------------------------------------ */
.inloff-steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.inloff-step {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--inloff-divider, rgba(250,247,242,0.14));
  border-radius: var(--inloff-radius); padding: 22px 20px;
}
.inloff-step__num { position: absolute; top: 14px; right: 16px; font-family: var(--inloff-font-serif); font-size: 1.6rem; color: var(--inloff-heart); opacity: 0.7; }
.inloff-step__ico { color: var(--inloff-heart); }
.inloff-step__ico .inloff-ico { width: 28px; height: 28px; }
.inloff-step__title { font-weight: 700; color: var(--inloff-on-navy); font-size: 1.02rem; }
.inloff-step__title em { font-style: normal; font-weight: 500; color: var(--inloff-heart-light); font-size: 0.82rem; }
.inloff-step__txt { font-size: 0.88rem; color: var(--inloff-on-navy-soft); line-height: 1.5; }
.inloff-process__note { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 26px 0 0; font-size: 0.88rem; color: var(--inloff-on-navy-soft); }
.inloff-process__note .inloff-ico { width: 18px; height: 18px; color: var(--inloff-heart); }

/* ---------------------------------------------------------------------------
   Best sellers
   ------------------------------------------------------------------------ */
.inloff-pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.inloff-pcard { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--inloff-ink); }
.inloff-pcard__media { position: relative; border-radius: var(--inloff-radius); overflow: hidden; background: #fff; box-shadow: var(--inloff-shadow-sm); aspect-ratio: 1 / 1; }
.inloff-pcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--inloff-ease); }
.inloff-pcard:hover .inloff-pcard__media img { transform: scale(1.05); }
.inloff-pcard__media .inloff-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.inloff-pcard__name { font-weight: 600; font-size: 0.95rem; color: var(--inloff-navy); line-height: 1.3; }
/* ink-soft (no muted): #6B6B6B sobre la crema cálida da 4.39:1, por debajo de AA
   para texto pequeño; ink-soft (#4A4A4A) da ~7:1 y sigue leyéndose secundario. */
.inloff-pcard__rating { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--inloff-ink-soft); }
.inloff-pcard__price { font-weight: 700; color: var(--inloff-navy); }
.inloff-pcard__price del { color: var(--inloff-muted); font-weight: 400; margin-right: 6px; }
.inloff-pcard__price ins { text-decoration: none; color: var(--inloff-heart-dark); }
/* Badges de producto en home. Hay un CSS global (inline) que pinta algunos
   badges (p. ej. "novedad") como outline transparente con `!important`, lo que
   los deja ilegibles sobre fotos claras. Aquí forzamos badges SÓLIDOS y de
   marca, autocontenidos, con `!important` para ganar a ese inline. */
.inloff-pcard__media .inloff-badge {
  display: inline-block; padding: 5px 11px; border-radius: var(--inloff-radius-pill) !important;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  line-height: 1.2; box-shadow: var(--inloff-shadow-sm);
  background: var(--inloff-navy) !important; color: var(--inloff-cream) !important;
  border: 0 !important;
}
.inloff-pcard__media .inloff-badge-oferta { background: #9a3b2e !important; color: #fff !important; }
.inloff-pcard__media .inloff-badge-top-valorado { background: var(--inloff-heart) !important; color: var(--inloff-navy) !important; }
.inloff-pcard__media .inloff-badge-edicion-limitada,
.inloff-pcard__media .inloff-badge-exclusivo-inloff { background: var(--inloff-bronze-fill) !important; color: #fff !important; }

/* ---------------------------------------------------------------------------
   Reviews
   ------------------------------------------------------------------------ */
.inloff-reviews { display: grid; grid-template-columns: 1fr; gap: 16px; }
.inloff-review { margin: 0; background: #fff; border-radius: var(--inloff-radius); padding: 22px 22px 18px; box-shadow: var(--inloff-shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.inloff-review__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* heart-dark en vez del verde suelto #2f7a4f (único color fuera de la paleta
   navy/cream/heart de toda la portada). El check ya da la señal de "verificado". */
.inloff-review__verified { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 600; color: var(--inloff-heart-dark); }
.inloff-review__verified .inloff-ico { width: 15px; height: 15px; }
.inloff-review__text { margin: 0; font-size: 0.96rem; line-height: 1.55; color: var(--inloff-ink); font-family: var(--inloff-font-serif); font-style: italic; }
.inloff-review__by { font-size: 0.84rem; color: var(--inloff-muted); }
.inloff-review__author { font-weight: 700; color: var(--inloff-navy); font-style: normal; }
.inloff-review__by a { color: var(--inloff-heart-dark); text-decoration: none; }
.inloff-review__by a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------------
   Reveals (gated bajo .inloff-js; sin JS todo es visible)
   ------------------------------------------------------------------------ */
.inloff-js .inloff-home { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--inloff-ease-out), transform .7s var(--inloff-ease-out); }
.inloff-js .inloff-home.is-in { opacity: 1; transform: none; }
.inloff-home-deadline, .inloff-home-trustline, .inloff-home-hero { transform: none !important; opacity: 1 !important; }

@keyframes inloff-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------ */
@media (min-width: 768px) {
  .inloff-usp__row { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .inloff-bento { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
  .inloff-bento__feature, .inloff-bento__feature .inloff-tile.is-feature { height: 100%; }
  .inloff-bento__tiles { grid-template-columns: repeat(2, 1fr); }
  /* .inloff-rcards: layout bento se define en su propio bloque (línea 251+),
     no aquí. Antes era `repeat(3, 1fr)` simétrico y se sobreescribía en
     1080+ a `repeat(6, 1fr)` (anti-pattern de cards idénticas) — eliminado
     en el rediseño bento asimétrico (decisión D2 del audit 2026-05-30). */
  .inloff-preview { grid-template-columns: 1fr 1fr; }
  .inloff-steps { grid-template-columns: repeat(4, 1fr); }
  .inloff-pcards { grid-template-columns: repeat(4, 1fr); }
  .inloff-reviews { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------------------
   D7 — Más vendidos (carrusel best-sellers). Banda navy, cards crema flotando.
   ------------------------------------------------------------------------ */
.inloff-home-bestsellers {
  background: linear-gradient(178deg, var(--inloff-navy) 0%, var(--inloff-navy-deep) 100%);
  color: var(--inloff-cream);
}

/* Cabecera sobre navy: texto claro, kicker heart */
.inloff-secthead--onnavy .inloff-h2 { color: var(--inloff-cream-light); }
.inloff-secthead--onnavy .inloff-lead { color: rgba(242, 232, 213, 0.72); }
.inloff-secthead--onnavy .inloff-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--inloff-heart-light);
}
.inloff-secthead--onnavy .inloff-eyebrow svg { width: 15px; height: 15px; color: var(--inloff-heart); }

/* Carrusel. Sin `scroll-behavior: smooth` (4-oct-2026): con él, el ajuste inicial del snap al cargar es un
   desplazamiento animado, Chrome lo toma por un gesto del usuario y deja de medir el LCP de la portada (Lighthouse
   daba NO_LCP). Las flechas ya piden el desplazamiento suave en inloff-home.js (`scrollBy`, `behavior: 'smooth'`). */
.inloff-bestsellers { position: relative; margin-top: clamp(22px, 3vw, 36px); }
.inloff-bestsellers__track {
  display: flex; gap: clamp(14px, 2vw, 20px);
  overflow-x: auto; scroll-snap-type: x proximity;
  list-style: none; margin: 0; padding: 6px 2px 10px;
  scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.inloff-bestsellers__track::-webkit-scrollbar { display: none; }
.inloff-bestsellers__item {
  scroll-snap-align: start; flex: 0 0 auto; display: flex;
  width: clamp(198px, 42vw, 244px);
}
/* Flatsome da a las listas de página `.col-inner ul li { margin-left: 1.3em }`: cada tarjeta sumaba 21 px al hueco, el
   carrusel arrancaba desplazado 23 px para alinear la primera y la flecha «anterior» salía activa al principio. */
.inloff-bestsellers__track .inloff-bestsellers__item { margin-left: 0; }

/* Card crema sobre navy (reutiliza .inloff-pcard). flex:1 → llena el item, que el
   track estira a la altura de la card más alta → todas las cards igualadas. */
.inloff-home-bestsellers .inloff-pcard {
  flex: 1;
  background: var(--inloff-cream-light);
  border-radius: var(--inloff-radius);
  padding: 10px 10px 14px;
  box-shadow: 0 12px 32px -16px rgba(9, 13, 24, 0.72);
  transition: transform .45s var(--inloff-ease), box-shadow .45s var(--inloff-ease);
}
/* El precio se ancla al fondo → precios alineados aunque el nombre ocupe 1-3 líneas. */
.inloff-home-bestsellers .inloff-pcard__price { margin-top: auto; }
.inloff-home-bestsellers .inloff-pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -18px rgba(9, 13, 24, 0.8);
}
.inloff-home-bestsellers .inloff-pcard__name,
.inloff-home-bestsellers .inloff-pcard__rating,
.inloff-home-bestsellers .inloff-pcard__price { padding-inline: 4px; }
.inloff-home-bestsellers .inloff-pcard__name,
.inloff-home-bestsellers .inloff-pcard__price,
.inloff-home-bestsellers .inloff-pcard__price ins { color: var(--inloff-navy); }
.inloff-home-bestsellers .inloff-pcard__price ins { text-decoration: none; }
.inloff-pcard__rcount { color: var(--inloff-ink-soft); font-size: 0.75rem; }

/* Precio en OFERTA real (is_on_sale, clase .is-sale desde PHP): el precio actual
   (<ins>) en el coral de descuentos de la plantilla (PLP, --ic-coral #C2410C) y el
   anterior (<del>) tachado gris. Gated por .is-sale para NO pintar coral el <ins>
   "desde X€" que get_price_html emite en variables sin oferta (lección del PLP). */
.inloff-home-bestsellers .inloff-pcard__price.is-sale ins,
.inloff-home-bestsellers .inloff-pcard__price.is-sale ins * { color: var(--ic-coral, #C2410C); }
.inloff-home-bestsellers .inloff-pcard__price del,
.inloff-home-bestsellers .inloff-pcard__price del * { color: var(--inloff-ink-soft); }
.inloff-home-bestsellers .inloff-pcard__price del { font-weight: 400; }

/* Numeral de ranking (Playfair), esquina superior de la media. Halo oscuro
   sólido (multicapa) para que la crema lea sobre cualquier foto, clara incluida. */
.inloff-bestsellers__rank {
  position: absolute; top: 6px; right: 10px; z-index: 2;
  font-family: var(--inloff-font-serif); font-weight: 600; line-height: 1;
  font-size: 1.7rem; letter-spacing: -0.02em;
  color: var(--inloff-cream-light);
  text-shadow: 0 1px 2px rgba(13, 18, 32, 0.9), 0 0 3px rgba(13, 18, 32, 0.7), 0 2px 10px rgba(13, 18, 32, 0.45);
}

/* Flechas heart-outline, centradas a la mitad de la ALTURA de la card. Solo con
   JS (sin él son controles muertos: el track ya se desliza). Ahora que las cards
   están igualadas, top:50% cae en su centro vertical de forma estable. */
.inloff-bestsellers__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; display: none; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  /* reset de estilos heredados de <button> (Flatsome) que descentran el icono */
  padding: 0; margin: 0; min-height: 0; line-height: 0; box-sizing: border-box; appearance: none;
  background: var(--inloff-cream-light); color: var(--inloff-navy);
  border: 1px solid var(--inloff-line-heart);
  box-shadow: 0 8px 22px -10px rgba(9, 13, 24, 0.75);
  cursor: pointer;
  transition: transform .25s var(--inloff-ease), background .25s var(--inloff-ease), color .25s, opacity .25s;
}
.inloff-js .inloff-bestsellers__nav { display: grid; }
.inloff-bestsellers__nav svg { display: block; }
.inloff-bestsellers__nav.is-prev { left: -8px; }
.inloff-bestsellers__nav.is-next { right: -8px; }
.inloff-bestsellers__nav:hover { background: var(--inloff-heart); color: var(--inloff-cream-light); transform: translateY(-50%) scale(1.07); }
.inloff-bestsellers__nav:focus-visible { outline: 2px solid var(--inloff-heart); outline-offset: 3px; }
.inloff-bestsellers__nav[aria-disabled="true"] { opacity: 0; pointer-events: none; }
@media (max-width: 749px) {
  .inloff-js .inloff-bestsellers__nav { display: none; } /* móvil: se desliza con el dedo */
}

/* ---------------------------------------------------------------------------
   prefers-reduced-motion
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .inloff-js .inloff-home { opacity: 1 !important; transform: none !important; transition: none !important; }
  .inloff-tile, .inloff-rcard, .inloff-btn, .inloff-pcard__media img, .inloff-gf__bar, .inloff-tile__cta { transition: none !important; }
  .inloff-gf__step.is-active, .inloff-gf__result.is-active { animation: none !important; }
  /* El spinner del gift finder también se detiene (rotación infinita). */
  .inloff-gf__spinner { animation: none !important; }
  /* D7: sin scroll suave ni transiciones de card/flecha. */
  .inloff-bestsellers__track { scroll-behavior: auto !important; }
  .inloff-home-bestsellers .inloff-pcard, .inloff-bestsellers__nav { transition: none !important; }
}

/* ---------------------------------------------------------------------------
   Temporada (inc/inloff-temporada.php, 8-oct-2026): los bloques de Navidad, Reyes y bodas bajo el titular, por fechas.
   Reutilizan .inloff-pcards / .inloff-pcard; aquí solo el enlace y el ritmo de fondos.
   ------------------------------------------------------------------------ */
.inloff-temporada__cta { margin: clamp(22px, 2.6vw, 34px) 0 0; }
.inloff-home-temporada--bloque_bodas { background: var(--inloff-cream-warm); }
