/* ==========================================================================
   GECKO.RE — Système de design (front-office)
   Étape 2 — Fondations : tokens, base, composants
   Style : moderne & épuré, mobile-first
   Typographie : Poppins (titres) + Inter (texte)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS — variables de design
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque ---------------------------------------------------- */
  --gk-forest:        #003713;   /* vert foncé — identité, texte fort        */
  --gk-forest-600:    #0c5226;   /* vert foncé éclairci — survols            */
  --gk-forest-300:    #6f8a78;   /* vert grisé — éléments discrets           */
  --gk-lime:          #93a206;   /* vert lime — accent de marque             */
  --gk-lime-600:      #7c8a05;   /* lime assombri — survols                  */
  --gk-lime-300:      #c6d44b;   /* lime clair — lueurs, états actifs        */
  --gk-lime-wash:     #f1f4d8;   /* lime très pâle — fonds, surlignage       */

  /* Accent chaud (réductions, urgence) ------------------------------------ */
  --gk-coral:         #ff5436;   /* corail — badges promo, compte à rebours  */
  --gk-coral-600:     #e63e22;
  --gk-coral-wash:    #ffe6e0;

  /* Neutres --------------------------------------------------------------- */
  --gk-ink:           #19211a;   /* texte principal (noir verdâtre)          */
  --gk-slate:         #586054;   /* texte secondaire                         */
  --gk-mist:          #8b9189;   /* texte tertiaire, placeholders            */
  --gk-line:          #e7e8e0;   /* bordures                                 */
  --gk-cloud:         #f2f3ec;   /* fond alterné, surfaces secondaires       */
  --gk-paper:         #faf9f4;   /* fond de page (blanc cassé chaud)         */
  --gk-white:         #ffffff;   /* surfaces, cartes                         */
gk-hero__text
  /* Typographie ----------------------------------------------------------- */
  --gk-font-display:  'Poppins', 'Segoe UI', system-ui, sans-serif;
  --gk-font-body:     'Inter', 'Segoe UI', system-ui, sans-serif;

  --gk-text-xs:   0.75rem;     /* 12px */
  --gk-text-sm:   0.8125rem;   /* 13px */
  --gk-text-base: 0.9375rem;   /* 15px */
  --gk-text-md:   1.0625rem;   /* 17px */
  --gk-text-lg:   clamp(1.125rem, 1.0rem + 0.6vw, 1.3125rem);
  --gk-text-xl:   clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
  --gk-text-2xl:  clamp(1.75rem, 1.4rem + 1.7vw, 2.5rem);
  --gk-text-3xl:  clamp(2.25rem, 1.7rem + 2.6vw, 3.5rem);

  --gk-leading-tight: 1.15;
  --gk-leading-snug:  1.35;
  --gk-leading-base:  1.6;

  /* Espacements (base 4px) ------------------------------------------------ */
  --gk-s1:  0.25rem;  --gk-s2:  0.5rem;   --gk-s3: 0.75rem;
  --gk-s4:  1rem;     --gk-s5:  1.5rem;   --gk-s6: 2rem;
  --gk-s7:  3rem;     --gk-s8:  4rem;     --gk-s9: 6rem;

  /* Rayons ---------------------------------------------------------------- */
  --gk-radius-sm:   8px;
  --gk-radius:      14px;
  --gk-radius-lg:   22px;
  --gk-radius-pill: 999px;

  /* Ombres ---------------------------------------------------------------- */
  --gk-shadow-sm: 0 1px 2px rgba(0, 55, 19, 0.06),
                  0 2px 6px rgba(0, 55, 19, 0.05);
  --gk-shadow:    0 8px 24px -10px rgba(0, 55, 19, 0.20);
  --gk-shadow-lg: 0 22px 48px -16px rgba(0, 55, 19, 0.28);

  /* Divers ---------------------------------------------------------------- */
  --gk-container: 1180px;
  --gk-ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --gk-ring:      0 0 0 4px rgba(147, 162, 6, 0.28);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--gk-font-body);
  font-size: var(--gk-text-base);
  line-height: var(--gk-leading-base);
  color: var(--gk-ink);
  background: var(--gk-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--gk-forest); text-decoration: none; }
a:hover { color: var(--gk-lime-600); }

button, input, select, textarea { font: inherit; color: inherit; }

ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: none;
  box-shadow: var(--gk-ring);
  border-radius: var(--gk-radius-sm);
}

::selection { background: var(--gk-lime-300); color: var(--gk-forest); }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHIE
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--gk-font-display);
  font-weight: 600;
  line-height: var(--gk-leading-tight);
  color: var(--gk-forest);
  letter-spacing: -0.015em;
}

.gk-display { font-size: var(--gk-text-3xl); font-weight: 700; }
.gk-h1      { font-size: var(--gk-text-2xl); }
.gk-h2      { font-size: var(--gk-text-xl); }
.gk-h3      { font-size: var(--gk-text-lg); }

.gk-lead {
  font-size: var(--gk-text-md);
  line-height: var(--gk-leading-snug);
  color: var(--gk-slate);
}

.gk-eyebrow {
  font-family: var(--gk-font-display);
  font-size: var(--gk-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gk-lime-600);
}

.gk-muted { color: var(--gk-slate); }
.gk-small { font-size: var(--gk-text-sm); }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.gk-container {
  width: 100%;
  max-width: var(--gk-container);
  margin-inline: auto;
  padding-inline: var(--gk-s4);
}

.gk-section { padding-block: var(--gk-s7); }

.gk-stack > * + * { margin-top: var(--gk-s4); }

.gk-grid { display: grid; gap: var(--gk-s5); }
.gk-grid--cards {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.gk-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gk-s4);
  margin-bottom: var(--gk-s5);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   5. BOUTONS
   -------------------------------------------------------------------------- */
.gk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gk-s2);
  padding: 0.7rem 1.35rem;
  font-family: var(--gk-font-display);
  font-size: var(--gk-text-base);
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: var(--gk-radius-pill);
  cursor: pointer;
  transition: transform 0.18s var(--gk-ease),
              background 0.18s var(--gk-ease),
              box-shadow 0.18s var(--gk-ease),
              color 0.18s var(--gk-ease);
}
.gk-btn:active { transform: translateY(1px) scale(0.99); }

.gk-btn--primary {
  background: var(--gk-forest);
  color: var(--gk-white);
  box-shadow: var(--gk-shadow-sm);
}
.gk-btn--primary:hover {
  background: var(--gk-forest-600);
  color: var(--gk-white);
  box-shadow: var(--gk-shadow);
  transform: translateY(-2px);
}

.gk-btn--accent {
  background: var(--gk-lime);
  color: var(--gk-forest);
  box-shadow: var(--gk-shadow-sm);
}
.gk-btn--accent:hover {
  background: var(--gk-lime-300);
  color: var(--gk-forest);
  box-shadow: var(--gk-shadow);
  transform: translateY(-2px);
}

.gk-btn--outline {
  background: transparent;
  color: var(--gk-forest);
  border-color: var(--gk-line);
}
.gk-btn--outline:hover {
  border-color: var(--gk-forest);
  background: var(--gk-white);
  color: var(--gk-forest);
}

.gk-btn--ghost {
  background: transparent;
  color: var(--gk-forest);
  padding-inline: 0.6rem;
}
.gk-btn--ghost:hover { color: var(--gk-lime-600); }

.gk-btn--lg { padding: 0.95rem 1.85rem; font-size: var(--gk-text-md); }
.gk-btn--sm { padding: 0.5rem 0.95rem; font-size: var(--gk-text-sm); }
.gk-btn--block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   6. BADGES & TAGS
   -------------------------------------------------------------------------- */
.gk-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.3rem 0.7rem;
  font-family: var(--gk-font-display);
  font-size: var(--gk-text-xs);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--gk-radius-pill);
  white-space: nowrap;
}
.gk-badge--zone   { background: var(--gk-lime-wash); color: var(--gk-forest); }
.gk-badge--cat    { background: var(--gk-cloud);     color: var(--gk-slate);  }
.gk-badge--new    { background: var(--gk-forest);    color: var(--gk-white);  }
.gk-badge--soon   { background: var(--gk-coral-wash);color: var(--gk-coral-600); }

/* Pastille de réduction — élément signature */
.gk-promo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  padding: 0.45rem 0.55rem;
  font-family: var(--gk-font-display);
  font-weight: 700;
  line-height: 1;
  color: var(--gk-white);
  background: var(--gk-coral);
  border-radius: var(--gk-radius-sm);
  box-shadow: 0 6px 14px -5px rgba(255, 84, 54, 0.6);
  transform: rotate(-4deg);
}
.gk-promo strong { font-size: var(--gk-text-lg); }
.gk-promo span   { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }

