/* ==========================================================================
   PROTHENIX Dark — Thème NutriFitness

   Feuille autonome, sans Bootstrap. Les pages que le thème ne redessine pas encore
   continuent d'utiliser Tailwind et les styles du design d'origine, chargés
   à côté ; toutes les classes d'ici sont donc préfixées `nf-` pour ne jamais
   entrer en collision avec elles.

   Les couleurs, la police et les rayons sont des variables : changer la
   teinte du thème se fait ici, en une ligne.
   ========================================================================== */

:root {
  --nf-primary: #1a1b20;
  --nf-primary-hover: #000000;
  --nf-primary-soft: #ececee;
  --nf-secondary: #0e1a29;
  --nf-red: #e0483c;
  --nf-red-soft: #fdecea;
  --nf-green: #5db3ac;
  --nf-text: #1a1b20;
  --nf-muted: #6b6e7a;
  --nf-border: #e5e6ea;
  --nf-soft: #f0f0f0;
  --nf-surface: #ffffff;
  --nf-radius: 10px;
  --nf-radius-sm: 8px;
  --nf-width: 1360px;
  --nf-gutter: clamp(16px, 3vw, 24px);
  --nf-font: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.theme-nutrifitness {
  background: var(--nf-surface);
  color: var(--nf-text);
  font-family: var(--nf-font);
  font-size: 15px;
}
.theme-nutrifitness ::selection { background: var(--nf-primary); color: #fff; }
.theme-nutrifitness a:focus-visible,
.theme-nutrifitness button:focus-visible,
.theme-nutrifitness input:focus-visible,
.theme-nutrifitness select:focus-visible { outline: 2px solid var(--nf-primary); outline-offset: 2px; }

.nf-container { width: 100%; max-width: var(--nf-width); margin-inline: auto; padding-inline: var(--nf-gutter); }

.nf-ico    { width: 24px; height: 24px; flex-shrink: 0; }
.nf-ico-lg { width: 28px; height: 28px; flex-shrink: 0; }
.nf-ico-sm { width: 18px; height: 18px; flex-shrink: 0; }
.nf-ico-xs { width: 14px; height: 14px; flex-shrink: 0; }

/* Boutons -------------------------------------------------------------- */
.nf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding: 0 1.4rem; border-radius: 5px; border: 1px solid transparent;
  font-family: var(--nf-font); font-size: 15px; font-weight: 600; line-height: 1;
  cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.nf-btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.nf-btn:hover svg { transform: translateX(3px); }
.nf-btn-primary { background: var(--nf-primary); color: #fff; }
.nf-btn-primary:hover { background: var(--nf-primary-hover); }
.nf-btn-ghost { background: #fff; color: var(--nf-text); border-color: var(--nf-border); }
.nf-btn-ghost:hover { border-color: var(--nf-primary); color: var(--nf-primary); }
.nf-btn-light { background: #fff; color: var(--nf-primary); }
.nf-btn-light:hover { background: var(--nf-primary-soft); }
.nf-btn-cart {
  width: 100%; min-height: 40px; background: var(--nf-primary-soft); color: var(--nf-primary); font-size: 14px;
}
.nf-btn-cart:hover { background: var(--nf-primary); color: #fff; }
.nf-btn-cart svg { width: 14px; height: 14px; }
.nf-btn-cart:hover svg { transform: rotate(90deg); }

/* 01 — Bandeau supérieur ----------------------------------------------- */
.nf-topbar { background: var(--nf-primary); color: #fff; font-size: 13.5px; font-weight: 600; }
.nf-topbar .nf-container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 44px; }
.nf-topbar-links { display: flex; align-items: center; gap: 1.25rem; }
.nf-topbar-links a { color: #fff; transition: opacity .2s; }
.nf-topbar-links a:hover { opacity: .7; }
.nf-topbar-note { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 500; }
.nf-topbar-note strong { color: #fff; font-weight: 600; }
.nf-topbar-note:hover { opacity: .8; }
.nf-topbar-note svg { width: 18px; height: 18px; color: #fff; }

/* 02 — En-tête ----------------------------------------------------------- */
.nf-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .25s ease; }
.nf-header.is-stuck { box-shadow: 0 6px 24px -12px rgba(14,26,41,.18); }
.nf-header-row { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 3rem); min-height: 100px; }

.nf-logo { display: inline-flex; align-items: center; gap: .28em; flex-shrink: 0; font-weight: 800; font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1; letter-spacing: -.02em; color: #111a26; font-style: italic; text-transform: uppercase; }
/* Le symbole mesure environ 1,5 fois la hauteur des capitales, comme sur la charte. */
.nf-logo-mark { width: 1.05em; height: 1.37em; flex-shrink: 0; }
.nf-logo-word { padding-inline-end: .06em; }


.nf-search { flex: 1; display: flex; min-width: 0; height: 52px; border: 2px solid var(--nf-primary); border-radius: var(--nf-radius-sm); overflow: hidden; }
.nf-search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 1.1rem; font: inherit; font-size: 16px; color: var(--nf-text); background: transparent; }
.nf-search input::placeholder { color: var(--nf-muted); }
.nf-search button { display: flex; align-items: center; justify-content: center; width: 60px; background: var(--nf-primary); color: #fff; transition: background-color .2s; }
.nf-search button:hover { background: var(--nf-primary-hover); }
.nf-search:focus-within { box-shadow: 0 0 0 4px rgba(26,27,32,.12); }
.theme-nutrifitness .nf-search input:focus-visible { outline: none; }

.nf-actions { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.6rem); flex-shrink: 0; }
.nf-account { display: flex; align-items: center; gap: .7rem; }
.nf-account small { display: block; font-size: 12px; color: var(--nf-muted); line-height: 1.2; }
.nf-account strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.nf-action { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--nf-text); transition: color .2s; }
.nf-action:hover, .nf-account:hover { color: var(--nf-primary); }
.nf-count {
  position: absolute; top: 2px; inset-inline-end: 0; display: flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; border: 2px solid #fff;
  background: var(--nf-primary); color: #fff; font-size: 10px; font-weight: 700; line-height: 1;
}
.nf-count.is-empty { display: none; }
/* La pastille du panier est montrée ou masquée par main.js via les classes
   Tailwind `flex` / `hidden` — on suit la même convention. */
.nf-count.hidden { display: none; }

.nf-burger { display: none; }

/* 03 — Navigation ------------------------------------------------------- */
.nf-nav { background: #fff; border-bottom: 1px solid var(--nf-border); position: relative; z-index: 40; }
.nf-nav > .nf-container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nf-menu { display: flex; align-items: stretch; gap: .25rem; }
.nf-menu > li > a,
.nf-menu > li > button {
  display: flex; align-items: center; gap: .4rem; height: 58px; padding: 0 .9rem;
  font-size: 17px; font-weight: 600; color: var(--nf-text); transition: color .2s;
}
.nf-menu > li:first-child > a { padding-inline-start: .4rem; }
.nf-menu > li > a:hover, .nf-menu > li > button:hover, .nf-menu > li:focus-within > button { color: var(--nf-primary); }
.nf-menu > li > button .nf-chevron { width: 18px; height: 18px; transition: transform .25s ease; }
.nf-menu > li:hover > button .nf-chevron, .nf-menu > li:focus-within > button .nf-chevron { transform: rotate(180deg); }
.nf-menu > li:hover > button, .nf-menu > li:focus-within > button { color: var(--nf-primary); }
.nf-menu > li.is-highlight > a { color: var(--nf-text); }
.nf-menu > li.is-highlight > a svg { width: 26px; height: 26px; }

/* Méga-menus pleine largeur ---------------------------------------------
   Les entrées sont en position statique : le panneau absolu se cale alors sur
   .nf-nav, donc sur toute la largeur de la page. Il est enfant de l'entrée,
   si bien que passer du bouton au panneau ne le referme pas. Un court délai à
   la fermeture évite qu'un survol en diagonale ne le fasse clignoter. */
.nf-menu > li { position: static; }
.nf-mega {
  position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 100%; z-index: 60;
  background: #fff; border-top: 1px solid var(--nf-border); border-bottom: 1px solid var(--nf-border);
  box-shadow: 0 30px 50px -30px rgba(14,26,41,.28);
  opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
  transition: opacity .2s ease .12s, transform .25s ease .12s, visibility 0s linear .32s;
}
.nf-menu > li:hover > .nf-mega,
.nf-menu > li:focus-within > .nf-mega {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .2s ease .06s, transform .25s ease .06s, visibility 0s;
}
.nf-mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; padding-block: 2rem 2.25rem; }
.nf-mega-cols { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1.75rem 2rem; align-content: start; }
.nf-mega-title { display: block; padding-bottom: .7rem; margin-bottom: .6rem; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--nf-text); }
a.nf-mega-title:hover { color: var(--nf-primary); }
.nf-mega-col ul { display: grid; gap: .1rem; }
.nf-mega-col li a { display: inline-block; padding: .35rem 0; font-size: 15px; color: #4b4d57; transition: color .2s, transform .2s; }
.nf-mega-col li a:hover { color: var(--nf-primary); transform: translateX(3px); }
.nf-mega-rich { gap: .5rem !important; }
.nf-mega-rich li a { display: block; padding: .5rem 0; }
.nf-mega-rich li a:hover { transform: none; }
.nf-mega-rich strong { display: block; font-size: 15px; font-weight: 600; color: var(--nf-text); transition: color .2s; }
.nf-mega-rich li a:hover strong { color: var(--nf-primary); }
.nf-mega-rich span { display: block; margin-top: .15rem; font-size: 13px; line-height: 1.45; color: var(--nf-text); }
.nf-mega-promo { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 260px; padding: 1.4rem; border-radius: var(--nf-radius); overflow: hidden; background: var(--nf-secondary); color: #fff; }
.nf-mega-promo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.nf-mega-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,26,41,.9), rgba(14,26,41,.05) 75%); }
.nf-mega-promo:hover img { transform: scale(1.05); }
.nf-mega-promo small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.7); }
.nf-mega-promo strong { display: block; margin-top: .3rem; font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.nf-mega-promo-cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-size: 14px; font-weight: 700; }
.nf-mega-foot { background: #ffffff; border-top: 1px solid var(--nf-border); }
.nf-mega-foot .nf-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; font-size: 14px; color: var(--nf-text); }
.nf-mega-foot a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--nf-primary); }

.nf-nav-help { display: flex; align-items: center; gap: .6rem; font-size: 14px; color: var(--nf-muted); }
.nf-nav-help strong { color: var(--nf-text); font-weight: 700; font-size: 16px; }

/* 04 — Engagements ------------------------------------------------------ */
.nf-features { padding: 1.25rem 0; }
.nf-features ul { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.nf-features li { display: flex; align-items: center; gap: .6rem; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nf-features svg { width: 28px; height: 28px; stroke-width: 1.3; }

/* 05 — Hero ------------------------------------------------------------- */
.nf-hero { position: relative; overflow: hidden; border-radius: var(--nf-radius); background: var(--nf-soft); }
.nf-slides { position: relative; min-height: clamp(420px, 36vw, 560px); }
.nf-slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.nf-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.nf-slide-text { padding: clamp(2rem, 5.5vw, 5.25rem); }
.nf-slide-eyebrow { display: flex; align-items: center; gap: .9rem; font-size: 19px; font-weight: 600; }
.nf-tag {
  position: relative; display: inline-flex; align-items: center; height: 34px; padding-block: 0 0; padding-inline-start: .8rem; padding-inline-end: .7rem; margin-inline-start: 6px;
  background: var(--nf-red); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.02em; border-radius: 0 6px 6px 0;
}
.nf-tag::before {
  content: ""; position: absolute; inset-inline-end: 100%; top: 0; border-style: solid;
  border-width: 17px 8px 17px 0; border-color: transparent var(--nf-red) transparent transparent;
}
.nf-slide h1, .nf-slide h2 {
  margin-top: 1.4rem; font-size: clamp(2.1rem, 4.2vw, 4.1rem); font-weight: 700; line-height: 1.12; letter-spacing: -.025em;
}
.nf-slide p { margin-top: 1.6rem; max-width: 34rem; font-size: clamp(16px, 1.3vw, 19px); color: #4b4d57; }
.nf-slide p.nf-slide-price { display: flex; align-items: baseline; gap: .7rem; margin-top: 1.2rem; }
.nf-slide-price strong { font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-weight: 700; color: var(--nf-text); }
.nf-slide-price strong.is-sale { color: var(--nf-text); }
.nf-slide-price del { font-size: 1.05rem; color: var(--nf-muted); }
.nf-slide .nf-btn { margin-top: 2.4rem; min-height: 48px; padding: 0 1.4rem; font-size: 16px; }
.nf-slide-media { position: relative; height: 100%; min-height: inherit; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.nf-slide-media img, .nf-slide-media svg { max-height: 520px; width: 100%; height: 100%; object-fit: contain; }
.nf-slide-media.is-photo { padding: 0; }
.nf-slide-media.is-photo img { max-height: none; object-fit: cover; }
.nf-slide-media.is-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--nf-soft), rgba(240,240,240,0) 35%); }
/* Portrait de l'ambassadeur : la tête reste en haut du cadre, quel que soit le recadrage. */
.nf-slide-media.is-portrait img { object-position: 50% 6%; }

.nf-dots { position: absolute; inset-inline-start: clamp(2rem, 5.5vw, 5.25rem); bottom: 2rem; z-index: 3; display: flex; gap: 8px; }
/* Traits fins à l'encre du thème, comme le soulignement des onglets : le trait actif s'allonge. Calés sur la marge du texte, hors de la photo. */
.nf-dots button { position: relative; width: 28px; height: 20px; padding: 0; background: none; cursor: pointer; }
.nf-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(26,27,32,.22); transition: background-color .25s; }
.nf-dots button::after { content: ""; position: absolute; left: 0; top: 9px; height: 2px; width: 100%; background: var(--nf-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nf-dots button:hover::before { background: rgba(26,27,32,.45); }
.nf-dots button[aria-current="true"]::after { transform: scaleX(1); }
.nf-dots button:focus-visible { outline: 2px solid var(--nf-primary); outline-offset: 2px; }

/* 06 — En-têtes de section --------------------------------------------- */
.nf-section { padding-block: clamp(2.5rem, 4vw, 3.75rem); }
.nf-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.nf-section-head-start { display: flex; align-items: center; gap: 2.25rem; min-width: 0; }
.nf-section-title { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.nf-section-sub { margin-top: .3rem; font-size: 14.5px; color: var(--nf-muted); }
.nf-link-more { display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0; font-size: 16px; font-weight: 700; color: var(--nf-text); transition: color .2s; }
.nf-link-more:hover { color: var(--nf-primary); }
.nf-link-more svg { width: 20px; height: 20px; transition: transform .25s; }
.nf-link-more:hover svg { transform: translateX(3px); }

.nf-tabs { display: flex; align-items: center; gap: .35rem; overflow-x: auto; scrollbar-width: none; }
.nf-tabs::-webkit-scrollbar { display: none; }
.nf-tab { flex-shrink: 0; padding: .55rem .8rem; border-radius: 6px; font-size: 18px; font-weight: 600; color: #8b8d97; transition: color .2s, background-color .2s; }
.nf-tab:hover { color: var(--nf-text); }
.nf-tab[aria-selected="true"] { background: #ececec; color: var(--nf-text); }
.nf-tabpanel[hidden] { display: none; }

/* 07 — Grille et carte produit ----------------------------------------- */
/* Bordures portées par les cartes, superposées d'un pixel : une rangée
   incomplète ne laisse pas de cadre vide autour des places inoccupées. */
.nf-grid { display: grid; grid-template-columns: repeat(var(--nf-cols, var(--nf-fit, 6)), minmax(0, 1fr)); padding-block: 0 1px; padding-inline-start: 0; padding-inline-end: 1px; }
.nf-grid > * { border: 1px solid var(--nf-border); margin-block: 0 -1px; margin-inline-start: 0; margin-inline-end: -1px; }
.nf-grid-5 { --nf-cols: 5; }
.nf-grid-4 { --nf-cols: 4; }

.nf-card { position: relative; display: flex; flex-direction: column; background: #fff; padding: 1.1rem; transition: box-shadow .25s ease; }
.nf-card:hover { z-index: 1; }
.nf-card-media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--nf-radius-sm); overflow: hidden; background: #fafafa; }
.nf-card-shot { position: absolute; inset: 0; display: block; padding: 15%; } /* image à 70 % de la vignette */
.nf-card-shot img, .nf-card-shot svg { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.nf-card:hover .nf-card-shot img, .nf-card:hover .nf-card-shot svg { transform: scale(1.05); }
.nf-card-badges { position: absolute; inset-inline-start: .55rem; top: .55rem; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; pointer-events: none; }
.nf-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 .5rem; border-radius: 5px; background: var(--nf-primary); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.nf-badge-sale { background: #7dcdc6; color: #fafafa; }
.nf-card-tools { position: absolute; inset-inline-end: .4rem; top: .4rem; display: flex; flex-direction: column; gap: .3rem; }
.nf-card-tools .nf-card-tool,
.nf-card-tools .nf-card-tool button { display: inline-flex; align-items: center; justify-content: center; }
.nf-card-tool > a, .nf-card-tool > button, button.nf-card-tool {
  min-width: 36px !important; min-height: 36px !important; width: 36px; height: 36px; border-radius: 5px;
  background: #fff; box-shadow: 0 2px 8px rgba(14,26,41,.08); color: var(--nf-text);
}
a.nf-card-tool { min-width: 36px !important; min-height: 36px !important; width: 36px; height: 36px; border-radius: 5px; background: #fff; box-shadow: 0 2px 8px rgba(14,26,41,.08); }
.nf-card-qv { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s, color .2s; }
button.nf-card-qv { box-shadow: none; }
.nf-card:hover .nf-card-qv, .nf-card:focus-within .nf-card-qv { opacity: 1; transform: none; }
.nf-card-qv:hover { color: var(--nf-primary); }
.nf-card-body { display: flex; flex: 1; flex-direction: column; gap: .45rem; padding-top: .9rem; } /* même espace entre marque, nom, stock/format et prix */
.nf-card-brand { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--nf-muted); }
a.nf-card-brand:hover { color: var(--nf-primary); }
.nf-card-title { font-size: 15.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nf-card-title a:hover { color: var(--nf-primary); }
.nf-card-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 13px; }
.nf-stock { display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; }
.nf-stock.is-in { color: var(--nf-green); }
.nf-stock.is-out { color: var(--nf-muted); }
/* Stock bas : le vrai chiffre restant (ProductPresenter::lowStock). */
.nf-stock.is-low { color: #c2410c; }
.nf-stock.is-low::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: nf-pulse 1.6s ease-in-out infinite; }
@keyframes nf-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .nf-stock.is-low::before { animation: none; } }
.nf-card-size { color: var(--nf-muted); }
.nf-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.nf-price-now { font-size: 19px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.nf-price-now.is-sale { color: var(--nf-red); }
.nf-price-old { font-size: 14px; color: var(--nf-muted); font-variant-numeric: tabular-nums; }
.nf-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .9rem; }
.nf-card-foot .nf-price { flex-wrap: nowrap; align-items: baseline; gap: .4rem; margin-top: 0; min-width: 0; white-space: nowrap; }
.nf-card-foot .nf-price-now { font-size: clamp(15px, 1.35vw, 18px); }
.nf-card-foot .nf-price-old { font-size: clamp(11px, .95vw, 13px); }
.nf-card-addform { margin: 0; flex: none; }
.nf-cart-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--nf-primary); cursor: pointer; transition: background-color .2s, color .2s, transform .15s; }
.nf-cart-icon:hover, .nf-cart-icon:focus-visible { background: var(--nf-primary); color: #fff; }
.nf-cart-icon:active { transform: scale(.94); }
.nf-cart-icon svg { width: 18px; height: 18px; }
.nf-cart-icon[disabled] { cursor: progress; }
.nf-card-action { margin-top: auto; padding-top: .9rem; }
.nf-card-action form { margin: 0; }
.nf-card-action > a { width: 100%; }
/* Un produit à formats multiples renvoie vers sa fiche : même pastille. */
.nf-card-action a.nf-btn-cart { display: inline-flex; }

.nf-empty { padding: 3rem 1rem; text-align: center; color: var(--nf-muted); border: 1px dashed var(--nf-border); border-radius: var(--nf-radius); }

/* 08 — Bannières objectifs --------------------------------------------- */
.nf-banners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.nf-banner { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 270px; padding: 1.8rem; border-radius: var(--nf-radius); overflow: hidden; color: #fff; background: var(--nf-secondary); }
.nf-banner img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.nf-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,26,41,.88), rgba(14,26,41,.1) 70%); }
.nf-banner:hover img { transform: scale(1.05); }
.nf-banner small { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.nf-banner h3 { margin-top: .35rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.nf-banner p { margin-top: .4rem; max-width: 26rem; font-size: 14.5px; color: rgba(255,255,255,.75); }
.nf-banner span.nf-banner-cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 700; }
.nf-banner span.nf-banner-cta svg { width: 18px; height: 18px; transition: transform .25s; }
.nf-banner:hover span.nf-banner-cta svg { transform: translateX(3px); }

/* 09 — Offre mise en avant --------------------------------------------- */
.nf-deal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem; padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: var(--nf-radius); background: var(--nf-primary); color: #fff; overflow: hidden; }
.nf-deal small { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.65); }
.nf-deal h2 { margin-top: .6rem; font-size: clamp(1.8rem, 3.2vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.nf-deal p { margin-top: 1rem; max-width: 32rem; color: rgba(255,255,255,.75); font-size: 16px; }
.nf-deal-price { display: flex; align-items: baseline; gap: .8rem; margin-top: 1.4rem; }
.nf-deal-price strong { font-size: 2rem; font-weight: 700; }
.nf-deal-price del { color: rgba(255,255,255,.55); font-size: 1.1rem; }
.nf-deal-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.nf-deal-actions form { margin: 0; }
.nf-deal-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 2rem; }
.nf-deal-media img, .nf-deal-media svg { max-height: 360px; width: 100%; height: 100%; object-fit: contain; }
.nf-deal-actions form[hidden] { display: none; }

/* 09 bis — Pack du moment ------------------------------------------------
   Deux surfaces : une scène claire où chaque produit est posé sur son socle
   (lumière douce, ombre de contact au pied du packshot), et une colonne
   d'achat sobre — titre, détail, échéance, prix, un seul appel à l'action.
   Les packshots détourés gardent leur marge transparente (≈ 8 % en bas) :
   l'ombre de contact est placée d'autant au-dessus du bas de l'image. */
.nf-pod { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); border: 1px solid var(--nf-border); border-radius: 22px; background: var(--nf-surface); overflow: hidden; }

.nf-pod-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 540px; padding: clamp(2.5rem, 4.5vw, 4rem) clamp(1rem, 2vw, 2rem) clamp(2rem, 3.5vw, 3rem); background: #f7f6f2; isolation: isolate; }
/* Le sol : un dégradé à peine perceptible qui donne une profondeur à la scène. */
.nf-pod-stage::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 38%; background: linear-gradient(to bottom, rgba(26,27,32,0), rgba(26,27,32,.05)); }

.nf-pod-sticker { position: absolute; top: clamp(1rem, 2.2vw, 1.75rem); inset-inline-end: clamp(1rem, 2.2vw, 1.75rem); z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; background: var(--nf-red); color: #fff; text-align: center; box-shadow: 0 12px 28px -10px rgba(224,72,60,.65); transform: rotate(8deg); }
.nf-pod-sticker b { font-size: 1.3rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.nf-pod-sticker small { margin-top: .2rem; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }

.nf-pod-products { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.25rem, 1vw, .75rem); width: 100%; }
.nf-pod-item { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; min-width: 0; max-width: 360px; color: inherit; text-decoration: none; }
.nf-pod-shot { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; height: clamp(260px, 29vw, 400px); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.nf-pod-shot img, .nf-pod-shot svg { position: relative; z-index: 1; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; transform: scale(1.28); transform-origin: 50% 88%; filter: drop-shadow(0 22px 22px rgba(14,26,41,.16)); }
.nf-pod-shot::after { content: ""; position: absolute; inset-inline-start: 14%; inset-inline-end: 14%; bottom: calc(10% - 9px); height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(14,26,41,.32), rgba(14,26,41,.12) 55%, rgba(14,26,41,0)); filter: blur(4px); transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s; }
.nf-pod-item:hover .nf-pod-shot, .nf-pod-item:focus-visible .nf-pod-shot { transform: translateY(-8px); }
.nf-pod-item:hover .nf-pod-shot::after, .nf-pod-item:focus-visible .nf-pod-shot::after { transform: translateY(8px) scale(.82); opacity: .6; }
.nf-pod-caption { display: flex; flex-direction: column; align-items: center; gap: .25rem; margin-top: 1.25rem; text-align: center; }
.nf-pod-caption small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nf-muted); }
.nf-pod-caption span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--nf-text); }
.nf-pod-item:hover .nf-pod-caption span { text-decoration: underline; text-underline-offset: 3px; }
/* Le « + » se tient à mi-hauteur des produits, au-dessus des légendes. */
.nf-pod-plus { display: inline-flex; flex: none; align-items: center; justify-content: center; align-self: center; width: 42px; height: 42px; margin-bottom: 3.6rem; border: 1px solid var(--nf-border); border-radius: 50%; background: #fff; color: var(--nf-primary); box-shadow: 0 8px 20px -8px rgba(14,26,41,.25); }
.nf-pod-plus svg { width: 18px; height: 18px; }

.nf-pod-info { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 3.5rem); }
.nf-pod-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--nf-primary); }
.nf-pod-eyebrow span { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--nf-red); }
.nf-pod-eyebrow span::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--nf-red); animation: nf-pod-pulse 2s ease-out infinite; }
@keyframes nf-pod-pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(2.8); opacity: 0; } }
.nf-pod-title { margin-top: .85rem; font-size: clamp(1.75rem, 2.7vw, 2.55rem); font-weight: 800; line-height: 1.08; letter-spacing: -.028em; color: var(--nf-text); }
.nf-pod-desc { margin-top: .9rem; max-width: 34rem; font-size: 16px; line-height: 1.6; color: var(--nf-muted); }

