/* Refinamientos de presentación. Sin reglas comerciales ni estilos de caja. */
:root { --ffl-ui-ease: cubic-bezier(.16,1,.3,1); }
::selection { background: #f8cc91; color: #173c29; }
:where(input,textarea) { caret-color: var(--ffl-green); }
html { scroll-padding-top: 100px; }

/* Una barra de estado compacta conserva sus etiquetas y su enlace. */
body #page .ffl-launch-countdown.ffl-ui-status-ready .ffl-launch-countdown__inner {
  display: flex !important; justify-content: space-between !important;
  flex-direction: row !important; align-items: center !important;
  gap: 20px !important; min-height: 58px !important; padding-block: 10px !important;
}
.ffl-launch-countdown__intro { display: block !important; min-width: 0; }
.ffl-launch-countdown.ffl-ui-status-ready .ffl-launch-countdown__intro { display: none !important; }
.ffl-launch-countdown .ffl-ui-status { display: block !important; min-width: 0; color: #fff; font: 600 16px/1.35 'Inter',sans-serif; }
.ffl-launch-countdown.ffl-ui-status-ready .ffl-launch-countdown__cta-full,
.ffl-launch-countdown.ffl-ui-status-ready .ffl-launch-countdown__cta-short { display: none !important; }
.ffl-ui-status-cta { display: inline !important; }
.ffl-launch-countdown__eyebrow { display: none !important; }
.ffl-launch-countdown__title { font: 600 16px/1.35 'Inter',sans-serif !important; }
.ffl-launch-countdown__cta { padding: 8px 16px !important; min-height: 40px !important; border-radius: 10px !important; font-size: 14px !important; }
.ffl-launch-countdown__arrow { transition: transform 180ms ease; }
.ffl-launch-countdown__inner:hover .ffl-launch-countdown__arrow { transform: translateX(4px); }

/* La portada se lee como una secuencia, no como bloques sueltos. */
body.home .ffl-hero-container {
  display: grid !important; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(32px,4vw,64px) !important; max-width: 1200px !important;
  min-height: 0 !important; padding: 48px 28px !important;
}
body.home .ffl-hero-left { min-width: 0; padding-left: 0 !important; order: 0 !important; }
body.home .ffl-hero-left > span { display: none !important; }
body.home .ffl-hero-left h1 { font-size: clamp(38px,4.25vw,60px) !important; line-height: 1.08 !important; letter-spacing: -.035em; max-width: 15ch; text-wrap: balance; margin: 0 0 22px !important; }
body.home .ffl-hero-left > p:not(.ffl-hero-note) { max-width: 47ch; font-size: 17px !important; line-height: 1.65 !important; opacity: 1 !important; color: #465148 !important; }
body.home .ffl-hero-left > div { gap: 8px !important; margin-bottom: 24px !important; }
body.home .ffl-hero-left > div > span { padding: 7px 12px !important; box-shadow: none !important; font-size: 13px !important; }
body.home .ffl-hero-note { max-width: 48ch; color: #526155 !important; opacity: 1 !important; line-height: 1.6 !important; }
body.home .ffl-hero-right { min-width: 0; order: 1 !important; }
body.home .ffl-hero-right img { width: 100% !important; height: auto !important; max-height: 550px !important; object-fit: contain !important; border-radius: 16px !important; }
body.home .ffl-hero-cta { min-height: 48px; border-radius: 12px !important; padding: 15px 24px !important; box-shadow: none !important; }
/* El enlace ya tiene su texto real: no duplicarlo con un pseudo-elemento. */
body.home.ffl-weekly-orders-closed .ffl-hero-cta[aria-label="Ver el menú semanal de Fit Food Lab"] { font-size: 16px !important; }
body.home.ffl-weekly-orders-closed .ffl-hero-cta[aria-label="Ver el menú semanal de Fit Food Lab"]::after { content: none !important; }
body.home .ffl-s2-section,
body.home .ffl-s3-section { width: 100% !important; margin-inline: 0 !important; max-width: 100% !important; padding-block: 64px !important; }
body.home :is(.ffl-s2-section,.ffl-s3-section) > .ffl-inner { max-width: 1200px !important; padding-inline: 28px !important; }
body.home :is(.ffl-s2-section,.ffl-s3-section) h2,
body.home .ffl-simple-steps h2 { font-size: clamp(30px,3.4vw,44px) !important; letter-spacing: -.025em; line-height: 1.16 !important; text-wrap: balance; margin-bottom: 16px !important; }
body.home .ffl-s2-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 0 !important; }
body.home .ffl-s2-card { padding: 16px 30px !important; margin: 0 !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
body.home .ffl-s2-card + .ffl-s2-card { border-left: 1px solid #c9d5c7; }
body.home .ffl-s2-card > div:first-child { width: 40px !important; height: 40px !important; margin-bottom: 16px !important; background: transparent !important; color: var(--ffl-green); }
body.home .ffl-s2-card svg { width: 32px; height: 32px; }
body.home .ffl-s2-card h3 { font-size: 20px !important; }
body.home .ffl-s2-card p { max-width: 32ch; margin-inline: auto !important; }
body.home .ffl-s3-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 28px !important; }
body.home .ffl-size-card { display: flex !important; flex-direction: column; border-radius: 16px !important; box-shadow: 0 12px 36px rgba(23,60,41,.08) !important; color: var(--ffl-ink); }
body.home .ffl-size-card__photo { aspect-ratio: 4/3; overflow: hidden; }
body.home .ffl-size-card__photo img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 650ms var(--ffl-ui-ease); }
body.home .ffl-size-card__body { padding: 28px !important; display: flex; flex: 1; flex-direction: column; }
body.home .ffl-size-card__body > span:first-child { display: none !important; }
body.home .ffl-size-card__body h3 { font-size: 28px !important; line-height: 1.2 !important; letter-spacing: -.025em; }
body.home .ffl-size-card__body p { font-size: 16px !important; line-height: 1.65 !important; max-width: 43ch; }
body.home .ffl-size-card__action { display: flex; gap: 12px; justify-content: space-between; padding-top: 24px; margin-top: auto; color: var(--ffl-green); font-weight: 700; }
.ffl-size-card__action span { transition: transform 180ms ease; }
.ffl-size-card:is(:hover,:focus-visible) .ffl-size-card__photo img { transform: scale(1.035); }
.ffl-size-card:is(:hover,:focus-visible) .ffl-size-card__action span { transform: translateX(4px); }
.ffl-simple-steps { padding: 72px 0; background: #fff; }
.ffl-simple-steps > .ffl-inner { max-width: 1200px; margin: auto; padding-inline: 28px; }
.ffl-simple-steps__intro { color: #526155; margin: 0 0 36px; }
.ffl-simple-steps ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; counter-reset: ffl-step; list-style: none; margin: 0 0 32px; padding: 0; }
.ffl-simple-steps li { counter-increment: ffl-step; border-top: 1px solid #bccdbd; padding-top: 18px; }
.ffl-simple-steps li::before { content: counter(ffl-step,decimal-leading-zero); display: block; color: #627864; font-size: 14px; font-weight: 700; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.ffl-simple-steps h3 { font-size: 19px !important; line-height: 1.3; color: var(--ffl-green); margin: 0 0 10px; }
.ffl-simple-steps li p { font-size: 15px; line-height: 1.6; color: #465148; margin: 0; }
.ffl-ui-link { display: inline-flex; gap: 24px; padding-block: 10px; min-height: 44px; align-items: center; color: var(--ffl-green) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

/* Los mensajes largos no fuerzan la altura de todo el carrusel. */
body.home .ffl-premium .ffl-section { padding-block: 64px !important; }
body.home .ffl-premium .ffl-heading { gap: 24px; align-items: end; margin-bottom: 32px !important; }
body.home .ffl-premium h2 { font-size: clamp(34px,4.2vw,56px) !important; line-height: 1.08 !important; letter-spacing: -.035em !important; max-width: 16ch; }
body.home .ffl-premium .ffl-kicker { display: none; }
body.home .ffl-premium .ffl-track { align-items: flex-start !important; scrollbar-color: #86a38c #eef2ea; scrollbar-width: thin; }
body.home .ffl-premium .ffl-card { min-height: 360px !important; padding: 24px !important; border-radius: 16px !important; }
body.home .ffl-premium .ffl-card blockquote { font-size: 17px !important; line-height: 1.65 !important; letter-spacing: 0 !important; padding: 0 !important; border: 0 !important; margin: 0 0 20px !important; flex-shrink: 0; }
body.home .ffl-premium .ffl-card blockquote p { width: auto !important; }
.ffl-premium .ffl-quote-collapsible { max-height: 9.9em; overflow: hidden; }
.ffl-premium .ffl-card-photo ~ .ffl-quote-collapsible { max-height: 4.95em; }
.ffl-premium .ffl-quote-collapsible.is-expanded { max-height: none; }
.ffl-quote-toggle { align-self: flex-start; border: 0; padding: 10px 0; min-height: 44px; background: transparent !important; color: var(--ffl-green-dark) !important; font: 700 13px/1.5 'Inter',sans-serif; text-decoration: underline; text-underline-offset: 4px; }
.ffl-quote-toggle[hidden] { display: none !important; }
body.home .ffl-premium .ffl-card-photo { margin: 20px -24px 0; height: 144px; flex-shrink: 0; }
body.home .ffl-premium .ffl-quote,
body.home .ffl-premium .ffl-stars { margin-top: 16px; height: 34px; flex-shrink: 0; }
body.home .ffl-premium .ffl-quote { font-size: 44px; }
body.home .ffl-premium .ffl-photostory img { object-fit: cover; }

/* La entrevista conserva el titular completo, sin dominar la portada. */
body.home .ffl-press-home { border-radius: 16px; box-shadow: none; gap: clamp(24px,3vw,40px); }
body.home .ffl-press-home__visual { border-radius: 12px; }
body.home .ffl-press-home__visual img { object-position: center top; }
body.home .ffl-press-home__visual span { top: 12px; bottom: auto; left: 12px; max-width: calc(100% - 24px); }
body.home .ffl-press-home h2 { font-size: clamp(28px,2.8vw,40px); line-height: 1.16; }
body.home .ffl-press-home__content>p:not(.ffl-press-home__eyebrow):not(.ffl-press-home__byline) { font-size: 16px; line-height: 1.65; }
body.home .ffl-press-home__content>a { min-height: 48px; font-size: 14px; border-radius: 12px; box-shadow: none; }

/* Catálogo semanal: nombres legibles y acciones alineadas. */
body .ffl-weekly-menu .ffl-weekly-grid { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 20px !important; height: auto !important; max-height: none !important; overflow: visible !important; padding: 0 !important; }
body .ffl-weekly-menu .ffl-weekly-card { min-width: 0 !important; width: auto !important; flex: initial !important; height: auto !important; max-height: none !important; display: flex !important; flex-direction: column !important; border-radius: 14px !important; overflow: hidden; }
.ffl-weekly-menu .ffl-weekly-card-body { min-height: 0 !important; }
.ffl-weekly-card .ffl-weekly-visual { aspect-ratio: 4/3; height: auto !important; overflow: hidden; }
.ffl-weekly-card .ffl-weekly-visual img { width: 100%; height: 100% !important; object-fit: cover; }
.ffl-weekly-card-body { padding: 16px 16px 12px !important; flex: 1; }
.ffl-weekly-card-title { font-size: 16px !important; line-height: 1.4 !important; font-weight: 700 !important; letter-spacing: -.01em; overflow-wrap: normal; }
.ffl-weekly-category { font-size: 11px !important; margin-bottom: 6px !important; }
.ffl-weekly-card > .ffl-dish-info { align-self: stretch; margin: 0 16px 16px !important; min-height: 44px; font-size: 13px !important; border-radius: 9px !important; }
body > .ffl-weekly-closed .ffl-weekly-closed__inner { display: flex !important; align-items: center !important; flex-direction: row !important; padding-block: 24px !important; gap: 24px !important; text-align: left !important; }
body > .ffl-weekly-closed .ffl-weekly-closed__mascot { width: 112px !important; height: 112px !important; flex-shrink: 0; object-fit: contain; }
.ffl-weekly-closed__copy { min-width: 0; }
.ffl-weekly-closed__copy strong { font-size: clamp(23px,2.5vw,32px) !important; line-height: 1.2 !important; }
.ffl-weekly-closed__copy p { max-width: 65ch; line-height: 1.6; }

/* Cómo funciona conserva su contenido y gana una escala más contenida. */
.ffl-how__hero { padding-block: 64px !important; }
.ffl-how__hero h1 { font-size: clamp(38px,5vw,64px) !important; line-height: 1.08 !important; letter-spacing: -.035em !important; text-wrap: balance; }
.ffl-how__hero .ffl-how__eyebrow,
.ffl-how__kicker { display: none !important; }
.ffl-how__section { padding-block: 56px !important; }
.ffl-how__intro { max-width: 68ch; }
.ffl-how__line { min-width: 0; }

/* Todas las secciones de cuenta quedan a la vista, no en una tira recortada. */
body.woocommerce-account .entry-title { margin-block: 24px !important; }
@media (max-width: 921px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation { overflow: visible !important; padding: 12px !important; }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; width: auto !important; min-width: 0 !important; gap: 6px !important; overflow: visible !important; }
  body.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0 !important; min-width: 0 !important; width: auto !important; }
  body.woocommerce-account .woocommerce-MyAccount-navigation a { display: flex !important; align-items: center; min-height: 48px !important; width: 100% !important; padding: 10px 12px !important; white-space: normal !important; font-size: 13px !important; line-height: 1.4 !important; border-radius: 10px !important; }
}

/* Un único gesto de entrada en la imagen principal; el texto siempre es visible. */
@media (prefers-reduced-motion: no-preference) {
  body.home .ffl-hero-right { animation: ffl-photo-open 800ms var(--ffl-ui-ease) both; }
  @keyframes ffl-photo-open { from { clip-path: inset(6% 4% 6% 4% round 24px); } to { clip-path: inset(0 round 16px); } }
}
@media (max-width: 1024px) {
  body.home .ffl-hero-container { gap: 28px !important; padding-block: 40px !important; }
  body.home .ffl-s2-card { padding-inline: 20px !important; }
  body.home .ffl-s2-card h3 { min-height: 2.6em; line-height: 1.3; font-size: 18px !important; }
  body .ffl-weekly-menu .ffl-weekly-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 16px !important; }
  .ffl-simple-steps ol { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
}
@media (max-width: 767px) {
  body #page .ffl-launch-countdown.ffl-ui-status-ready .ffl-launch-countdown__inner { gap: 12px !important; padding-inline: 18px !important; min-height: 54px !important; }
  .ffl-launch-countdown__title { font-size: 12px !important; max-width: 22ch; }
  .ffl-launch-countdown .ffl-ui-status { font-size: 12px; max-width: 23ch; }
  .ffl-launch-countdown__cta { flex-shrink: 0; padding: 7px 12px !important; font-size: 12px !important; }
  body.home .ffl-hero-container { grid-template-columns: 1fr; padding: 32px 22px 40px !important; gap: 26px !important; }
  body.home .ffl-hero-left { order: 0 !important; }
  body.home .ffl-hero-right { order: 1 !important; max-width: 440px; justify-self: center; width: 100%; }
  body.home .ffl-hero-left h1 { font-size: clamp(32px,9.5vw,46px) !important; max-width: 16ch; }
  body.home .ffl-hero-left > p:not(.ffl-hero-note) { font-size: 16px !important; }
  body.home .ffl-hero-right img { max-height: 380px !important; }
  body.home .ffl-hero-note { font-size: 13px !important; }
  body.home :is(.ffl-s2-section,.ffl-s3-section) { padding-block: 44px !important; }
  body.home :is(.ffl-s2-section,.ffl-s3-section) > .ffl-inner,
  .ffl-simple-steps > .ffl-inner { padding-inline: 22px !important; }
  body.home .ffl-s2-grid { grid-template-columns: 1fr !important; }
  body.home .ffl-s2-card { padding: 24px 0 !important; }
  body.home .ffl-s2-card h3 { min-height: 0; }
  body.home .ffl-s2-card + .ffl-s2-card { border-left: 0; border-top: 1px solid #c9d5c7; }
  body.home .ffl-s3-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  body.home .ffl-size-card__body { padding: 24px !important; }
  body.home .ffl-size-card__body h3 { font-size: 26px !important; }
  .ffl-simple-steps { padding-block: 48px; }
  .ffl-simple-steps ol { gap: 24px 18px; }
  .ffl-simple-steps h3 { font-size: 17px !important; }
  .ffl-simple-steps li p { font-size: 14px; }
  body.home .ffl-premium .ffl-section { padding-block: 44px !important; }
  body.home .ffl-premium .ffl-heading { grid-template-columns: 1fr !important; gap: 12px; }
  body.home .ffl-premium h2 { font-size: 36px !important; max-width: 15ch; }
  body.home .ffl-premium .ffl-card { min-height: 330px !important; padding: 22px !important; }
  body.home .ffl-premium .ffl-card-photo { margin-inline: -22px; }
  body.home .ffl-premium .ffl-photostory figcaption { left: 14px; right: 10px; font-size: clamp(19px,5.2vw,23px); line-height: 1.16; text-wrap: balance; }
  body.home .ffl-press-home { padding: 14px 14px 24px; }
  body.home .ffl-press-home h2 { font-size: clamp(26px,6.8vw,32px); }
  body.home .ffl-press-home__content>a { white-space: normal; }
  body .ffl-weekly-menu .ffl-weekly-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; }
  .ffl-weekly-card-body { padding: 12px 12px 10px !important; }
  .ffl-weekly-card-title { font-size: 14px !important; }
  .ffl-weekly-card > .ffl-dish-info { margin: 0 12px 12px !important; font-size: 12px !important; }
  body > .ffl-weekly-closed .ffl-weekly-closed__inner { gap: 14px !important; padding: 20px !important; }
  body > .ffl-weekly-closed .ffl-weekly-closed__mascot { width: 64px !important; height: 64px !important; }
  .ffl-weekly-closed__eyebrow { display: none !important; }
  .ffl-weekly-closed__copy strong { font-size: 21px !important; }
  .ffl-weekly-closed__copy p { font-size: 13px !important; margin-bottom: 0 !important; }
  .ffl-how__hero { padding-block: 40px !important; }
  .ffl-how__section { padding-block: 40px !important; }
}
@media (max-width: 359px) { .ffl-simple-steps ol { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .ffl-hero-right, .ffl-size-card__photo img, .ffl-size-card__action span, .ffl-launch-countdown__arrow { animation: none !important; transition: none !important; }
}