/* Puce de filtre */
.gk-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.45rem 0.9rem;
  font-size: var(--gk-text-sm);
  font-weight: 500;
  color: var(--gk-slate);
  background: var(--gk-white);
  border: 1.5px solid var(--gk-line);
  border-radius: var(--gk-radius-pill);
  cursor: pointer;
  transition: all 0.16s var(--gk-ease);
}
.gk-chip:hover { border-color: var(--gk-forest-300); color: var(--gk-forest); }
.gk-chip[aria-pressed="true"],
.gk-chip.is-active {
  background: var(--gk-forest);
  border-color: var(--gk-forest);
  color: var(--gk-white);
}

/* --------------------------------------------------------------------------
   7. FORMULAIRES
   -------------------------------------------------------------------------- */
.gk-field { display: flex; flex-direction: column; gap: 0.4rem; }

.gk-label {
  font-family: var(--gk-font-display);
  font-size: var(--gk-text-sm);
  font-weight: 600;
  color: var(--gk-forest);
}

.gk-input, .gk-select, .gk-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--gk-text-base);
  color: var(--gk-ink);
  background: var(--gk-white);
  border: 1.5px solid var(--gk-line);
  border-radius: var(--gk-radius-sm);
  transition: border-color 0.16s var(--gk-ease), box-shadow 0.16s var(--gk-ease);
}
.gk-input::placeholder, .gk-textarea::placeholder { color: var(--gk-mist); }
.gk-input:focus, .gk-select:focus, .gk-textarea:focus {
  border-color: var(--gk-lime);
  box-shadow: var(--gk-ring);
}
.gk-textarea { min-height: 7rem; resize: vertical; }

.gk-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23586054' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

/* Barre de recherche géolocalisée */
.gk-search {
  display: flex;
  align-items: center;
  gap: var(--gk-s2);
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  background: var(--gk-white);
  border: 1.5px solid var(--gk-line);
  border-radius: var(--gk-radius-pill);
  box-shadow: var(--gk-shadow-sm);
}
.gk-search:focus-within { border-color: var(--gk-lime); box-shadow: var(--gk-ring); }
.gk-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.5rem 0;
}
.gk-search input:focus { outline: none; }

/* --------------------------------------------------------------------------
   8. CARTES
   -------------------------------------------------------------------------- */
/* Carte générique — utilisable directement comme lien <a> (carte cliquable) */
.gk-card {
  display: flex;
  flex-direction: column;
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  overflow: hidden;
  color: var(--gk-ink);
  transition: transform 0.22s var(--gk-ease), box-shadow 0.22s var(--gk-ease);
}
.gk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gk-shadow);
}
.gk-card:hover .gk-card__title { color: var(--gk-lime-600); }

.gk-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gk-cloud);
  overflow: hidden;
}
.gk-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--gk-ease);
}
.gk-card:hover .gk-card__media img:not(.gk-cover) { transform: scale(1.04); }

.gk-card__float {
  position: absolute;
  top: var(--gk-s3);
  left: var(--gk-s3);
  display: flex;
  gap: var(--gk-s2);
  z-index: 4;
}
.gk-card__float--right { left: auto; right: var(--gk-s3); }

.gk-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--gk-s2);
  padding: var(--gk-s4);
  flex: 1;
}
.gk-card__title {
  font-family: var(--gk-font-display);
  font-size: var(--gk-text-md);
  font-weight: 600;
  line-height: var(--gk-leading-snug);
  color: var(--gk-forest);
  transition: color 0.18s var(--gk-ease);
}
.gk-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--gk-text-sm);
  color: var(--gk-slate);
}
.gk-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gk-s3);
  margin-top: auto;
  padding-top: var(--gk-s3);
  border-top: 1px solid var(--gk-line);
}
.gk-card__foot--actions .gk-btn { flex: 1; }

.gk-price { font-family: var(--gk-font-display); font-weight: 700; color: var(--gk-forest); }
.gk-price s { color: var(--gk-mist); font-weight: 500; font-size: 0.85em; }

/* Pastille commerçant — logo + nom, en tête de carte */
.gk-merchant-stamp { display: flex; align-items: center; gap: 0.5rem; }
.gk-merchant-stamp__logo {
  width: 30px; height: 30px; flex: none;
  border-radius: 8px;
  border: 1px solid var(--gk-line);
  background: var(--gk-cloud);
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--gk-font-display);
  font-weight: 700; font-size: 0.8rem;
  color: var(--gk-forest);
}
.gk-merchant-stamp__name {
  font-family: var(--gk-font-display);
  font-weight: 600;
  font-size: var(--gk-text-sm);
  color: var(--gk-slate);
}
.gk-merchant-stamp__logo img,
.gk-merchant-box__logo img,
.gk-marquee__mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Tuile logo — annuaire commerçants, en l'absence de photo */
.gk-card__logobox {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: var(--gk-lime-wash);
  font-family: var(--gk-font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--gk-forest);
}

/* Échéance — « expire dans X jours » */
.gk-expiry {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--gk-text-sm);
  font-weight: 500;
  color: var(--gk-slate);
}
.gk-expiry--soon { color: var(--gk-coral-600); }

/* Repère d'action d'une carte entièrement cliquable */
.gk-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--gk-font-display);
  font-weight: 600;
  font-size: var(--gk-text-sm);
  color: var(--gk-forest);
  transition: color 0.18s var(--gk-ease), gap 0.18s var(--gk-ease);
}
.gk-card:hover .gk-card__cta,
.gk-ticket:hover .gk-card__cta { color: var(--gk-lime-600); gap: 0.55rem; }

/* Dotation (jeux concours) */
.gk-prize {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  background: var(--gk-lime-wash);
  border-radius: var(--gk-radius-sm);
  font-size: var(--gk-text-sm);
  font-weight: 500;
  color: var(--gk-forest);
}
.gk-prize svg { flex: none; }

/* Carte catalogue — la couverture (format A4) s'ouvre comme une page au survol */
.gk-card--catalogue .gk-card__media {
  aspect-ratio: 3 / 4;
  perspective: 1500px;
  background: #e9e6da;
}
.gk-cover {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: left center;
  transition: transform 0.55s var(--gk-ease), box-shadow 0.55s var(--gk-ease);
}
.gk-card--catalogue:hover .gk-cover {
  transform: rotateY(-18deg);
  box-shadow: 16px 0 32px -12px rgba(0, 55, 19, 0.42);
}
.gk-card--catalogue .gk-card__media::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 7px; z-index: 3;
  background: linear-gradient(90deg, rgba(0, 55, 19, 0.40), rgba(0, 55, 19, 0));
}

/* Carte « ticket » pour les bons de réduction — élément signature.
   Image + perforation à encoches centrée sur la ligne pointillée. */
.gk-ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  color: var(--gk-ink);
  transition: transform 0.22s var(--gk-ease), box-shadow 0.22s var(--gk-ease);
}
.gk-ticket:hover { transform: translateY(-4px); box-shadow: var(--gk-shadow); }
.gk-ticket:hover .gk-card__title { color: var(--gk-lime-600); }

.gk-ticket__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--gk-cloud);
  border-radius: var(--gk-radius) var(--gk-radius) 0 0;
  overflow: hidden;
}
.gk-ticket__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--gk-ease);
}
.gk-ticket:hover .gk-ticket__media img { transform: scale(1.04); }

.gk-ticket__body {
  display: flex;
  flex-direction: column;
  gap: var(--gk-s2);
  padding: var(--gk-s4);
  flex: 1;
}
.gk-ticket__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gk-s3);
  padding: var(--gk-s4);
  border-top: 2px dashed var(--gk-line);
}
.gk-ticket__foot::before,
.gk-ticket__foot::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 22px; height: 22px;
  background: var(--gk-paper);
  border-radius: var(--gk-radius-pill);
}
.gk-ticket__foot::before { left: -11px; }
.gk-ticket__foot::after  { right: -11px; }

/* --------------------------------------------------------------------------
   9. EN-TÊTE
   -------------------------------------------------------------------------- */
.gk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 244, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gk-line);
}
.gk-header__bar {
  display: flex;
  align-items: center;
  gap: var(--gk-s5);
  height: 72px;
}
.gk-logo { display: flex; align-items: center; }
.gk-logo svg, .gk-logo img { height: 34px; width: auto; }

.gk-nav { display: none; gap: var(--gk-s5); margin-inline: auto; }
.gk-nav a {
  font-family: var(--gk-font-display);
  font-size: var(--gk-text-base);
  font-weight: 500;
  color: var(--gk-ink);
  position: relative;
  padding-block: 0.4rem;
}
.gk-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gk-lime);
  border-radius: 2px;
  transition: width 0.2s var(--gk-ease);
}
.gk-nav a:hover { color: var(--gk-forest); }
.gk-nav a:hover::after,
.gk-nav a.is-active::after { width: 100%; }

.gk-header__actions { display: flex; align-items: center; gap: var(--gk-s3); margin-left: auto; }

