/* shared EN layers brought to French (loaded here so no per-page <link> is needed): guide byline, hero B-r3, standard footer */
@import url('/shared/guide/byline.css?v=bl1');
@import url('/shared/guide/hero-br3.css?v=br3d');
@import url('/shared/footer-standard.css?v=6f3377d1');
/* French card overlays (i18n spec 4.10): the painted card art stays text-free;
   the card text is real HTML over a gradient scrim in the painted text zone. */
.eat-ov { position: relative; display: block; container-type: inline-size; }
.eat-ov > img { display: block; width: 100%; height: auto; }

/* herofix (from live DE overlays.css lines 138-140, base dpl_4dmx4L1kSnqCJoqc5LMV93yPNYom): the cover card (figure.hero-art > span.eat-ov) must take the full width of the figure. On phones the figure is a centred flex column (site.css hero ladder), and a container-type:inline-size block as a flex item shrinks to 0x0, which collapsed the figure to ~28px and hid the image. */
.hero-art > .eat-ov{width:100%;align-self:stretch;flex:0 0 auto}
.hero-art > .eat-ov img{width:100%;height:auto;display:block}

.eat-ov-band {
  position: absolute; left: 0; right: 0; top: 0;
  padding: 13.5% 8% 12%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: linear-gradient(to bottom, rgba(12, 14, 10, var(--ov-scrim, .45)) 55%, rgba(12, 14, 10, 0));
  pointer-events: none;
}
.eat-ov-wide .eat-ov-band { padding-left: 6%; padding-right: 6%; }
.eat-ov-eb { font-family: 'Libre Franklin', 'Helvetica Neue', sans-serif; font-weight: 600; font-size: 3.2cqw; letter-spacing: .18em; text-transform: uppercase; color: #f6d08a; }
.eat-ov-t { font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 8.4cqw; line-height: 1.08; color: #fff; margin-top: 1.2cqw; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eat-ov-dk { font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif; font-weight: 600; font-style: italic; font-size: 3.8cqw; line-height: 1.25; color: #faf4e8; margin-top: 1.6cqw; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eat-ov-h { font-family: 'Libre Franklin', 'Helvetica Neue', sans-serif; font-weight: 600; font-size: 3cqw; color: #fff; opacity: .92; margin-top: 1.6cqw; }

/* ---- Round 3 (Core fix list A1): tier toggle chips. The shared English
   custom.css forces .tw-chip{white-space:nowrap} — English labels fit a
   third of 375px, "Juste milieu" is shorter, but other French labels are not. French only:
   allow the wrap. Never edit the shared English css. */

/* qa1 (Nov 21 2026): Spanish versions of the CSS-injected English words; the FR-only rules copied from /fr/ were removed (they never matched html[lang="es"]).
   ---- Round 3 (Core fix list C1): CSS-injected English words (content:)
   on French pages. The strings live in shared English stylesheets (guide
   signature bundles, season.css, nl.css, custom.css, fp.css, conv.css)
   which must not be edited; these html[lang] overrides carry one
   extra attribute selector and win the cascade. */
/* Watermark folio words (shared/guide-signature.css + bundles) */
html[lang="es"].gsig #idea::before{content:"IDEA"}
html[lang="es"].gsig section.overview::before{content:"RESUMEN"}
html[lang="es"].gsig #route::before{content:"RUTA"}
html[lang="es"].gsig #make-it-yours::before{content:"PARA USTED"}
html[lang="es"].gsig #planning::before{content:"PREPARAR"}
html[lang="es"].gsig #gallery::before{content:"FOTOS"}
html[lang="es"].gsig #faq::before{content:"NOTAS"}
/* Editorial legend (editorial-v4.css + bundles) */
html[lang="es"] body main .ed1 .ed-leg-hi::before{content:"Destacado · "}
/* Season ticket flip labels (per-guide season.css; tap = touch default,
   click = hover/fine-pointer media, mirrored from the source rules) */
html[lang="es"] #eat-season .tsh-tkt-f .tsh-flip::after{content:"Toque para girar"}
html[lang="es"] #eat-season .tsh-tkt[aria-pressed="true"] .tsh-tkt-f .tsh-flip::after,
html[lang="es"] #eat-season .tsh-tkt-b .tsh-flip::after{content:"Toque para volver"}
@media (hover:hover) and (pointer:fine){
html[lang="es"] #eat-season .tsh-tkt-f .tsh-flip::after{content:"Haga clic para girar"}
html[lang="es"] #eat-season .tsh-tkt[aria-pressed="true"] .tsh-tkt-f .tsh-flip::after,
html[lang="es"] #eat-season .tsh-tkt-b .tsh-flip::after{content:"Haga clic para volver"}
}
/* Custom-plan tier picker (shared/guide/nl.css) */
html[lang="es"] body #ce-cta-end .nl-cu-tier .lad:not(.on) .lad-check:before{content:"Elegir"}
html[lang="es"] .nl-cu-tier .lad.on .lad-top b:after{content:" · seleccionado"}
/* Sample-plan margin note (custom/custom.css) */
html[lang="es"] #ce-sm .sm-margin::before{content:"A medida · "}
/* Locked plan tile (shared/membership/fp.css) */
html[lang="es"] .pt-locked::after{content:"Con el Pasaporte Libertad"}
/* Nav pill (shared/conv/conv.css) */
html[lang="es"].cv-app-on .site-nav a.cv-nav-pill[data-cv-pl="home_nav_pill"]::before{content:"Nuevo"}
/* Bundle variant of the tier-picker "Choose" affordance (guide-signature
   bundles): full selector recovered from g-9091839ea22c.css. */
html[lang="es"].gsig #ce-cta-end .lad-row > .lad:not(.on):not([aria-pressed="true"]) .lad-check::before{content:"Elegir"}

/* A1 sweep (round 3): /fr/voyages/ at 320px — the stats grid uses
   max-content columns and the one-word label "Possibilités de filtrage"
   widens the page (docSW 387 vs 333 for the English page, which has the
   same hero shape). German-only: flexible columns + wrappable labels,
   and the footer credit may wrap. */
@media (max-width: 480px) {
  /* the credit link itself carries nowrap in the site CSS (363px at a
     320px viewport); let it wrap on small screens */
}

/* A1 sweep (round 3): the guide hero ledger strip truncates its items on
   narrow screens in English too, but the French item labels are longer
   and cut mid-phrase; let the strip wrap on small screens (fr only). */

/* ROUND 4 (item 7): the footer legal row (Mentions légales + Droit de rétractation +
   Résilier votre contrat) is styled only in legal-site.css, which most pages
   do not load — on /fr/passeport-liberte/paiement/ the links ran together and
   overlapped. Give the row its own fr-wide rule here. */

/* ROUND 4 (A1 sweep): the French consent line is longer than the English
   one; the Kasse terms row is flex/nowrap and forced the page 20px wide
   at 320px. Let it wrap, and keep the waiver box inside its container. */
.fp-terms-row { flex-wrap: wrap; }
#eat-waivers { box-sizing: border-box; max-width: 100%; }

/* ---- Footer language row + "Paramètres des cookies" (Core checkout review, Nov 19: "lang switch and
   cookie settings outside the footer"). Both are appended by JS as direct children of
   footer.eat-footer after the .eat-legal-row, so they sat flush-left at x=0 with no container padding,
   and the cookie link inherited a dark link colour on the dark footer (unreadable). French pages only
   (this file is only loaded on /fr/). Same look as .eat-legal-row above: centred, small, light. */

/* ---- D8 (Core review, Nov 19): the read-only tier ladder card for the long-trip tier prints
   "22–100 jours · Grand Voyage · 713 €" (+ "✓ Sélectionné"), longer than the other cards. French only: let the
   card text wrap instead of running past the card edge (same approach as the .tw-chip rule above). */

/* ===== P4 (Core retest of JA7q, Nov 19) ===== */
/* Item 1: the "Paiement confirmé" banner on /fr/compte/?paid=1 had no styling at all (no padding, flush to the
   window edge; the English /account/ banner is unstyled the same way, left alone). French only: a centred card
   in the same width as the account card, with the account-setup panel inside it. */

/* r4 (mirrored from the current German file, fix round 1): FR ledger labels are longer than EN: slightly tighter tracking everywhere, and they may wrap on phones instead of touching the cell edge. (The action-cell wrap rule lives in the shared guide/hero-br3.css, imported above.) */
html body .nl-ledger .nl-cell .nl-k{letter-spacing:.08em}
@media (max-width:480px){html body .nl-ledger .nl-cell:not(.nl-free) .nl-k{white-space:normal;overflow-wrap:break-word;letter-spacing:.06em}}
/* r4: the French action cell wraps to two rows at every width, so FR keeps the wider 130px data columns at 1200px+ (the longer labels need them); EN uses 118px so its three buttons stay on one row */
@media (min-width:1200px){
 html body .nl-ledger .nl-ledger-in{grid-template-columns:270px 130px 130px 130px minmax(0,1fr)!important}
}
/* r4: ledger value cells never break a word mid-word; hyphenate at real French break points instead (pages are lang=fr) */
html body .nl-ledger .nl-cell:not(.nl-free):not(.nl-act) .nl-v{overflow-wrap:normal;word-break:normal;hyphens:auto}
/* herofix: on phones up to 400px the French byline halves may wrap inside the rule instead of running past it */

/* ---- ES Phase 2 quality-guard fix (320px footer): with four languages the
   shared footer language row is nowrap and measures ~313px, and the Spanish
   credit line ("Sitio diseñado por Vistamere Creative") is a nowrap flex
   item ~309px wide — together they push a 320px viewport to 337px sideways
   scroll. Spanish only: allow both to wrap. Mirrors the FR tw-chip
   precedent in this file — the shared lang-selector.css is never edited. */
html[lang="es"] .eat-lang-bar > .eat-lang-foot { flex-wrap: wrap; }
html[lang="es"] .vm-credit a { white-space: normal; flex-wrap: wrap; max-width: 100%; }

/* ---- Footer legal row + market toggle placement (owner, Nov 21, 2026): same as /fr/ and /de/.
   Row sits inside .footer-inner, after the affiliate disclosure and before the copyright line. */
html[lang="es"] .eat-market-slot { grid-column: 1 / -1; font-size: .78rem; }
html[lang="es"] .eat-market-slot select { font-size: .78rem; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 6px; padding: 4px 8px; }
html[lang="es"] .eat-market-slot a { color: inherit; opacity: .75; }
html[lang="es"] .eat-legal-row { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; align-items: center; padding: 10px 0 18px; font-size: .78rem; grid-column: 1 / -1; justify-content: flex-start; text-align: left; }
html[lang="es"] .eat-legal-row a { color: inherit; opacity: .75; text-decoration: none; white-space: nowrap; }
html[lang="es"] .eat-legal-row a:hover { opacity: 1; text-decoration: underline; }
html[lang="es"] footer.eat-footer > .eat-lang-foot { justify-content: center; padding: 4px 16px 0; font-size: .78rem; text-align: center; }
html[lang="es"] footer.eat-footer > .eat-lang-foot a { min-height: 44px; padding: 6px 8px; color: inherit; opacity: .85; }
html[lang="es"] footer.eat-footer > #eat-consent-settings {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max, 1180px);
  margin: 0 auto; display: flex; align-items: center; justify-content: flex-start; min-height: 44px; padding: 0 24px 28px; font-size: .78rem; color: inherit; opacity: .75; text-decoration: underline; text-underline-offset: 3px; }

/* Footer market dropdown options readable (owner, Nov 21, 2026): the open list was white text on white. */
html[lang="es"] .eat-market-slot select option, html[lang="es"] .eat-market-toggle select option { color: #1F3A2B; background: #fff; }