.nf-pod-lines { margin-top: 1.6rem; border-top: 1px solid var(--nf-border); }
.nf-pod-lines li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--nf-border); }
.nf-pod-line-name { min-width: 0; font-size: 15px; font-weight: 500; color: var(--nf-text); }
.nf-pod-line-name small { display: block; margin-top: .15rem; font-size: 13px; font-weight: 400; color: var(--nf-muted); }
.nf-pod-line-price { flex: none; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nf-pod-line-price del { margin-inline-end: .45rem; font-size: 13px; font-weight: 400; color: var(--nf-muted); }

.nf-pod-timer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-top: 1.4rem; padding: .8rem 0 0; }
.nf-pod-timer-label { display: inline-flex; align-items: center; gap: .5rem; font-size: 14px; font-weight: 600; color: var(--nf-text); }
.nf-pod-timer-label svg { width: 18px; height: 18px; color: var(--nf-red); }
.nf-pod-timer-date { font-size: 14px; font-weight: 600; color: var(--nf-text); }
.nf-pod-timer-units { display: flex; gap: .35rem; }
.nf-pod-timer-units[hidden], .nf-pod-timer-date[hidden] { display: none; }
.nf-pod-timer-units > span { display: flex; align-items: baseline; justify-content: center; gap: .15rem; min-width: 3.1rem; padding: .45rem .5rem; border: 1px solid var(--nf-border); border-radius: 10px; background: #fff; }
.nf-pod-timer-units b { font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--nf-text); }
.nf-pod-timer-units small { font-size: 11px; font-weight: 500; color: var(--nf-muted); }
.nf-pod-timer.is-over .nf-pod-timer-date { color: var(--nf-muted); }

.nf-pod-price { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; margin-top: 1.6rem; }
.nf-pod-price-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nf-muted); }
.nf-pod-price-row { display: flex; align-items: baseline; gap: .65rem; margin-top: .3rem; }
.nf-pod-price-row strong { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -.025em; color: var(--nf-text); font-variant-numeric: tabular-nums; }
.nf-pod-price-row del { font-size: 1.05rem; color: var(--nf-muted); }
.nf-pod-save { padding: .45rem .8rem; border-radius: 5px; background: rgba(93,179,172,.1); color: #2f7d77; font-size: 13px; font-weight: 700; white-space: nowrap; }

.nf-pod-form { margin-top: 1.25rem; }
.nf-pod-form[hidden] { display: none; }
.nf-pod-cta { width: 100%; min-height: 56px; justify-content: center; border-radius: 12px; background: var(--nf-primary); color: #fff; font-size: 16px; box-shadow: 0 14px 30px -14px rgba(26,27,32,.75); }
.nf-pod-cta:hover { background: var(--nf-primary-hover); }
.nf-pod-cta svg { transition: transform .25s; }
.nf-pod-cta:hover svg { transform: translateX(4px); }
.nf-pod-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .9rem; font-size: 13px; color: var(--nf-muted); }
.nf-pod-note svg { width: 16px; height: 16px; color: var(--nf-green); }

@media (prefers-reduced-motion: reduce) {
  .nf-pod-eyebrow span::after { animation: none; }
  .nf-pod-shot, .nf-pod-shot::after { transition: none; }
}
@media (max-width: 1023px) {
  .nf-pod { grid-template-columns: minmax(0, 1fr); }
  .nf-pod-stage { min-height: 0; padding-top: 5.5rem; }
  .nf-pod-shot { height: clamp(220px, 36vw, 320px); }
}
@media (max-width: 639px) {
  .nf-pod { border-radius: 18px; }
  .nf-pod-stage { padding: 4.5rem 1rem 1.75rem; }
  .nf-pod-sticker { width: 68px; height: 68px; }
  .nf-pod-sticker b { font-size: 1.05rem; }
  .nf-pod-sticker small { font-size: 8px; }
  .nf-pod-shot { height: 190px; }
  .nf-pod[data-count="3"] .nf-pod-shot { height: 130px; }
  .nf-pod-plus { width: 30px; height: 30px; margin-bottom: 3.2rem; }
  .nf-pod-plus svg { width: 14px; height: 14px; }
  .nf-pod-caption span { font-size: 13px; }
  /* Quatre produits : une grille deux par deux, sans « + ». */
  .nf-pod[data-count="4"] .nf-pod-products { flex-wrap: wrap; row-gap: 1.5rem; }
  .nf-pod[data-count="4"] .nf-pod-item { flex: 0 0 calc(50% - .5rem); }
  .nf-pod[data-count="4"] .nf-pod-plus { display: none; }
  .nf-pod[data-count="4"] .nf-pod-shot { height: 150px; }
  .nf-pod-info { padding: 1.75rem 1.25rem 2rem; }
  .nf-pod-timer { padding: .8rem 0 0; }
  .nf-pod-timer-units { width: 100%; }
  .nf-pod-timer-units > span { flex: 1; }
}

/* 10 — Marques ---------------------------------------------------------- */
/* Une seule ligne, défilement horizontal au doigt, à la molette ou au clavier. */
.nf-brands { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nf-brands::-webkit-scrollbar { display: none; }
.nf-brand-dots { display: flex; justify-content: center; gap: 6px; margin-top: 1rem; }
.nf-brand-dots[hidden] { display: none; }
.nf-brand-dots button { width: 9px; height: 9px; border-radius: 5px; background: rgba(20,22,26,.22); transition: background-color .2s, width .3s; }
.nf-brand-dots button[aria-current="true"] { background: var(--nf-primary); }
.nf-brands > .nf-brand { flex: 0 0 clamp(150px, 15.5%, 210px); scroll-snap-align: start; background: transparent; }
/* Mêmes « plaques » que l'annuaire des marques : fond gris du diaporama,
   remplissage vert du bas vers le haut et texte blanc au survol. Trois
   rangées (vide, nom, compteur) : le nom reste centré dans la plaque. */
.nf-brand { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; min-height: 132px; padding: .9rem 1rem; overflow: hidden; border-radius: var(--nf-radius); background: var(--nf-soft); color: #14161a; }
.nf-brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nf-primary); clip-path: inset(100% 0 0 0); transition: clip-path .5s cubic-bezier(.7, 0, .2, 1); }
.nf-brand-name { text-align: center; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; transition: color .35s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.nf-brand-meta { min-height: 14px; text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #7a7d86; transition: color .35s; }
.nf-brand-arrow { position: absolute; inset-inline-end: .9rem; bottom: .8rem; line-height: 0; color: rgba(255,255,255,.85); }
.nf-brand-arrow svg { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.nf-brand:hover::before, .nf-brand:focus-visible::before { clip-path: inset(0 0 0 0); }
.nf-brand:hover .nf-brand-name, .nf-brand:focus-visible .nf-brand-name { color: #fff; transform: scale(1.04); }
.nf-brand:hover .nf-brand-meta, .nf-brand:focus-visible .nf-brand-meta { color: rgba(255,255,255,.75); }
.nf-brand:hover .nf-brand-arrow svg, .nf-brand:focus-visible .nf-brand-arrow svg { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .nf-brand::before, .nf-brand-name, .nf-brand-arrow svg { transition: none; } }
.nf-note { margin-top: 1rem; font-size: 12px; color: var(--nf-muted); text-align: center; }

/* 11 — Journal ---------------------------------------------------------- */
.nf-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.nf-post { display: flex; flex-direction: column; }
.nf-post-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--nf-radius); overflow: hidden; background: var(--nf-soft); }
.nf-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.nf-post:hover .nf-post-media img { transform: scale(1.05); }
.nf-post-cat { position: absolute; inset-inline-start: .8rem; top: .8rem; padding: .3rem .6rem; border-radius: 5px; background: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--nf-primary); }
.nf-post-meta { margin-top: 1rem; font-size: 13px; color: var(--nf-muted); }
.nf-post h3 { margin-top: .35rem; font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; transition: color .2s; }
.nf-post:hover h3 { color: var(--nf-primary); }
.nf-post p { margin-top: .5rem; font-size: 14.5px; color: var(--nf-muted); line-height: 1.55; }

/* 12 — Newsletter ------------------------------------------------------- */
.nf-newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--nf-radius); background: var(--nf-soft); }
.nf-newsletter h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; }
.nf-newsletter p { margin-top: .5rem; color: var(--nf-muted); }
.nf-newsletter-form { display: flex; gap: .6rem; }
.nf-newsletter-form input { flex: 1; min-width: 0; height: 52px; padding: 0 1.1rem; border: 1px solid var(--nf-border); border-radius: 5px; background: #fff; font: inherit; color: var(--nf-text); outline: none; }
.nf-newsletter-form input:focus { border-color: var(--nf-primary); }
.nf-newsletter-form .nf-btn { min-height: 52px; }
.nf-newsletter-msg { margin-top: .6rem; min-height: 1.2em; font-size: 13px; font-weight: 600; color: var(--nf-primary); }
.nf-newsletter small { display: block; margin-top: .2rem; font-size: 12px; color: var(--nf-muted); }

/* 13 — Pied de page ----------------------------------------------------- */
.nf-footer { margin-top: clamp(2.5rem, 5vw, 4rem); background: #fff; border-top: 1px solid var(--nf-border); }
.nf-footer-features { border-bottom: 1px solid var(--nf-border); }
.nf-footer-features ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; padding-block: 1.8rem; }
.nf-footer-features li { display: flex; align-items: center; gap: .75rem; font-size: 15px; font-weight: 600; }
.nf-footer-features svg { width: 30px; height: 30px; color: var(--nf-primary); stroke-width: 1.3; }
.nf-footer-main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(var(--cols, 3), minmax(0, 1fr)); gap: 2.5rem; padding-block: 3.25rem; }
.nf-footer-about p { margin-top: 1rem; max-width: 22rem; font-size: 14.5px; color: var(--nf-muted); line-height: 1.6; }
.nf-footer-contact { margin-top: 1.4rem; display: grid; gap: .7rem; }
.nf-footer-contact a, .nf-footer-contact span { display: inline-flex; align-items: center; gap: .6rem; font-size: 15px; font-weight: 600; }
.nf-footer-contact svg { width: 20px; height: 20px; color: var(--nf-primary); }
.nf-footer-col h4 { font-size: 16px; font-weight: 700; }
.nf-footer-col ul { margin-top: 1.1rem; display: grid; gap: .65rem; }
.nf-footer-col a { font-size: 14.5px; color: var(--nf-muted); transition: color .2s; }
.nf-footer-col a:hover { color: var(--nf-primary); }
.nf-footer-bottom { border-top: 1px solid var(--nf-border); }
.nf-footer-bottom .nf-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; font-size: 13.5px; color: var(--nf-muted); }
.nf-legal { display: flex; gap: 1.1rem; }
.nf-legal a:hover { color: var(--nf-primary); }