/* Bouton burger + navigation mobile */
.gk-burger {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--gk-line);
  border-radius: var(--gk-radius-sm);
  background: var(--gk-white);
  color: var(--gk-forest);
  cursor: pointer;
}
.gk-burger:hover { border-color: var(--gk-forest); }
.gk-hide-mobile { display: none; }

.gk-mobile-nav {
  display: none;
  border-top: 1px solid var(--gk-line);
  background: var(--gk-paper);
}
.gk-mobile-nav.is-open { display: block; }
.gk-mobile-nav a {
  display: block;
  padding: 0.9rem var(--gk-s4);
  font-family: var(--gk-font-display);
  font-weight: 500;
  color: var(--gk-ink);
  border-bottom: 1px solid var(--gk-line);
}
.gk-mobile-nav a:hover { background: var(--gk-lime-wash); color: var(--gk-forest); }
.gk-mobile-nav__cta { display: flex; gap: var(--gk-s3); padding: var(--gk-s4); }
.gk-mobile-nav__cta .gk-btn { flex: 1; }

@media (min-width: 940px) {
  .gk-nav { display: flex; }
  .gk-header__actions { margin-left: 0; }
  .gk-burger { display: none; }
  .gk-hide-mobile { display: inline-flex; }
  .gk-mobile-nav { display: none !important; }
}

/* --------------------------------------------------------------------------
   10. PIED DE PAGE
   -------------------------------------------------------------------------- */
.gk-footer {
  background: var(--gk-forest);
  color: rgba(255, 255, 255, 0.78);
  padding-block: var(--gk-s7) var(--gk-s5);
}
.gk-footer a { color: rgba(255, 255, 255, 0.78); }
.gk-footer a:hover { color: var(--gk-lime-300); }
.gk-footer h4 {
  color: var(--gk-white);
  font-size: var(--gk-text-base);
  margin-bottom: var(--gk-s3);
}
.gk-footer__grid {
  display: grid;
  gap: var(--gk-s6);
  grid-template-columns: 1fr;
}
.gk-footer__cols {
  display: grid;
  gap: var(--gk-s5);
  grid-template-columns: repeat(2, 1fr);
}
.gk-footer__links li { margin-bottom: 0.55rem; font-size: var(--gk-text-sm); }
.gk-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gk-s3);
  justify-content: space-between;
  margin-top: var(--gk-s6);
  padding-top: var(--gk-s4);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--gk-text-sm);
}
@media (min-width: 720px) {
  .gk-footer__grid  { grid-template-columns: 1.4fr 2.6fr; }
  .gk-footer__cols  { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   11. UTILITAIRES
   -------------------------------------------------------------------------- */
.gk-flex     { display: flex; }
.gk-center   { align-items: center; }
.gk-between  { justify-content: space-between; }
.gk-wrap     { flex-wrap: wrap; }
.gk-gap-2    { gap: var(--gk-s2); }
.gk-gap-3    { gap: var(--gk-s3); }
.gk-gap-4    { gap: var(--gk-s4); }
.gk-mt-2     { margin-top: var(--gk-s2); }
.gk-mt-3     { margin-top: var(--gk-s3); }
.gk-mt-4     { margin-top: var(--gk-s4); }
.gk-mt-5     { margin-top: var(--gk-s5); }
.gk-text-center { text-align: center; }

.gk-icon { width: 1.15em; height: 1.15em; stroke-width: 2; flex: none; }

/* Apparition au chargement — révélation échelonnée */
@keyframes gk-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gk-reveal { animation: gk-rise 0.6s var(--gk-ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   12. HÉRO
   -------------------------------------------------------------------------- */
.gk-hero {
  position: relative;
  background: var(--gk-forest);
  color: var(--gk-white);
  overflow: hidden;
}
.gk-hero__bg { position: absolute; inset: 0; z-index: 0; }
.gk-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.gk-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(118deg,
    rgba(0, 33, 12, 0.95) 0%,
    rgba(0, 40, 15, 0.80) 46%,
    rgba(0, 40, 15, 0.40) 78%,
    rgba(0, 40, 15, 0.14) 100%);
}
.gk-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: var(--gk-s7);
}
.gk-hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gk-s4);
  text-align: center;
}
.gk-hero__mascot {
  width: 210px; flex: none;
  filter: drop-shadow(0 16px 22px rgba(0, 18, 7, 0.45));
}
.gk-hero__text { max-width: 680px; }
@media (min-width: 880px) {
  .gk-hero__top {
    flex-direction: row;
    align-items: flex-end;
    gap: var(--gk-s7);
    text-align: left;
  }
  .gk-hero__mascot { width: 360px; }
  .gk-hero__text { flex: 1; }
}
.gk-hero h1 {
  color: var(--gk-white);
  font-size: var(--gk-text-3xl);
  font-weight: 700;
}
.gk-hero h1 em { color: var(--gk-lime-300); font-style: normal; }
.gk-hero .gk-eyebrow { color: var(--gk-lime-300); }
.gk-hero__sub {
  font-size: var(--gk-text-md);
  line-height: var(--gk-leading-snug);
  color: rgba(255, 255, 255, 0.86);
  margin-top: var(--gk-s3);
  margin-bottom: var(--gk-s3) ;
}

/* Recherche géolocalisée du héro */
.gk-herosearch {
  margin-top: 0;
  background: var(--gk-white);
  border-radius: var(--gk-radius-lg);
  padding: var(--gk-s2);
  box-shadow: var(--gk-shadow-lg);
}
.gk-herosearch__row { display: flex; flex-direction: column; gap: var(--gk-s2); }
.gk-herosearch__field {
  display: flex; align-items: center; gap: 0.55rem;
  flex: 1;
  padding-inline: 0.9rem;
  background: var(--gk-cloud);
  border-radius: var(--gk-radius-sm);
  color: var(--gk-slate);
}
.gk-herosearch__field input,
.gk-herosearch__field select {
  flex: 1; width: 100%;
  border: none; background: transparent;
  padding: 0.85rem 0;
  color: var(--gk-ink);
}
.gk-herosearch__field input:focus,
.gk-herosearch__field select:focus { outline: none; }
.gk-herosearch__field select { appearance: none; cursor: pointer; }
.gk-herosearch .gk-btn { white-space: nowrap; }

.gk-hero__quick {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--gk-s2);
  margin-top: var(--gk-s4);
}
.gk-hero__quick-label {
  font-size: var(--gk-text-sm);
  color: rgba(255, 255, 255, 0.7);
}
.gk-hero__quick .gk-chip {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--gk-white);
}
.gk-hero__quick .gk-chip:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--gk-white);
  color: var(--gk-white);
}

@media (min-width: 800px) {
  .gk-herosearch__row { flex-direction: row; align-items: stretch; }
  .gk-herosearch .gk-btn { padding-inline: 1.7rem; }
}

/* --------------------------------------------------------------------------
   13. SLIDER (promotions vedettes)
   -------------------------------------------------------------------------- */
.gk-slider__track {
  display: flex;
  gap: var(--gk-s4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: var(--gk-s2);
  scrollbar-width: none;
}
.gk-slider__track::-webkit-scrollbar { display: none; }

.gk-slide {
  position: relative;
  flex: 0 0 87%;
  scroll-snap-align: start;
  aspect-ratio: 3 / 2;
  border-radius: var(--gk-radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--gk-white);
}
.gk-slide img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--gk-ease);
}
.gk-slide:hover img { transform: scale(1.05); }
.gk-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 28, 10, 0) 30%, rgba(0, 28, 10, 0.9) 100%);
}
.gk-slide__body { position: relative; z-index: 2; padding: var(--gk-s4); }
.gk-slide__body h3 { color: var(--gk-white); font-size: var(--gk-text-md); }
.gk-slide__body .gk-eyebrow { color: var(--gk-lime-300); }

.gk-slider__nav { display: flex; gap: var(--gk-s2); }
.gk-slider__btn {
  width: 44px; height: 44px;
  border: 1.5px solid var(--gk-line);
  border-radius: var(--gk-radius-pill);
  background: var(--gk-white);
  color: var(--gk-forest);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.16s var(--gk-ease), background 0.16s var(--gk-ease);
}
.gk-slider__btn:hover { border-color: var(--gk-forest); background: var(--gk-lime-wash); }

@media (min-width: 720px)  { .gk-slide { flex-basis: 48%; } }
@media (min-width: 1040px) { .gk-slide { flex-basis: 23.5%; } }

/* --------------------------------------------------------------------------
   14. BANDEAU « DEVENIR PARTENAIRE »
   -------------------------------------------------------------------------- */
