/*
 * CookinBreak — pages pays refaites (/countries/<slug>). Balisage : app/views/country/page.php · comportement : static/js/pages/pays.js
 * Le bandeau, les rubriques, les filtres, « Le saviez-vous ? » et la FAQ viennent de static/css/pages/regime.css (communs aux régimes et
 * catégories). Ici : drapeau du bandeau, carte des spécialités, menu, panier, « Continuer le voyage ».
 * La carte reprend les couleurs de la Terre de l'accueil (static/css/pages/home.css, --globe-*) : mer teal, terres claires, pays en corail.
 */
.cy {
  --cy-sea: #3e9fa6; --cy-ring: #7cc7c9; --cy-land: #f4f7f1; --cy-country: #ffc9b5; --cy-ink: #0d4f57;
}
.dark-mode .cy { --cy-sea: #2f8d95; --cy-ring: #62b4b8; --cy-land: #dfe7e3; --cy-country: #f2ae96; }

/* Une couleur par pays (clé theme de app/data/country_pages.php), nommée d'après un produit du pays : bandeau, menu, « Le saviez-vous ? »,
 * textes d'accent. Mêmes variables que les teintes de regime.css (--rg-ink texte, --rg-soft fonds, --rg-hero bandeau, --rg-deco tache). */
.cy--lavande     { --rg-ink: #6b3fa0; --rg-soft: #efe8f8; --rg-hero: #f7f3fc; --rg-deco: #dccdf1; }
.cy--cerise      { --rg-ink: #b4232f; --rg-soft: #fde8e8; --rg-hero: #fef3f2; --rg-deco: #f8c9c9; }
.cy--basilic     { --rg-ink: #2f7a32; --rg-soft: #e8f3e3; --rg-hero: #f2f8ef; --rg-deco: #c9e3bf; }
.cy--safran      { --rg-ink: #b45309; --rg-soft: #fdf0dc; --rg-hero: #fef7ec; --rg-deco: #f9d9a6; }
.cy--bretzel     { --rg-ink: #8b4a1c; --rg-soft: #f6ebe0; --rg-hero: #faf4ee; --rg-deco: #ead3bd; }
.cy--prune       { --rg-ink: #8e2a6e; --rg-soft: #f8e8f3; --rg-hero: #fcf3f9; --rg-deco: #ecc6df; }
.cy--curcuma     { --rg-ink: #8f5f00; --rg-soft: #fcf3cf; --rg-hero: #fefae6; --rg-deco: #f5e08f; }
.cy--citron-vert { --rg-ink: #4d7c0f; --rg-soft: #eef6dc; --rg-hero: #f6faec; --rg-deco: #d6eaa4; }
.cy--menthe      { --rg-ink: #1a7f4b; --rg-soft: #e3f5ea; --rg-hero: #f1faf4; --rg-deco: #c2e8d0; }
.cy--terracotta  { --rg-ink: #b3401d; --rg-soft: #fbe9e1; --rg-hero: #fdf4ef; --rg-deco: #f4c6b1; }
.cy--goyave      { --rg-ink: #c02e5c; --rg-soft: #fde8ef; --rg-hero: #fef3f7; --rg-deco: #f8c3d4; }
.dark-mode .cy--lavande     { --rg-ink: #c9b2f0; --rg-soft: rgba(201, 178, 240, 0.14); --rg-hero: #241f2c; --rg-deco: rgba(201, 178, 240, 0.22); }
.dark-mode .cy--cerise      { --rg-ink: #fca5a5; --rg-soft: rgba(252, 165, 165, 0.14); --rg-hero: #2b1d1e; --rg-deco: rgba(252, 165, 165, 0.22); }
.dark-mode .cy--basilic     { --rg-ink: #9ad89a; --rg-soft: rgba(154, 216, 154, 0.13); --rg-hero: #1d261d; --rg-deco: rgba(154, 216, 154, 0.2); }
.dark-mode .cy--safran      { --rg-ink: #fcc77e; --rg-soft: rgba(252, 199, 126, 0.13); --rg-hero: #2a231a; --rg-deco: rgba(252, 199, 126, 0.2); }
.dark-mode .cy--bretzel     { --rg-ink: #e6b88f; --rg-soft: rgba(230, 184, 143, 0.13); --rg-hero: #29211b; --rg-deco: rgba(230, 184, 143, 0.2); }
.dark-mode .cy--prune       { --rg-ink: #f0a8d6; --rg-soft: rgba(240, 168, 214, 0.14); --rg-hero: #2a1d26; --rg-deco: rgba(240, 168, 214, 0.22); }
.dark-mode .cy--curcuma     { --rg-ink: #f5d76e; --rg-soft: rgba(245, 215, 110, 0.13); --rg-hero: #29261a; --rg-deco: rgba(245, 215, 110, 0.2); }
.dark-mode .cy--citron-vert { --rg-ink: #bfe27a; --rg-soft: rgba(191, 226, 122, 0.13); --rg-hero: #22271a; --rg-deco: rgba(191, 226, 122, 0.2); }
.dark-mode .cy--menthe      { --rg-ink: #8fdcb0; --rg-soft: rgba(143, 220, 176, 0.13); --rg-hero: #1b2620; --rg-deco: rgba(143, 220, 176, 0.2); }
.dark-mode .cy--terracotta  { --rg-ink: #f6ab8c; --rg-soft: rgba(246, 171, 140, 0.14); --rg-hero: #2b201c; --rg-deco: rgba(246, 171, 140, 0.22); }
.dark-mode .cy--goyave      { --rg-ink: #f7a3bf; --rg-soft: rgba(247, 163, 191, 0.14); --rg-hero: #2b1d23; --rg-deco: rgba(247, 163, 191, 0.22); }

/* ==================================================================
 * Bandeau : drapeau rond devant l'accroche, timbre-poste sur les photos
 * ================================================================== */
.cyh__flag { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--ds-surface), var(--ds-shadow-sm); }
.cyh__badge { /* timbre : fond blanc percé de ronds, recouvert au centre par le drapeau et sa marge blanche → dents sur le bord */
  position: absolute; left: 0; bottom: 6%; padding: 6px; transform: rotate(-7deg);
  background: radial-gradient(circle, transparent 3.2px, #fff 3.6px) -6px -6px / 12px 12px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}
.cyh__badge img { display: block; width: 96px; height: 64px; object-fit: cover; border: 7px solid #fff; box-sizing: content-box; }
@media (max-width: 599px) { .cyh__badge img { width: 72px; height: 48px; border-width: 5px; } }
/* pays avec une ou deux recettes : une grande photo (et une petite en haut à droite), le timbre en bas à gauche */
.cyh__art--1 .rgh__ph--1 { left: 12%; top: 3%; width: 80%; }
.cyh__art--2 .rgh__ph--1 { width: 76%; }
.cyh__art--2 .rgh__ph--2 { width: 38%; }

/* ==================================================================
 * La carte des spécialités : carte dessinée + étapes numérotées
 * ================================================================== */
.cy-tour__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
/* Zoom et déplacement (static/js/pages/pays.js) : --z agrandit le dessin, --tx et --ty le décalent ; repères et noms suivent sans
 * grossir. --sz (le zoom, posé à la fin du geste) garde les lignes d'eau de la même épaisseur à l'écran sans redessiner à chaque image. */
.cy-map { --z: 1; --tx: 0px; --ty: 0px; --sz: 1; position: relative; min-width: 0; touch-action: pan-y; }
.cy-map.is-away { touch-action: none; } /* carte écartée de sa vue de départ : le doigt la déplace ; sinon la page défile */
.cy-map__frame { position: absolute; inset: 0; overflow: hidden; border-radius: var(--ds-radius-lg); box-shadow: 0 0 0 2px var(--cy-ink), 0 18px 40px -24px rgba(13, 79, 87, 0.6); }
.cy-map__svg { display: block; width: 100%; height: 100%; transform-origin: 0 0; transform: translate(var(--tx), var(--ty)) scale(var(--z)); }
.cy-map.is-zoomed .cy-map__frame { cursor: grab; }
.cy-map.is-dragging .cy-map__frame, .cy-map.is-dragging .cy-pin { cursor: grabbing; }
.cy-map.is-anim .cy-map__svg, .cy-map.is-anim .cy-pin, .cy-map.is-anim .cy-map__label { transition: transform 0.35s var(--ds-ease), left 0.35s var(--ds-ease), top 0.35s var(--ds-ease); }
.cy-map .is-out { visibility: hidden; }
.cy-map__sea { fill: var(--cy-sea); }
.cy-map__ring-line, .cy-map__sea-line { fill: none; stroke-linejoin: round; stroke-width: calc(var(--w) * 1px / var(--sz)); }
.cy-map__ring-line { stroke: var(--cy-ring); }
.cy-map__sea-line { stroke: var(--cy-sea); }
.cy-map__land { fill: var(--cy-land); stroke: var(--cy-ink); stroke-width: 1; stroke-opacity: 0.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cy-map__country { fill: var(--cy-country); stroke: var(--cy-ink); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cy-map__lakes { fill: var(--cy-sea); stroke: var(--cy-ink); stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cy-map__lines { fill: none; stroke: var(--cy-ink); stroke-width: 1; stroke-opacity: 0.32; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.cy-map__inset-box { fill: var(--cy-sea); stroke: #fff; stroke-width: 1.5; stroke-opacity: 0.7; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.cy-map__inset-label { font: 600 17px var(--ds-font-body); fill: #fff; }
/* Noms des mers (italique, blanc) et des pays voisins (capitales espacées, encre) */
.cy-map__label {
  position: absolute; left: calc(var(--x) * var(--z) + var(--tx)); top: calc(var(--y) * var(--z) + var(--ty)); transform: translate(-50%, -50%);
  pointer-events: none; text-align: center; white-space: nowrap;
  font-family: var(--ds-font-body); line-height: 1.15;
}
.cy-map__label--sea { color: rgba(255, 255, 255, 0.82); font-size: clamp(0.62rem, 0.5rem + 0.45vw, 0.82rem); font-style: italic; font-weight: 500; letter-spacing: 0.04em; }
.cy-map__label--land { color: var(--cy-ink); opacity: 0.5; font-size: clamp(0.55rem, 0.45rem + 0.35vw, 0.7rem); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.cy-map__compass { position: absolute; right: 14px; top: 12px; display: inline-flex; color: var(--cy-ink); font-size: 2.6rem; opacity: 0.75; pointer-events: none; }
.cy-map__compass--bottom { top: auto; bottom: 12px; }
@media (max-width: 599px) { .cy-map__compass { font-size: 1.8rem; right: 8px; top: 6px; } .cy-map__compass--bottom { top: auto; bottom: 6px; } }
/* Boutons de zoom (en haut à gauche) et consigne « Ctrl + molette » quand la molette fait défiler la page */
.cy-zoom { position: absolute; z-index: 4; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; }
.cy-zoom[hidden], .cy-zoom__btn[hidden] { display: none; }
.cy-zoom__btn {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 2px solid var(--cy-ink); border-radius: 50%;
  background: #fff; color: var(--cy-ink); font-size: 1rem; cursor: pointer; box-shadow: 0 3px 8px rgba(13, 79, 87, 0.3);
  transition: background-color 0.2s var(--ds-ease), opacity 0.2s var(--ds-ease);
}
.cy-zoom__btn:hover { background: var(--rg-soft); }
.cy-zoom__btn:focus-visible { outline: 2px solid var(--rg-ink); outline-offset: 2px; }
.cy-zoom__btn:disabled { opacity: 0.4; cursor: default; background: #fff; }
.cy-map__hint {
  position: absolute; z-index: 4; left: 50%; bottom: 14px; margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(15, 23, 28, 0.78);
  color: #fff; font: 600 0.8rem/1.2 var(--ds-font-body); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 4px);
  transition: opacity 0.2s var(--ds-ease), transform 0.2s var(--ds-ease);
}
.cy-map__hint.is-shown { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 599px) { .cy-zoom { left: 8px; top: 8px; gap: 4px; } .cy-zoom__btn { width: 30px; height: 30px; font-size: 0.9rem; } }

/* Repères : numéro dans un rond ; au survol (ou quand l'étape de la liste est survolée), la photo et le nom du plat */
.cy-pin { position: absolute; z-index: 1; left: calc(var(--x) * var(--z) + var(--tx)); top: calc(var(--y) * var(--z) + var(--ty)); transform: translate(-50%, -50%); text-decoration: none; }
.cy-pin__n {
  display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--cy-ink); border-radius: 50%;
  background: #fff; color: var(--cy-ink); font: 700 0.8rem/1 var(--ds-font-body); font-variant-numeric: tabular-nums;
  box-shadow: 0 3px 8px rgba(13, 79, 87, 0.35); transition: transform 0.2s var(--ds-ease), background-color 0.2s var(--ds-ease), color 0.2s var(--ds-ease);
}
.cy-pin:hover, .cy-pin.is-on { z-index: 3; }
.cy-pin:hover .cy-pin__n, .cy-pin.is-on .cy-pin__n { transform: scale(1.18); background: var(--ds-accent); border-color: #fff; color: #fff; }
.cy-pin.is-clustered { visibility: hidden; }
.cy-pin__count { /* lieu à plusieurs recettes : leur nombre, en pastille sur le repère */
  position: absolute; right: -10px; top: -10px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid #fff;
  border-radius: 999px; background: var(--cy-ink); color: #fff; font: 700 0.68rem/1 var(--ds-font-body); font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 6px rgba(13, 79, 87, 0.4);
}
.cy-cluster { z-index: 2; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; } /* pastille de repères regroupés (créée par pays.js) */
.cy-cluster .cy-pin__n { width: auto; min-width: 40px; height: 34px; padding: 0 10px; border-radius: 12px; background: var(--cy-ink); border-color: #fff; color: #fff; font-size: 0.9rem; } /* carré arrondi : un groupe, pas un lieu numéroté */
.cy-cluster .cy-pin__card i { display: block; font-style: normal; font-weight: 500; font-size: 0.8rem; color: var(--ds-text-2); }
.cy-pin__card {
  position: absolute; left: 50%; bottom: calc(100% + 10px); display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: var(--ds-surface); color: var(--ds-text); box-shadow: var(--ds-shadow-lg); white-space: nowrap;
  font: 600 0.85rem/1.25 var(--ds-font-body); opacity: 0; pointer-events: none; transform: translate(-50%, 6px);
  transition: opacity 0.2s var(--ds-ease), transform 0.2s var(--ds-ease);
}
.cy-pin__card img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--ds-surface-2); }
.cy-pin__card b { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--rg-ink); }
.cy-pin:hover .cy-pin__card, .cy-pin.is-on .cy-pin__card { opacity: 1; transform: translate(-50%, 0); }
.cy-pin--left .cy-pin__card { left: -6px; transform: translate(0, 6px); }
.cy-pin--left:hover .cy-pin__card, .cy-pin--left.is-on .cy-pin__card { transform: translate(0, 0); }
.cy-pin--right .cy-pin__card { left: auto; right: -6px; transform: translate(0, 6px); }
.cy-pin--right:hover .cy-pin__card, .cy-pin--right.is-on .cy-pin__card { transform: translate(0, 0); }
.cy-pin--below .cy-pin__card { bottom: auto; top: calc(100% + 10px); }

/* Fenêtre des recettes d'un lieu : sur la carte, près du repère (pays.js) */
.cy-pop {
  position: absolute; z-index: 6; display: flex; flex-direction: column; width: min(300px, calc(100% - 16px)); max-height: calc(100% - 16px);
  overflow: hidden; border: 1px solid var(--ds-border); border-radius: 18px; background: var(--ds-surface); box-shadow: var(--ds-shadow-lg); cursor: default;
}
.cy-pop[hidden] { display: none; }
.cy-pop__head { display: flex; align-items: center; gap: 8px; padding: 10px 8px 10px 14px; border-bottom: 1px solid var(--ds-border); }
.cy-pop__title { flex: 1; min-width: 0; font: 700 0.72rem/1.3 var(--ds-font-body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--rg-ink); }
.cy-pop__close { display: grid; place-items: center; flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--ds-surface-2); color: var(--ds-text-2); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.cy-pop__close:hover { background: var(--rg-soft); }
.cy-pop__list { margin: 0; padding: 6px; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.cy-pop__list li { margin: 0; padding: 0; }
.rg .cy-pop__item { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; color: var(--ds-text); font-size: 0.88rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.rg .cy-pop__item:hover { background: var(--rg-soft); }
.rg .cy-pop__item:focus-visible { outline: 2px solid var(--rg-ink); outline-offset: -2px; }
.cy-pop__item img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--ds-surface-2); }

/* Liste des étapes : à côté de la carte (même hauteur, défile), en rangée qui défile sur mobile */
.cy-tour__side { position: relative; min-width: 0; }
.cy-stops { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cy-stops li { margin: 0; padding: 0; }
.rg .cy-stop {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 14px 8px 8px;
  border: 1px solid var(--ds-border); border-radius: 18px; background: var(--ds-surface); text-decoration: none;
  transition: border-color 0.2s var(--ds-ease), background-color 0.2s var(--ds-ease), transform 0.2s var(--ds-ease);
}
.rg .cy-stop:hover, .rg .cy-stop.is-on { border-color: var(--cy-ink); background: var(--rg-soft); }
.rg .cy-stop:focus-visible { outline: 2px solid var(--rg-ink); outline-offset: 2px; }
.cy-stop__n {
  display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--cy-ink); border-radius: 50%;
  background: #fff; color: var(--cy-ink); font: 700 0.75rem/1 var(--ds-font-body); font-variant-numeric: tabular-nums;
}
.cy-stop.is-on .cy-stop__n, .cy-stop:hover .cy-stop__n { background: var(--ds-accent); border-color: var(--ds-accent); color: #fff; }
.cy-place { padding: 8px; border: 1px solid var(--ds-border); border-radius: 18px; background: var(--ds-surface); transition: border-color 0.2s var(--ds-ease), background-color 0.2s var(--ds-ease); }
.cy-place.is-on { border-color: var(--cy-ink); background: var(--rg-soft); }
.cy-place.is-on .cy-stop__n { background: var(--ds-accent); border-color: var(--ds-accent); color: #fff; }
.cy-place__head { display: flex; align-items: center; gap: 12px; margin: 0; padding: 2px 6px 8px 2px; }
.cy-place__name { flex: 1; min-width: 0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--rg-ink); }
.cy-place__count { flex: none; font-size: 0.75rem; font-weight: 600; color: var(--ds-text-3); }
.cy-place__list { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.cy-place__list li { margin: 0; padding: 0; }
.rg .cy-place__item { display: flex; align-items: center; gap: 10px; padding: 5px 8px 5px 5px; border-radius: 12px; text-decoration: none; }
.rg .cy-place__item:hover { background: var(--rg-soft); }
.rg .cy-place.is-on .cy-place__item:hover { background: var(--ds-surface); }
.rg .cy-place__item:focus-visible { outline: 2px solid var(--rg-ink); outline-offset: -2px; }
.cy-place__item img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--ds-surface-2); }
.cy-place__name2 { display: block; font-weight: 600; font-size: 0.9rem; line-height: 1.3; color: var(--ds-text); }
.cy-place__text { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 0.78rem; line-height: 1.4; color: var(--ds-text-2); }
.cy-stop__img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--ds-surface-2); }
.cy-stop__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cy-stop__place { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--rg-ink); }
.cy-stop__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 0.95rem; color: var(--ds-text); }
.cy-stop__text { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 0.8rem; line-height: 1.45; color: var(--ds-text-2); }
@media (min-width: 900px) {
  .cy-stops { position: absolute; inset: 0; overflow-y: auto; padding: 2px 6px 2px 2px; scrollbar-width: thin; overscroll-behavior: contain; }
}
@media (max-width: 899px) {
  .cy-tour__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cy-stops { flex-direction: row; gap: 10px; margin: 0 calc(-1 * var(--rg-gutter)); padding: 2px var(--rg-gutter) 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--rg-gutter); scrollbar-width: none; }
  .cy-stops::-webkit-scrollbar { display: none; }
  .cy-stops li { flex: none; width: min(78vw, 300px); scroll-snap-align: start; }
  .cy-stops { align-items: flex-start; } /* un lieu à plusieurs recettes est plus haut que les autres : chaque carte garde sa hauteur */
  .cy-place__list { max-height: 8.5rem; overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 599px) {
  .cy-pin__n { width: 24px; height: 24px; font-size: 0.7rem; border-width: 1.5px; }
  .cy-cluster .cy-pin__n { min-width: 34px; height: 30px; padding: 0 8px; border-radius: 10px; font-size: 0.8rem; }
  .cy-pin__count { right: -8px; top: -8px; min-width: 18px; height: 18px; font-size: 0.62rem; }
  .cy-pin__card { display: none; } /* sur mobile, la liste sous la carte fait office d'étiquette */
}

/* ==================================================================
 * Le menu : une carte de bistrot, « Un autre menu » fait tourner les plats
 * ================================================================== */
.cy-menu {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--ds-radius-lg); background: var(--rg-soft);
}
@media (max-width: 859px) { .cy-menu { grid-template-columns: minmax(0, 1fr); } }
.cy-menu__intro { min-width: 0; }
.cy-menu__shuffle { gap: 8px; margin-top: 22px; }
.cy-menu__shuffle .cb-icon { transition: transform 0.4s var(--ds-ease); }
.cy-menu__shuffle:hover .cb-icon { transform: rotate(180deg); }
.cy-menu__card { position: relative; min-width: 0; padding: 22px clamp(18px, 3vw, 30px) 10px; border-radius: 22px; background: var(--ds-surface); box-shadow: var(--ds-shadow-md); }
.cy-menu__card::before { /* double filet de carte de restaurant */
  content: ""; position: absolute; inset: 8px; border: 1px solid var(--ds-border); border-radius: 16px; pointer-events: none;
}
.cy-menu__head {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 6px; font-family: var(--ds-font-display);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ds-text-2);
}
.cy-menu__head img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px var(--ds-border); }
.cy-menu__list { position: relative; margin: 0; padding: 0; list-style: none; }
.cy-course { padding: 14px 0; border-top: 1px dashed var(--ds-border-strong); }
.cy-course:first-child { border-top: 0; }
.cy-course__label { display: block; margin-bottom: 8px; font-family: var(--ds-font-display); font-size: 0.78rem; font-weight: 500; color: var(--rg-ink); }
.rg .cy-course__link { display: flex; align-items: center; gap: 14px; color: var(--ds-text); text-decoration: none; transition: opacity 0.18s var(--ds-ease); }
.cy-course__img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--ds-surface-2); }
.cy-course__body { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.cy-course__name { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.cy-course__meta { font-size: 0.82rem; color: var(--ds-text-3); }
.cy-course__link > .cb-icon { flex: none; color: var(--rg-ink); transition: transform 0.2s var(--ds-ease); }
.rg .cy-course__link:hover .cy-course__name { text-decoration: underline; }
.rg .cy-course__link:hover > .cb-icon { transform: translateX(4px); }
.cy-course.is-swapping .cy-course__link { opacity: 0; }

/* ==================================================================
 * Le panier : ingrédients typiques, en grille (rangée qui défile sur mobile)
 * ================================================================== */
.cy-basket__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.cy-basket__list li { margin: 0; padding: 0; }
@media (max-width: 1023px) { .cy-basket__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .cy-basket__list { display: flex; gap: 10px; margin: 0 calc(-1 * var(--rg-gutter)); padding: 2px var(--rg-gutter) 8px; overflow-x: auto; scrollbar-width: none; }
  .cy-basket__list::-webkit-scrollbar { display: none; }
  .cy-basket__list li { flex: none; width: 168px; }
}
.rg .cy-ing {
  display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; padding: 18px 14px; text-align: center;
  border: 1px solid var(--ds-border); border-radius: var(--ds-radius-md); background: var(--ds-surface); text-decoration: none;
  transition: transform 0.25s var(--ds-ease), box-shadow 0.25s var(--ds-ease), border-color 0.25s;
}
.rg .cy-ing:hover { transform: translateY(-3px); box-shadow: var(--ds-shadow-md); border-color: var(--rg-ink); }
.rg .cy-ing:focus-visible { outline: 2px solid var(--rg-ink); outline-offset: 2px; }
.cy-ing__img {
  display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 8px; border-radius: 50%;
  object-fit: cover; background: var(--ds-surface-2); color: var(--rg-ink); font-size: 2rem;
}
.cy-ing__name { font-weight: 600; font-size: 0.95rem; color: var(--ds-text); }
.cy-ing__count { font-size: 0.75rem; font-weight: 600; color: var(--rg-ink); }
.cy-ing__text { margin-top: 4px; font-size: 0.8rem; line-height: 1.45; color: var(--ds-text-2); }

/* ==================================================================
 * Par région : pastilles vers les pages /countries/<pays>/<région>
 * ================================================================== */
.cy-regions__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cy-regions__list li { margin: 0; padding: 0; }
.rg .cy-region {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--ds-border); border-radius: 999px;
  background: var(--ds-surface); text-decoration: none; transition: border-color 0.2s var(--ds-ease), background-color 0.2s var(--ds-ease), transform 0.2s var(--ds-ease);
}
.rg .cy-region:hover { border-color: var(--rg-ink); background: var(--rg-soft); }
.rg .cy-region:focus-visible { outline: 2px solid var(--rg-ink); outline-offset: 2px; }
.cy-region__name { font-weight: 600; font-size: 0.95rem; color: var(--ds-text); }
.cy-region__count { font-size: 0.78rem; font-weight: 600; color: var(--ds-text-3); }
.cy-region > .cb-icon { color: var(--rg-ink); transition: transform 0.2s var(--ds-ease); }
.rg .cy-region:hover > .cb-icon { transform: translateX(3px); }
.rg .cy-region--all { background: var(--rg-soft); border-color: transparent; }

/* Le saviez-vous ? : trois cartes sur une ligne */
@media (min-width: 900px) { .rg-tips.cy-know { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==================================================================
 * Continuer le voyage : panneau sombre étoilé, comme la Terre de l'accueil
 * ================================================================== */
.cy-trip__box {
  position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 44px); overflow: hidden; isolation: isolate; border-radius: var(--ds-radius-lg);
  background: radial-gradient(circle at 0% 100%, rgba(0, 130, 142, 0.3) 0%, transparent 55%), linear-gradient(145deg, #111827 0%, #172426 100%);
}
.dark-mode .cy-trip__box { border: 1px solid var(--ds-border); }
.cy-trip__box::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5; background-size: 360px 360px;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 64%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 34% 82%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 56% 40%, rgba(255, 255, 255, 0.7) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 6% 58%, rgba(255, 255, 255, 0.8) 50%, transparent 51%);
}
@media (max-width: 859px) { .cy-trip__box { grid-template-columns: minmax(0, 1fr); } }
.cy-trip .rgs__title { color: #fff; }
.cy-trip .rgs__lead { color: rgba(255, 255, 255, 0.65); }
.cy-trip__globe { gap: 8px; margin-top: 20px; }
.cy-trip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.cy-trip__list li { margin: 0; padding: 0; }
@media (max-width: 479px) { .cy-trip__list { grid-template-columns: minmax(0, 1fr); } }
.rg .cy-country {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 8px 16px 8px 8px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); color: #fff; text-decoration: none; transition: background-color 0.2s var(--ds-ease), border-color 0.2s var(--ds-ease);
}
.rg .cy-country:hover { background: rgba(168, 223, 227, 0.14); border-color: rgba(168, 223, 227, 0.45); }
.rg .cy-country:focus-visible { outline: none; box-shadow: 0 0 0 3px #a8dfe3; }
.cy-country__flag { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); }
.cy-country__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--ds-font-display); font-size: 0.95rem; font-weight: 500; color: #fff; }
.cy-country__count { flex: none; font-size: 0.75rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); }

@media (prefers-reduced-motion: reduce) {
  .cy-map.is-anim .cy-map__svg, .cy-map.is-anim .cy-pin, .cy-map.is-anim .cy-map__label, .cy-zoom__btn, .cy-map__hint,
  .cy-pin__n, .cy-pin__card, .rg .cy-stop, .cy-place, .rg .cy-region, .cy-region > .cb-icon, .rg .cy-ing, .rg .cy-course__link, .cy-menu__shuffle .cb-icon { transition: none; }
  .rg .cy-ing:hover { transform: none; }
}