/* 14 — Menu mobile ------------------------------------------------------ */
.nf-drawer { background: #fff; color: var(--nf-text); }
/* Le tiroir d'origine glisse depuis la droite ; celui de NutriFitness, depuis la gauche. */
.nf-drawer.drawer { transform: translateX(-100%); }
.nf-drawer.drawer.is-open { transform: none; }
.nf-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 1.25rem; border-bottom: 1px solid var(--nf-border); }
.nf-drawer nav { flex: 1; overflow-y: auto; overscroll-behavior-x: none; padding: 1.1rem 1.25rem 2rem; }
.nf-drawer .nf-search { height: 48px; margin-bottom: 1.2rem; }
.nf-drawer-link, .nf-drawer-acc { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--nf-border); font-size: 17px; font-weight: 600; text-align: start; }
.nf-drawer-acc .acc-icon { transition: transform .3s ease; color: var(--nf-muted); }
.nf-drawer-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22,1,.36,1); }
.nf-drawer-panel > div { overflow: hidden; }
.nf-drawer-panel ul { padding-block: .5rem .9rem; padding-inline-start: .25rem; padding-inline-end: 0; display: grid; gap: .1rem; }
.nf-drawer-panel p { padding-top: .7rem; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--nf-muted); }
.nf-drawer-panel a { display: block; padding: .45rem 0; font-size: 15px; color: #454752; }
.nf-drawer-foot { padding: 1.1rem 1.25rem 1.4rem; border-top: 1px solid var(--nf-border); display: grid; gap: .6rem; }
.nf-drawer-foot .nf-btn { width: 100%; }

/* 15 — Couches partagées (panier, aperçu, toast) -----------------------
   Le tiroir panier et l'aperçu restent ceux du design d'origine — main.js
   les pilote par identifiant. Ils prennent seulement la teinte du thème. */
/* Tiroir panier — gabarits propres au thème (partials/cart-drawer et
   partials/mini-cart-body). */
.nf-cart { background: #fff; color: var(--nf-text); font-family: var(--nf-font); }
/* L'ombre n'existe que tiroir ouvert : fermé, il est poussé hors écran et son
   ombre déborderait sur le bord droit de la page. */
.nf-cart.is-open { box-shadow: -20px 0 50px -20px rgba(14,26,41,.3); }
.nf-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; flex-shrink: 0; padding: 0 1.4rem; border-bottom: 1px solid var(--nf-border); }
.nf-cart-heading { display: flex; align-items: center; gap: .6rem; }
.nf-cart-heading svg { color: var(--nf-primary); }
.nf-cart-title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.nf-cart-count { display: inline-flex; align-items: center; height: 24px; padding: 0 .55rem; border-radius: 5px; background: var(--nf-primary-soft); color: var(--nf-primary); font-size: 12.5px; font-weight: 700; }
.nf-cart-close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 5px; background: var(--nf-soft); color: var(--nf-text); transition: background-color .2s, color .2s; }
.nf-cart-close:hover { background: var(--nf-primary); color: #fff; }

.nf-cart-lines { flex: 1; overflow-y: auto; overscroll-behavior-x: none; padding: .4rem 1.4rem; }
.nf-cart-ship { display: flex; align-items: center; gap: .5rem; margin: .6rem 0 .3rem; font-size: 13.5px; color: var(--nf-muted); }
.nf-cart-ship strong { color: var(--nf-text); }
.nf-cart-ship.is-reached { color: var(--nf-primary); font-weight: 600; }
.nf-cart-line { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--nf-border); }
.nf-cart-line:last-child { border-bottom: 0; }
.nf-cart-thumb { display: block; width: 84px; height: 84px; flex-shrink: 0; padding: .4rem; border-radius: var(--nf-radius-sm); background: #fafafa; border: 1px solid var(--nf-border); }
.nf-cart-thumb img, .nf-cart-thumb svg { width: 100%; height: 100%; object-fit: contain; }
.nf-cart-info { flex: 1; min-width: 0; }
.nf-cart-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.nf-cart-brand { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--nf-muted); }
.nf-cart-name { margin-top: .15rem; font-size: 15px; font-weight: 600; line-height: 1.3; }
.nf-cart-name a:hover { color: var(--nf-primary); }
.nf-cart-variant { margin-top: .15rem; font-size: 13px; color: var(--nf-muted); }
.nf-cart-remove { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 5px; color: var(--nf-muted); transition: background-color .2s, color .2s; }
.nf-cart-remove:hover { background: var(--nf-red-soft); color: var(--nf-red); }
.nf-cart-issue { margin-top: .4rem; font-size: 12.5px; color: var(--nf-muted); }
.nf-cart-issue.is-error { color: var(--nf-red); font-weight: 600; }
.nf-cart-bottom { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .7rem; }
.nf-cart-blocked { font-size: 12.5px; font-weight: 600; color: var(--nf-muted); }
.nf-qty { display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--nf-border); border-radius: 5px; overflow: hidden; }
.nf-qty form { margin: 0; height: 100%; }
.nf-qty button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 100%; color: var(--nf-text); transition: background-color .2s, color .2s; }
.nf-qty button:hover:not(:disabled) { background: var(--nf-primary-soft); color: var(--nf-primary); }
.nf-qty button:disabled { opacity: .3; cursor: not-allowed; }
.nf-qty span { min-width: 28px; text-align: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.nf-cart-price { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.nf-cart-price.is-sale { color: var(--nf-red); }
.nf-cart-price del { margin-inline-end: .4rem; font-size: 13px; font-weight: 400; color: var(--nf-muted); }
.nf-cart-savings { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: .5rem 0 0; padding: .55rem .75rem; border-radius: var(--nf-radius-sm); background: var(--nf-primary-soft); font-size: 14px; color: var(--nf-primary); }
.nf-cart-savings strong { font-weight: 700; font-variant-numeric: tabular-nums; }

.nf-cart-foot { flex-shrink: 0; padding: 1.1rem 1.4rem 1.4rem; border-top: 1px solid var(--nf-border); background: #fafafa; }
.nf-cart-subtotal { display: flex; align-items: baseline; justify-content: space-between; }
.nf-cart-subtotal span { font-size: 15px; font-weight: 600; color: var(--nf-muted); }
.nf-cart-subtotal strong { font-size: 24px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.nf-cart-note { margin-top: .25rem; font-size: 12.5px; color: var(--nf-muted); }
.nf-cart-cta { width: 100%; min-height: 50px; margin-top: 1rem; font-size: 16px; }
.nf-cart-blocked-note { margin-top: 1rem; padding: .8rem; border-radius: var(--nf-radius-sm); background: var(--nf-red-soft); color: var(--nf-red); text-align: center; font-size: 13.5px; font-weight: 600; }
.nf-cart-links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; }
.nf-cart-links .nf-btn { min-height: 42px; padding: 0 .8rem; font-size: 14px; }

.nf-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 2rem; text-align: center; }
.nf-cart-empty-ico { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 5px; background: var(--nf-primary-soft); color: var(--nf-primary); }
.nf-cart-empty-title { margin-top: 1.2rem; font-size: 20px; font-weight: 700; }
.nf-cart-empty-text { margin-top: .4rem; max-width: 16rem; font-size: 14.5px; color: var(--nf-muted); }
.nf-cart-empty .nf-btn { margin-top: 1.5rem; }
.theme-nutrifitness #toast { gap: .7rem; padding: .8rem 1.15rem; background: var(--nf-surface); color: var(--nf-text); border: 1px solid var(--nf-border); border-radius: 5px; box-shadow: 0 12px 32px rgba(14,26,41,.16); --tw-ring-shadow: 0 0 #0000; }
.theme-nutrifitness #toast > span:first-child { width: 22px; height: 22px; border-radius: 999px; background: var(--nf-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.theme-nutrifitness #toast-msg { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.theme-nutrifitness #quickview .modal-panel { border-radius: var(--nf-radius); }

/* Zone de messages de secours */
.nf-flash { padding-top: 0; } /* les notifications flottent (partials/flash.php) : le conteneur ne réserve plus de place */

/* Livraison au Maroc (/livraison) */
.nf-ship-zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.nf-ship-zone { padding: 1.5rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); background: var(--nf-surface); }
.nf-ship-zone h2 { font-size: 19px; font-weight: 700; }
.nf-ship-methods { margin-top: 1rem; display: grid; gap: .6rem; }
.nf-ship-methods li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--nf-border); font-size: 14.5px; }
.nf-ship-methods span { color: var(--nf-muted); }
.nf-ship-cities { margin-top: 1rem; font-size: 14px; line-height: 1.6; color: var(--nf-muted); }
.nf-ship-faq { max-width: 52rem; }
.nf-ship-faq h3 { margin-top: 1.6rem; font-size: 17px; font-weight: 700; }
.nf-ship-faq p { margin-top: .5rem; font-size: 15px; line-height: 1.7; color: #4b4d57; }
/* Pages légales (confidentialité) : texte long, lisible. */
.nf-legal-text { max-width: 52rem; padding-bottom: 4rem; }
.nf-legal-text h2 { margin-top: 2.2rem; font-size: 19px; font-weight: 700; }
.nf-legal-text p, .nf-legal-text li { font-size: 15px; line-height: 1.75; color: #4b4d57; }
.nf-legal-text p { margin-top: .6rem; }
.nf-legal-text ul { margin-top: .6rem; padding-inline-start: 1.2rem; list-style: disc; }
.nf-legal-text li + li { margin-top: .35rem; }
.nf-legal-text a { color: var(--nf-primary); text-decoration: underline; text-underline-offset: 3px; }
.nf-legal-text code { font-size: 13px; padding: .1rem .35rem; border-radius: 4px; background: var(--nf-soft); direction: ltr; unicode-bidi: isolate; }
/* Lien et page de l'application Android. */
.nf-footer-app { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.25rem; padding: .6rem 1rem; border: 1px solid currentColor; border-radius: 10px; opacity: .9; transition: opacity .2s; }
.nf-footer-app:hover { opacity: 1; }
/* Masqué dans l'app installée (TWA / PWA) : display-mode standalone. */
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) { .nf-footer-app { display: none; } }
.nf-footer-app svg { width: 26px; height: 26px; color: #7ecdc7; }
.nf-footer-app span { display: flex; flex-direction: column; line-height: 1.2; }
.nf-footer-app small { font-size: 11px; opacity: .75; }
.nf-footer-app strong { font-size: 14px; }
.nf-app-download { max-width: 46rem; padding-bottom: 4rem; }
.nf-app-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); background: #fff; }
.nf-app-card img { border-radius: 22px; }
.nf-app-card div { display: flex; flex-direction: column; flex: 1; min-width: 10rem; }
.nf-app-card strong { font-size: 20px; }
.nf-app-card span { color: var(--nf-muted); font-size: 14px; }
.nf-app-steps { margin-top: 2rem; padding-inline-start: 1.3rem; list-style: decimal; }
.nf-app-steps li { margin-top: .7rem; font-size: 15.5px; line-height: 1.7; color: #4b4d57; }
.nf-app-note { margin-top: 1.75rem; font-size: 14.5px; line-height: 1.7; color: var(--nf-muted); }
.nf-app-note a { color: var(--nf-primary); text-decoration: underline; text-underline-offset: 3px; }
.nf-app-hash { margin-top: 1rem; font-size: 11.5px; color: var(--nf-muted); word-break: break-all; }
.nf-ship-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem !important; }

/* Bandeaux de message (partials/flash.php) */
.theme-nutrifitness .nf-alert { position: relative; padding-block: .9rem .9rem; padding-inline-start: 3.4rem; padding-inline-end: 1.1rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius-sm); background: var(--nf-surface); box-shadow: 0 4px 14px rgba(14,26,41,.06); }
.theme-nutrifitness .nf-alert::before { content: ""; position: absolute; top: 50%; inset-inline-start: 1.1rem; width: 24px; height: 24px; margin-top: -12px; border-radius: 999px; background: var(--nf-muted) center / 14px no-repeat; }
.theme-nutrifitness .nf-alert-title { font-size: 14.5px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--nf-text); }
.theme-nutrifitness .nf-alert-text { margin-top: .15rem; font-size: 14px; color: var(--nf-muted); }
.theme-nutrifitness .nf-alert--success { border-color: rgba(93,179,172,.35); background: #e8f3f1; }
.theme-nutrifitness .nf-alert--success::before { background-color: var(--nf-green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.theme-nutrifitness .nf-alert--success .nf-alert-title { color: #2f7d77; }
.theme-nutrifitness .nf-alert--error { border-color: rgba(224,72,60,.3); background: var(--nf-red-soft); }
.theme-nutrifitness .nf-alert--error::before { background-color: var(--nf-red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E"); }
.theme-nutrifitness .nf-alert--error .nf-alert-title { color: var(--nf-red); }
.theme-nutrifitness .nf-alert--info::before { background-color: var(--nf-secondary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E"); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1399px) {
  .nf-mega-inner { grid-template-columns: minmax(0, 1fr) 280px; }
  .nf-grid { --nf-cols: 5; }
  .nf-grid > :nth-child(n+11) { display: none; }
  .nf-nav-help { display: none; }
}
@media (max-width: 1199px) {
  .nf-grid, .nf-grid-5 { --nf-cols: 4; }
  .nf-grid > :nth-child(n+9) { display: none; }
  .nf-features li:nth-child(n+4) { display: none; }
  .nf-account-text { display: none; }
  .nf-brands > .nf-brand { flex-basis: clamp(150px, 24%, 210px); }
  .nf-footer-features ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nf-footer-features li:nth-child(n+4) { display: none; }
}
@media (max-width: 1023px) {
  .nf-topbar-links { display: none; }
  .nf-topbar .nf-container { justify-content: center; }
  .nf-nav { display: none; }
  .nf-burger { display: inline-flex; }
  .nf-header-row { flex-wrap: wrap; min-height: 0; padding-block: .8rem; row-gap: .8rem; }
  .nf-header-row .nf-search { order: 3; flex-basis: 100%; height: 46px; }
  .nf-logo { margin-inline-end: auto; }
  .nf-features { padding: .8rem 0; border-top: 1px solid var(--nf-border); }
  .nf-features ul { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .nf-features li { font-size: 14px; }
  .nf-features li:nth-child(n+4) { display: flex; }
  .nf-slide { grid-template-columns: 1fr; }
  /* Image au-dessus du texte, jamais derrière : en filigrane, elle brouillait la lecture. */
  .nf-slide { align-items: start; }
  .nf-slide-media { order: -1; height: auto; min-height: 0; padding: 1.5rem 1.5rem 0; }
  .nf-slide-media img, .nf-slide-media svg { height: clamp(180px, 42vw, 280px); max-height: none; }
  .nf-slide-media.is-photo { padding: 0; }
  .nf-slide-media.is-photo img { height: clamp(200px, 48vw, 320px); }
  .nf-slide-media.is-portrait img { height: clamp(260px, 68vw, 400px); }
  .nf-slide-media.is-photo::before { background: linear-gradient(0deg, var(--nf-soft), rgba(240,240,240,0) 30%); }
  .nf-slide-text { padding-top: 1.5rem; }
  .nf-grid, .nf-grid-5, .nf-grid-4 { --nf-cols: 3; }
  .nf-grid > :nth-child(n+7) { display: none; }
  .nf-banners { grid-template-columns: 1fr 1fr; }
  .nf-banners > :nth-child(3) { display: none; }
  .nf-deal { grid-template-columns: 1fr; }
  .nf-posts { grid-template-columns: 1fr 1fr; }
  .nf-posts > :nth-child(3) { display: none; }
  .nf-newsletter { grid-template-columns: 1fr; }
  .nf-footer-main { grid-template-columns: 1fr 1fr; }
  .nf-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .nf-section-head { flex-wrap: wrap; }
  .nf-section-head-start { flex-direction: column; align-items: flex-start; gap: .8rem; width: 100%; }
  .nf-tabs { width: 100%; }
  .nf-tab { font-size: 15px; }
  .nf-grid, .nf-grid-5, .nf-grid-4 { --nf-cols: 2; }
  .nf-grid > :nth-child(n+7) { display: flex; }
  .nf-grid > :nth-child(n+9) { display: none; }
  .nf-card { padding: .75rem; }
  .nf-card-qv { display: none !important; }
  .nf-btn-cart { font-size: 13px; padding: 0 .6rem; }
  .nf-banners, .nf-posts { grid-template-columns: 1fr; }
  .nf-banners > :nth-child(3), .nf-posts > :nth-child(3) { display: flex; }
  .nf-brands > .nf-brand { flex-basis: 44%; }
  .nf-newsletter-form { flex-direction: column; }
  .nf-footer-features ul { grid-template-columns: 1fr; gap: .8rem; }
  .nf-footer-features li:nth-child(n+4) { display: flex; }
  .nf-footer-main { grid-template-columns: 1fr; }
  .nf-slides { min-height: 440px; }
  .nf-slide-text { padding-bottom: 4rem; }
  .nf-dots { bottom: 1.1rem; }
}
@media (max-width: 479px) {
  .nf-actions .nf-action-wish { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nf-slide, .nf-card, .nf-card-shot img, .nf-banner img, .nf-post-media img { transition: none !important; }
}

/* ==========================================================================
   Fiche produit
   ========================================================================== */
.nf-breadcrumb { padding: 1.25rem 0 .25rem; }
.nf-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: 14px; color: var(--nf-muted); }
.nf-breadcrumb a:hover { color: var(--nf-primary); }
.nf-breadcrumb [aria-current] { color: var(--nf-text); font-weight: 600; }
.nf-breadcrumb-sep svg { transform: rotate(-90deg); opacity: .6; }

.nf-pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); padding: 1rem 0 1rem; align-items: start; }
.nf-pp-gallery { position: sticky; top: 120px; }
.nf-pp-stage { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); background: #fafafa; overflow: hidden; }
.nf-pp-slide { position: absolute; inset: 0; padding: clamp(1.5rem, 5vw, 3.5rem); }
.nf-pp-slide img, .nf-pp-slide svg { width: 100%; height: 100%; object-fit: contain; }
.nf-pp-slide.is-life { padding: 0; }
.nf-pp-slide.is-life img { object-fit: cover; }
.nf-pp-stage .nf-card-badges { inset-inline-start: 1rem; top: 1rem; }
.nf-pp-thumbs { display: flex; gap: .7rem; margin-top: .9rem; overflow-x: auto; scrollbar-width: none; }
.nf-pp-thumb { flex-shrink: 0; width: 84px; height: 84px; padding: .4rem; border: 2px solid var(--nf-border); border-radius: var(--nf-radius-sm); background: #fafafa; overflow: hidden; transition: border-color .2s; }
.nf-pp-thumb img, .nf-pp-thumb svg { width: 100%; height: 100%; object-fit: contain; }
.nf-pp-thumb img.is-cover { object-fit: cover; }
.theme-nutrifitness .nf-pp-thumb:hover { border-color: #c9ccd3; }
.theme-nutrifitness .nf-pp-thumb[aria-selected="true"] { border-color: var(--nf-primary); }

.nf-pp-brand { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--nf-primary); }
.nf-pp-title { margin-top: .4rem; font-size: clamp(1.7rem, 2.6vw, 2.35rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.nf-pp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; margin-top: .8rem; font-size: 14px; color: var(--nf-muted); }
.nf-pp-meta a:hover { color: var(--nf-primary); }
.nf-pp-sku { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.nf-pp-rating { display: inline-flex; align-items: center; gap: .4rem; }
.nf-pp-rating strong { color: var(--nf-text); }
.nf-pp-rating > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.nf-stars { display: inline-flex; gap: 1px; }
.nf-star { color: #d5d7dd; }
.nf-star.is-on { color: #f5a524; }

.nf-pp-pricebox { margin-top: 1.25rem; }
.nf-pp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .9rem; }
.nf-pp-price strong { font-size: clamp(1.9rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nf-pp-price strong.is-sale { color: var(--nf-red); }
.nf-pp-price del { font-size: 1.1rem; color: var(--nf-muted); }
.nf-pp-save { display: inline-flex; align-items: center; height: 26px; padding: 0 .6rem; border-radius: 6px; background: var(--nf-red); color: #fff; font-size: 13px; font-weight: 700; }
.nf-pp-promo { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; font-size: 13.5px; color: var(--nf-red); font-weight: 600; }
.nf-pp-pricebox .nf-stock { margin-top: .55rem; font-size: 14px; }

.nf-pp-summary { margin-top: 1.25rem; font-size: 16px; line-height: 1.65; color: #4b4d57; }
.nf-pp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6rem; margin-top: 1.25rem; }
/* Valeurs calées en bas de chaque case : un libellé sur deux lignes ne les décale plus. */
.nf-pp-facts div { display: flex; flex-direction: column; padding: .8rem .9rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius-sm); }
.nf-pp-facts dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--nf-muted); }
.nf-pp-facts dd { margin-top: auto; padding-top: .35rem; font-size: 1.25rem; font-weight: 800; color: var(--nf-primary); font-variant-numeric: tabular-nums; }

.nf-pp-buy { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--nf-border); }
.nf-pp-field { margin-bottom: 1.25rem; }
.nf-pp-field legend, .nf-pp-label { display: block; margin-bottom: .6rem; font-size: 14.5px; font-weight: 700; }
.nf-pp-field legend span { font-weight: 400; color: var(--nf-muted); }
/* Saveurs : une ligne pleine largeur par choix, bordure grise, sans fond. */
.nf-pp-options { display: grid; gap: .5rem; }
.nf-pp-option { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 0 1rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius-sm); background: transparent; font-size: 15px; font-weight: 600; color: var(--nf-text); cursor: pointer; transition: border-color .2s, color .2s; }
.theme-nutrifitness .nf-pp-option:hover { border-color: #b4b7bf; }
/* Choix fait parmi plusieurs : seule la bordure change, jamais le fond. */
.theme-nutrifitness .nf-pp-option.is-on { border-color: var(--nf-primary); background: transparent; color: var(--nf-text); }
.theme-nutrifitness .nf-pp-option.is-static { border-color: var(--nf-border); cursor: default; }
.nf-pp-option.is-disabled { cursor: not-allowed; color: #b4b7bf; text-decoration: line-through; }
.theme-nutrifitness .nf-pp-option:has(input:focus-visible) { outline: 2px solid var(--nf-primary); outline-offset: 2px; }
.nf-pp-error { margin-top: .5rem; font-size: 13.5px; font-weight: 600; color: var(--nf-red); }
.nf-pp-actions { display: flex; gap: .7rem; }
.nf-pp-qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--nf-border); border-radius: 5px; overflow: hidden; flex-shrink: 0; }
.nf-pp-qty button { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 100%; color: var(--nf-text); transition: background-color .2s, color .2s; }
.nf-pp-qty button:hover { background: var(--nf-primary-soft); color: var(--nf-primary); }
.nf-pp-qty input { width: 40px; border: 0; background: transparent; padding: 0; text-align: center; font: inherit; font-size: 16px; font-weight: 700; color: var(--nf-text); -moz-appearance: textfield; appearance: textfield; outline: none; }
.nf-pp-qty input::-webkit-inner-spin-button, .nf-pp-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nf-pp-add { flex: 1; min-height: 52px; font-size: 16px; }
.nf-pp-add:hover svg { transform: none; }
.nf-pp-unavailable { flex: 1; padding: 1rem; border-radius: 5px; background: var(--nf-soft); text-align: center; font-weight: 700; color: var(--nf-muted); }

.nf-pp-follow { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.nf-pp-follow form { margin: 0; }
/* Alerte sans compte : la puce s'ouvre sur un champ e-mail (<details>, sans JS). */
.nf-pp-alert > summary { list-style: none; cursor: pointer; }
.nf-pp-alert > summary::-webkit-details-marker { display: none; }
.nf-pp-alert[open] > summary { border-color: var(--nf-primary); color: var(--nf-primary); }
.nf-pp-alert-form { display: flex; gap: .5rem; margin-top: .5rem; }
.nf-pp-alert-form input { flex: 1; min-width: 0; min-height: 42px; padding: 0 1rem; border: 1px solid var(--nf-border); border-radius: 5px; font-size: 14px; }
.nf-pp-alert-form input:focus { outline: none; border-color: var(--nf-primary); }
.nf-pp-alert-form .nf-btn { min-height: 42px; padding-inline: 1.1rem; font-size: 14px; }
.nf-pp-alert[open] { flex-basis: 100%; }
.nf-pp-follow .nf-pp-alert-form { margin-top: .6rem; }
.nf-pp-restock { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 8px; background: color-mix(in srgb, var(--nf-primary) 8%, transparent); }
.nf-pp-restock-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; font-weight: 700; }
.nf-pp-restock .nf-pp-alert-form { margin-top: 0; flex-wrap: wrap; }
.nf-pp-restock .nf-pp-alert-form .nf-btn { flex: 0 0 auto; }
.nf-pp-restock-note, .nf-pp-restock-ok { margin: .6rem 0 0; font-size: 13px; opacity: .8; }
.nf-pp-restock-ok { margin-top: 0; opacity: 1; }
.nf-pp-restock-cancel { margin-top: .5rem; padding: 0; border: 0; background: none; color: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; opacity: .75; }
.nf-pp-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .9rem; border: 1px solid var(--nf-border); border-radius: 5px; font-size: 14px; font-weight: 600; color: #4b4d57; transition: border-color .2s, color .2s, background-color .2s; }
.nf-pp-chip:hover { border-color: var(--nf-primary); color: var(--nf-primary); }
/* Favori et alerte prix côte à côte sur une seule ligne ; retour à la ligne seulement si l'écran est trop étroit. */
.nf-pp-follow > form, .nf-pp-follow > details:not([open]), .nf-pp-follow > .nf-pp-chip { flex: 1 1 auto; }
.nf-pp-follow .nf-pp-chip { width: 100%; justify-content: center; padding: 0 .6rem; font-size: 13px; white-space: nowrap; }
.nf-pp-chip.is-on { border-color: var(--nf-primary); background: var(--nf-primary-soft); color: var(--nf-primary); }

/* Commander via WhatsApp — lien secondaire sous l'ajout au panier */
.nf-pp-servings { display: flex; align-items: center; gap: .65rem; margin: 1rem 0 1.25rem; font-size: 15px; color: #4b4d57; }
.nf-pp-servings svg { box-sizing: content-box; width: 24px; height: 24px; padding: 6px; border-radius: 5px; background: #f4f9f8; color: #7dcdc6; stroke-width: 1.8; }
.nf-pp-servings strong { font-weight: 600; color: var(--nf-text); }
.nf-pp-servings span { color: var(--nf-muted); }
.nf-pp-wa { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; margin-top: .7rem; border: 1px solid var(--nf-border); border-radius: 5px; font-size: 15px; font-weight: 600; color: #4b4d57; transition: background-color .2s, border-color .2s, color .2s; }
.nf-pp-wa svg { width: 20px; height: 20px; color: #25d366; }
.nf-pp-wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.nf-pp-wa:hover svg { color: #fff; }

/* Barre d'achat collante — mobile et tablette seulement (nutrifitness.js) */
.nf-pp-sticky { display: none; }
@media (max-width: 1023px) {
  .nf-pp-sticky { position: fixed; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem var(--nf-gutter) calc(.7rem + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--nf-border); box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .nf-pp-sticky.is-visible { transform: none; visibility: visible; }
  .nf-pp-sticky-info { min-width: 0; display: flex; flex-direction: column; }
  .nf-pp-sticky-info span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; color: var(--nf-muted); }
  .nf-pp-sticky-info strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; color: var(--nf-text); }
  .nf-pp-sticky .nf-btn { flex: none; min-height: 46px; padding-inline: 1.4rem; }
  body:has(.nf-pp-sticky) .nf-footer { padding-bottom: 5rem; }
}
@media (prefers-reduced-motion: reduce) { .nf-pp-sticky { transition: none; } }

.nf-pp-assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: 1.5rem; }
.nf-pp-assure li { display: flex; align-items: flex-start; gap: .6rem; padding: .85rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius-sm); font-size: 12.5px; color: var(--nf-muted); line-height: 1.4; }
.nf-pp-assure svg { color: var(--nf-primary); width: 26px; height: 26px; stroke-width: 1.4; }
.nf-pp-assure strong { display: block; font-size: 13.5px; color: var(--nf-text); }
.nf-pp-assure .nf-pp-assure-wide { grid-column: 1 / -1; align-items: center; }

/* Livraison offerte : message et barre de progression sous le délai. */
.nf-freeship { margin-top: .6rem; padding: .85rem 1rem; border: 1px solid #d9ece9; border-radius: var(--nf-radius-sm); background: #f4f9f8; }
.nf-freeship p { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: 14px; font-weight: 600; color: var(--nf-text); }
.nf-freeship p svg { flex: none; width: 22px; height: 22px; }
.nf-freeship.is-reached { border-color: rgba(93,179,172, .35); background: #e8f3f1; }
.nf-freeship.is-reached p { color: #2f7d77; }
.nf-freeship-bar { height: 8px; margin-top: .65rem; overflow: hidden; border-radius: 5px; background: #d6d9db; }
.nf-freeship-bar[hidden] { display: none; }
.nf-freeship-bar span { display: block; height: 100%; border-radius: inherit; background: #7fbcb7; transition: width .5s ease; }
.nf-freeship.is-reached .nf-freeship-bar span { background: var(--nf-green); }

/* « Pour aller plus loin » : deux ou trois produits, ajout direct au panier. */
.nf-pp-further { margin-top: 1.75rem; }
.nf-pp-further h2 { margin: 0 0 .8rem; font-size: 17px; font-weight: 600; color: var(--nf-text); }
.nf-pp-further ul { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.nf-pp-further-item { display: grid; grid-template-columns: auto 64px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding-block: .85rem .85rem; padding-inline-start: .9rem; padding-inline-end: 1.1rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); background: var(--nf-surface); transition: border-color .2s ease; }
.nf-pp-further-item:hover { border-color: #c9cbd2; }
.nf-pp-further-item form { margin: 0; }
.nf-pp-further-add { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--nf-secondary); color: #fff; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.nf-pp-further-add:hover { background: var(--nf-primary); transform: scale(1.06); }
.nf-pp-further-add svg { width: 20px; height: 20px; stroke-width: 2; }
.nf-pp-further-shot { display: grid; place-items: center; width: 64px; height: 64px; }
.nf-pp-further-shot > * { max-width: 100%; max-height: 100%; }
.nf-pp-further-shot img { width: 100%; height: 100%; object-fit: contain; }
.nf-pp-further-text { min-width: 0; }
.nf-pp-further-text a { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--nf-text); }
.nf-pp-further-text a:hover { color: var(--nf-primary); }
.nf-pp-further-text small { display: block; margin-top: .25rem; font-size: 13px; color: var(--nf-muted); }
.nf-pp-further-price { text-align: end; white-space: nowrap; }
.nf-pp-further-price strong { display: block; font-size: 16px; font-weight: 700; color: var(--nf-text); }
.nf-pp-further-price del { display: block; margin-top: .2rem; font-size: 13px; color: var(--nf-muted); }
@media (max-width: 480px) {
  .nf-pp-further-item { grid-template-columns: auto 52px minmax(0, 1fr); gap: .75rem; }
  .nf-pp-further-shot { width: 52px; height: 52px; }
  .nf-pp-further-item { row-gap: .35rem; }
  .nf-pp-further-item > :is(form, .nf-pp-further-add, .nf-pp-further-shot) { grid-row: 1 / span 2; }
  .nf-pp-further-text { align-self: end; }
  .nf-pp-further-price { grid-column: 3; align-self: start; text-align: start; }
  .nf-pp-further-price :is(strong, del) { display: inline; margin-block: 0 0; margin-inline-start: 0; margin-inline-end: .4rem; }
}
.nf-pp-goals { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1.25rem; font-size: 14px; }
.nf-pp-goals span { font-weight: 700; margin-inline-end: .2rem; }
.nf-pp-goals a { padding: .3rem .7rem; border-radius: 5px; background: var(--nf-soft); color: #4b4d57; font-weight: 500; transition: background-color .2s, color .2s; }
.nf-pp-goals a:hover { background: var(--nf-primary-soft); color: var(--nf-primary); }

/* Onglets de détail */
.nf-pp-tabs { display: flex; gap: .3rem; box-shadow: inset 0 -1px 0 var(--nf-border); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: none; scrollbar-width: none; }
.nf-pp-tab { position: relative; flex-shrink: 0; padding: 1rem 1.2rem; font-size: 17px; font-weight: 600; color: #8b8d97; transition: color .2s; }
.nf-pp-tab:hover { color: var(--nf-text); }
.theme-nutrifitness .nf-pp-tab[aria-selected="true"] { color: var(--nf-text); }
.theme-nutrifitness .nf-pp-tab::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--nf-primary); transform: scaleX(0); transition: transform .25s ease; width: auto; }
.theme-nutrifitness .nf-pp-tab[aria-selected="true"]::after { transform: scaleX(1); }
.nf-pp-pane { padding-top: 2rem; }
.nf-pp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.nf-pp-h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.015em; }
.nf-pp-text { margin-top: .8rem; font-size: 15.5px; line-height: 1.7; color: #4b4d57; }
.nf-pp-text a { color: var(--nf-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nf-pp-split .nf-pp-label { margin-top: 1.4rem; }
.nf-pp-fine { margin-top: 1rem; font-size: 12.5px; line-height: 1.6; color: var(--nf-muted); }
.nf-pp-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.nf-pp-benefits li { display: flex; gap: .75rem; padding: 1.1rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); font-size: 14px; line-height: 1.55; color: var(--nf-muted); }
.nf-pp-benefits strong { display: block; margin-bottom: .2rem; font-size: 15.5px; color: var(--nf-text); }
.nf-pp-benefit-ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 5px; background: #f4f9f8; color: #7dcdc6; }
.nf-pp-specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--nf-border); font-size: 14.5px; }
.nf-pp-specs dd { font-weight: 700; }
.nf-pp-table-wrap { overflow-x: auto; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); }
.nf-pp-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14.5px; }
.nf-pp-table th, .nf-pp-table td { padding: .75rem 1rem; text-align: start; border-bottom: 1px solid var(--nf-border); }
.nf-pp-table thead th { background: var(--nf-soft); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--nf-muted); }
.nf-pp-table tbody th { font-weight: 600; }
.nf-pp-table tbody tr:last-child > * { border-bottom: 0; }
.nf-pp-table .is-num { text-align: end; font-variant-numeric: tabular-nums; }
.nf-pp-table tr.is-sub > * { color: var(--nf-muted); font-weight: 400; }
.nf-pp-table tr.is-sub th { padding-inline-start: 2rem; }
.nf-pp-steps { display: grid; gap: .7rem; }
.nf-pp-steps li { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); }
.nf-pp-steps span { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 5px; background: var(--nf-primary); color: #fff; font-weight: 700; font-size: 14px; }
.nf-pp-steps p { font-size: 15px; line-height: 1.6; color: #4b4d57; }
.nf-pp-warning { margin-top: 1rem; padding: .9rem 1rem; border-inline-start: 3px solid var(--nf-red); border-radius: 0 var(--nf-radius-sm) var(--nf-radius-sm) 0; background: var(--nf-red-soft); font-size: 14px; line-height: 1.6; }

/* Avis */
.nf-pp-score { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.nf-pp-score > strong { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.nf-pp-score p { margin-top: .25rem; font-size: 13.5px; color: var(--nf-muted); }
.nf-pp-dist { display: grid; gap: .4rem; margin-top: 1.1rem; max-width: 320px; }
.nf-pp-dist li { display: flex; align-items: center; gap: .6rem; font-size: 13px; color: var(--nf-muted); }
.nf-pp-dist li > span:first-child { display: inline-flex; align-items: center; gap: .2rem; width: 2.2rem; color: #f5a524; font-weight: 700; }
.nf-pp-bar { flex: 1; height: 6px; border-radius: 5px; background: var(--nf-soft); overflow: hidden; }
.nf-pp-bar > span { display: block; height: 100%; background: #f5a524; border-radius: 5px; }
.nf-pp-review-form { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--nf-border); }
.nf-form { display: grid; gap: .6rem; margin-top: .6rem; justify-items: start; }
.nf-form .nf-input { width: 100%; }
.nf-input { padding: .75rem 1rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius-sm); background: #fff; font: inherit; font-size: 15px; color: var(--nf-text); outline: none; transition: border-color .2s, box-shadow .2s; }
.nf-input:focus { border-color: var(--nf-primary); box-shadow: 0 0 0 3px rgba(26,27,32,.12); }
.nf-pp-rate { display: flex; flex-wrap: wrap; gap: .4rem; }
.nf-pp-rate label { cursor: pointer; }
.nf-pp-rate input { position: absolute; opacity: 0; pointer-events: none; }
.nf-pp-rate span { display: inline-flex; align-items: center; gap: .25rem; min-height: 38px; padding: 0 .8rem; border: 1px solid var(--nf-border); border-radius: 5px; font-weight: 700; color: #f5a524; }
.nf-pp-rate input:checked + span { border-color: var(--nf-primary); background: var(--nf-primary-soft); }
.nf-pp-rate input:focus-visible + span { outline: 2px solid var(--nf-primary); outline-offset: 2px; }
.nf-pp-reviews { display: grid; gap: .8rem; }
.nf-pp-reviews li { padding: 1.2rem 1.3rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); }
.nf-pp-review-head { display: flex; justify-content: space-between; gap: 1rem; font-size: 13px; color: var(--nf-muted); }
.nf-pp-review-title { margin-top: .6rem; font-size: 16px; font-weight: 700; }
.nf-pp-review-body { margin-top: .4rem; white-space: pre-line; font-size: 15px; line-height: 1.65; color: #4b4d57; }
.nf-pp-review-author { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: .8rem; font-size: 13.5px; font-weight: 600; }

/* Questions */
.nf-pp-qa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.25rem clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--nf-radius); background: var(--nf-soft); }
.nf-pp-qa-head { grid-column: 1 / -1; }
.nf-pp-qa .nf-form { margin-top: 0; }
.nf-pp-qa .nf-pp-text { margin-top: 0; }
/* Le message vide prend la hauteur du formulaire voisin. */
.nf-pp-qa .nf-empty { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 120px; padding: 1.5rem; }
.nf-pp-questions { display: grid; gap: .8rem; }
.nf-pp-questions li { padding: 1.1rem 1.2rem; border-radius: var(--nf-radius); background: #fff; font-size: 15px; line-height: 1.6; }
.nf-pp-answer { margin-top: .5rem; color: #4b4d57; white-space: pre-line; }
.nf-pp-q, .nf-pp-a { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-inline-end: .55rem; border-radius: 6px; font-size: 12px; font-weight: 800; vertical-align: 1px; }
.nf-pp-q { background: var(--nf-primary); color: #fff; }
.nf-pp-a { background: var(--nf-primary-soft); color: var(--nf-primary); }
.nf-pp-qa .nf-empty { background: #fff; }

@media (max-width: 1023px) {
  .nf-pp, .nf-pp-split, .nf-pp-qa { grid-template-columns: 1fr; }
  .nf-pp-gallery { position: static; }
}
@media (max-width: 767px) {
  .nf-pp-assure { grid-template-columns: 1fr; }
  .nf-pp-benefits { grid-template-columns: 1fr; }
  .nf-pp-actions { flex-wrap: nowrap; gap: .5rem; }
  .nf-pp-qty button { width: 38px; }
  .nf-pp-qty input { width: 32px; }
  .nf-pp-add { flex: 1 1 auto; min-width: 0; padding-left: .75rem; padding-right: .75rem; white-space: nowrap; }
  .nf-pp-thumb { width: 68px; height: 68px; }
  .nf-pp-tab { font-size: 15px; padding: .85rem .9rem; }
}

/* ==========================================================================
   Catégories et grille de catalogue
   ========================================================================== */
.nf-cat-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: end; margin-top: .75rem; padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: var(--nf-radius); background: var(--nf-soft); }
.nf-cat-hero-text { min-width: 0; }
.nf-cat-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--nf-primary); }
.nf-cat-hero h1 { margin-top: .5rem; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.nf-cat-lead { margin-top: .7rem; font-size: 17px; font-weight: 500; color: #4b4d57; }
.nf-cat-desc { margin-top: .6rem; max-width: 46rem; font-size: 15px; line-height: 1.7; color: var(--nf-muted); }

.nf-shop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2rem; padding-block: 2rem clamp(2.5rem, 5vw, 4rem); align-items: start; }
.nf-shop-side { position: sticky; top: 120px; }
.nf-shop-mobile { display: none; }
.nf-filters { display: grid; gap: 1rem; }
.nf-filter { padding: 1.1rem 1.1rem .9rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); }
.nf-filter-title { margin-bottom: .55rem; font-size: 16px; font-weight: 700; }
.nf-facet { display: flex; align-items: center; gap: .6rem; padding: .38rem 0; font-size: 14.5px; color: #4b4d57; transition: color .2s; }
.nf-facet:hover { color: var(--nf-primary); }
.nf-facet-box { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; height: 18px; border: 1.5px solid #c9ccd3; border-radius: 5px; color: #fff; transition: border-color .2s, background-color .2s; }
.nf-facet-box.is-radio { border-radius: 5px; }
.nf-facet:hover .nf-facet-box { border-color: var(--nf-primary); }
.nf-facet.is-on { color: var(--nf-text); font-weight: 600; }
.nf-facet.is-on .nf-facet-box { border-color: var(--nf-primary); background: var(--nf-primary); }
.nf-facet.is-on .nf-facet-box.is-radio { background: #fff; box-shadow: inset 0 0 0 4px var(--nf-primary); }
.nf-facet-label { flex: 1; min-width: 0; }
.nf-facet-count { flex-shrink: 0; min-width: 26px; padding: .1rem .4rem; border-radius: 5px; text-align: center; font-size: 12px; font-weight: 600; color: var(--nf-muted); font-variant-numeric: tabular-nums; }
.nf-price-form { display: grid; gap: .7rem; }
.nf-price-inputs { display: flex; align-items: center; gap: .5rem; color: var(--nf-muted); }
.nf-price-inputs .nf-input { width: 100%; min-width: 0; padding: .55rem .7rem; font-size: 14px; -moz-appearance: textfield; }
.nf-price-form .nf-btn { width: 100%; min-height: 40px; font-size: 14px; }

/* Curseur de prix à deux poignées : deux `range` superposés, seules les
   poignées captent le pointeur ; la piste est dessinée à part. */
.nf-range { position: relative; height: 22px; margin: .2rem .45rem 0; }
.nf-range[hidden] { display: none; }
.nf-range-track { position: absolute; top: 50%; inset-inline-start: 0; inset-inline-end: 0; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--nf-border); }
.nf-range-fill { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--lo, 0%); inset-inline-end: calc(100% - var(--hi, 100%)); border-radius: 2px; background: var(--nf-primary); }
.nf-range input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.nf-range input[type="range"]::-webkit-slider-runnable-track { background: none; border: 0; }
.nf-range input[type="range"]::-moz-range-track { background: none; border: 0; }
.nf-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--nf-primary); box-shadow: 0 1px 3px rgba(0,0,0,.18); cursor: grab; pointer-events: auto; }
.nf-range input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--nf-primary); box-shadow: 0 1px 3px rgba(0,0,0,.18); cursor: grab; pointer-events: auto; }
.nf-range input[type="range"]:focus-visible { outline: none; }
.nf-range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--nf-primary-soft); }
.nf-range input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--nf-primary-soft); }

.nf-shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem .7rem; padding-inline-start: 1.1rem; padding-inline-end: .7rem; border-radius: var(--nf-radius); background: var(--nf-soft); }
.nf-shop-toolbar > p { font-size: 15px; color: var(--nf-muted); }
.nf-shop-toolbar > p strong { color: var(--nf-text); }
.nf-shop-sort { display: flex; align-items: center; gap: .6rem; margin: 0; }
.nf-shop-sort label { font-size: 14px; font-weight: 600; color: var(--nf-muted); }
.nf-select { position: relative; }
.nf-select select { appearance: none; min-width: 190px; height: 42px; padding-block: 0 0; padding-inline-start: 1rem; padding-inline-end: 2.4rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius-sm); background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--nf-text); cursor: pointer; outline: none; }
.nf-select select:focus { border-color: var(--nf-primary); }
.nf-select svg { position: absolute; inset-inline-end: .9rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--nf-muted); }
.nf-shop-active { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; }
.nf-chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 34px; padding: 0 .8rem; border-radius: 5px; background: var(--nf-primary-soft); color: var(--nf-primary); font-size: 13.5px; font-weight: 600; transition: background-color .2s, color .2s; }
.nf-chip:hover { background: var(--nf-primary); color: #fff; }
.nf-shop-clear { margin-inline-start: .3rem; font-size: 13.5px; font-weight: 600; color: var(--nf-muted); text-decoration: underline; text-underline-offset: 3px; }
.nf-shop-clear:hover { color: var(--nf-red); }
.nf-shop-grid { --nf-fit: 4; margin-top: 1.25rem; }
/* La grille d'accueil masque ses dernières cartes selon la largeur pour tenir
   en rangées pleines. Un catalogue ne cache jamais un produit : ces règles
   sont neutralisées ici, et le nombre de colonnes suit --nf-fit seul. */
.nf-shop .nf-shop-grid { --nf-cols: var(--nf-fit); }
.nf-shop .nf-shop-grid > * { display: flex; }
.nf-shop-empty { display: flex; flex-direction: column; align-items: center; margin-top: 1.25rem; padding: 4rem 1.5rem; border: 1px dashed var(--nf-border); border-radius: var(--nf-radius); text-align: center; }
.nf-shop-empty .nf-btn { margin-top: 1.4rem; }

.nf-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; font-size: 14px; color: var(--nf-muted); }
.nf-pager strong { color: var(--nf-text); }
.nf-pager-links { display: flex; gap: .35rem; }
.nf-page { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 .6rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius-sm); font-size: 15px; font-weight: 600; transition: border-color .2s, color .2s, background-color .2s; }
a.nf-page:hover { border-color: var(--nf-primary); color: var(--nf-primary); }
.nf-page.is-current { border-color: var(--nf-primary); background: var(--nf-primary); color: #fff; }
.nf-page.is-disabled { opacity: .35; }
.nf-page.is-gap { border-color: transparent; }
.nf-rot-left { transform: rotate(90deg); }
.nf-rot-right { transform: rotate(-90deg); }


@media (max-width: 1199px) {
  .nf-shop-grid { --nf-fit: 3; }
}
@media (max-width: 1023px) {
  .nf-shop { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.25rem; }
  .nf-shop-side { position: static; }
  .nf-shop-desktop { display: none; }
  .nf-shop-mobile { display: block; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); }
  .nf-shop-mobile summary { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.1rem; font-weight: 700; cursor: pointer; list-style: none; }
  .nf-shop-mobile summary::-webkit-details-marker { display: none; }
  .nf-shop-mobile summary .acc-icon { margin-inline-start: auto; transition: transform .3s; }
  .nf-shop-mobile[open] summary .acc-icon { transform: rotate(45deg); }
  .nf-shop-mobile-body { padding: 0 .8rem .8rem; }
  .nf-cat-hero { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .nf-shop-grid { --nf-fit: 2; }
  .nf-shop-toolbar { padding: .8rem; }
  .nf-shop-sort { width: 100%; }
  .nf-select { flex: 1; }
  .nf-select select { width: 100%; min-width: 0; }
}

/* ==========================================================================
   Fenêtre de choix de la saveur
   ========================================================================== */
.nf-modal { position: fixed; inset: 0; z-index: 85; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.nf-modal[hidden] { display: none; }
.nf-modal-scrim { position: absolute; inset: 0; background: rgba(14,26,41,.45); backdrop-filter: blur(3px); animation: nfFade .2s ease; }
.nf-modal-panel { position: relative; width: 100%; max-width: 460px; max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 1.5rem; border-radius: var(--nf-radius); background: #fff; box-shadow: 0 30px 60px -20px rgba(14,26,41,.4); animation: nfRise .25s cubic-bezier(.22,1,.36,1); }
.nf-modal-close { position: absolute; inset-inline-end: .9rem; top: .9rem; }
.nf-modal-product { display: flex; align-items: center; gap: 1rem; padding-inline-end: 2.5rem; margin-bottom: 1.25rem; }
.nf-modal-thumb { flex-shrink: 0; width: 72px; height: 72px; padding: .35rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius-sm); background: #fafafa; }
.nf-modal-thumb img { width: 100%; height: 100%; object-fit: contain; }
.nf-modal-title { margin-top: .15rem; font-size: 18px; font-weight: 700; line-height: 1.25; }
.nf-flavor-option { justify-content: space-between; gap: 1rem; }
.nf-flavor-price { flex-shrink: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.nf-flavor-price del { margin-inline-end: .3rem; font-weight: 500; color: var(--nf-muted); }
.nf-modal-status { min-height: 1.2em; margin-top: .6rem; font-size: 13.5px; color: var(--nf-muted); }
.nf-modal-submit { width: 100%; min-height: 50px; margin-top: .4rem; font-size: 16px; }
.nf-modal-submit:disabled { opacity: .45; cursor: not-allowed; }
.nf-modal-submit:hover svg { transform: none; }
.nf-modal-link { display: block; margin-top: .8rem; text-align: center; font-size: 14px; font-weight: 600; color: var(--nf-muted); text-decoration: underline; text-underline-offset: 3px; }
.nf-modal-link:hover { color: var(--nf-primary); }
@keyframes nfFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nfRise { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* Fiche produit — menu déroulant des saveurs */
.nf-pp-label span { font-weight: 400; color: var(--nf-muted); }
.nf-pp-select select { width: 100%; height: 50px; padding-inline-start: 1rem; font-size: 15.5px; }
.nf-pp-select svg { inset-inline-end: 1rem; }
.nf-pp-select.is-invalid select { border-color: var(--nf-red); box-shadow: 0 0 0 3px rgba(224,72,60,.12); }

/* ==========================================================================
   Menus déroulants du thème (tri du catalogue, saveurs de la fiche)
   Le <select> natif reste en place, invisible : il porte la valeur envoyée et
   la validation. Le bouton et la liste ci-dessous sont dessinés par nutrifitness.js.
   ========================================================================== */
.nf-select.is-enhanced { position: relative; }
.nf-select.is-enhanced select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.nf-select.is-enhanced > svg { z-index: 2; transition: transform .25s ease; }
.nf-select.is-open > svg { transform: translateY(-50%) rotate(180deg); }

.nf-dd-trigger { display: flex; align-items: center; width: 100%; min-width: 190px; height: 42px; padding-block: 0 0; padding-inline-start: 1rem; padding-inline-end: 2.6rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius-sm); background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--nf-text); text-align: start; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.nf-dd-trigger:hover { border-color: #b4b7bf; }
.nf-select.is-open .nf-dd-trigger,
.theme-nutrifitness .nf-dd-trigger:focus-visible { border-color: var(--nf-primary); box-shadow: 0 0 0 3px rgba(26,27,32,.12); outline: none; }
.nf-dd-trigger.is-placeholder { color: var(--nf-muted); font-weight: 500; }
.nf-dd-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-select.is-invalid .nf-dd-trigger { border-color: var(--nf-red); box-shadow: 0 0 0 3px rgba(224,72,60,.12); }
.nf-pp-select .nf-dd-trigger { height: 50px; font-size: 15.5px; }

.nf-dd-list { position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: calc(100% + 6px); z-index: 30; max-height: 300px; overflow-y: auto; padding: .35rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); background: #fff; box-shadow: 0 20px 40px -18px rgba(14,26,41,.3); animation: nfDrop .18s ease; outline: none; }
.nf-dd-list[hidden] { display: none; }
/* Le menu de tri, en bout de barre, s'ouvre aligné à droite. */
.nf-shop-sort .nf-dd-list { inset-inline-start: auto; min-width: 100%; width: max-content; }
.nf-dd-option { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: var(--nf-text); cursor: pointer; }
.nf-dd-option[hidden] { display: none; }
.nf-dd-option.is-active { background: var(--nf-soft); }
.nf-dd-option[aria-selected="true"] { color: var(--nf-primary); font-weight: 700; }
.nf-dd-option[aria-disabled="true"] { color: #b4b7bf; cursor: not-allowed; }
.nf-dd-option[aria-disabled="true"] .nf-dd-text { text-decoration: line-through; }
.nf-dd-check { flex-shrink: 0; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #c9ccd3; transition: border-color .2s, box-shadow .2s; }
.nf-dd-option[aria-selected="true"] .nf-dd-check { border-color: var(--nf-primary); box-shadow: inset 0 0 0 4px var(--nf-primary); }
.nf-dd-text { flex: 1; min-width: 0; }
.nf-dd-meta { flex-shrink: 0; font-weight: 700; color: var(--nf-text); font-variant-numeric: tabular-nums; }
.nf-dd-option[aria-disabled="true"] .nf-dd-meta { color: var(--nf-red); font-weight: 600; font-size: 13px; }
@keyframes nfDrop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .nf-dd-trigger { min-width: 0; }
  .nf-shop-sort .nf-dd-list { inset-inline-start: 0; width: auto; }
}

/* ==========================================================================
   Objectifs
   ========================================================================== */
.nf-banner h2 { margin-top: .35rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
/* Sur les pages Objectifs, aucune bannière n'est masquée (l'accueil, lui, en
   retire une sur tablette pour garder une rangée pleine). */
.nf-banners.nf-banners-all > * { display: flex; }

.nf-goal-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: end; min-height: 340px; margin-top: .75rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--nf-radius); overflow: hidden; background: var(--nf-secondary); color: #fff; }
.nf-goal-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.nf-goal-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,26,41,.92) 0%, rgba(14,26,41,.72) 55%, rgba(14,26,41,.35) 100%); }
.nf-goal-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }
.nf-goal-hero h1 { margin-top: .5rem; font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; }
.nf-goal-desc { margin-top: .9rem; max-width: 40rem; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.8); }
.nf-goal-count { display: flex; align-items: baseline; gap: .6rem; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.8); }
.nf-goal-count strong { font-size: 2.6rem; font-weight: 800; line-height: 1; color: #fff; }
.nf-goal-note { margin-top: 1rem; padding-inline-start: .9rem; border-inline-start: 3px solid rgba(255,255,255,.35); font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.7); }

.nf-goal-cats { padding-top: 1.75rem; }
.nf-goal-cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }
.nf-goal-cat { display: block; padding: 1rem 1.1rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); transition: border-color .2s, box-shadow .2s; }
.nf-goal-cat:hover { border-color: var(--nf-primary); box-shadow: 0 10px 24px -18px rgba(26,27,32,.6); }
.nf-goal-cat-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.nf-goal-cat-head strong { font-size: 16px; font-weight: 700; }
.nf-goal-cat:hover strong { color: var(--nf-primary); }
.nf-goal-cat-desc { display: block; margin-top: .35rem; font-size: 13.5px; line-height: 1.55; color: var(--nf-muted); }