.gk-cta-band {
  position: relative;
  background: var(--gk-forest);
  color: var(--gk-white);
  border-radius: var(--gk-radius-lg);
  overflow: hidden;
  padding: var(--gk-s7) var(--gk-s6);
}
.gk-cta-band::before {
  content: "";
  position: absolute;
  right: -90px; top: -110px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(147, 162, 6, 0.45) 0%, transparent 70%);
}
.gk-cta-band::after {
  content: "";
  position: absolute;
  left: -120px; bottom: -150px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(147, 162, 6, 0.20) 0%, transparent 70%);
}
.gk-cta-band__inner { position: relative; max-width: 600px; }
.gk-cta-band h2 { color: var(--gk-white); font-size: var(--gk-text-2xl); }
.gk-cta-band p { color: rgba(255, 255, 255, 0.86); margin-top: var(--gk-s3); }
.gk-cta-band .gk-btn { margin-top: var(--gk-s5); }

/* Variante de section au fond blanc (rythme visuel) */
.gk-section--alt { background: var(--gk-white); }

/* --------------------------------------------------------------------------
   15. BANDEAU LOGOS DÉFILANT
   -------------------------------------------------------------------------- */
.gk-marquee {
  overflow: hidden;
  background: var(--gk-white);
  border-block: 1px solid var(--gk-line);
  padding-block: var(--gk-s4);
}
.gk-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: gk-marquee 38s linear infinite;
}
.gk-marquee:hover .gk-marquee__track { animation-play-state: paused; }
@keyframes gk-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.gk-marquee__item {
  display: flex; align-items: center; gap: 0.55rem;
  margin-right: var(--gk-s7);
  white-space: nowrap;
  color: var(--gk-slate);
}
.gk-marquee__mark {
  width: 38px; height: 38px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--gk-cloud);
  font-family: var(--gk-font-display);
  font-weight: 700; color: var(--gk-forest);
}
.gk-marquee__name {
  font-family: var(--gk-font-display);
  font-weight: 600; font-size: var(--gk-text-md);
}

/* --------------------------------------------------------------------------
   16. COMPTEURS / CHIFFRES CLÉS
   -------------------------------------------------------------------------- */
.gk-stats {
  display: grid;
  gap: var(--gk-s4);
  grid-template-columns: repeat(2, 1fr);
}
.gk-stat {
  text-align: center;
  padding: var(--gk-s5) var(--gk-s4);
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
}
.gk-stat__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: var(--gk-s2);
  border-radius: var(--gk-radius-pill);
  background: var(--gk-lime-wash);
  color: var(--gk-lime-600);
}
.gk-stat__num {
  font-family: var(--gk-font-display);
  font-weight: 700;
  font-size: var(--gk-text-2xl);
  color: var(--gk-forest);
  line-height: 1;
}
.gk-stat__label {
  margin-top: var(--gk-s2);
  font-size: var(--gk-text-sm);
  font-weight: 500;
  color: var(--gk-slate);
}
@media (min-width: 760px) { .gk-stats { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   17. EMPLACEMENT PUBLICITAIRE
   -------------------------------------------------------------------------- */
.gk-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 130px;
  padding: var(--gk-s5);
  text-align: center;
  background: var(--gk-cloud);
  border: 1.5px dashed var(--gk-line);
  border-radius: var(--gk-radius);
  color: var(--gk-mist);
}
.gk-ad__tag {
  font-family: var(--gk-font-display);
  font-size: var(--gk-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   18. ÉTAPES « COMMENT ÇA MARCHE »
   -------------------------------------------------------------------------- */
.gk-steps {
  display: grid;
  gap: var(--gk-s5);
  grid-template-columns: 1fr;
  counter-reset: gkstep;
}
.gk-step {
  padding: var(--gk-s5);
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
}
.gk-step__num {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: var(--gk-s3);
  border-radius: var(--gk-radius-pill);
  background: var(--gk-forest);
  color: var(--gk-white);
  font-family: var(--gk-font-display);
  font-weight: 700;
  font-size: var(--gk-text-lg);
}
.gk-step h3 { font-size: var(--gk-text-md); }
.gk-step p { margin-top: 0.35rem; font-size: var(--gk-text-sm); color: var(--gk-slate); }
@media (min-width: 620px)  { .gk-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gk-steps { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   19. NEWSLETTER
   -------------------------------------------------------------------------- */
.gk-newsletter {
  background: var(--gk-lime-wash);
  padding-block: var(--gk-s7);
}
.gk-newsletter__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gk-s2);
  text-align: center;
}
.gk-newsletter h2 { font-size: var(--gk-text-xl); }
.gk-newsletter p { color: var(--gk-slate); max-width: 48ch; }
.gk-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--gk-s2);
  width: 100%;
  max-width: 500px;
  margin-top: var(--gk-s3);
}
.gk-newsletter__form .gk-input { flex: 1; }
.gk-newsletter__note {
  display: flex; align-items: center; gap: 0.4rem;
  margin-top: var(--gk-s2);
  font-size: var(--gk-text-sm);
  color: var(--gk-slate);
}
@media (min-width: 620px) {
  .gk-newsletter__form { flex-direction: row; }
  .gk-newsletter__form .gk-btn { white-space: nowrap; }
}

/* --------------------------------------------------------------------------
   20. PAGES DE LISTING (fil d'Ariane, en-tête, filtres, pagination)
   -------------------------------------------------------------------------- */
.gk-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.35rem;
  font-size: var(--gk-text-sm);
  color: var(--gk-slate);
}
.gk-breadcrumb a { color: var(--gk-slate); }
.gk-breadcrumb a:hover { color: var(--gk-forest); }
.gk-breadcrumb [aria-current] { color: var(--gk-forest); font-weight: 600; }
.gk-breadcrumb svg { width: 14px; height: 14px; color: var(--gk-mist); flex: none; }

.gk-pagehead {
  background: var(--gk-white);
  border-bottom: 1px solid var(--gk-line);
  padding-block: var(--gk-s6);
}
.gk-pagehead h1 {
  font-size: var(--gk-text-2xl);
  margin-top: var(--gk-s3);
}
.gk-pagehead__sub {
  margin-top: var(--gk-s2);
  color: var(--gk-slate);
  max-width: 62ch;
}
/* Teinte de l'en-tête selon la rubrique */
.gk-pagehead--catalogues  { background: #eef2d6; }
.gk-pagehead--bons        { background: #ffe6e0; }
.gk-pagehead--concours    { background: #fcebcb; }
.gk-pagehead--destockage  { background: #ffe5d2; }
.gk-pagehead--commercants { background: #dcebe6; }

.gk-toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--gk-s4);
  padding: var(--gk-s4);
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
}
.gk-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gk-s3);
  align-items: center;
}
.gk-toolbar__search {
  display: flex; align-items: center; gap: 0.5rem;
  flex: 1 1 300px; max-width: 420px; min-width: 200px;
  padding-inline: 0.9rem;
  background: var(--gk-cloud);
  border-radius: var(--gk-radius-sm);
  color: var(--gk-slate);
}
.gk-toolbar__search input {
  flex: 1; width: 100%;
  border: none; background: transparent;
  padding: 0.7rem 0;
  color: var(--gk-ink);
}
.gk-toolbar__search input:focus { outline: none; }
.gk-toolbar .gk-select { width: auto; flex: 1 1 160px; min-width: 144px; }
.gk-toolbar__zones {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--gk-s2);
}
.gk-toolbar__label {
  font-family: var(--gk-font-display);
  font-weight: 600;
  font-size: var(--gk-text-sm);
  color: var(--gk-forest);
  margin-right: 0.2rem;
}

.gk-results {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: var(--gk-s3);
  margin-block: var(--gk-s5) var(--gk-s4);
}
.gk-results__count { font-size: var(--gk-text-sm); color: var(--gk-slate); }
.gk-results__count strong {
  color: var(--gk-forest);
  font-family: var(--gk-font-display);
}

.gk-pagination {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 0.4rem;
  margin-top: var(--gk-s7);
}
.gk-pagination a,
.gk-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px;
  padding-inline: 0.55rem;
  border: 1.5px solid var(--gk-line);
  border-radius: var(--gk-radius-sm);
  font-family: var(--gk-font-display);
  font-weight: 600; font-size: var(--gk-text-sm);
  color: var(--gk-forest);
  background: var(--gk-white);
}
.gk-pagination a:hover { border-color: var(--gk-forest); }
.gk-pagination .is-current {
  background: var(--gk-forest);
  border-color: var(--gk-forest);
  color: var(--gk-white);
}
.gk-pagination .is-disabled { color: var(--gk-mist); pointer-events: none; }
.gk-pagination__gap { border: none; background: transparent; min-width: auto; }

/* --------------------------------------------------------------------------
   21. PAGE DE DÉTAIL (single)
   -------------------------------------------------------------------------- */
.gk-single {
  display: grid;
  gap: var(--gk-s6);
  grid-template-columns: 1fr;
  align-items: start;
  margin-top: var(--gk-s4);
}
@media (min-width: 940px) {
  .gk-single { grid-template-columns: minmax(0, 1fr) 332px; }
}
.gk-single__main { min-width: 0; }
.gk-single h1 { font-size: var(--gk-text-2xl); }
.gk-single__metaline {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--gk-s2) var(--gk-s4);
  margin-top: var(--gk-s3);
  font-size: var(--gk-text-sm);
  color: var(--gk-slate);
}
.gk-single__metaline span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* Liseuse PDF (mock DearFlip) */
.gk-reader {
  margin-top: var(--gk-s4);
  background: var(--gk-forest);
  border-radius: var(--gk-radius);
  overflow: hidden;
}
.gk-reader__stage {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 11;
  padding: var(--gk-s6);
  background: radial-gradient(130% 90% at 50% 0%, rgba(255,255,255,0.09), transparent 70%);
}
.gk-reader__stage img {
  max-height: 100%;
  border-radius: 3px;
  box-shadow: 0 24px 44px -14px rgba(0,0,0,0.65);
}
.gk-reader__toolbar {
  display: flex; align-items: center; justify-content: center;
  gap: var(--gk-s4);
  padding: var(--gk-s3);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.92);
}
.gk-reader__btn {
  width: 38px; height: 38px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--gk-radius-pill);
  background: transparent; color: #fff; cursor: pointer;
  transition: background 0.16s var(--gk-ease);
}
.gk-reader__btn:hover { background: rgba(255,255,255,0.14); }
.gk-reader__pages {
  font-family: var(--gk-font-display);
  font-weight: 600; font-size: var(--gk-text-sm);
  min-width: 70px; text-align: center;
}

/* Liseuse en pleine largeur de fenêtre */
.gk-reader--full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: var(--gk-s5);
  border-radius: 0;
}
.gk-reader--full .gk-reader__stage {
  aspect-ratio: auto;
  height: clamp(420px, 72vh, 760px);
}

/* Prix mis en avant (page produit) */
.gk-price-hero {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: var(--gk-s3);
  margin-top: var(--gk-s4);
}
.gk-price-hero strong {
  font-family: var(--gk-font-display);
  font-weight: 700; font-size: var(--gk-text-2xl);
  color: var(--gk-forest);
  line-height: 1;
}
.gk-price-hero s { color: var(--gk-mist); font-size: var(--gk-text-lg); }
.gk-badge--save { background: var(--gk-coral-wash); color: var(--gk-coral-600); align-self: center; }

/* Cartes d'information latérales */
.gk-infocard {
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  padding: var(--gk-s5);
}
.gk-single__aside .gk-infocard + .gk-infocard { margin-top: var(--gk-s4); }

/* Single empilé : liseuse pleine largeur + infos dessous */
.gk-single--stacked { display: block; }
.gk-single-info {
  display: grid;
  gap: var(--gk-s4);
  grid-template-columns: 1fr;
  margin-top: var(--gk-s5);
  align-items: start;
}
@media (min-width: 760px) {
  .gk-single-info { grid-template-columns: repeat(3, 1fr); }
}
.gk-infocard__title {
  font-family: var(--gk-font-display);
  font-weight: 600; font-size: var(--gk-text-base);
  color: var(--gk-forest);
  margin-bottom: var(--gk-s3);
}

/* Bloc commerçant latéral */
.gk-merchant-box { display: flex; align-items: center; gap: var(--gk-s3); }
.gk-merchant-box__logo {
  width: 54px; height: 54px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--gk-line);
  background: var(--gk-lime-wash);
  font-family: var(--gk-font-display);
  font-weight: 700; font-size: 1.4rem;
  color: var(--gk-forest);
}
.gk-merchant-box__name {
  font-family: var(--gk-font-display);
  font-weight: 600; color: var(--gk-forest);
}
.gk-merchant-box__sub { font-size: var(--gk-text-sm); color: var(--gk-slate); }

/* Liste descriptive (méta) */
.gk-deflist { display: flex; flex-direction: column; margin: 0; }
.gk-deflist > div {
  display: flex; justify-content: space-between; gap: var(--gk-s4);
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--gk-line);
  font-size: var(--gk-text-sm);
}
.gk-deflist > div:last-child { border-bottom: 0; }
.gk-deflist dt { color: var(--gk-slate); }
.gk-deflist dd {
  margin: 0;
  font-family: var(--gk-font-display);
  font-weight: 600; color: var(--gk-forest);
  text-align: right;
}

/* Actions latérales */
.gk-actions { display: flex; flex-direction: column; gap: var(--gk-s2); }
.gk-actions .gk-btn { width: 100%; }

/* Partage */
.gk-share { display: flex; gap: var(--gk-s2); }
.gk-share a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius-pill);
  color: var(--gk-forest);
}
.gk-share a:hover { border-color: var(--gk-forest); background: var(--gk-lime-wash); }

/* Bloc « code » d'un bon de réduction */
.gk-codebox {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gk-s3);
  padding: var(--gk-s3) var(--gk-s4);
  border: 1.5px dashed var(--gk-forest-300);
  border-radius: var(--gk-radius-sm);
  background: var(--gk-lime-wash);
}
.gk-codebox__value {
  font-family: var(--gk-font-display);
  font-weight: 700; font-size: var(--gk-text-lg);
  letter-spacing: 0.06em;
  color: var(--gk-forest);
}
.gk-qr {
  width: 100%; max-width: 190px;
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius-sm);
  background: var(--gk-white);
  padding: var(--gk-s3);
  display: block;
}

/* --------------------------------------------------------------------------
   22. ÉLÉMENTS DE DÉTAIL (média, prose, mentions légales, formulaires)
   -------------------------------------------------------------------------- */
.gk-detail-media {
  margin-top: var(--gk-s4);
  border-radius: var(--gk-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--gk-cloud);
}
.gk-detail-media img { width: 100%; height: 100%; object-fit: cover; }

.gk-prose { line-height: var(--gk-leading-base); }
.gk-prose p { margin-bottom: var(--gk-s3); }
.gk-prose p:last-child { margin-bottom: 0; }

.gk-legal {
  font-size: var(--gk-text-sm);
  color: var(--gk-slate);
  background: var(--gk-cloud);
  border-radius: var(--gk-radius-sm);
  padding: var(--gk-s4);
}

.gk-check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: var(--gk-text-sm);
  color: var(--gk-slate);
}
.gk-check input {
  width: 18px; height: 18px; flex: none; margin-top: 1px;
  accent-color: var(--gk-lime-600);
}

.gk-redeem {
  display: flex; flex-direction: column;
  align-items: center; gap: var(--gk-s3);
  text-align: center;
}

/* En-tête de fiche commerçant */
.gk-profile { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gk-s5); }
.gk-profile__logo {
  width: 96px; height: 96px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 20px;
  border: 1px solid var(--gk-line);
  background: var(--gk-white);
  font-family: var(--gk-font-display);
  font-weight: 700; font-size: 2.6rem;
  color: var(--gk-forest);
}
.gk-profile__body { flex: 1; min-width: 240px; }

.gk-coords {
  display: grid; gap: var(--gk-s4);
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .gk-coords { grid-template-columns: 1fr 1fr; } }
.gk-coord { display: flex; gap: var(--gk-s3); font-size: var(--gk-text-sm); }
.gk-coord svg { color: var(--gk-lime-600); flex: none; margin-top: 2px; }
.gk-coord strong {
  display: block;
  font-family: var(--gk-font-display);
  color: var(--gk-forest);
  margin-bottom: 0.15rem;
}

/* --------------------------------------------------------------------------
   23. COMPTE À REBOURS, POINTS DE VENTE & CARTE
   -------------------------------------------------------------------------- */
.gk-countdown { display: flex; gap: var(--gk-s2); flex-wrap: wrap; }
.gk-countdown__unit {
  display: flex; flex-direction: column; align-items: center;
  min-width: 62px;
  padding: var(--gk-s2);
  background: var(--gk-forest);
  color: var(--gk-white);
  border-radius: var(--gk-radius-sm);
}
.gk-countdown__num {
  font-family: var(--gk-font-display);
  font-weight: 700; font-size: var(--gk-text-xl);
  line-height: 1;
}
.gk-countdown__label {
  margin-top: 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gk-lime-300);
}

.gk-shops {
  display: grid; gap: var(--gk-s4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .gk-shops { grid-template-columns: 1fr 1fr; } }
.gk-shop {
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius-sm);
  padding: var(--gk-s4);
}
.gk-shop__name {
  font-family: var(--gk-font-display);
  font-weight: 600; font-size: var(--gk-text-base);
  color: var(--gk-forest);
  margin-bottom: var(--gk-s2);
}
.gk-shop__row {
  display: flex; gap: 0.5rem;
  font-size: var(--gk-text-sm); color: var(--gk-slate);
  margin-top: 0.4rem;
}
.gk-shop__row svg {
  color: var(--gk-lime-600);
  flex: none; width: 1.05em; height: 1.05em;
  margin-top: 1px;
}