@media (max-width: 1023px) {
  .nf-goal-hero { grid-template-columns: 1fr; min-height: 0; }
}

/* ==========================================================================
   Marques — annuaire et page d'une marque, mise en page éditoriale
   Fond blanc, filets fins, typographie en grand : pas de cartes encadrées.
   Chaque marque a sa « plaque » (nom composé en grand, sur fond neutre) qui
   prend la couleur du thème au survol.
   ========================================================================== */
.nf-houses-page { --house-ink: #14161a; --house-quiet: #7a7d86; --house-line: #e7e6e1; --house-plate: var(--nf-soft); }

.nf-houses-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem 4rem; align-items: end; padding-top: clamp(1.75rem, 5vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.nf-houses-eyebrow { display: flex; align-items: center; gap: .75rem; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--house-quiet); }
.nf-houses-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.nf-houses-hero h1 { margin-top: 1.25rem; font-size: clamp(2.6rem, 6.4vw, 5.5rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; color: var(--house-ink); }
.nf-houses-hero h1 span { display: block; font-weight: 300; color: #a3a6ad; }
.nf-houses-lead { max-width: 30rem; margin-top: 1.5rem; font-size: 16.5px; font-weight: 300; line-height: 1.65; color: #555861; }

.nf-houses-stats { display: flex; }
.nf-houses-stats div { display: flex; flex-direction: column-reverse; gap: .55rem; padding: 0 clamp(1.25rem, 2.6vw, 2.25rem); border-inline-start: 1px solid var(--house-line); }
.nf-houses-stats div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.nf-houses-stats dd { font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--house-ink); font-variant-numeric: tabular-nums; }
.nf-houses-stats dt { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--house-quiet); white-space: nowrap; }

/* Barre d'outils : filets haut et bas, index à gauche, recherche à droite. */
.nf-houses-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.nf-houses-bar::before { content: ""; order: -1; flex-basis: 100%; height: 1px; background: var(--house-line); }
.nf-houses-bar::after { content: ""; flex-basis: 100%; height: 1px; background: var(--house-line); }
.nf-houses-az { display: flex; flex-wrap: wrap; gap: .1rem; }
.nf-houses-az a, .nf-houses-az span { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 36px; font-size: 13.5px; font-weight: 500; letter-spacing: .04em; }
.nf-houses-az span { color: #cfd0d4; }
.nf-houses-az a { color: var(--house-ink); transition: color .2s; }
.nf-houses-az a::after { content: ""; position: absolute; inset-inline-start: 50%; bottom: 4px; width: 0; height: 1.5px; background: var(--nf-primary); transition: width .25s ease, left .25s ease; }
.nf-houses-az a:hover { color: var(--nf-primary); }
.nf-houses-az a:hover::after { inset-inline-start: 25%; width: 50%; }
.nf-houses-az a.is-dim { color: #cfd0d4; pointer-events: none; }

.nf-houses-tools { display: flex; align-items: center; gap: .75rem; }
.nf-houses-tools[hidden] { display: none; }
.nf-houses-search { position: relative; display: flex; align-items: center; }
.nf-houses-search svg { position: absolute; inset-inline-start: 0; color: var(--house-quiet); pointer-events: none; }
.nf-houses-search input { width: 240px; height: 42px; padding-block: 0 0; padding-inline-start: 1.75rem; padding-inline-end: .25rem; border: 0; border-bottom: 1px solid #cfd0d4; border-radius: 0; background: transparent; font: inherit; font-size: 14.5px; color: var(--house-ink); outline: none; transition: border-color .2s; }
.nf-houses-search input::placeholder { color: var(--house-quiet); }
.nf-houses-search input:focus { border-bottom-color: var(--nf-primary); }
.theme-nutrifitness .nf-houses-search input:focus-visible { outline: none; }
.nf-houses-rayon .nf-dd-trigger { min-width: 230px; border-radius: 5px; font-weight: 500; }
.nf-houses-rayon .nf-dd-list { inset-inline-start: auto; min-width: 100%; width: max-content; }

/* Grille des plaques */
.nf-houses { padding-top: 1.75rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.nf-houses-count { margin-bottom: 1.5rem; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--house-quiet); }
.nf-houses-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.2vw, 2rem); }
.nf-house { display: flex; flex-direction: column; scroll-margin-top: 150px; animation: nfHouseIn .5s ease both; }
.nf-house[hidden] { display: none; }
@keyframes nfHouseIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.nf-house-plate { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 2; padding: 1.15rem 1.25rem; overflow: hidden; border-radius: var(--nf-radius); background: var(--house-plate); color: var(--house-ink); isolation: isolate; }
.nf-house-plate::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nf-primary); clip-path: inset(100% 0 0 0); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1); }
.nf-house-top, .nf-house-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--house-quiet); transition: color .4s; }
.nf-house-mark { align-self: center; max-width: 90%; text-align: center; font-size: clamp(1.6rem, 2.5vw, 2.3rem); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; transition: color .4s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.nf-house-bottom > span:first-child { font-variant-numeric: tabular-nums; }
.nf-house-go { display: inline-flex; align-items: center; gap: .4rem; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s; }

.nf-house:hover .nf-house-plate::before,
.nf-house:focus-within .nf-house-plate::before { clip-path: inset(0 0 0 0); }
.nf-house:hover .nf-house-mark,
.nf-house:focus-within .nf-house-mark { color: #fff; transform: scale(1.04); }
.nf-house:hover .nf-house-top, .nf-house:hover .nf-house-bottom,
.nf-house:focus-within .nf-house-top, .nf-house:focus-within .nf-house-bottom { color: rgba(255,255,255,.7); }
.nf-house:hover .nf-house-go,
.nf-house:focus-within .nf-house-go { opacity: 1; transform: none; color: #fff; }

.nf-house-body { padding-top: 1.15rem; }
.nf-house-body :is(h2, h3) { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--house-line); font-size: 1.2rem; font-weight: 500; letter-spacing: -.015em; color: var(--house-ink); }
.nf-house-body :is(h2, h3) a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s ease, color .2s; }
.nf-house:hover .nf-house-body :is(h2, h3) a, .nf-house-body :is(h2, h3) a:focus-visible { background-size: 100% 1px; color: var(--nf-primary); }
.nf-house-body :is(h2, h3) span { flex-shrink: 0; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--house-quiet); }
.nf-house-body > p { display: -webkit-box; margin-top: .85rem; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14.5px; font-weight: 300; line-height: 1.65; color: #4f525a; }
.nf-house-rayons { display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin-top: .85rem; }
.nf-house-rayons a { position: relative; font-size: 13px; font-weight: 500; color: var(--house-ink); transition: color .2s; }
.nf-house-rayons li:not(:last-child) a::after { content: "·"; position: absolute; inset-inline-end: -.6rem; color: #c3c5cb; pointer-events: none; }
.nf-house-rayons a:hover { color: var(--nf-primary); text-decoration: underline; text-underline-offset: 3px; }

.nf-houses-empty { display: grid; justify-items: center; gap: 1.25rem; padding: 4rem 1rem; border-top: 1px solid var(--house-line); border-bottom: 1px solid var(--house-line); text-align: center; font-size: 1.15rem; font-weight: 300; color: #4f525a; }
.nf-houses-empty[hidden] { display: none; }
.nf-houses-note { max-width: 44rem; margin: clamp(3rem, 6vw, 4.5rem) auto 0; padding-top: 1.5rem; border-top: 1px solid var(--house-line); font-size: 12.5px; line-height: 1.7; text-align: center; color: var(--house-quiet); }

/* Page d'une marque ------------------------------------------------------ */
.nf-house-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem clamp(2.5rem, 6vw, 6rem); align-items: center; padding-top: clamp(1.75rem, 4.5vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.nf-house-hero h1 { margin-top: 1.25rem; font-size: clamp(2.6rem, 6vw, 5.25rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; color: var(--house-ink); text-wrap: balance; }
.nf-house-hero .nf-houses-stats { margin-top: 2.25rem; }
.nf-house-hero-note { max-width: 30rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--house-line); font-size: 12.5px; line-height: 1.65; color: var(--house-quiet); }
.nf-house-plate.is-filled { aspect-ratio: 4 / 3; }
.nf-house-plate.is-filled::before { display: none; }
.nf-house-plate.is-filled .nf-house-mark { font-size: clamp(2rem, 4vw, 3.4rem); }

/* Rayons de la marque : onglets soulignés entre deux filets. */
.nf-house-tabs { display: flex; gap: 2rem; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: none; border-top: 1px solid var(--house-line); box-shadow: inset 0 -1px 0 var(--house-line); scrollbar-width: none; }
.nf-house-tabs::-webkit-scrollbar { display: none; }
.nf-house-tabs a { position: relative; flex-shrink: 0; padding: 1.15rem 0; font-size: 14.5px; font-weight: 500; color: var(--house-quiet); white-space: nowrap; transition: color .2s; }
.nf-house-tabs a::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; height: 2px; background: var(--nf-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nf-house-tabs a:hover, .nf-house-tabs a.is-on { color: var(--house-ink); }
.nf-house-tabs a:hover::after, .nf-house-tabs a.is-on::after { transform: scaleX(1); }
.nf-house-tabs sup { margin-inline-start: .15rem; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: var(--house-quiet); font-variant-numeric: tabular-nums; }

/* En-têtes de section éditoriaux */
.nf-houses-section { padding-top: clamp(2.75rem, 5vw, 4.5rem); }
.nf-houses-section.is-tight { padding-bottom: 0; }
.nf-houses-section:last-child { padding-bottom: clamp(3rem, 6vw, 5rem); }
.nf-houses-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.nf-houses-head h2 { margin-top: .75rem; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; color: var(--house-ink); }
.nf-houses-link { display: inline-flex; align-items: center; gap: .45rem; padding-bottom: .2rem; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--house-ink); white-space: nowrap; transition: color .2s; }
.nf-houses-link:hover { color: var(--nf-primary); }
.nf-houses-link svg { transition: transform .25s; }
.nf-houses-link:hover svg { transform: translateX(3px); }

@media (max-width: 1023px) {
  .nf-house-hero { grid-template-columns: 1fr; }
  .nf-house-plate.is-filled { aspect-ratio: 16 / 9; }
}
@media (max-width: 639px) {
  .nf-house-tabs { gap: 1.5rem; }
  .nf-houses-head { flex-wrap: wrap; }
}

/* Catégories : familles en sections, plaque large pour une famille seule. */
.nf-houses-jump { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.nf-houses-jump a { position: relative; display: inline-flex; align-items: center; height: 36px; font-size: 14.5px; font-weight: 500; color: var(--house-ink); transition: color .2s; }
.nf-houses-jump a::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 4px; height: 1.5px; background: var(--nf-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nf-houses-jump a:hover { color: var(--nf-primary); }
.nf-houses-jump a:hover::after { transform: scaleX(1); }
.nf-houses-jump sup { margin-inline-start: .2rem; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: var(--house-quiet); }
.nf-houses-family { scroll-margin-top: 150px; }
.nf-houses-family[hidden] { display: none; }
.nf-houses-family + .nf-houses-family { margin-top: clamp(3.5rem, 6vw, 5.5rem); }
.nf-houses-grid.is-wide { grid-template-columns: minmax(0, 1fr); }
.nf-houses-grid.is-wide .nf-house { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.nf-houses-grid.is-wide .nf-house-plate { aspect-ratio: 3 / 1; }
.nf-houses-grid.is-wide .nf-house-body { padding-top: 0; }
.nf-house-hero-note.is-text { font-size: 14px; color: #4f525a; font-weight: 300; }
@media (max-width: 1023px) {
  .nf-houses-grid.is-wide .nf-house { grid-template-columns: minmax(0, 1fr); }
  .nf-houses-grid.is-wide .nf-house-plate { aspect-ratio: 16 / 9; }
  .nf-houses-grid.is-wide .nf-house-body { padding-top: 1.15rem; }
}

/* Tous les produits : recherche en filet, engagements numérotés. */
.nf-catalog-search { display: flex; align-items: center; gap: 1rem; margin-bottom: .5rem; padding: .35rem 0; border-top: 1px solid var(--house-line); }
.nf-catalog-search > svg { color: var(--house-quiet); }
.nf-catalog-search input { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; font: inherit; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 300; color: var(--house-ink); outline: none; }
.nf-catalog-search input::placeholder { color: #a3a6ad; }
.theme-nutrifitness .nf-catalog-search input:focus-visible { outline: none; }
.nf-catalog-search:focus-within { border-top-color: var(--nf-primary); }
.nf-catalog-search button { background: none; cursor: pointer; }
.nf-catalog-grid { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.nf-promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--house-line); }
.nf-promises li { position: relative; padding-block: 1.75rem 1.5rem; padding-inline-start: 0; padding-inline-end: 1.5rem; }
.nf-promises li + li { padding-inline-start: 1.5rem; border-inline-start: 1px solid var(--house-line); }
.nf-promises svg { width: 26px; height: 26px; color: var(--nf-primary); }
.nf-promises-num { position: absolute; top: 1.75rem; inset-inline-end: 1.5rem; font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--house-quiet); }
.nf-promises h3 { margin-top: 1.25rem; text-transform: none; font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; color: var(--house-ink); }
.nf-promises p { margin-top: .45rem; font-size: 14px; font-weight: 300; line-height: 1.6; color: #4f525a; }
@media (max-width: 1023px) {
  .nf-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-promises li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .nf-promises li:nth-child(n+3) { border-top: 1px solid var(--house-line); }
}
@media (max-width: 639px) {
  .nf-promises { grid-template-columns: minmax(0, 1fr); }
  .nf-promises li + li { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--house-line); }
  .nf-catalog-search button { font-size: 0; gap: 0; border-bottom: 0; }
  .nf-catalog-search button svg { width: 18px; height: 18px; }
}

/* Offres : campagne et échéance en bandeaux à filets, état vide en plaque. */
.nf-houses-stats dd small { margin-inline-start: .05em; font-size: .5em; letter-spacing: 0; }
.nf-offers-live { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); border-top: 1px solid var(--house-line); border-bottom: 1px solid var(--house-line); }
.nf-offer-campaign, .nf-offer-countdown { padding-block: 1.75rem 1.75rem; padding-inline-start: 0; padding-inline-end: 2rem; }
.nf-offers-live > * + * { padding-inline-start: 2rem; border-inline-start: 1px solid var(--house-line); }
.nf-offer-headline { margin-top: .9rem; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; color: var(--house-ink); }
.nf-offer-time { margin-top: .9rem; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 300; letter-spacing: -.02em; color: var(--nf-red); font-variant-numeric: tabular-nums; }
.nf-offer-until { margin-top: .6rem; font-size: 13px; color: var(--house-quiet); }
.nf-offers-empty { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.nf-offers-empty .nf-house-plate { aspect-ratio: 16 / 9; }
.nf-offers-empty-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; color: var(--house-ink); }
.nf-offers-empty-text p { margin-top: 1rem; font-size: 15px; font-weight: 300; line-height: 1.7; color: #4f525a; }
.nf-offers-empty-text ul { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: 1.75rem; }
@media (max-width: 1023px) {
  .nf-offers-empty { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .nf-offers-live > * + * { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--house-line); }
  .nf-offer-campaign, .nf-offer-countdown { padding-inline-end: 0; }
}

/* Espace client : bandeau « Bonjour », navigation à filets, contenu. */
.nf-account-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: clamp(1.25rem, 3vw, 2rem); padding-bottom: 1.25rem; }
.nf-account-bar::after { content: ""; flex-basis: 100%; height: 1px; margin-top: .25rem; background: var(--house-line); }
.nf-account-hello { display: flex; align-items: center; gap: 1rem; }
.nf-account-initials { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 5px; background: var(--nf-soft); font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--house-ink); }
.nf-account-name { margin-top: .45rem; font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 500; letter-spacing: -.03em; color: var(--house-ink); }
.nf-account-bar form button, .nf-account-verify form button { background: none; cursor: pointer; }
.nf-account-verify { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem 1.25rem; border-inline-start: 2px solid var(--nf-primary); background: var(--nf-soft); border-radius: 0 var(--nf-radius-sm) var(--nf-radius-sm) 0; }
.nf-account-verify p:not(.nf-houses-eyebrow) { margin-top: .4rem; font-size: 14px; color: #4f525a; }
.nf-account-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); padding-top: clamp(1.75rem, 3vw, 2.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.nf-account-nav { position: sticky; top: 140px; }
.nf-account-nav li.is-danger { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--house-line); }
.nf-account-nav a { position: relative; display: block; padding-block: .6rem .6rem; padding-inline-start: 1.1rem; padding-inline-end: 0; font-size: 14.5px; color: var(--house-quiet); transition: color .2s; }
.nf-account-nav a::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 2px; height: 0; background: var(--nf-primary); transform: translateY(-50%); transition: height .3s ease; }
.nf-account-nav a:hover { color: var(--house-ink); }
.nf-account-nav a.is-on { color: var(--house-ink); font-weight: 500; }
.nf-account-nav a.is-on::before, .nf-account-nav a:hover::before { height: 60%; }
.nf-account-nav .is-danger a:hover { color: var(--nf-red); }
.nf-account-nav .is-danger a::before { background: var(--nf-red); }
.nf-account-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--house-line); }
.nf-account-head h1 { margin-top: 1rem; font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; color: var(--house-ink); }
.nf-account-head h1 span { font-weight: 300; color: #a3a6ad; }
.nf-account-head .nf-houses-lead { margin-top: 1rem; }
.nf-account-empty .nf-house-mark svg { width: clamp(48px, 7vw, 72px); height: clamp(48px, 7vw, 72px); color: var(--nf-primary); }
.nf-wish-grid { --nf-cols: 3; }
.nf-wish { display: flex; flex-direction: column; }
.nf-wish .nf-card { flex: 1; }
.nf-wish-remove button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; min-height: 44px; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--house-quiet); cursor: pointer; transition: color .2s; }
.nf-wish-remove button:hover { color: var(--nf-red); }
@media (max-width: 1023px) {
  .nf-account-layout { grid-template-columns: minmax(0, 1fr); }
  .nf-account-nav { position: static; }
  .nf-account-nav ul { display: flex; gap: 1.25rem; overflow-x: auto; border-bottom: 1px solid var(--house-line); scrollbar-width: none; }
  .nf-account-nav ul::-webkit-scrollbar { display: none; }
  .nf-account-nav li.is-danger { margin: 0; padding: 0; border: 0; }
  .nf-account-nav a { padding: .8rem 0; white-space: nowrap; }
  .nf-account-nav a::before { top: auto; bottom: -1px; inset-inline-start: 0; width: 0; height: 2px; transform: none; transition: width .3s ease; }
  .nf-account-nav a.is-on::before, .nf-account-nav a:hover::before { width: 100%; height: 2px; }
  .nf-wish-grid { --nf-cols: 2; }
}

/* Vue d'ensemble du compte : repères en plaques grises, listes à filets. */
.nf-acc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.nf-acc-tile { position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr auto; gap: .9rem; min-height: 150px; padding: 1.1rem 1.2rem; overflow: hidden; border-radius: var(--nf-radius); background: var(--nf-soft); color: var(--house-ink); }
.nf-acc-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nf-primary); clip-path: inset(100% 0 0 0); transition: clip-path .5s cubic-bezier(.7, 0, .2, 1); }
.nf-acc-tile-label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--house-quiet); transition: color .35s; }
.nf-acc-tile-value { align-self: center; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; transition: color .35s; }
.nf-acc-tile-text { align-self: center; font-size: 1.1rem; font-weight: 500; letter-spacing: -.02em; transition: color .35s; }
.nf-acc-tile-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 12.5px; color: var(--house-quiet); transition: color .35s; }
.nf-acc-tile-meta svg { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
a.nf-acc-tile:hover::before, a.nf-acc-tile:focus-visible::before { clip-path: inset(0 0 0 0); }
a.nf-acc-tile:hover, a.nf-acc-tile:focus-visible { color: #fff; }
a.nf-acc-tile:hover .nf-acc-tile-label, a.nf-acc-tile:hover .nf-acc-tile-meta,
a.nf-acc-tile:focus-visible .nf-acc-tile-label, a.nf-acc-tile:focus-visible .nf-acc-tile-meta { color: rgba(255,255,255,.75); }
a.nf-acc-tile:hover .nf-acc-tile-meta svg, a.nf-acc-tile:focus-visible .nf-acc-tile-meta svg { opacity: 1; transform: none; }
.nf-acc-section { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.nf-acc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.nf-acc-head .nf-houses-link { font-size: 11px; }
.nf-acc-loyalty-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.nf-acc-loyalty-row p:last-child { font-size: 13.5px; color: #4f525a; }
.nf-acc-bar { height: 3px; margin-top: 1rem; border-radius: 3px; background: var(--house-line); overflow: hidden; }
.nf-acc-bar span { display: block; height: 100%; border-radius: inherit; background: var(--nf-primary); }
.nf-acc-list { border-top: 1px solid var(--house-line); }
.nf-acc-list > li { border-bottom: 1px solid var(--house-line); }
.nf-acc-order, .nf-acc-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding: 1.05rem 0; }
.nf-acc-order strong, .nf-acc-note strong { display: block; font-size: 15px; font-weight: 500; color: var(--house-ink); transition: color .2s; }
.nf-acc-order small, .nf-acc-note small { display: block; margin-top: .3rem; font-size: 13px; font-weight: 300; line-height: 1.55; color: #4f525a; }
.nf-acc-note small.is-ink { margin-top: 0; font-size: 14px; }
.nf-acc-order:hover strong { color: var(--nf-primary); }
.nf-acc-note time { font-size: 12.5px; color: var(--house-quiet); font-variant-numeric: tabular-nums; }
.nf-acc-note.is-unread strong::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: .55rem; border-radius: 5px; background: var(--nf-primary); vertical-align: middle; }
.nf-acc-list.is-compact .nf-acc-note { padding: .75rem 0; }
.nf-acc-status { flex-shrink: 0; padding: .3rem .7rem; border: 1px solid var(--house-line); border-radius: 5px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--house-ink); }
.nf-acc-status.is-done { border-color: var(--nf-primary); background: var(--nf-primary-soft); color: var(--nf-primary); }
.nf-acc-status.is-muted { color: var(--house-quiet); }
.nf-acc-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.nf-acc-pair .nf-acc-tile { min-height: 130px; }
.nf-acc-grid { --nf-cols: 4; }
.nf-acc-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2.5rem; }
.nf-acc-address { padding-top: 1rem; border-top: 1px solid var(--house-line); font-style: normal; font-size: 14.5px; font-weight: 300; line-height: 1.75; color: #4f525a; }
.nf-acc-address strong { font-weight: 500; color: var(--house-ink); }
@media (max-width: 1023px) {
  .nf-acc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-acc-grid { --nf-cols: 2; }
}
@media (max-width: 639px) {
  .nf-acc-tile { min-height: 120px; }
  .nf-acc-tile-meta svg { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .nf-acc-tile::before, .nf-acc-tile-meta svg { transition: none; } }

/* Sous-pages du compte (profil, commandes, adresses, fidélité, SAV…).
   Leur contenu reste celui du design d'origine — mêmes formulaires, mêmes
   données — mais ses classes sont relues dans l'écriture du thème : titres
   sans capitales, petites étiquettes espacées, boutons arrondis verts,
   encadrés gris, filets fins. Portée limitée à la colonne de contenu du compte et au tunnel de
   commande (.nf-checkout) et aux pages de connexion (.nf-auth). */
:is(.nf-account-content, .nf-checkout, .nf-auth) { font-family: var(--nf-font); color: var(--house-ink); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .display,
:is(.nf-account-content, .nf-checkout, .nf-auth) .font-display { font-family: var(--nf-font); text-transform: none; }
:is(.nf-account-content, .nf-checkout, .nf-auth) h1.display { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .display:not(h1) { font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .font-display { font-weight: 500; letter-spacing: -.02em; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .micro,
:is(.nf-account-content, .nf-checkout, .nf-auth) .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .16em; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-accent { color: var(--nf-primary); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .border-accent { border-color: var(--nf-primary); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .bg-accent { background-color: var(--nf-primary); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .hover\:text-accent:hover { color: var(--nf-primary); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .rule { border-color: var(--house-line); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .bg-bone { background-color: var(--nf-soft); border-radius: var(--nf-radius); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .bg-bone.border { border-color: transparent; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .hover\:bg-bone:hover { background-color: var(--nf-soft); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .bg-black\/10 { background-color: var(--house-line); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-ink { color: var(--house-ink); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-smoke { color: var(--house-quiet); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .leading-relaxed { line-height: 1.65; }

/* Boutons : pilules du thème. */
:is(.nf-account-content, .nf-checkout, .nf-auth) .btn { min-height: 46px; padding: .85rem 1.6rem; border-radius: 5px; font-family: var(--nf-font); font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .btn-solid { background: var(--nf-primary); color: #fff; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .btn-solid::before { background: var(--nf-primary-hover); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .btn-outline { border: 1px solid var(--nf-border); color: var(--house-ink); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .btn-outline::before { background: var(--nf-primary); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .btn-outline:hover { border-color: var(--nf-primary); color: #fff; }
:is(.nf-account-content, .nf-checkout, .nf-auth) button.micro.border,
:is(.nf-account-content, .nf-checkout, .nf-auth) a.micro.border,
:is(.nf-account-content, .nf-checkout, .nf-auth) span.micro.border,
:is(.nf-account-content, .nf-checkout, .nf-auth) a.inline-flex.border,
:is(.nf-account-content, .nf-checkout, .nf-auth) button.inline-flex.border { border-radius: 5px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .bg-ink { background-color: var(--nf-primary); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .border-ink { border-color: var(--nf-primary); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .hover\:bg-accent:hover,
:is(.nf-account-content, .nf-checkout, .nf-auth) .hover\:bg-carbon:hover { background-color: var(--nf-primary-hover); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .hover\:border-accent:hover { border-color: var(--nf-primary-hover); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .hover\:bg-ink:hover { background-color: var(--nf-primary); }
:is(.nf-account-content, .nf-checkout, .nf-auth) .hover\:border-ink:hover { border-color: var(--nf-primary); }

/* Champs : filet bas, accent vert au focus. */
:is(.nf-account-content, .nf-checkout, .nf-auth) input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
:is(.nf-account-content, .nf-checkout, .nf-auth) select,
:is(.nf-account-content, .nf-checkout, .nf-auth) textarea { font-family: var(--nf-font); font-size: 15px; color: var(--house-ink); }
:is(.nf-account-content, .nf-checkout, .nf-auth) input:focus,
:is(.nf-account-content, .nf-checkout, .nf-auth) select:focus,
:is(.nf-account-content, .nf-checkout, .nf-auth) textarea:focus { border-color: var(--nf-primary); outline: none; }
.theme-nutrifitness :is(.nf-account-content, .nf-checkout, .nf-auth) input:focus-visible,
.theme-nutrifitness :is(.nf-account-content, .nf-checkout, .nf-auth) select:focus-visible,
.theme-nutrifitness :is(.nf-account-content, .nf-checkout, .nf-auth) textarea:focus-visible { outline: none; box-shadow: 0 2px 0 -1px var(--nf-primary); }
:is(.nf-account-content, .nf-checkout, .nf-auth) textarea { border-radius: var(--nf-radius-sm); }

/* Recherche */
.nf-search-field input { height: 64px; font-size: clamp(1.15rem, 2.2vw, 1.6rem); }
.nf-search-field { border-bottom: 1px solid var(--house-line); }
.nf-search-note { margin-top: 1.25rem; padding-inline-start: .9rem; border-inline-start: 2px solid var(--nf-primary); font-size: 14px; color: #4f525a; }
.nf-search-also { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.5rem; }
.nf-search-also .nf-houses-eyebrow { margin-inline-end: .5rem; }
.nf-search-also a { display: inline-flex; align-items: baseline; gap: .45rem; padding: .55rem 1rem; border-radius: 5px; background: var(--nf-soft); font-size: 14px; font-weight: 500; color: var(--house-ink); transition: background-color .25s, color .25s; }
.nf-search-also a small { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--house-quiet); transition: color .25s; }
.nf-search-also a:hover { background: var(--nf-primary); color: #fff; }
.nf-search-also a:hover small { color: rgba(255,255,255,.7); }
.nf-search-entries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1023px) { .nf-search-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .nf-search-entries { grid-template-columns: minmax(0, 1fr); } }

/* Aperçu rapide (œil des cartes) : photo sur le gris du thème, fiche à droite. */
.nf-qv { position: fixed; inset: 0; z-index: 80; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 2rem); font-family: var(--nf-font); }
.nf-qv-scrim { position: absolute; inset: 0; background: rgba(14,26,41,.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease; }
.nf-qv.is-open .nf-qv-scrim { opacity: 1; }
.nf-qv-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; max-width: 940px; max-height: calc(100vh - 2rem); overflow: auto; border-radius: 16px; background: #fff; color: var(--nf-text); box-shadow: 0 40px 80px -30px rgba(14,26,41,.45); }
.nf-qv-close { position: absolute; top: 1rem; inset-inline-end: 1rem; z-index: 2; }
.nf-qv-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; margin: .75rem; padding: 2.5rem; border-radius: var(--nf-radius); background: var(--nf-soft); }
.nf-qv-shot { width: 100%; height: 100%; }
.nf-qv-shot img, .nf-qv-shot svg { width: 100%; height: 100%; object-fit: contain; }
.nf-qv-body { display: flex; flex-direction: column; justify-content: center; padding-block: 2.5rem 2.5rem; padding-inline-start: 1.75rem; padding-inline-end: 2.5rem; }
.nf-qv-title { margin-top: .9rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; color: #14161a; }
.nf-qv-variant { margin-top: .5rem; font-size: 14px; color: var(--nf-muted); }
.nf-qv-variant:empty, .nf-qv-blurb:empty, .nf-qv-note:empty, .nf-qv-price del:empty { display: none; }
.nf-qv-blurb { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--nf-border); font-size: 15px; font-weight: 300; line-height: 1.65; color: #4f525a; }
.nf-qv-price { display: flex; align-items: baseline; gap: .75rem; margin-top: 1.5rem; }
.nf-qv-price strong { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; color: #14161a; font-variant-numeric: tabular-nums; }
.nf-qv-price del { font-size: 1.05rem; color: var(--nf-muted); font-variant-numeric: tabular-nums; }
.nf-qv-form { margin-top: 1.75rem; }
.nf-qv-add { width: 100%; min-height: 50px; }
a.nf-qv-add { margin-top: 1.75rem; }
.nf-qv-note { margin-top: 1rem; font-size: 13px; color: var(--nf-muted); }
@media (max-width: 767px) {
  .nf-qv { align-items: flex-end; padding: 0; }
  .nf-qv-panel { grid-template-columns: minmax(0, 1fr); max-height: 92vh; border-radius: 16px 16px 0 0; }
  .nf-qv-media { aspect-ratio: 4 / 3; padding: 1.5rem; }
  .nf-qv-body { padding: .5rem 1.5rem 1.75rem; }
}

/* Page panier */
.nf-houses-hero.is-compact { padding-top: clamp(1.25rem, 3vw, 2.25rem); padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.nf-houses-hero.is-compact h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.nf-houses-hero.is-compact h1 span { display: inline; }
.nf-houses-hero.is-compact .nf-houses-lead { margin-top: .9rem; }
.nf-houses-hero.is-compact .nf-houses-stats dd { font-size: clamp(2rem, 3vw, 2.6rem); }

/* Conseils : la photo de l'équipe occupe la colonne de droite, le compteur se pose dessus. */
.nf-tips-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.nf-tips-hero-media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--nf-radius); overflow: hidden; background: var(--nf-soft); }
.nf-tips-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.nf-tips-hero-count { position: absolute; inset-inline-start: 1rem; bottom: 1rem; padding: .85rem 1.15rem; border-radius: var(--nf-radius); background: rgba(255, 255, 255, .94); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.nf-tips-hero-count dd { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.nf-tips-hero-count { max-width: calc(100% - 2rem); flex-wrap: wrap; row-gap: .6rem; }
.nf-tips-hero-count div { padding: 0 clamp(.7rem, 1.6vw, 1.25rem); }
.nf-tips-hero-count div:first-child { padding-inline-start: 0; }
.nf-offers-empty .nf-house-mark svg { width: clamp(48px, 7vw, 72px); height: clamp(48px, 7vw, 72px); color: var(--nf-primary); }
.nf-cartp-notices { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.nf-cartp-notices p { padding: .9rem 1.1rem; border-inline-start: 2px solid var(--house-quiet); border-radius: 0 var(--nf-radius-sm) var(--nf-radius-sm) 0; background: var(--nf-soft); font-size: 14px; color: #4f525a; }
.nf-cartp-notices p.is-error { border-inline-start-color: var(--nf-red); background: var(--nf-red-soft); }
.nf-cartp { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.nf-cartp-lines > ul { border-top: 1px solid var(--house-line); }
.nf-cartp-line { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--house-line); }
.nf-cartp-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: .75rem; border-radius: var(--nf-radius); background: var(--nf-soft); }
.nf-cartp-media img, .nf-cartp-media svg { width: 100%; height: 100%; object-fit: contain; }
.nf-cartp-info { display: flex; flex-direction: column; min-width: 0; }
.nf-cartp-top { display: flex; justify-content: space-between; gap: 1.25rem; }
.nf-cartp-name { margin-top: .3rem; font-size: 1.15rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--house-ink); }
.nf-cartp-name a:hover { color: var(--nf-primary); }
.nf-cartp-variant { margin-top: .3rem; font-size: 13.5px; color: var(--house-quiet); }
.nf-cartp-stock { display: flex; align-items: center; gap: .45rem; margin-top: .6rem; font-size: 12.5px; font-weight: 500; color: var(--nf-green); }
.nf-cartp-stock::before { content: ""; width: 6px; height: 6px; border-radius: 5px; background: currentColor; }
.nf-cartp-stock.is-low { color: #c27b12; }
.nf-cartp-stock.is-blocked { color: var(--nf-red); }
.nf-cartp-price { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; flex-shrink: 0; text-align: end; }
.nf-cartp-price strong { font-size: 1.2rem; font-weight: 700; color: var(--house-ink); font-variant-numeric: tabular-nums; }
.nf-cartp-price strong.is-sale { color: var(--nf-red); }
.nf-cartp-price small { font-size: 12px; color: var(--house-quiet); }
.nf-cartp-price small.is-saved { font-weight: 600; color: var(--nf-red); }
.nf-cartp-price del { font-size: 12.5px; color: var(--house-quiet); }
.nf-cartp-issue { margin-top: .9rem; padding-inline-start: .8rem; border-inline-start: 2px solid var(--house-line); font-size: 13px; line-height: 1.55; color: #4f525a; }
.nf-cartp-issue.is-error { border-inline-start-color: var(--nf-red); }
.nf-cartp-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.1rem; }
.nf-cartp-qty { height: 42px; }
.nf-cartp-qty button { width: 40px; }
.nf-cartp-qty input { width: 40px; height: 100%; border: 0; background: transparent; text-align: center; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--house-ink); outline: none; -moz-appearance: textfield; appearance: textfield; }
.nf-cartp-qty input::-webkit-inner-spin-button, .nf-cartp-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nf-cartp-remove { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; background: none; border: 0; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--house-quiet); cursor: pointer; transition: color .2s; }
.nf-cartp-remove:hover { color: var(--nf-red); }
.nf-cartp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.nf-cartp-back svg { transform: rotate(180deg); }
.nf-cartp-back:hover svg { transform: rotate(180deg) translateX(3px); }
.nf-cartp-summary { position: sticky; top: 140px; }
.nf-cartp-box { padding: 1.75rem; border-radius: 16px; background: var(--nf-soft); }
.nf-cartp-totals { display: grid; gap: .85rem; margin-top: 1.25rem; }
.nf-cartp-totals div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: 14.5px; }
.nf-cartp-totals dt { color: #4f525a; }
.nf-cartp-totals dd { font-weight: 600; color: var(--house-ink); font-variant-numeric: tabular-nums; }
.nf-cartp-totals dd.is-muted { font-weight: 400; font-size: 13.5px; color: var(--house-quiet); text-align: end; }
.nf-cartp-totals .is-saving dt, .nf-cartp-totals .is-saving dd { color: var(--nf-primary); }
.nf-cartp-totals .is-savings-total { margin-top: .35rem; padding: .6rem .8rem; border-radius: var(--nf-radius-sm); background: var(--nf-primary-soft); }
.nf-cartp-totals .is-savings-total dt, .nf-cartp-totals .is-savings-total dd { font-weight: 700; color: var(--nf-primary); }
.nf-cartp-coupon { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(14,26,41,.1); }
.nf-cartp-coupon label { display: block; }
.nf-cartp-coupon-row { display: flex; gap: .5rem; margin-top: .7rem; }
.nf-cartp-coupon-row input { flex: 1; min-width: 0; height: 44px; padding: 0 1rem; border: 1px solid var(--nf-border); border-radius: 5px; background: #fff; font: inherit; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--house-ink); outline: none; transition: border-color .2s; }
.nf-cartp-coupon-row input:focus { border-color: var(--nf-primary); }
.nf-cartp-coupon-row .nf-btn { min-height: 44px; padding: 0 1.1rem; font-size: 14px; }
.nf-cartp-coupon-on { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nf-cartp-coupon-on p:not(.nf-houses-eyebrow) { margin-top: .4rem; font-size: 14px; color: #4f525a; }
.nf-cartp-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(14,26,41,.1); }
.nf-cartp-total span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--house-ink); }
.nf-cartp-total strong { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; color: var(--house-ink); font-variant-numeric: tabular-nums; }
.nf-cartp-hint { margin-top: .35rem; font-size: 12.5px; color: var(--house-quiet); }
.nf-cartp-free { margin-top: 1rem; font-size: 13px; color: #4f525a; }
.nf-cartp-free.is-reached { color: var(--nf-primary); font-weight: 600; }
.nf-cartp-cta { width: 100%; min-height: 52px; margin-top: 1.5rem; }
.nf-cartp-reassure { display: grid; gap: .6rem; margin-top: 1.25rem; }
.nf-cartp-reassure li { display: flex; align-items: center; gap: .6rem; font-size: 13px; color: #4f525a; }
.nf-cartp-reassure svg { color: var(--nf-primary); }
.nf-cartp-sticky { display: none; }
@media (max-width: 1023px) {
  .nf-cartp { grid-template-columns: minmax(0, 1fr); }
  .nf-cartp-summary { position: static; }
  .nf-cartp-sticky { position: fixed; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem var(--nf-gutter); background: var(--nf-primary); color: #fff; }
  .nf-cartp-sticky small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
  .nf-cartp-sticky strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
  body:has(.nf-cartp-sticky) .nf-footer { padding-bottom: 5rem; }
}
@media (max-width: 639px) {
  .nf-cartp-line { grid-template-columns: 92px minmax(0, 1fr); gap: 1rem; }
  .nf-cartp-top { flex-direction: column; gap: .6rem; }
  .nf-cartp-price { align-items: flex-start; text-align: start; }
}

/* Tailles de texte du design d'origine, relevées d'un cran : elles étaient
   pensées pour une autre police, et paraissaient petites à côté des pages du
   thème. Même échelle pour le compte et le tunnel de commande. */
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-\[10px\] { font-size: 12px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-\[11px\] { font-size: 12.5px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-\[11\.5px\] { font-size: 13px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-\[12px\] { font-size: 13.5px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-\[12\.5px\] { font-size: 14px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-\[13px\] { font-size: 14.5px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-\[13\.5px\] { font-size: 15px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-\[14px\] { font-size: 15.5px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-\[14\.5px\] { font-size: 16px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .text-\[15px\] { font-size: 16.5px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .micro { font-size: 12px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
:is(.nf-account-content, .nf-checkout, .nf-auth) select,
:is(.nf-account-content, .nf-checkout, .nf-auth) textarea { font-size: 16px; }
:is(.nf-account-content, .nf-checkout, .nf-auth) .btn { font-size: 15.5px; }

/* Tunnel de commande */
.nf-ck-steps { display: flex; align-items: center; gap: 1.5rem; counter-reset: none; }
.nf-ck-steps li { display: flex; align-items: center; gap: .55rem; font-size: 13.5px; font-weight: 500; color: var(--house-quiet); }
.nf-ck-steps li + li::before { content: ""; width: 28px; height: 1px; margin-inline-end: .95rem; background: var(--house-line); }
.nf-ck-steps span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 5px; background: var(--nf-soft); font-size: 12.5px; font-weight: 600; color: var(--house-quiet); }
.nf-ck-steps .is-done span { background: var(--nf-primary-soft); color: var(--nf-primary); }
.nf-ck-steps .is-on { color: var(--house-ink); }
.nf-ck-steps .is-on span { background: var(--nf-primary); color: #fff; }
.nf-checkout { padding-bottom: clamp(3rem, 6vw, 5rem); }
.nf-checkout #checkout-form > div { margin-top: 0; }
.nf-checkout legend { width: 100%; }
.nf-checkout legend .font-display { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 5px; background: var(--nf-primary); font-size: 12.5px; font-weight: 600; letter-spacing: 0; color: #fff; }
.nf-checkout legend { align-items: center !important; }
.nf-checkout legend > span:last-child { font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; }
.nf-checkout .ck-option { border-radius: var(--nf-radius); border-color: var(--nf-border); background: #fff; }
.nf-checkout .ck-option:hover { border-color: #b4b7bf; }
.nf-checkout .ck-option.is-on { border-color: var(--nf-primary); background: var(--nf-primary-soft); box-shadow: inset 0 0 0 1px var(--nf-primary); }
.nf-checkout .ck-option .ck-dot { background: var(--nf-primary); }
.nf-checkout .ck-option.is-on .rounded-full.border { border-color: var(--nf-primary); }
.nf-checkout .ck-option:has(input:focus-visible) { outline-color: var(--nf-primary); }
.nf-checkout aside .bg-bone { border-radius: 16px; }
.nf-checkout aside .bg-white { border-radius: var(--nf-radius-sm); }
.nf-checkout [data-checkout-submit] { min-height: 54px; }
.nf-checkout button.border[form] { border-radius: 5px; border-color: var(--nf-border); background: #fff; font-family: var(--nf-font); font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.nf-checkout button.border[form]:hover { border-color: var(--nf-primary); background: var(--nf-primary); color: #fff; }
.nf-checkout [data-checkout-total] { font-weight: 700; letter-spacing: -.02em; }
/* Confirmation : étape 3, accusé de réception en plaque grise. */
.nf-ck-done-steps { display: flex; justify-content: center; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.nf-ck-done { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.nf-checkout .nf-ck-receipt { border: 0; border-radius: 16px; }
.nf-checkout .nf-ck-tick { width: 64px; height: 64px; background: var(--nf-primary); box-shadow: 0 0 0 10px var(--nf-primary-soft); }
.nf-checkout .nf-ck-receipt h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.nf-checkout .nf-ck-receipt .font-display { color: var(--nf-primary); font-weight: 700; }
.nf-ck-done .border.rule:not(.nf-ck-receipt) { border-radius: 16px; overflow: hidden; }
@media (max-width: 1023px) { .nf-ck-steps { margin-top: .5rem; } }
@media (max-width: 639px) { .nf-ck-steps { gap: .75rem; } .nf-ck-steps li + li::before { width: 14px; margin-inline-end: .5rem; } .nf-ck-steps li { font-size: 12.5px; } }

@media (prefers-reduced-motion: reduce) {
  .nf-house, .nf-house-plate::before, .nf-house-mark, .nf-house-go { animation: none; transition: none; }
}
@media (max-width: 1023px) {
  .nf-houses-hero { grid-template-columns: 1fr; }
  .nf-tips-hero-media { aspect-ratio: 16 / 10; }
  .nf-houses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-houses-tools { flex: 1 1 100%; }
  .nf-houses-search { flex: 1; }
  .nf-houses-search input { width: 100%; }
}
@media (max-width: 639px) {
  .nf-houses-stats div { padding: 0 1.1rem; }
  .nf-houses-stats dt { letter-spacing: .12em; font-size: 10.5px; }
  .nf-houses-az { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; }
  .nf-houses-az::-webkit-scrollbar { display: none; }
  .nf-houses-az a, .nf-houses-az span { flex-shrink: 0; }
  .nf-houses-tools { flex-direction: column; align-items: stretch; }
  .nf-houses-rayon .nf-dd-trigger { min-width: 0; }
  .nf-houses-rayon .nf-dd-list { inset-inline-start: 0; width: auto; }
  .nf-houses-grid { grid-template-columns: 1fr; }
  .nf-house-plate { aspect-ratio: 16 / 10; }
  /* Pas de survol au doigt : la flèche reste visible. */
  .nf-house-go { opacity: 1; transform: none; }
}

/* Suggestions de recherche ---------------------------------------------- */
.has-suggest { position: relative; }
.nf-search.has-suggest { overflow: visible; }
.nf-search.has-suggest > button[type="submit"] { border-radius: 0 calc(var(--nf-radius-sm) - 2px) calc(var(--nf-radius-sm) - 2px) 0; }
.nf-suggest { position: absolute; z-index: 60; top: calc(100% + 8px); inset-inline-start: 0; inset-inline-end: 0; max-height: min(70vh, 520px); overflow-y: auto; padding: .4rem; background: #fff; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); box-shadow: 0 18px 40px rgba(14, 26, 41, .14); text-align: start; }
.nf-suggest[hidden] { display: none; }
.nf-suggest-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .5rem .65rem; border-radius: var(--nf-radius-sm); color: var(--nf-text); }
.nf-suggest-item:hover, .nf-suggest-item.is-active { background: var(--nf-soft); }
.nf-suggest-shot { display: grid; place-items: center; width: 48px; height: 48px; }
.nf-suggest-shot > * { max-width: 100%; max-height: 100%; }
.nf-suggest-shot img { width: 100%; height: 100%; object-fit: contain; }
.nf-suggest-text { min-width: 0; }
.nf-suggest-name { display: block; overflow: hidden; font-size: 15px; font-weight: 400; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.nf-suggest-name strong { font-weight: 700; color: var(--nf-primary); }
.nf-suggest-text small { display: block; margin-top: .15rem; font-size: 12.5px; color: var(--nf-muted); }
.nf-suggest-price { text-align: end; white-space: nowrap; }
.nf-suggest-price strong { display: block; font-size: 15px; font-weight: 700; }
.nf-suggest-price del { display: block; font-size: 12.5px; color: var(--nf-muted); }
.nf-suggest-empty { margin: 0; padding: .85rem .65rem; font-size: 14px; color: var(--nf-muted); }
.nf-suggest-all { display: block; width: 100%; margin-top: .3rem; padding: .75rem .65rem; border: 0; border-top: 1px solid var(--nf-border); border-radius: 0; background: none; color: var(--nf-primary); font: inherit; font-size: 14px; font-weight: 600; text-align: start; cursor: pointer; }
.nf-suggest-all:hover { text-decoration: underline; }
.theme-nutrifitness .nf-search .nf-suggest-all { display: block; width: 100%; height: auto; background: none; color: var(--nf-primary); }
.theme-nutrifitness .nf-search .nf-suggest-all:hover { background: none; }

/* Quiz « Quel complément pour moi ? » ------------------------------------ */
.nf-quiz-form { display: grid; gap: clamp(2rem, 4vw, 2.75rem); max-width: 1040px; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.nf-quiz-step { min-width: 0; margin: 0; padding: 0; border: 0; --nf-quiz-indent: calc(44px + 1.1rem); }
.nf-quiz-step > legend { display: flex; align-items: center; gap: 1.1rem; padding: 0; }
.nf-quiz-num { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--nf-border); border-radius: 5px; font-size: 15px; font-weight: 600; color: var(--nf-primary); font-variant-numeric: tabular-nums; }
.nf-quiz-title { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; letter-spacing: -.015em; }
.nf-quiz-title small { margin-inline-start: .5rem; font-size: 13.5px; font-weight: 400; color: var(--nf-muted); }
.nf-quiz-options { display: grid; margin-inline-start: var(--nf-quiz-indent); grid-template-columns: repeat(var(--nf-quiz-cols, 3), minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.nf-quiz-opt { position: relative; display: block; }
.nf-quiz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.nf-quiz-card { position: relative; display: flex; flex-direction: column; gap: .25rem; height: 100%; padding-block: 1rem 1rem; padding-inline-start: 1.1rem; padding-inline-end: 2.75rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.nf-quiz-card strong { font-size: 15.5px; font-weight: 600; color: var(--nf-text); }
.nf-quiz-card span { font-size: 13.5px; line-height: 1.45; color: var(--nf-muted); }
.nf-quiz-card::after { content: ""; position: absolute; top: 1.05rem; inset-inline-end: 1rem; width: 20px; height: 20px; border: 1.5px solid #c9cbd1; border-radius: 5px; background: #fff center / 12px no-repeat; transition: border-color .2s, background-color .2s; }
.nf-quiz-opt input[type="checkbox"] + .nf-quiz-card::after { border-radius: 5px; }
.nf-quiz-card:hover { border-color: var(--nf-primary); }
.nf-quiz-opt input:checked + .nf-quiz-card { border-color: var(--nf-primary); background: var(--nf-primary-soft); box-shadow: inset 0 0 0 1px var(--nf-primary); }
.nf-quiz-opt input:checked + .nf-quiz-card::after { border-color: var(--nf-primary); background-color: var(--nf-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.nf-quiz-opt input:focus-visible + .nf-quiz-card { outline: 2px solid var(--nf-primary); outline-offset: 2px; }
.nf-quiz-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: 1.75rem; border-top: 1px solid var(--nf-border); }
.nf-quiz-submit .nf-btn { min-height: 52px; padding-inline: 2rem; font-size: 16px; }
.nf-quiz-submit p { max-width: 34rem; font-size: 13.5px; line-height: 1.55; color: var(--nf-muted); }

.nf-quiz-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.4rem; }
.nf-quiz-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 .85rem; border-radius: 5px; background: var(--nf-soft); font-size: 13.5px; font-weight: 600; color: #4b4d57; }
.nf-quiz-chip.is-goal { background: var(--nf-primary-soft); color: var(--nf-primary); }
.nf-quiz-edit { margin-inline-start: .35rem; font-size: 14px; font-weight: 600; color: var(--nf-primary); text-decoration: underline; text-underline-offset: 4px; }
.nf-quiz-edit:hover { color: var(--nf-primary-hover); }
.nf-quiz-advice { display: flex; gap: .9rem; max-width: 52rem; margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--nf-radius); background: var(--nf-primary-soft); font-size: 15px; line-height: 1.65; color: #2c3a38; }
.nf-quiz-advice svg { margin-top: .15rem; color: var(--nf-primary); }
.nf-quiz-note { margin-top: .8rem; font-size: 14px; color: var(--nf-muted); }
.nf-quiz-picks .nf-grid { --nf-cols: 4; }
.nf-quiz-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.25rem; padding: 1.1rem 1.4rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); }
.nf-quiz-total p { font-size: 14px; color: var(--nf-muted); }
.nf-quiz-total strong { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; color: var(--nf-text); font-variant-numeric: tabular-nums; }
.nf-quiz-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.4rem 1.6rem; border-radius: var(--nf-radius); background: var(--nf-soft); }
.nf-quiz-help strong { display: block; font-size: 16px; }
.nf-quiz-help p { margin-top: .2rem; font-size: 14px; color: var(--nf-muted); }
.nf-quiz-help .nf-pp-wa { margin-top: 0; padding-inline: 1.5rem; background: #fff; }

/* Encart d'appel vers le quiz */
/* Encart quiz — mise en page éditoriale : photo à gauche, contenu sur fond clair */
.nf-quiz-cta {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  overflow: hidden; border: 1px solid var(--nf-border); border-radius: calc(var(--nf-radius) * 1.8);
  background: #f7f6f2;
}
.nf-quiz-cta-media { position: relative; min-height: 100%; margin: 0; background: #14161a; }
.nf-quiz-cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.nf-quiz-cta:hover .nf-quiz-cta-media img { transform: scale(1.03); }
.nf-quiz-cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,26,0) 45%, rgba(20,22,26,.55) 100%); }
.nf-quiz-cta-badge {
  position: absolute; z-index: 1; inset-inline-start: clamp(1rem, 2.4vw, 1.75rem); bottom: clamp(1rem, 2.4vw, 1.75rem);
  display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem;
  border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(20,22,26,.42); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nf-quiz-cta-badge strong { font-size: 1.6rem; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.nf-quiz-cta-badge span { padding-inline-start: .9rem; border-inline-start: 1px solid rgba(255,255,255,.3); font-size: 12px; line-height: 1.45; letter-spacing: .02em; color: rgba(255,255,255,.82); }

.nf-quiz-cta-body { padding: clamp(2rem, 5vw, 4.25rem) clamp(1.5rem, 5vw, 4.5rem); }
.nf-quiz-cta-eyebrow { display: flex; align-items: center; gap: .75rem; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--nf-primary); }
.nf-quiz-cta-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.nf-quiz-cta h2 { margin-top: 1.2rem; max-width: 16ch; font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; color: #14161a; text-wrap: balance; }
.nf-quiz-cta h2 span { display: block; font-weight: 300; color: var(--nf-primary); }
.nf-quiz-cta-lead { margin-top: 1.1rem; max-width: 33rem; font-size: 16px; font-weight: 300; line-height: 1.7; color: #555861; }

.nf-quiz-cta-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2rem; border-top: 1px solid #e2e0d8; }
.nf-quiz-cta-steps li { display: flex; flex-direction: column; gap: .35rem; padding-block: 1rem 0; padding-inline-start: 0; padding-inline-end: 1rem; font-size: 14.5px; font-weight: 600; color: #14161a; }
.nf-quiz-cta-steps li + li { padding-inline-start: 1rem; border-inline-start: 1px solid #e2e0d8; }
.nf-quiz-cta-steps li span { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: #a3a6ad; }

.nf-quiz-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.75rem; margin-top: 2.1rem; }
.nf-quiz-cta-btn { min-height: 52px; padding-inline: 1.8rem 1.55rem; font-size: 15.5px; }
.nf-quiz-cta-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; font-size: 13.5px; color: var(--nf-muted); }
.nf-quiz-cta-shortcuts a { color: #14161a; font-weight: 500; text-decoration: underline; text-decoration-color: #cfcdc4; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.nf-quiz-cta-shortcuts a:hover { color: var(--nf-primary); text-decoration-color: var(--nf-primary); }

@media (prefers-reduced-motion: reduce) { .nf-quiz-cta-media img { transition: none; } }

/* Packs par objectif */
.nf-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.nf-packs-card { display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid var(--nf-border); border-radius: var(--nf-radius); background: #fff; transition: border-color .2s; }
.nf-packs-card:hover { border-color: #cfd1d6; }
.nf-packs-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.nf-packs-goal { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--nf-muted); }
.nf-packs-goal:hover { color: var(--nf-primary); }
.nf-packs-card h3 { margin-top: .3rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.nf-packs-desc { margin-top: .5rem; font-size: 14px; line-height: 1.6; color: var(--nf-muted); }
.nf-packs-lines { margin-top: 1rem; border-top: 1px solid var(--nf-border); }
.nf-packs-lines li { display: flex; align-items: center; gap: .8rem; padding: .65rem 0; border-bottom: 1px solid var(--nf-border); }
.nf-packs-shot { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; overflow: hidden; border-radius: var(--nf-radius-sm); background: #fafafa; font-size: 11px; font-weight: 700; color: var(--nf-muted); }
.nf-packs-shot img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.nf-packs-name { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; }
.nf-packs-name a { font-weight: 600; color: var(--nf-text); }
.nf-packs-name a:hover { color: var(--nf-primary); }
.nf-packs-name small { display: block; font-size: 12.5px; color: var(--nf-muted); }
.nf-packs-name small.is-out { font-weight: 600; color: var(--nf-red); }
.nf-packs-line-price { flex-shrink: 0; font-size: 13.5px; color: #4b4d57; font-variant-numeric: tabular-nums; }
.nf-packs-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.nf-packs-price del { display: block; font-size: 13.5px; color: var(--nf-muted); }
.nf-packs-price strong { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nf-packs-saved { font-size: 13.5px; font-weight: 600; color: var(--nf-green); text-align: end; }
.nf-packs-coupon { margin-top: .3rem; font-size: 12.5px; color: var(--nf-muted); }
.nf-packs-action { margin-top: auto; padding-top: 1.1rem; }
.nf-packs-action .nf-btn { width: 100%; min-height: 48px; }
.nf-packs-out { padding: .9rem; border-radius: 5px; background: var(--nf-soft); text-align: center; font-size: 14px; font-weight: 600; color: var(--nf-muted); }

/* Compte à rebours d'une remise de pack datée, et sa barre de temps restant. */
.nf-pack-timer { margin-top: .9rem; padding: .75rem 0 0; }
.nf-pack-timer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .75rem; }
.nf-pack-timer-label { display: inline-flex; align-items: center; gap: .4rem; font-size: 13px; font-weight: 600; color: var(--nf-text); }
.nf-pack-timer-label svg { width: 16px; height: 16px; color: var(--nf-red); }
.nf-pack-timer-date { font-size: 13px; font-weight: 600; color: var(--nf-text); }
.nf-pack-timer-units { display: flex; gap: .25rem; }
.nf-pack-timer-units[hidden], .nf-pack-timer-date[hidden] { display: none; }
.nf-pack-timer-units > span { display: flex; align-items: baseline; gap: .1rem; padding: .2rem .4rem; border: 1px solid var(--nf-border); border-radius: 7px; background: #fff; }
.nf-pack-timer-units b { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--nf-text); }
.nf-pack-timer-units small { font-size: 10.5px; font-weight: 500; color: var(--nf-muted); }
.nf-pack-timer.is-over .nf-pack-timer-date { color: var(--nf-muted); }
.nf-pack-timer-bar { display: block; height: 6px; margin-top: .65rem; border-radius: 999px; background: #e3e5e8; overflow: hidden; }
.nf-pack-timer-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--nf-red); transition: width 1s linear; }
.nf-pod-timer-bar { flex-basis: 100%; margin-top: 0; }
.is-over .nf-pack-timer-bar > span { width: 0 !important; }
@media (prefers-reduced-motion: reduce) { .nf-pack-timer-bar > span { transition: none; } }

@media (max-width: 1023px) {
  .nf-quiz-options { --nf-quiz-cols: 2; }
  .nf-quiz-picks .nf-grid { --nf-cols: 3; }
  .nf-quiz-cta { grid-template-columns: 1fr; }
  .nf-quiz-cta-media { min-height: 0; aspect-ratio: 16 / 9; }
  .nf-quiz-cta h2 { max-width: 20ch; }
  .nf-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .nf-quiz-step { --nf-quiz-indent: 0px; }
  .nf-quiz-step > legend { gap: .8rem; }
  .nf-quiz-num { width: 36px; height: 36px; font-size: 14px; }
  .nf-quiz-options { --nf-quiz-cols: 1; }
  .nf-quiz-picks .nf-grid { --nf-cols: 2; }
  .nf-quiz-submit .nf-btn { width: 100%; }
  .nf-quiz-cta { border-radius: var(--nf-radius); }
  .nf-quiz-cta-media { aspect-ratio: 4 / 3; }
  .nf-quiz-cta-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-quiz-cta-steps li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .nf-quiz-cta-btn { width: 100%; }
  .nf-packs { grid-template-columns: 1fr; }
}

/* Offre « Pour aller plus loin » (offert, −%, −DH avec le produit principal) */
.nf-pp-further-offer { display: inline-flex; align-items: baseline; gap: .35rem; width: fit-content; margin-top: .2rem; padding: .15rem .55rem; border-radius: 5px; background: var(--nf-red-soft); color: var(--nf-red); font-size: 12.5px; font-weight: 700; }
.nf-pp-further-offer small { display: inline; margin: 0; font-size: inherit; line-height: inherit; font-weight: 500; color: var(--nf-red); opacity: .85; }
.nf-pp-further-price .is-offer { color: var(--nf-red); }

/* ==========================================================================
   CONSEILS NUTRITION — liste et lecture d'un article
   ========================================================================== */
.nf-posts-all { row-gap: 2.5rem; }
/* La page Conseils montre tous les articles : pas de masquage du 3ᵉ comme sur l'accueil. */
.nf-posts.nf-posts-all > :nth-child(3) { display: flex; }
.nf-post h2 { margin-top: .35rem; font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; transition: color .2s; }
.nf-post:hover h2 { color: var(--nf-primary); }

.nf-article-head { max-width: 52rem; padding-top: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.nf-article-head h1 { margin-top: 1rem; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; color: #14161a; text-wrap: balance; }
.nf-article-lead { margin-top: 1rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 300; line-height: 1.55; color: #555861; }
.nf-article-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; font-size: 13px; color: var(--nf-muted); }
.nf-article-cover { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--nf-radius); background: var(--nf-soft); }
.nf-article-cover img { width: 100%; height: 100%; object-fit: cover; }

.nf-article-layout { display: grid; grid-template-columns: 240px minmax(0, 46rem); justify-content: center; gap: clamp(2rem, 5vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(1rem, 3vw, 2rem); }
.nf-article-toc { position: sticky; top: 110px; align-self: start; }
.nf-article-toc-title { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--nf-muted); }
.nf-article-toc ol { margin-top: .9rem; border-inline-start: 1px solid var(--nf-border); }
.nf-article-toc li a { display: block; padding-block: .4rem .4rem; padding-inline-start: 1rem; padding-inline-end: 0; margin-inline-start: -1px; border-inline-start: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--nf-muted); transition: color .2s, border-color .2s; }
.nf-article-toc li a:hover { color: var(--nf-primary); border-inline-start-color: var(--nf-primary); }

.nf-article-body { font-size: 17px; line-height: 1.75; color: #2a2c33; }
.nf-article-body > * + * { margin-top: 1.15rem; }
.nf-article-body > h2 { margin-top: 2.6rem; scroll-margin-top: 110px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: #14161a; }
.nf-article-body > ul { padding-inline-start: 1.25rem; list-style: disc; }
.nf-article-body > ul > li + li { margin-top: .55rem; }
.nf-article-body > ul > li::marker { color: var(--nf-primary); }
.nf-article-body > p a, .nf-article-body > ul a, .nf-article-tip a { color: var(--nf-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.nf-article-body > p a:hover, .nf-article-body > ul a:hover, .nf-article-tip a:hover { color: var(--nf-primary-hover); }
.nf-article-body > p strong, .nf-article-body > ul strong { font-weight: 600; color: #14161a; }

.nf-article-tip { margin-block: 1.75rem; padding: 1.1rem 1.3rem; border-inline-start: 3px solid var(--nf-primary); border-radius: 0 var(--nf-radius-sm) var(--nf-radius-sm) 0; background: color-mix(in srgb, var(--nf-primary-soft) 70%, transparent); }
.nf-article-tip-title { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--nf-primary); }
.nf-article-tip p + p { margin-top: .35rem; }

.nf-article-products { margin-block: 2rem; }
.nf-article-products-title { margin-bottom: .9rem; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--nf-muted); }
.nf-article-products .nf-grid { --nf-cols: var(--nf-fit); font-size: 15px; line-height: 1.45; }

.nf-article-share { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--nf-border); }
.nf-article-share .nf-share { margin-top: 0; }
.nf-article-disclaimer { margin-top: 2.75rem !important; padding-top: 1.25rem; border-top: 1px solid var(--nf-border); font-size: 13px; line-height: 1.65; color: var(--nf-muted); }

@media (max-width: 1023px) {
  .nf-article-layout { grid-template-columns: minmax(0, 1fr); }
  .nf-article-toc { position: static; padding: 1rem 1.2rem; border-radius: var(--nf-radius-sm); background: var(--nf-soft); }
  .nf-article-toc ol { border-inline-start: 0; }
  .nf-article-toc li a { padding-inline-start: 0; border-inline-start: 0; }
}
@media (max-width: 639px) {
  .nf-article-body { font-size: 16px; }
  .nf-article-cover { aspect-ratio: 16 / 10; }
  .nf-article-products .nf-grid { --nf-cols: 2; }
}

/* Page catégorie : les chiffres occupent la colonne de droite. */
.nf-house-hero .nf-houses-stats.is-aside { margin-top: 0; justify-self: end; }
@media (max-width: 900px) { .nf-house-hero .nf-houses-stats.is-aside { justify-self: start; } }

/* Connexion : formulaire à gauche, plaque verte des avantages à droite. */
.nf-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2.5rem, 6vw, 6rem); align-items: stretch; padding-top: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.nf-auth-form { width: 100%; max-width: 30rem; }
.nf-auth h1 { margin-top: 1.25rem; font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; color: var(--house-ink); }
.nf-auth h1 span { color: var(--nf-primary); }
.nf-auth-flash:not(:empty) { margin-top: 0; }
.nf-auth-fields { display: grid; gap: 1.75rem; margin-top: 2.25rem; }
.nf-auth-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.nf-auth-link { font-size: 13px; color: var(--house-quiet); text-decoration: underline; text-underline-offset: 4px; transition: color .2s; }
.nf-auth-link:hover { color: var(--nf-primary); }
.nf-auth-submit { width: 100%; min-height: 50px; font-size: 15px; }
.nf-auth-switch { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--house-line); font-size: 14px; color: var(--house-quiet); }
.nf-auth-switch a { margin-inline-start: .25rem; font-weight: 500; color: var(--house-ink); text-decoration: underline; text-underline-offset: 4px; transition: color .2s; }
.nf-auth-switch a:hover { color: var(--nf-primary); }

.nf-auth-panel { display: flex; flex-direction: column; gap: 2rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--nf-radius); background: var(--nf-primary); color: #fff; }
.nf-auth-panel-top { display: flex; justify-content: space-between; gap: 1rem; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--nf-muted); }
.nf-auth-panel-title { margin-top: auto; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.nf-auth-panel ul { display: grid; gap: 0; }
.nf-auth-panel li { display: flex; gap: .9rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.nf-auth-panel li svg { margin-top: 2px; color: rgba(255,255,255,.75); }
.nf-auth-panel li strong { display: block; font-size: 15px; font-weight: 500; }
.nf-auth-panel li span { display: block; margin-top: .2rem; font-size: 13.5px; font-weight: 300; line-height: 1.5; color: rgba(255,255,255,.72); }

@media (max-width: 900px) {
  .nf-auth { grid-template-columns: 1fr; }
  .nf-auth-form { max-width: none; }
  .nf-auth-panel-title { margin-top: 0; }
}

/* Inscription : mêmes bases que la connexion. */
.nf-auth-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
@media (max-width: 560px) { .nf-auth-pair { grid-template-columns: 1fr; } }
.nf-auth-consent { display: grid; gap: 1.25rem; padding-top: 1.75rem; border-top: 1px solid var(--house-line); }
.nf-auth-referral { margin-top: 1.75rem; padding: .85rem 1rem; border-inline-start: 2px solid var(--nf-primary); border-radius: 0 var(--nf-radius-sm) var(--nf-radius-sm) 0; background: var(--nf-soft); font-size: 14px; line-height: 1.6; color: #4f525a; }
.nf-auth-referral strong { font-weight: 500; color: var(--house-ink); }

/* Mot de passe oublié, réinitialisation, vérification de l'adresse. */
.nf-auth-note { margin-top: 1.75rem; font-size: 12.5px; line-height: 1.65; color: var(--house-quiet); }
.nf-auth-note strong { font-weight: 500; color: var(--house-ink); }
.nf-auth-switch a.nf-auth-back { margin-block: 0 0; margin-inline-start: 0; margin-inline-end: 1.5rem; font-weight: 400; color: var(--house-quiet); }
.nf-auth-switch a.nf-auth-back:hover { color: var(--nf-primary); }
.nf-auth-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.nf-auth-form .nf-houses-lead + .nf-auth-fields, .nf-auth-form .nf-auth-referral + .nf-houses-lead { margin-top: 1.5rem; }

/* Sans encadré vert : le formulaire occupe seul la page. */
.nf-auth.is-single { grid-template-columns: minmax(0, 1fr); }
.nf-auth.is-single .nf-auth-form { max-width: 34rem; margin-inline: auto; }

/* Pied de page sombre (réglage Apparence : .nf-footer-dark) : fond de la teinte principale, texte blanc. */
.nf-footer.nf-footer-dark { background: var(--nf-primary); color: #fff; border-top: 0; }
.nf-footer-dark .nf-footer-features, .nf-footer-dark .nf-footer-bottom { border-color: rgba(255,255,255,.14); }
.nf-footer-dark .nf-footer-features svg, .nf-footer-dark .nf-footer-contact svg { color: #fff; }
.nf-footer-dark .nf-footer-about p, .nf-footer-dark .nf-footer-col a, .nf-footer-dark .nf-footer-bottom .nf-container { color: rgba(255,255,255,.7); }
.nf-footer-dark .nf-footer-col a:hover { color: #fff; }
.nf-footer-dark .nf-footer-col h4 { color: #fff; }
.nf-footer-dark .nf-logo, .nf-footer-dark .nf-footer-contact a, .nf-footer-dark .nf-footer-contact span, .nf-footer-dark .nf-footer-features li { color: #fff; }
.nf-footer-dark .nf-legal a { color: rgba(255,255,255,.7); }
.nf-footer-dark .nf-legal a:hover { color: #fff; }

/* Couleur d'accent — réglage Apparence « secondaire » : la teinte secondaire
   (--nf-secondary) prend la place de la principale partout où le thème la
   lit : boutons, fonds, liens, pied de page, focus. */
body.nf-accent-secondary {
  --nf-primary: var(--nf-secondary);
  --nf-primary-hover: #070f19;
  --nf-primary-soft: #e7ebf0;
}

/* ==========================================================================
   Version arabe (/ar) — page de droite à gauche
   Flex, grille et propriétés logiques (padding-inline-start, inset-inline-
   end…) se retournent seuls avec dir="rtl" ; ne sont repris ici que les
   éléments que des classes Tailwind ou des transformations placent à la main.
   ========================================================================== */
body.nf-rtl { --nf-font: "Fira Sans", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif; }
[dir="rtl"] .nf-flip { transform: scaleX(-1); }
[dir="rtl"] .nf-breadcrumb-sep svg { transform: rotate(90deg); }
[dir="rtl"] bdi { unicode-bidi: isolate; }
/* Tiroirs : le menu s'ouvre depuis la droite, le panier depuis la gauche. */
[dir="rtl"] #drawer.nf-drawer { left: auto; right: 0; }
[dir="rtl"] .nf-drawer.drawer { transform: translateX(100%); }
[dir="rtl"] #cart-drawer.drawer { right: auto; left: 0; transform: translateX(-100%); }
[dir="rtl"] .nf-drawer.drawer.is-open,
[dir="rtl"] #cart-drawer.drawer.is-open { transform: none; }
/* Un élément caché hors écran ne doit jamais ouvrir de défilement horizontal. */
[dir="rtl"] body { overflow-x: clip; }

/* Menus d onglets : pas de glissement horizontal sur grand ecran (rien a defiler) */
@media (min-width: 1200px) {
  .nf-pp-tabs, .nf-house-tabs { overflow: hidden; }
}

/* Page catégorie avec photo : l'image garde le format 3:2 de la photo, sans rognage des produits */
.nf-house-hero.has-photo .nf-tips-hero-media { aspect-ratio: 3 / 2; }
.nf-house-hero.has-photo .nf-tips-hero-media img { object-position: 50% 50%; }

/* Plaque de catégorie avec photo : la photo remplit la plaque, le nom reste sous l'image (titre du bloc) */
.nf-house-plate.has-photo { background: #1a1b20; }
.nf-house-plate.has-photo::before { display: none; }
.nf-house-plate.has-photo .nf-house-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.nf-house-plate.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 32%, transparent 62%, rgba(0, 0, 0, .6)); }
.nf-house-plate.has-photo .nf-house-mark { display: none; }
.nf-house-plate.has-photo .nf-house-top, .nf-house-plate.has-photo .nf-house-bottom { color: rgba(255, 255, 255, .85); }
.nf-house:hover .nf-house-plate.has-photo .nf-house-photo, .nf-house:focus-within .nf-house-plate.has-photo .nf-house-photo { transform: scale(1.04); }
.nf-house-plate.has-photo .nf-house-go { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .nf-house-plate.has-photo .nf-house-photo { transition: none; } }

/* Page catégorie avec photo, version mobile : une seule colonne (la règle .nf-tips-hero, plus bas dans le fichier, remettait deux colonnes) */
@media (max-width: 1023px) {
  .nf-house-hero.has-photo { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .nf-house-hero.has-photo .nf-tips-hero-count { inset-inline-start: .6rem; bottom: .6rem; padding: .55rem .8rem; max-width: calc(100% - 1.2rem); }
  .nf-house-hero.has-photo .nf-tips-hero-count dd { font-size: 1.5rem; }
  .nf-house-hero.has-photo .nf-tips-hero-count div { padding: 0 .7rem; }
}

/* Mobile : la photo se place entre le sous-titre et la description (le bloc texte est « dissous » pour ordonner ses éléments) */
@media (max-width: 1023px) {
  .nf-house-hero.has-photo { row-gap: 0; grid-template-columns: minmax(0, 1fr); }
  .nf-house-hero.has-photo .nf-house-hero-text { display: contents; }
  .nf-house-hero.has-photo .nf-tips-hero-media { order: 1; margin-top: 1.75rem; }
  .nf-house-hero.has-photo .nf-house-hero-note { order: 2; margin-top: 1.75rem; max-width: none; }
}

/* Diapositive photo sans voile clair à gauche (photo de pack : le premier produit ne doit pas être délavé) */
.nf-slide-media.is-photo.is-flat::before { display: none; }
/* Photo de pack détourée (fond transparent) : elle prend la couleur de la diapositive ; montrée en entier, avec une ombre portée douce */
.nf-slide-media.is-photo.is-flat { padding: 1rem 1.5rem; }
.nf-slide-media.is-photo.is-flat img { object-fit: contain; object-position: 50% 50%; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .2)); }
@media (max-width: 1023px) {
  .nf-slide-media.is-photo.is-flat { padding: 1rem 1rem 0; }
  .nf-slide-media.is-photo.is-flat img { height: clamp(240px, 64vw, 400px); }
}