.gk-map {
  height: 400px;
  margin-top: var(--gk-s4);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  overflow: hidden;
}
.gk-pin span {
  display: block;
  width: 20px; height: 20px;
  background: var(--gk-coral);
  border: 3px solid var(--gk-white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   24. PAGES INSTITUTIONNELLES (texte, tarifs, FAQ, avantages)
   -------------------------------------------------------------------------- */
/* Page de texte / document */
.gk-doc { max-width: 760px; }
.gk-doc h2 {
  font-size: var(--gk-text-xl);
  margin-top: var(--gk-s6);
  margin-bottom: var(--gk-s3);
}
.gk-doc > h2:first-child { margin-top: 0; }
.gk-doc h3 {
  font-size: var(--gk-text-md);
  margin-top: var(--gk-s5);
  margin-bottom: var(--gk-s2);
}
.gk-doc p { margin-bottom: var(--gk-s3); }
.gk-doc ul { margin: 0 0 var(--gk-s3) 1.25rem; }
.gk-doc li { margin-bottom: 0.4rem; list-style: disc; }
.gk-doc a { color: var(--gk-forest); text-decoration: underline; }
.gk-doc strong { color: var(--gk-forest); }

/* Grille tarifaire */
.gk-plans {
  display: grid; gap: var(--gk-s4);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 600px)  { .gk-plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .gk-plans { grid-template-columns: repeat(4, 1fr); } }
.gk-plan {
  display: flex; flex-direction: column;
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  padding: var(--gk-s5);
}
.gk-plan--featured { border: 2px solid var(--gk-lime); box-shadow: var(--gk-shadow); }
.gk-plan__tag {
  align-self: flex-start;
  margin-bottom: var(--gk-s2);
  padding: 0.25rem 0.65rem;
  background: var(--gk-lime); color: var(--gk-forest);
  font-family: var(--gk-font-display); font-weight: 600;
  font-size: var(--gk-text-xs);
  border-radius: var(--gk-radius-pill);
}
.gk-plan__name {
  font-family: var(--gk-font-display);
  font-weight: 700; font-size: var(--gk-text-lg);
  color: var(--gk-forest);
}
.gk-plan__price {
  font-family: var(--gk-font-display);
  font-weight: 700; font-size: var(--gk-text-2xl);
  color: var(--gk-forest);
  margin-top: var(--gk-s2);
}
.gk-plan__period { font-size: var(--gk-text-sm); color: var(--gk-slate); margin-top: 0.1rem; }
.gk-plan__features {
  margin: var(--gk-s4) 0;
  display: flex; flex-direction: column; gap: 0.55rem;
  flex: 1;
}
.gk-plan__features li {
  display: flex; gap: 0.5rem;
  font-size: var(--gk-text-sm);
  color: var(--gk-slate);
}
.gk-plan__features svg {
  color: var(--gk-lime-600);
  flex: none; width: 1.1em; height: 1.1em; margin-top: 1px;
}
.gk-plan__features li.is-off { color: var(--gk-mist); }
.gk-plan__features li.is-off svg { color: var(--gk-mist); }

/* FAQ — accordéon natif */
.gk-faq { max-width: 800px; }
.gk-faq details {
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius-sm);
  margin-bottom: var(--gk-s3);
}
.gk-faq summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--gk-s3);
  padding: var(--gk-s4);
  cursor: pointer;
  list-style: none;
  font-family: var(--gk-font-display);
  font-weight: 600; color: var(--gk-forest);
}
.gk-faq summary::-webkit-details-marker { display: none; }
.gk-faq summary::after {
  content: "+";
  font-family: var(--gk-font-display);
  font-size: 1.35rem; line-height: 1;
  color: var(--gk-lime-600);
  flex: none;
}
.gk-faq details[open] summary::after { content: "\2212"; }
.gk-faq__a {
  padding: 0 var(--gk-s4) var(--gk-s4);
  color: var(--gk-slate);
  line-height: var(--gk-leading-base);
}

/* Grille d'avantages */
.gk-features {
  display: grid; gap: var(--gk-s5);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .gk-features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .gk-features { grid-template-columns: repeat(3, 1fr); } }
.gk-feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--gk-radius);
  background: var(--gk-lime-wash);
  color: var(--gk-lime-600);
  margin-bottom: var(--gk-s3);
}
.gk-feature h3 { font-size: var(--gk-text-md); }
.gk-feature p { margin-top: 0.35rem; font-size: var(--gk-text-sm); color: var(--gk-slate); }

/* ==========================================================================
   Étape 4 — additions : fiche commerçant, listes, état vide, 404
   ========================================================================== */

/* Hero de fiche commerçant */
.gk-merchant-hero {
  display: flex; gap: var(--gk-s4); align-items: center;
  padding: var(--gk-s4) 0;
}
.gk-merchant-hero__logo {
  width: 88px; height: 88px; flex: none;
  border-radius: var(--gk-radius-lg);
  background: var(--gk-cloud);
  border: 1px solid var(--gk-line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-family: var(--gk-font-display);
  font-weight: 700; font-size: 2.2rem;
  color: var(--gk-forest);
}
.gk-merchant-hero__logo img { width: 100%; height: 100%; object-fit: cover; }
.gk-merchant-hero__head h1 { margin-top: 0.25rem; }
@media (max-width: 620px) {
  .gk-merchant-hero { flex-direction: column; align-items: flex-start; }
}

/* Liste des points de vente */
.gk-locations { display: grid; gap: var(--gk-s4); }
.gk-location {
  padding: var(--gk-s3);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  background: var(--gk-cloud-50, #fcfdf9);
}
.gk-location__name {
  font-family: var(--gk-font-display);
  font-weight: 600; font-size: var(--gk-text-md);
  margin: 0 0 var(--gk-s2);
}
.gk-location .gk-deflist dt {
  display: inline-flex; align-items: center; gap: 0.35rem;
}

/* Réseaux sociaux */
.gk-socials { display: flex; flex-wrap: wrap; gap: var(--gk-s2); }
.gk-social {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--gk-cloud);
  font-size: var(--gk-text-sm);
  color: var(--gk-forest);
  text-decoration: none;
  border: 1px solid var(--gk-line);
}
.gk-social:hover { background: var(--gk-lime-wash); border-color: var(--gk-lime-600); }

/* Mini-liste (sidebar des fiches commerçant) */
.gk-mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.gk-mini-list a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gk-forest); text-decoration: none;
  padding: 0.4rem 0;
}
.gk-mini-list a:hover { color: var(--gk-lime-600); }

/* Galerie photo de la fiche commerçant */
.gk-gallery {
  display: grid; gap: var(--gk-s2);
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.gk-gallery__item {
  display: block; aspect-ratio: 1/1;
  border-radius: var(--gk-radius);
  overflow: hidden;
}
.gk-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* Prix XL pour la fiche déstockage */
.gk-price--xl {
  display: flex; align-items: baseline; gap: var(--gk-s2);
  font-size: 2rem; font-weight: 700; color: var(--gk-forest);
}
.gk-price--xl s { font-size: 1rem; color: var(--gk-mist); font-weight: 500; }

/* Pastille promo « large » (sur la photo principale de la fiche déstockage) */
.gk-promo--lg { padding: 0.5rem 0.8rem; font-size: var(--gk-text-md); }

/* Lot à gagner — version large pour fiche concours */
.gk-prize--large {
  display: flex; align-items: center; gap: var(--gk-s3);
  padding: var(--gk-s3); border-radius: var(--gk-radius);
  background: var(--gk-lime-wash);
}
.gk-prize--large > div { display: flex; flex-direction: column; }
.gk-prize--large strong { font-size: var(--gk-text-md); color: var(--gk-forest); }

/* État vide générique (liste sans résultats) */
.gk-empty {
  padding: var(--gk-s5);
  background: var(--gk-cloud);
  border: 1px dashed var(--gk-line);
  border-radius: var(--gk-radius);
  text-align: center;
  color: var(--gk-slate);
}

/* Page 404 */
.gk-404 { text-align: center; max-width: 56ch; margin: 0 auto; padding: var(--gk-s5) 0; }
.gk-404 h1 { font-size: var(--gk-text-2xl); margin-top: var(--gk-s2); }

/* Page institutionnelle */
.gk-page .gk-prose { max-width: 70ch; margin: 0 auto; }

/* Bouton « bloc » pleine largeur */
.gk-btn--block { width: 100%; justify-content: center; }

/* Carte Leaflet (déjà avec .gk-map existante, on s'assure du fallback hauteur) */
.gk-map .leaflet-control-attribution { font-size: 10px; }

/* État "flash" pour le bouton « Copier » */
.gk-btn.is-flash { background: var(--gk-lime-600); color: #fff; border-color: var(--gk-lime-600); }

/* Bouton favori actif */
[data-action="favorite"].is-favorited { background: var(--gk-coral); color: #fff; border-color: var(--gk-coral); }

/* Publicité avec image — variante de .gk-ad */
.gk-ad--filled {
  padding: 0;
  border: 0;
  background: var(--gk-cloud);
  overflow: hidden;
  border-radius: var(--gk-radius);
  display: block;
  text-decoration: none;
}
.gk-ad--filled .gk-ad__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   AUTHENTIFICATION — connexion, inscription, mot de passe, activation
   ========================================================================== */

.gk-auth {
  max-width: 460px;
  margin: 0 auto;
  background: var(--gk-white);
  padding: var(--gk-s5);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius-lg);
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.gk-auth h3 {
  font-family: var(--gk-font-display);
  font-weight: 600;
  font-size: var(--gk-text-md);
}
.gk-auth .gk-field { gap: 0.35rem; }
.gk-auth__divider {
  text-align: center;
  margin: var(--gk-s4) 0;
  border-top: 1px solid var(--gk-line);
  position: relative;
}
.gk-auth__divider span {
  position: relative;
  top: -0.7em;
  background: var(--gk-white);
  padding: 0 var(--gk-s3);
  font-size: var(--gk-text-sm);
  color: var(--gk-slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gk-auth__social { display: grid; gap: var(--gk-s2); }
.gk-auth__foot {
  margin-top: var(--gk-s4);
  text-align: center;
  font-size: var(--gk-text-sm);
}
.gk-auth__foot a {
  color: var(--gk-forest);
  font-weight: 600;
  text-decoration: underline;
}

/* Notices (succès, erreur, info) — utilisables ailleurs */
.gk-notice {
  padding: var(--gk-s3);
  border-radius: var(--gk-radius);
  border: 1px solid;
  margin-bottom: var(--gk-s4);
  font-size: var(--gk-text-sm);
}
.gk-notice p { margin: 0; }
.gk-notice p + p { margin-top: 0.4rem; }
.gk-notice--error {
  background: #fff2ee;
  border-color: var(--gk-coral);
  color: #7a2310;
}
.gk-notice--success {
  background: #eaf5ec;
  border-color: var(--gk-lime-600);
  color: #1f4a1a;
}
.gk-notice--info {
  background: #eef4f7;
  border-color: #5b8aa1;
  color: #1d3c4d;
}


/* ==========================================================================
   DASHBOARD UTILISATEUR — /mon-compte/
   ========================================================================== */

.gk-account {
  display: grid;
  gap: var(--gk-s5);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .gk-account {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

.gk-account__nav {
  position: sticky;
  top: var(--gk-s4);
}
.gk-account__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gk-account__link {
  display: flex;
  align-items: center;
  gap: var(--gk-s2);
  padding: 0.7rem 0.9rem;
  border-radius: var(--gk-radius);
  text-decoration: none;
  color: var(--gk-forest);
  font-size: var(--gk-text-sm);
  font-weight: 500;
  background: transparent;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.gk-account__link:hover {
  background: var(--gk-cloud);
}
.gk-account__link.is-active {
  background: var(--gk-lime-wash);
  border-color: var(--gk-lime-600);
  color: var(--gk-forest);
  font-weight: 600;
}
.gk-account__link svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  color: var(--gk-lime-600);
}
.gk-account__link.is-active svg { color: var(--gk-forest); }
.gk-account__link small.gk-badge--soon {
  margin-left: auto;
  font-size: 10px;
  background: var(--gk-cloud);
  color: var(--gk-slate);
  padding: 2px 6px;
  border-radius: 10px;
  border: 1px solid var(--gk-line);
}

/* Checkboxes en grille (catégories préférées) */
.gk-checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--gk-s2);
}


/* ==========================================================================
   FAVORIS — bouton cœur, toast non-connecté, liste « Mes favoris »
   ========================================================================== */

/* Bouton favori — par défaut (inline, sans texte = icône seule rond) */
.gk-fav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  color: var(--gk-slate);
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.gk-fav:hover { color: var(--gk-coral); border-color: var(--gk-coral); }
.gk-fav:active { transform: scale(.92); }

.gk-fav__icon-on  { display: none; }
.gk-fav__icon-off { display: inline-flex; }

.gk-fav.is-favorited {
  background: var(--gk-coral);
  border-color: var(--gk-coral);
  color: #fff;
}
.gk-fav.is-favorited .gk-fav__icon-on  { display: inline-flex; }
.gk-fav.is-favorited .gk-fav__icon-off { display: none; }

.gk-fav.is-loading { opacity: 0.6; pointer-events: none; }

/* Variante « block » — bouton large avec texte */
.gk-fav.gk-btn {
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  border-radius: var(--gk-radius);
}
.gk-fav .gk-fav__label-remove { display: none; }
.gk-fav.is-favorited .gk-fav__label-add    { display: none; }
.gk-fav.is-favorited .gk-fav__label-remove { display: inline; }

/* Toast en bas de page (popup non-connecté) */
.gk-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(20px);
  background: var(--gk-forest);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: var(--gk-radius);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 1000;
  opacity: 0;
  transition: opacity .2s, transform .25s;
  max-width: calc(100% - 24px);
  font-size: var(--gk-text-sm);
}
.gk-toast.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.gk-toast .gk-btn { white-space: nowrap; }
.gk-toast__close {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.7);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 0 0.4rem;
}
.gk-toast__close:hover { color: #fff; }

/* Section « Mes favoris » — titre de bucket + carte avec bouton retirer flottant */
.gk-fav-bucket__title {
  font-family: var(--gk-font-display);
  font-weight: 600;
  font-size: var(--gk-text-md);
  margin: var(--gk-s5) 0 var(--gk-s3);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.gk-fav-bucket__title:first-child { margin-top: 0; }

.gk-fav-card-wrap {
  position: relative;
}
.gk-fav-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.gk-fav-card-actions .gk-fav {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}


/* ==========================================================================
   LISTES DE COURSES — overview, détail, popover
   ========================================================================== */

/* Bouton « + Ajouter à une liste » — pendant du cœur favori */
.gk-list-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  color: var(--gk-slate);
  transition: background .15s, color .15s, border-color .15s;
}
.gk-list-add:hover { color: var(--gk-forest); border-color: var(--gk-forest); }
.gk-list-add.gk-btn {
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  border-radius: var(--gk-radius);
}

/* Grille des listes (overview) */
.gk-lists-grid {
  display: grid;
  gap: var(--gk-s3);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gk-list-card {
  display: block;
  padding: var(--gk-s4);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  background: var(--gk-white);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .1s;
}
.gk-list-card:hover { border-color: var(--gk-lime-600); transform: translateY(-2px); }
.gk-list-card__title {
  font-family: var(--gk-font-display);
  font-weight: 600;
  font-size: var(--gk-text-md);
  color: var(--gk-forest);
  margin: 0;
}
.gk-list-card__meta { margin-top: 0.4rem; }
.gk-list-card__progress {
  margin-top: var(--gk-s3);
  background: var(--gk-cloud);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}
.gk-list-card__bar {
  height: 100%;
  background: var(--gk-lime-600);
  transition: width .25s;
}

/* Ligne de saisie inline (créer liste, ajouter item) */
.gk-list-add-row {
  display: flex;
  align-items: stretch;
  gap: var(--gk-s2);
}
.gk-list-add-row .gk-field { margin: 0; }

/* Détail d'une liste */
.gk-list-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gk-s3);
  margin-bottom: var(--gk-s4);
}
.gk-list-detail__title {
  font-family: var(--gk-font-display);
  font-weight: 600;
  font-size: var(--gk-text-xl);
  color: var(--gk-forest);
  margin: 0;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  outline: 2px solid transparent;
  transition: outline-color .15s;
}
.gk-list-detail__title:focus { outline-color: var(--gk-lime-600); }
.gk-list-detail__meta { margin-left: auto; }

.gk-list-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gk-list-item {
  display: flex;
  align-items: center;
  gap: var(--gk-s3);
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--gk-line);
  transition: opacity .15s;
}
.gk-list-item:last-child { border-bottom: 0; }
.gk-list-item.is-checked { opacity: 0.5; }
.gk-list-item.is-checked .gk-list-item__title { text-decoration: line-through; }

.gk-list-item__check {
  width: 28px; height: 28px;
  flex: none;
  border-radius: 8px;
  border: 1.5px solid var(--gk-line);
  background: var(--gk-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gk-white);
  transition: background .15s, border-color .15s;
}
.gk-list-item__check svg { width: 16px; height: 16px; }
.gk-list-item.is-checked .gk-list-item__check {
  background: var(--gk-lime-600);
  border-color: var(--gk-lime-600);
  color: #fff;
}
.gk-list-item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gk-list-item__title {
  color: var(--gk-forest);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--gk-text-base);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.gk-list-item__title:hover { color: var(--gk-lime-600); }
.gk-list-item__remove {
  background: transparent;
  border: 0;
  color: var(--gk-mist);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  flex: none;
  transition: color .15s, background .15s;
}
.gk-list-item__remove:hover { color: var(--gk-coral); background: #fff2ee; }

.gk-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gk-s2);
  margin-top: var(--gk-s4);
  padding-top: var(--gk-s3);
  border-top: 1px solid var(--gk-line);
}

/* Popover « Ajouter à une liste » — overlay fixe positionné par JS */
.gk-list-popover {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  max-width: calc(100vw - 24px);
  background: var(--gk-white);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 1000;
  padding: var(--gk-s3);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s;
  pointer-events: none;
}
.gk-list-popover.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.gk-list-popover[hidden] { display: none; }
.gk-list-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--gk-s2);
  padding-bottom: var(--gk-s2);
  border-bottom: 1px solid var(--gk-line);
}
.gk-list-popover__close {
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gk-slate);
}
.gk-list-popover__lists ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}
.gk-list-popover__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  font-size: var(--gk-text-sm);
  color: var(--gk-forest);
  transition: background .12s;
}
.gk-list-popover__item:hover { background: var(--gk-cloud); }
.gk-list-popover__item.is-loading { opacity: 0.6; }
.gk-list-popover__item.is-done {
  background: var(--gk-lime-wash);
  color: var(--gk-lime-600);
  font-weight: 600;
}
.gk-list-popover__item.is-done::after { content: " ✓"; }
.gk-list-popover__item.is-error { color: var(--gk-coral); }
.gk-list-popover__create {
  display: flex;
  gap: var(--gk-s2);
  margin-top: var(--gk-s2);
  padding-top: var(--gk-s2);
  border-top: 1px solid var(--gk-line);
}
.gk-list-popover__create input {
  flex: 1;
  border: 1px solid var(--gk-line);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: var(--gk-text-sm);
}
.gk-list-popover__create input:focus { outline: 1.5px solid var(--gk-lime-600); border-color: var(--gk-lime-600); }

/* Utility : screen-reader only */
.gk-sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Popover catalogue — étape 2 : produits notés */
.gk-list-popover[data-step="products"] {
  width: 340px;
  max-width: calc(100vw - 24px);
}
.gk-list-popover__back {
  background: transparent;
  border: 0;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gk-slate);
  margin-right: 8px;
}
.gk-list-popover__back:hover { color: var(--gk-forest); }
.gk-list-popover__product-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}
.gk-list-popover__product-row input {
  flex: 1;
  border: 1px solid var(--gk-line);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: var(--gk-text-sm);
}
.gk-list-popover__product-row input:focus { outline: 1.5px solid var(--gk-lime-600); border-color: var(--gk-lime-600); }
.gk-list-popover__row-remove {
  background: transparent;
  border: 0;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gk-mist);
  cursor: pointer;
  padding: 0 4px;
}
.gk-list-popover__row-remove:hover { color: var(--gk-coral); }

/* Variante toast succès */
.gk-toast--success { background: var(--gk-lime-600); }

/* Petit input compact */
.gk-input--sm { padding: 0.4rem 0.6rem; font-size: var(--gk-text-sm); }

/* Sélecteur d'enseigne (dashboard pro multi-fiches) */
.gk-pro-switcher {
  margin-bottom: var(--gk-s4);
  padding: var(--gk-s3);
  background: var(--gk-lime-wash);
  border-left: 3px solid var(--gk-lime-600);
  border-radius: var(--gk-radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gk-s2);
}
.gk-pro-switcher select {
  border: 1px solid var(--gk-line);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: var(--gk-text-sm);
  background: var(--gk-white);
}

/* ==========================================================================
   ESPACE PRO — édition de la fiche commerçant (sprint 5.F)
   ========================================================================== */

.gk-pro-form > * + * { margin-top: var(--gk-s4); }

.gk-pro-form .gk-infocard { padding: var(--gk-s4); }
.gk-pro-form .gk-infocard__title { margin-bottom: var(--gk-s3); }

/* Logo preview */
.gk-logo-preview {
  width: 140px;
  height: 140px;
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  background: var(--gk-cloud);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gk-logo-preview img { max-width: 100%; height: auto; }
.gk-logo-placeholder {
  font-family: var(--gk-font-display);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--gk-forest);
}

/* Galerie édition */
.gk-gallery-edit {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}
.gk-gallery-edit__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gk-line);
}
.gk-gallery-edit__item img { width: 100%; height: 100%; object-fit: cover; }
.gk-gallery-edit__remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 22px;
  padding: 0;
}
.gk-gallery-edit__remove:hover { background: var(--gk-coral); }

/* Repeater front (locations + socials) */
.gk-repeater { display: flex; flex-direction: column; gap: var(--gk-s3); margin-bottom: var(--gk-s3); }
.gk-repeater__item {
  position: relative;
  padding: var(--gk-s3);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  background: var(--gk-cloud-50, #fcfdf9);
  display: flex;
  flex-direction: column;
  gap: var(--gk-s2);
}
.gk-repeater__item--inline {
  flex-direction: row;
  align-items: flex-end;
  flex-wrap: wrap;
}
.gk-repeater__remove {
  position: absolute;
  top: 6px; right: 6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--gk-line);
  background: var(--gk-white);
  color: var(--gk-slate);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  transition: background .15s, color .15s, border-color .15s;
}
.gk-repeater__remove:hover { background: var(--gk-coral); color: #fff; border-color: var(--gk-coral); }
.gk-repeater__item:first-child .gk-repeater__remove:only-child {
  /* Toujours visible — l'utilisateur peut vider la liste s'il veut */
}

/* Statut de la fiche en haut du formulaire */
.gk-fiche-status p { margin: 0; }

/* ==========================================================================
   PUBLICATIONS PRO — liste tabulaire (sprint 5.G)
   ========================================================================== */

.gk-pubs-table {
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  overflow: hidden;
  background: var(--gk-white);
}
.gk-pubs-row {
  display: grid;
  grid-template-columns: 1fr 130px 130px 280px;
  gap: var(--gk-s2);
  padding: var(--gk-s3);
  align-items: center;
  border-bottom: 1px solid var(--gk-line);
}
.gk-pubs-row:last-child { border-bottom: 0; }
.gk-pubs-row--head {
  background: var(--gk-cloud);
  font-size: var(--gk-text-sm);
  font-weight: 600;
  color: var(--gk-slate);
}
@media (max-width: 720px) {
  .gk-pubs-row { grid-template-columns: 1fr; gap: 6px; }
  .gk-pubs-row--head { display: none; }
}

.gk-pubs-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}
.gk-pubs-status--publish { background: #eaf5ec; color: #1f4a1a; border-color: var(--gk-lime-600); }
.gk-pubs-status--pending { background: #fcebcb; color: #7a5310; border-color: #d8a64a; }
.gk-pubs-status--draft   { background: var(--gk-cloud); color: var(--gk-slate); border-color: var(--gk-line); }
.gk-pubs-status--future  { background: #eef4f7; color: #1d3c4d; border-color: #5b8aa1; }

.gk-pubs-actions { display: flex; flex-wrap: wrap; gap: 4px; }

/* Mini-graphique sparkline pour les stats pro (sprint 5.H) */
.gk-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 140px;
  padding: var(--gk-s2) 0;
  border-bottom: 1px solid var(--gk-line);
}
.gk-sparkline__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
}
.gk-sparkline__bar {
  width: 70%;
  max-width: 36px;
  background: linear-gradient(to top, var(--gk-lime-600), var(--gk-lime-300));
  border-radius: 4px 4px 0 0;
  min-height: 1px;
  transition: opacity .15s;
}
.gk-sparkline__col:hover .gk-sparkline__bar { opacity: 0.8; }
.gk-sparkline__col small {
  font-size: 10px;
  color: var(--gk-mist);
  margin-top: 4px;
  white-space: nowrap;
}

/* Jauges de quotas pro (tâche #10) */
.gk-quotas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gk-s3);
}
.gk-quota {
  background: var(--gk-cloud);
  border-radius: 8px;
  padding: var(--gk-s3);
}
.gk-quota__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  gap: 6px;
}
.gk-quota__bar {
  height: 6px;
  background: var(--gk-white);
  border-radius: 999px;
  overflow: hidden;
}
.gk-quota__fill {
  height: 100%;
  background: linear-gradient(to right, var(--gk-lime-600), var(--gk-lime-300));
  border-radius: 999px;
  transition: width .3s;
}
.gk-quota__fill.is-full { background: var(--gk-coral); }
.gk-quota__fill.is-unlimited {
  background: repeating-linear-gradient(45deg, var(--gk-lime-600), var(--gk-lime-600) 6px, var(--gk-lime-300) 6px, var(--gk-lime-300) 12px);
}
