/* ============================================================
   GiftKong — couche UX mobile « app » (additive)
   Chargée APRÈS site.css + brands.css. Le bureau n'est pas touché :
   tout ce qui change la mise en page vit sous @media (max-width: 767.98px).
   Mobilier : barre d'onglets .mnav (footer.php), barres d'action .mbar,
   feuilles basses (menu, panier, modales, sélecteur de pays), toast.
   ============================================================ */

/* 0 — mobilier d'application masqué par défaut, à toute largeur */
.mnav, .mbar, .msheet-bd, .mtoast, .msearch-btn { display: none; }

@media (max-width: 767.98px) {

  /* ---------- 1. socle ---------- */
  :root {
    --hdr-h: 56px;
    --mnav-h: 62px;
    --sab: env(safe-area-inset-bottom, 0px);
  }
  html { scroll-padding-top: calc(var(--hdr-h) + 12px); }
  [id] { scroll-margin-top: calc(var(--hdr-h) + 12px); }
  body { padding-bottom: calc(var(--mnav-h) + var(--sab)); }
  body.has-mbar { padding-bottom: calc(82px + var(--sab)); }
  html.sheet-lock, html.sheet-lock body { overflow: hidden; }

  h2 { font-size: 22px; }
  .container { width: min(100% - 32px, 1320px); }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .icon-btn { width: 40px; height: 40px; }

  /* ---------- 2. en-tête compact ---------- */
  .site-header { background: rgba(250, 247, 241, .95); }
  .header-inner { padding: 8px 0; gap: 8px; min-height: 56px; }   /* jamais var(--hdr-h) : boucle (JS mesure le header) */
  .brand > .brand-mark { width: auto; height: 34px; }
  .brand-word { font-size: 21px; }
  .header-actions { gap: 6px; margin-inline-start: auto; }
  .nav-toggle, .cart-btn { display: none; }                  /* → onglets Menu / Panier */
  body.page-product .cart-btn { display: grid; }             /* la barre d'onglets s'efface derrière la barre d'achat */
  .msearch-btn { display: grid; }
  .msearch-btn .icon { width: 19px; height: 19px; }
  body.msearch-open .msearch-btn { border-color: var(--pine); color: var(--pine-deep); background: var(--mint); }
  body.page-catalog .msearch-btn { display: none; }         /* la barre de recherche y est déjà */
  .chip-btn { height: 40px; padding: 0 11px; font-size: 13px; gap: 5px; white-space: nowrap; }
  .chip-btn > .icon:first-child { display: none; }
  .header-mobile-search { display: none; padding: 0 0 10px; }
  body.page-catalog .header-mobile-search, body.msearch-open .header-mobile-search { display: block; }
  body.page-catalog.hdr-collapsed .header-mobile-search { display: none; }   /* repli au défilement (app-mobile.js) */
  .header-mobile-search input { height: 42px; font-size: 16px; }

  /* ---------- 3. barre d'onglets ---------- */
  .mnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(var(--mnav-h) + var(--sab));
    padding: 4px 4px var(--sab);
    background: rgba(250, 247, 241, .97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }
  .mnav a, .mnav button {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; min-width: 0; padding: 4px 2px;
    background: none; border: 0; border-radius: 12px;
    color: var(--muted); font: 600 10.5px/1.2 var(--font-ui);
    text-decoration: none; -webkit-tap-highlight-color: transparent;
  }
  .mnav .icon { width: 24px; height: 24px; }
  .mnav .lbl { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mnav .is-active { color: var(--pine); }
  .mnav .is-active::before {
    content: ""; position: absolute; top: 0; left: 50%; width: 26px; height: 3px; margin-left: -13px;
    border-radius: 0 0 3px 3px; background: var(--pine);
  }
  .mnav .cart-badge { top: 1px; left: auto; right: auto; inset-inline-end: calc(50% - 22px); }
  body.has-mbar .mnav, html.kb-open .mnav, html.sheet-lock .mnav { display: none; }

  /* ---------- 4. barre d'action contextuelle (fiche, checkout, recharge) ---------- */
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + var(--sab));
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(24, 39, 32, .3);
    transform: translateY(110%); transition: transform .25s var(--ease);
  }
  body.has-mbar .mbar { transform: none; }
  html.kb-open .mbar, html.sheet-lock .mbar { display: none; }
  .mbar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .mbar-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .mbar-total { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar .btn { flex: none; display: block; max-width: 58%; padding: 12px 18px; font-size: 15px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar .btn:disabled { opacity: .6; }

  /* ---------- 5. feuilles basses ---------- */
  .msheet-bd { position: fixed; inset: 0; z-index: 125; background: rgba(24, 39, 32, .42); animation: mfade .2s var(--ease) both; }
  .msheet-bd.is-on { display: block; }
  @keyframes mfade { from { opacity: 0; } }
  @keyframes msheetPop { from { transform: translateY(100%); } to { transform: none; } }

  /* menu (tiroir → feuille) */
  .mobile-menu-panel {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%;
    max-height: min(88vh, 88dvh);
    padding: 8px 18px calc(18px + var(--sab));
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 48px rgba(24, 39, 32, .22);
    transform: translateY(104%);
  }
  .mobile-menu-panel::before { content: ""; display: block; width: 40px; height: 5px; margin: 0 auto 8px; border-radius: 999px; background: var(--line); }
  .mobile-menu.is-open .mobile-menu-panel { transform: translateY(0); }
  .mobile-menu-top { margin-bottom: 8px; }
  .mobile-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mobile-nav a { display: flex; align-items: center; min-height: 52px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 15px; line-height: 1.25; }
  .mobile-menu-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
  .mobile-locale { min-height: 48px; margin-bottom: 8px; }

  /* panier (dropdown → feuille, reste DANS le header : même contexte d'empilement que son voile) */
  .site-header:has(.cart-pop:not([hidden])) { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-wrap .cart-pop {
    position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 130;
    width: auto; min-width: 0; max-height: min(86vh, 86dvh); overflow-y: auto;
    padding: 24px 18px calc(18px + var(--sab));
    border: 0; border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 48px rgba(24, 39, 32, .22);
    animation: msheetPop .26s var(--ease) both;
  }
  .menu-wrap .cart-pop::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 999px; background: var(--line); }
  .menu-wrap .cart-pop.cart-pop--empty { padding-top: 30px; }
  .cart-items { max-height: none; }
  .cart-item { padding: 12px 0; }
  .cart-item img { width: 60px; height: 40px; }
  .cart-item-info strong { font-size: 14.5px; }
  .cart-qty button { width: 32px; height: 32px; font-size: 16px; }
  .cart-item-x { width: 36px; height: 36px; font-size: 20px; }
  .cart-foot .btn { min-height: 50px; font-size: 16px; }

  /* modales (préférences, région) → feuilles */
  .modal-panel, .modal:not([hidden]) .modal-panel, .modal.is-closing .modal-panel {
    left: 0; right: 0; top: auto; bottom: 0;
    width: 100%; max-width: none; max-height: min(88vh, 88dvh);
    padding: 22px 18px calc(18px + var(--sab));
    border-radius: 22px 22px 0 0;
    transform: none;
  }
  .modal:not([hidden]) .modal-panel { animation: msheetPop .26s var(--ease) both; }
  .modal.is-closing .modal-panel { animation: msheetPop .18s var(--ease) reverse both; }
  .modal-panel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 999px; background: var(--line); }
  .modal-head { margin-bottom: 10px; }
  .modal-head h2, .modal-head .modal-title { font-size: 19px; }
  .pref-row { min-height: 52px; }
  .pref-option { min-height: 50px; }
  .modal-back { min-height: 44px; }
  .modal-save { min-height: 52px; margin-top: 16px; }

  /* sélecteur de pays de la recharge → feuille */
  .tu-country-pop {
    position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 130;
    display: flex; flex-direction: column;
    max-height: min(80vh, 80dvh);
    padding: 22px 16px calc(12px + var(--sab));
    border: 0; border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 48px rgba(24, 39, 32, .22);
    animation: msheetPop .26s var(--ease) both;
  }
  .tu-country-pop[hidden] { display: none; }
  .tu-country-pop::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 999px; background: var(--line); }
  .tu-country-search { flex: none; font-size: 16px; }
  .tu-country-list { flex: 1; min-height: 0; max-height: none; overflow-y: auto; }
  .tu-country-list button { min-height: 48px; font-size: 15.5px; }

  /* toast (ajout au panier) */
  .mtoast {
    position: fixed; left: 16px; right: 16px; bottom: calc(var(--mnav-h) + var(--sab) + 12px); z-index: 140;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; background: var(--ink); color: #F3EFE6;
    border-radius: 14px; box-shadow: var(--shadow-l);
    font-size: 14px; font-weight: 600;
    visibility: hidden; opacity: 0; transform: translateY(16px);
    transition: transform .25s var(--ease), opacity .25s, visibility 0s .25s;
  }
  .mtoast.is-on { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .mtoast a { margin-inline-start: auto; padding: 6px 4px; color: #6FC79B; font-weight: 700; text-decoration: none; white-space: nowrap; }
  body.has-mbar .mtoast { bottom: calc(86px + var(--sab)); }
  html.sheet-lock .mtoast { opacity: 0; visibility: hidden; }

  /* ---------- 6. tuiles produit : 2 colonnes compactes ---------- */
  .card-grid, .card-grid--catalog, .card-grid--related, .tu-gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gift-card { border-radius: 14px; }
  .gift-card:hover { transform: none; box-shadow: none; }
  .gc-art { margin: 6px; border-radius: 9px; }
  .gc-badge { top: 6px; left: 6px; gap: 4px; padding: 3px 7px; font-size: 11px; }
  .gc-badge .icon { width: 11px; height: 11px; }
  .gc-range { display: none; }
  .gc-brand { font-size: 17px; }
  .gc-art--text { padding: 12px 10px; }
  .gc-body { gap: 2px; padding: 2px 10px 10px; }
  .gc-row h3 { font-size: 14px; line-height: 1.3; }
  .gc-meta { font-size: 12px; }
  .gc-foot { gap: 6px; padding-top: 8px; }
  .gc-price { gap: 4px; font-size: 12px; }
  .gc-price strong { font-size: 17px; }
  .gc-go { width: 28px; height: 28px; }
  .gc-go .icon { width: 15px; height: 15px; }
  .gift-card--ghost { grid-column: 1 / -1; padding: 22px 16px; }
  .grid-empty { padding: 28px 16px; }

  /* ---------- 7. accueil — hero v4 compact (07/10/2026) ----------
     Ordre telephone : titre (Kong a sa droite, 96 px), sous-titre, recherche, reassurance + cryptos,
     puis les six cartes vedettes en 3 x 2. Le lien recharge du bandeau est retire : l'onglet
     « Recharge » de la barre du bas le porte deja. */
  .hk-hero { padding: 12px 0 18px; background: radial-gradient(420px 220px at 92% 0%, rgba(14, 124, 79, .08), transparent 70%); }
  .hk-top { display: block; }
  .hk-top::after { content: ""; display: block; clear: both; }
  .hk-stage { float: right; display: block; width: 96px; min-height: 0; margin: 0 -6px 4px 10px; }
  [dir="rtl"] .hk-stage { float: left; margin: 0 10px 4px -6px; }
  .hk-stage::before { inset: 6% 0 0; }
  .hk-stage::after { bottom: -2px; height: 10px; }
  .hk-juggle { --kw: 96px; }
  .hk-br { display: inline; }
  .hk-sep { display: none; }
  .hk-h1 { margin: 6px 0 10px; font-size: clamp(29px, 8.2vw, 36px); line-height: 1.08; }
  :lang(ru) .hk-h1 { font-size: clamp(24px, 6.6vw, 30px); }
  .hk-search { clear: both; }
  .hk-sub { margin-bottom: 14px; font-size: 15px; line-height: 1.5; }
  .hk-search { gap: 6px; padding: 5px 5px 5px 14px; border-radius: 14px; }
  [dir="rtl"] .hk-search { padding: 5px 14px 5px 5px; }
  .hk-search > .icon { width: 20px; height: 20px; }
  .hk-search input { height: 44px; font-size: 16px; }
  .hk-search .btn { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
  .hk-meta { gap: 10px 16px; margin-top: 12px; }
  .hk-assure { gap: 6px 14px; }
  .hk-assure li { font-size: 13px; }
  .hk-assure .icon { width: 17px; height: 17px; }
  .hk-pay { gap: 6px 8px; }
  .hk-pay-l { font-size: 11px; }
  .hk-coins { gap: 5px; }
  .hk-coins img { width: 23px; height: 23px; }
  .hk-popular { margin-top: 18px; }
  .hk-pop-head { margin-bottom: 8px; }
  .hk-pop-t { font-size: 11.5px; }
  .hk-topup { display: none; }
  .hk-more { display: inline-flex; align-items: center; min-height: 36px; margin-inline-start: auto; font-size: 13px; }
  .hk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hk-tile { padding: 5px 5px 7px; border-radius: 12px; }
  .hk-tile:hover { transform: none; box-shadow: none; }
  .hk-tile-art { margin-bottom: 6px; border-radius: 8px; }
  .hk-tile-n { padding: 0 2px; font-size: 12.5px; }
  .hk-tile .gc-price { padding: 0 2px; gap: 3px; font-size: 11px; }
  .hk-tile .gc-price strong { font-size: 13.5px; }
  .sg-pop { max-height: 52vh; }
  .sg-opt { min-height: 50px; }

  .catalog { padding: 12px 0 28px; }
  .catalog--category { padding-top: 0; }
  .section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 12px; margin-bottom: 14px; }
  .section-head--center { display: flex; align-items: flex-start; text-align: start; }
  .section-head .eyebrow { margin-bottom: 4px; font-size: 11.5px; }
  .section-sub { margin-top: 4px; font-size: 13.5px; }
  .catalog-all-link { max-width: 132px; min-height: 40px; padding: 8px 12px; font-size: 12.5px; line-height: 1.2; white-space: normal; text-align: center; }
  /* carrousels horizontaux de l'accueil : tendances par categorie et, depuis le 07/10/2026,
     « les plus populaires » (les six vedettes sont deja en grille dans le hero) */
  .page-home .catalog--category .card-grid, .page-home #popular .card-grid {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 16px;
  }
  .page-home .catalog--category .card-grid::-webkit-scrollbar, .page-home #popular .card-grid::-webkit-scrollbar { display: none; }
  .page-home .catalog--category .card-grid > .gift-card, .page-home #popular .card-grid > .gift-card { flex: 0 0 44%; scroll-snap-align: start; }
  .catalog-more { margin-top: 4px; }
  .catalog-more-sub { font-size: 14px; }
  .catalog-more-cats .chip { min-height: 38px; }

  .how { padding: 0 0 28px; }
  .how-panel { padding: 20px 16px; border-radius: 20px; }
  .how-panel .section-head { grid-template-columns: minmax(0, 1fr); }
  .how-cta { justify-self: start; display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; }
  .steps { gap: 16px; margin-top: 14px; }
  .step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 12px; }
  .step-icon { width: 48px; height: 48px; padding: 12px; border-radius: 15px; }
  .step-num { top: -6px; left: 33px; width: 21px; height: 21px; font-size: 11px; }
  [dir="rtl"] .step-num { left: auto; right: 33px; }
  .step h3 { margin-top: 1px; font-size: 15.5px; }
  .step p { font-size: 13.5px; }

  .why { padding: 0 0 28px; }
  /* « Pourquoi GiftKong » (08/10/2026, proprietaire : « sur mobile les icones prennent une ligne
     complete ») : UNE surface, quatre lignes « icone | titre + texte » separees par un filet ; plus
     aucune icone seule sur sa ligne. Section 44 a 121 px plus courte que l'ancienne grille 2 x 2
     (mesure 390/360 px, en/ru), titres sur une ligne, texte a 13 px. 560-767 px : bloc en fin de fichier. */
  .page-home .why-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
  .page-home .why-card { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 11px; align-items: start; padding: 11px 12px; border: 0; border-radius: 0; background: none; }
  .page-home .why-card + .why-card { border-top: 1px solid var(--line-soft); }
  .page-home .why-card:hover { transform: none; box-shadow: none; }
  .page-home .why-head { display: contents; }
  .page-home .why-icon { grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 9px; }
  .page-home .why-icon .icon { width: 17px; height: 17px; }
  .page-home .why-card h3 { grid-column: 2; margin: 0 0 1px; font-size: 14.5px; line-height: 1.3; }
  .page-home .why-card p { grid-column: 2; font-size: 13px; line-height: 1.42; }
  .page-home .why .pay-row { display: none; }   /* les cryptos sont deja dans le hero et le pied de page */
  .why-grid { gap: 10px; margin-top: 16px; }
  .why-card { padding: 16px; }
  .why-card p { font-size: 14px; }
  .pay-row { margin-top: 22px; gap: 8px; }

  .topup-promo { padding: 22px 18px; border-radius: 18px; }
  .topup-promo h2 { font-size: 22px; }
  .topup-promo p { margin-bottom: 16px; font-size: 14px; }
  .topup-promo .btn { width: 100%; }

  .home-faq { padding: 2px 14px; border-radius: 16px; }
  .home-faq .sp-faq summary { padding: 13px 0; padding-inline-end: 26px; font-size: 14.5px; }
  .home-faq .sp-faq p { font-size: 14px; }

  /* accueil, UX v5 (07/10/2026) : onglets, guides en liste a vignette, carte d'aide de la FAQ */
  .ht-tabs { margin-bottom: 12px; }
  .ht-tab { padding: 8px 14px; font-size: 13.5px; }
  .ht-panel-head { margin-bottom: 10px; }
  .ht-panel-head h3 { font-size: 18px; }
  .ht-all { font-size: 13px; }
  .ht-more { justify-content: flex-start; gap: 6px; margin-top: 12px; }
  .ht-more > span { flex-basis: 100%; font-size: 13px; }
  .home-guides { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-guides > li > a { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; padding: 0; border-radius: 14px; }
  .home-guides picture { grid-row: 1 / span 2; min-height: 86px; }
  .home-guides-img { height: 100%; aspect-ratio: auto; }
  .home-guides-t { padding: 10px 12px 0 0; font-size: 14.5px; }
  .home-guides-s { margin-bottom: 10px; padding: 2px 12px 0 0; font-size: 12.5px; }
  [dir="rtl"] .home-guides-t { padding: 10px 0 0 12px; }
  [dir="rtl"] .home-guides-s { padding: 2px 0 0 12px; }
  .faq-help { gap: 10px; padding: 16px 14px 0 16px; border-radius: 16px; }
  .faq-help h3 { font-size: 19px; }
  .faq-help p { font-size: 13.5px; }
  .faq-help-copy { padding-bottom: 16px; }
  .faq-help-links { gap: 8px 14px; margin-top: 12px; }
  .faq-kong { width: 86px; }

  /* ---------- 8. catalogue ---------- */
  .catalog-hero { padding-bottom: 12px; margin-bottom: 10px; }
  .catalog-hero .crumbs { padding-top: 6px; }
  .catalog-hero-inner { margin-top: 0; }
  .catalog-hero-copy .eyebrow { margin-bottom: 4px; font-size: 11.5px; }
  .catalog-hero-copy h1 { font-size: 26px; }
  .catalog-hero .catalog-sub { margin-top: 6px; font-size: 13.5px; }
  .catalog-page { padding-bottom: 36px; }
  .catalog-layout { gap: 10px; }
  .cat-side {
    position: sticky; top: var(--hdr-h); z-index: 20;
    margin: 0 -16px; padding: 8px 16px 6px;
    background: rgba(250, 247, 241, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0;
  }
  .cat-list { gap: 6px; }
  .cat-link { min-height: 38px; padding: 7px 12px; font-size: 13.5px; }
  .pager { gap: 6px; margin-top: 24px; }
  .page-btn { min-width: 44px; height: 44px; }
  .catx { padding: 14px 0 36px; }
  .catx-intro, .catx-cases { gap: 10px; margin-bottom: 14px; }
  .catx-copy h2 { font-size: 22px; }
  .catx-copy p { font-size: 15px; }
  .catx-highlights { padding: 14px 16px; gap: 10px; }
  .catx-case { padding: 14px 16px; }
  .catx-faq { padding: 12px 16px; }
  .catx-faq h2 { font-size: 21px; }

  /* ---------- 9. fil d'Ariane ---------- */
  .crumbs { flex-wrap: nowrap; gap: 6px; padding: 6px 0 2px; font-size: 12.5px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
  .crumbs::-webkit-scrollbar { display: none; }
  .crumbs a, .crumbs [aria-current] { display: inline-block; padding: 8px 0; }
  .crumbs > span[aria-hidden] { flex: none; }

  /* ---------- 10. fiche produit ---------- */
  .pdp { padding: 0 0 36px; }
  .pdp-grid { gap: 12px; padding-top: 6px; }
  .pdp-visual { border-radius: 16px; }
  ul.pdp-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 0; }
  ul.pdp-trust li { flex-direction: column; align-items: center; gap: 4px; padding: 9px 6px; border-radius: 10px; text-align: center; }
  ul.pdp-trust .icon { width: 18px; height: 18px; margin: 0; }
  ul.pdp-trust strong { font-size: 11.5px; line-height: 1.25; }
  ul.pdp-trust span { display: none; }
  .pdp-panel { padding: 16px 14px 14px; border-radius: 18px; }
  .pdp-panel h1 { font-size: 24px; }
  .pdp-tagline { margin: 6px 0 2px; font-size: 14px; }
  p.pdp-trust { flex-wrap: wrap; gap: 4px 6px; font-size: 12.5px; }
  .pdp-label { margin: 14px 0 6px; }
  .pdp-region { min-height: 56px; padding: 10px 12px; }
  .amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .amount { min-height: 46px; padding: 8px 4px; font-size: 15px; }
  .amount--labeled { padding: 7px 5px; }
  .pdp-buyrow { flex-wrap: nowrap; margin: 14px 0 12px; }
  .qty button { width: 44px; height: 46px; }
  .qty input { width: 40px; font-size: 16px; }
  .pdp-total strong { font-size: 26px; }
  .pdp-note { margin-top: 10px; font-size: 12.5px; }
  .pdp-content { margin-top: 28px; }
  .pdp-section { margin-bottom: 32px; }
  .pdp-section h2 { margin-bottom: 12px; font-size: 22px; }
  .pdp-about-grid { gap: 16px; }
  .pdp-about-copy p:not(.eyebrow) { margin-bottom: 12px; font-size: 15px; line-height: 1.7; }
  .pdp-perks { gap: 4px; padding: 10px; }
  .perk { gap: 10px; padding: 8px; }
  .perk-icon { width: 36px; height: 36px; }
  .redeem-steps { gap: 8px; margin-bottom: 14px; }
  .redeem-steps li { padding: 12px 14px; font-size: 13.5px; }
  .pdp-callout { gap: 12px; padding: 14px 16px; }
  .pdp-callout ul { padding-inline-start: 14px; }
  .faq { gap: 8px; }
  .faq-item summary { padding: 13px 14px; font-size: 14.5px; }
  .faq-item p { padding: 0 14px 14px; font-size: 14px; }
  .pdp-related .section-head { margin-bottom: 12px; }

  /* UX v5 (07/10/2026) : le titre, la region et les montants remontent dans le premier ecran —
     carte un peu plus petite, badges de confiance passes sous le panneau d'achat (le panneau
     porte deja sa ligne de confiance). */
  .pdp-media { display: contents; }
  .pdp-visual { width: 82%; margin: 0 auto; }
  .pdp-panel { order: 1; }
  ul.pdp-trust { order: 2; margin: 0; }
  .pdp-cta.has-buynow .btn { padding-inline: 10px; font-size: 15.5px; }
  .pdp-buyhow-head h2 { margin-bottom: 12px; }
  .pdp-kong { width: 60px; margin: 0 6px -10px 0; }
  .grid-empty--kong { flex-direction: column; gap: 10px; padding: 22px 16px; text-align: center; }
  .grid-empty-chips { justify-content: center; }
  .empty-kong { width: 92px; }

  /* tableau régions × montants → cartes (data-th posé par app-mobile.js) */
  .pdp-table-wrap { overflow: visible; border: 0; background: none; }
  .pdp-table { display: block; min-width: 0; font-size: 14px; }
  .pdp-table thead { display: none; }
  .pdp-table tbody, .pdp-table tr, .pdp-table th, .pdp-table td { display: block; }
  .pdp-table tbody tr { margin-bottom: 8px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
  .pdp-table tbody tr:last-child { margin-bottom: 0; }
  .pdp-table tbody th { padding: 0 0 6px; border: 0; font-size: 15px; white-space: normal; }
  .pdp-table td { display: flex; gap: 10px; padding: 3px 0; border: 0; }
  .pdp-table td::before { content: attr(data-th); flex: none; width: 88px; padding-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
  .pdp-table td:last-child { line-height: 1.5; }
  .pdp-table-note { font-size: 13.5px; }

  /* fiche produit v6 (07/10/2026) : en-tete compact (carte + titre cote a cote), panneau d'achat
     juste dessous, sommaire en puces defilantes ; regions sur deux lignes */
  .pd { padding-bottom: 32px; }
  .pd-head { grid-template-columns: 124px minmax(0, 1fr); grid-template-areas: "art eyebrow" "art title" "tag tag"; column-gap: 14px; row-gap: 0; align-items: center; padding: 6px 0 14px; }
  .pd-intro { display: contents; }
  .pd-art { grid-area: art; align-self: center; border-radius: 12px; }
  .pd-eyebrow { grid-area: eyebrow; align-self: end; margin: 0 0 3px; font-size: 11px; }
  .pd-intro h1 { grid-area: title; align-self: start; margin: 0; font-size: 22px; line-height: 1.15; }
  .pd-tagline { grid-area: tag; margin: 12px 0 0; font-size: 14.5px; }
  .pd-highlights { display: none; }
  .pd-box { padding: 16px 14px 14px; border-radius: 18px; }
  .pd-box-t { margin-bottom: 10px; font-size: 18px; }
  .pd-field + .pd-field { margin-top: 14px; }
  .pd-region { min-height: 56px; padding: 10px 12px; }
  .pd-box .amounts { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
  .pd-buyrow { margin: 14px 0 12px; padding-top: 12px; }
  .pd-total strong { font-size: 26px; }
  .pd-assure li { font-size: 12.5px; }
  .pd-nav { margin: 20px -16px 0; padding: 6px 16px; }
  .pd-nav a { padding: 7px 12px; font-size: 13.5px; }
  .pd-sec { padding-top: 26px; }
  .pd-sec h2 { margin-bottom: 12px; font-size: 22px; }
  .pd-about p { font-size: 15px; line-height: 1.7; }
  .pd-rrow { grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "flag name pick" "flag amts amts"; gap: 4px 12px; padding: 11px 12px; }
  .pd-rflag { grid-area: flag; align-self: start; padding-top: 2px; }
  .pd-rflag .flag { width: 26px; height: 26px; }
  .pd-rname { grid-area: name; }
  .pd-ramts { grid-area: amts; font-size: 13.5px; }
  .pd-rpick { grid-area: pick; min-height: 36px; padding: 6px 12px; }
  .pd-steps li { gap: 12px; padding: 12px 14px; }
  .pd-step-n { width: 28px; height: 28px; font-size: 14px; }
  .pd-step-t { font-size: 14.5px; }
  .pd-kong { width: 60px; margin: 0 6px -10px 0; }
  .pd-faq { padding: 2px 14px; }
  .pd-faq-i summary { padding: 13px 0; font-size: 14.5px; }
  .pd-related { margin-top: 36px; }
  .pd-body .pdp-guides .home-guides { grid-template-columns: minmax(0, 1fr); }

  /* ---------- 11. recharge mobile / checkout / commande ---------- */
  .checkout-page, .order-page, .account-page { padding: 4px 0 36px; }
  .checkout-layout, .order-layout, .support-layout { gap: 12px; }
  .checkout-head h1, .order-head h1, .account-head h1, .checkout-empty h1, .account-auth-card h1 { font-size: 24px; }
  .checkout-tag { font-size: 14px; }
  .co-block { margin-top: 0; padding: 16px 14px; border-radius: 16px; }
  .co-block + .co-block, .checkout-main .co-block { margin-top: 12px; }
  .co-block-head { flex-wrap: wrap; gap: 8px 10px; margin-bottom: 12px; }
  .co-block-head h2, .co-block-head .co-step-title { font-size: 17px; }
  .co-head-hint { flex-basis: 100%; margin: -4px 0 0 38px; }
  [dir="rtl"] .co-head-hint { margin: -4px 38px 0 0; }
  .co-alt { flex-basis: 100%; margin: 0; padding: 4px 0; text-align: start; }
  .co-input { min-height: 48px; font-size: 16px; }
  .co-label { margin: 12px 0 6px; font-size: 13.5px; }
  .co-check { min-height: 44px; }
  .co-check input { width: 20px; height: 20px; }
  .co-login-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .co-login-actions .btn { width: 100%; }
  .co-signed { flex-wrap: wrap; }
  .co-signout { padding: 6px 0; }
  .co-side-card { padding: 14px; border-radius: 16px; }
  .co-side-title { margin-bottom: 10px; }
  .co-place { min-height: 52px; padding: 14px 18px; font-size: 16px; }
  .co-assure { gap: 8px 14px; font-size: 12.5px; }
  .co-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-areas: "img info rm" "img qty line"; gap: 4px 10px; align-items: center; }
  .co-item > img { grid-area: img; width: 60px; height: 40px; }
  .co-item-info { grid-area: info; }
  .co-item-qty { grid-area: qty; }
  .co-item-qty button { width: 32px; height: 32px; }
  .co-item-line { grid-area: line; text-align: end; }
  .co-item-rm { grid-area: rm; justify-self: end; width: 36px; height: 36px; }
  .checkout-empty { padding: 40px 0; }
  .checkout-empty .btn { width: 100%; }

  body.page-topup .checkout-side .co-side-card:not(.co-side-cta) { order: 5; }   /* récap après le formulaire */
  .tu-grid { gap: 12px; }
  .tu-country-btn { min-height: 50px; font-size: 16px; }
  .tu-prefix { min-height: 48px; padding: 12px 10px; }
  .coin-cards, .coin-cards.tu-operators { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .coin-card { min-height: 52px; gap: 8px; padding: 9px 10px; }
  .coin-card:hover { transform: none; }
  .coin-ico { width: 26px; height: 26px; }
  .coin-txt strong { font-size: 13.5px; }
  .tu-op { min-height: 48px; padding: 10px 8px; font-size: 14px; }
  .tu-amounts { gap: 8px; }
  .tu-amounts .coin-chip { min-height: 42px; padding: 9px 14px; font-size: 14.5px; }
  .tu-amount-row { max-width: none; }
  .coin-group-label { margin: 18px 0 9px; }
  .coin-more { margin-top: 18px; }
  .co-morecoins { min-height: 44px; margin-top: 12px; }
  .coin-selected { margin-top: 14px; }
  .tu-country-block { margin-top: 26px; }
  .tu-country-block h2 { margin-bottom: 12px; font-size: 20px; }
  .tu-carrier-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tu-carrier-list li { padding: 10px 12px; }
  .tu-carrier-list strong { font-size: 14px; }
  .tu-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tu-country-tile { min-height: 46px; padding: 8px 10px; font-size: 13px; }
  .tu-country-tile span { white-space: normal; line-height: 1.25; }
  .tu-block-more a { display: inline-block; padding: 8px 0; }

  .order-head { align-items: flex-start; }
  .order-steps { gap: 8px; margin-top: 14px; }
  .order-steps li { padding: 10px 12px; }
  .order-pay, .order-items-block { margin-top: 12px; padding: 16px 14px; border-radius: 16px; }
  .op-invoice { gap: 14px; padding: 14px; }
  .op-qr { width: 176px; height: 176px; }
  .op-fields { gap: 10px; }
  .op-field-row code { padding: 9px 10px; font-size: 13px; }
  .op-copy { min-height: 44px; padding: 8px 14px; font-size: 13.5px; }
  .order-pay-status { flex-wrap: wrap; gap: 10px; padding: 12px 14px; font-size: 14px; }
  .order-pay-status .btn { margin-inline-start: 0; flex-basis: 100%; }
  .order-side { padding: 14px; }
  .order-items li { gap: 10px; }
  .order-items img { width: 60px; height: 40px; }
  .order-items strong { font-size: 14px; }
  .op-underpaid { padding: 14px; }

  /* ---------- 12. compte / support / suivi ---------- */
  .account-head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 14px; }
  .account-head .btn { width: 100%; }
  .ao-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id status" "items total"; gap: 4px 12px; padding: 12px 14px; }
  .ao-id { grid-area: id; }
  .ao-status { grid-area: status; justify-self: end; }
  .ao-items { grid-area: items; }
  .ao-total { grid-area: total; justify-self: end; font-weight: 600; }
  .account-auth { gap: 14px; }
  .account-auth-card { padding: 18px 14px; }
  .account-form .btn { min-height: 50px; }
  .account-auth-aside { padding: 0; }
  .account-auth-aside .btn { width: 100%; }
  .account-empty { padding: 40px 0; }

  .support-page, .redeem-page, .pm-page, .legal-page { padding-bottom: 36px; }
  .support-main .co-block { margin-top: 0; }
  .sp-gate-grid { gap: 0; margin-bottom: 8px; }
  [data-sp-gate] .btn, [data-sp-form] .btn, .support-main form .btn { width: 100%; min-height: 50px; }
  .sp-select, .sp-textarea { font-size: 16px; }
  .sp-faq summary { min-height: 44px; padding: 12px 0; padding-inline-end: 24px; }
  .sp-done { padding: 28px 16px; }

  /* ---------- 13. pages statiques ---------- */
  .rd-steps { gap: 10px; }
  .rd-steps .co-block { padding: 14px 14px 14px 66px; }
  [dir="rtl"] .rd-steps .co-block { padding: 14px 66px 14px 14px; }
  .rd-num { left: 14px; top: 14px; width: 40px; height: 40px; font-size: 18px; }
  [dir="rtl"] .rd-num { left: auto; right: 14px; }
  .rd-steps h2 { font-size: 17px; }
  .rd-steps .btn { width: 100%; }
  .rd-help { margin-top: 12px; }
  .rd-help .btn { width: 100%; }
  .pm-grid { gap: 8px; }
  .pm-coin { min-height: 46px; }
  .legal-body h2 { margin: 22px 0 8px; font-size: 18px; }
  .soon { padding: 36px 0 56px; }
  .soon-art { width: 96px; height: 96px; margin-bottom: 18px; }
  .soon h1 { font-size: 26px; }
  .soon-sub { margin-bottom: 22px; font-size: 15px; }
  .soon-actions { flex-direction: column; gap: 10px; }
  .soon-actions .btn { width: 100%; }

  /* UX v5 (07/10/2026) : Kong des en-tetes de pages de service, 404, fin de guide, compte */
  .catalog-hero--kong .catalog-hero-inner { position: relative; }
  .catalog-hero--kong .catalog-hero-copy { padding-inline-end: 78px; }
  .page-kong { position: absolute; right: -6px; bottom: -12px; margin: 0; }
  [dir="rtl"] .page-kong { right: auto; left: -6px; }
  .page-kong img { height: 86px; }
  .soon--kong { padding: 22px 0 44px; }
  .soon-kong { width: 112px; margin-bottom: 8px; }
  .nf-search { margin-bottom: 14px; }
  .gd-help .faq-help { gap: 10px; padding: 16px 14px 0 16px; }
  .gd-help .faq-help-copy { padding-bottom: 16px; }
  .faq-help h2 { font-size: 19px; }
  .aside-kong { width: 72px; }

  /* ---------- 14. guides ---------- */
  .guides { padding: 4px 0 36px; }
  .guides-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .guide-card { flex-direction: row; align-items: stretch; border-radius: 14px; }
  .guide-card:hover { transform: none; box-shadow: none; }
  .guide-card > picture { position: relative; display: block; flex: 0 0 36%; min-width: 0; min-height: 118px; }
  .guide-card > picture .guide-card-img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .guide-card-body { gap: 4px; padding: 10px 12px; }
  .guide-card-body h2 { font-size: 14.5px; line-height: 1.3; }
  .guide-card-body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.45; }
  .guide-card-meta { font-size: 11px; }
  .gd-hero { gap: 12px; }
  .gd-hero-copy h1 { font-family: var(--font-display); font-size: 26px; letter-spacing: -.015em; line-height: 1.1; }
  .gd-hero-art img { border-radius: 14px; }
  .gd-meta { font-size: 12.5px; }
  .gd-body { padding-bottom: 36px; }
  .gd-section { margin-top: 22px; }
  .gd-section > h2 { margin-bottom: 12px; font-size: 22px; }
  .gd-steps { gap: 8px; }
  .gd-step { gap: 12px; padding: 14px; }
  .gd-num { width: 34px; height: 34px; font-size: 15px; }
  .gd-step h3 { font-size: 15.5px; }
  .gd-step p { font-size: 14px; }
  .gd-callout { margin-top: 22px; padding: 16px 18px; }
  .gd-related { gap: 10px; }
  .gd-related-card { padding: 14px 16px; }

  /* guides v2 (07/10/2026) : en-tete compact — titre a gauche, vignette (carte ou illustration)
     a droite comme la fiche produit ; reponse courte ; regions sur une colonne ; bibliotheque */
  .gd-top { padding-bottom: 16px; }
  .gd-top .gd-hero--card, .gd-top .gd-hero--illus {
    grid-template-columns: minmax(0, 1fr) 104px;
    grid-template-areas: "eyebrow art" "title art" "sub sub" "meta meta";
    column-gap: 14px;
    row-gap: 0;
    align-items: center;
    margin-top: 4px;
  }
  .gd-top .gd-hero--card .gd-hero-copy, .gd-top .gd-hero--illus .gd-hero-copy { display: contents; }
  .gd-top .gd-eyebrow { grid-area: eyebrow; align-self: end; margin: 0 0 4px; }
  .gd-top .gd-hero-copy h1 { grid-area: title; align-self: start; max-width: none; font-size: 24px; line-height: 1.12; }
  .gd-top .gd-sub { grid-area: sub; margin-top: 12px; font-size: 14.5px; line-height: 1.5; }
  .gd-top .gd-meta { grid-area: meta; margin-top: 10px; }
  .gd-top .gd-hero-art { grid-area: art; align-self: center; }
  .gd-hero-art--card { min-height: 0; padding: 4px 2px; border: 0; background: none; }
  .gd-card { width: 100%; border-radius: 9px; box-shadow: 0 12px 20px -12px rgba(24, 39, 32, .55); }
  .gd-code { display: none; }
  .gd-hero--illus .gd-hero-art img { border-radius: 12px; }
  .gd-answer { margin-top: 16px; padding: 14px 16px 14px 18px; border-radius: 14px; }
  .gd-answer::before { top: 12px; bottom: 12px; }
  .gd-answer-p { font-size: 15px; line-height: 1.55; }
  .gd-sec-sub { margin: -4px 0 12px; font-size: 14px; }
  .gd-rlist { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gd-rrow { gap: 10px; padding: 11px 12px; }
  .gd-rname span { white-space: normal; }
  .gx-jump { flex-wrap: nowrap; margin: 12px 0 0 -16px; padding: 0 0 2px 16px; overflow-x: auto; scrollbar-width: none; }
  .gx-jump::-webkit-scrollbar { display: none; }
  .gx-jump a { flex: none; }
  .gx-sec + .gx-sec { margin-top: 30px; }
  .gx-head { margin-bottom: 12px; }
  .gx-head h2 { font-size: 22px; }
  .gx-head p { font-size: 13.5px; }
  .gx-brands { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gx-brand { grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; padding: 8px 12px 8px 8px; border-radius: 12px; }
  .gx-brand:hover, .gx-item:hover { transform: none; box-shadow: none; }
  .gx-brand img { width: 64px; border-radius: 6px; }
  .gx-brand h3 { font-size: 14.5px; }
  .gx-brand .gx-m { font-size: 11px; }
  .gx-list { gap: 8px; }
  .gx-item { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 8px; border-radius: 14px; }
  .gx-item img { min-height: 76px; border-radius: 8px; }
  .gx-item-body { gap: 4px; padding: 2px 4px 2px 0; }
  .gx-item h3 { font-size: 14.5px; line-height: 1.3; }
  .gx-item p { font-size: 12.5px; line-height: 1.45; }
  .gx-item .gx-m { font-size: 11px; }
  .home-redeem-links { flex-wrap: nowrap; margin: 14px -16px 0; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
  .home-redeem-links::-webkit-scrollbar { display: none; }
  .home-redeem-links > * { flex: none; }

  /* ---------- 15. pied de page ---------- */
  .site-footer { font-size: 14px; }
  .footer-grid { gap: 0; padding: 28px 0 10px; }
  .f-brand { margin-bottom: 16px; }
  .f-brand .brand { margin-bottom: 10px; }
  .f-tag { margin-bottom: 8px; font-size: 13.5px; }
  .f-hello { font-size: 12.5px; }
  .f-col { gap: 0; border-top: 1px solid rgba(243, 239, 230, .12); }
  .f-col .f-head { margin: 0; }
  .f-acc-btn {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px;
    padding: 0; background: none; border: 0; color: #8FB39C;
    font: 700 12.5px/1.2 var(--font-ui); letter-spacing: .09em; text-transform: uppercase; text-align: start;
    -webkit-tap-highlight-color: transparent;
  }
  .f-acc-btn::after { content: ""; width: 9px; height: 9px; margin-inline-end: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
  .f-acc-btn[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .f-links { display: none; padding: 0 0 10px; }
  .f-acc-btn[aria-expanded="true"] + .f-links { display: grid; }
  .f-links a { display: flex; align-items: center; width: auto; min-height: 42px; font-size: 14.5px; }
  .f-mid { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 0; }
  .pay-chip { min-height: 36px; }
  .pay-chip-more { padding: 0 10px; }
  .pay-chip-more a { display: flex; align-items: center; min-height: 36px; }
  .catalog-clear { display: inline-block; padding: 8px 0; }
  .sp-side-note a, .order-side-note a, .tu-block-more a { display: inline-block; padding: 6px 0; }
  .pm-coin .coin-net { font-size: 10px; }
  .f-bottom { flex-direction: column; gap: 6px; padding: 12px 0 18px; text-align: center; }
  .f-bottom nav { gap: 6px; }
  .f-bottom nav a { display: inline-block; padding: 9px 8px; }

  /* ---------- 16. divers ---------- */
  .catalog-hero-perks { display: none; }
  .search-status { font-size: 13.5px; }
  .chip { min-height: 36px; }
}

/* téléphone en paysage : barres plus basses, libellés d'onglets masqués */
@media (max-width: 767.98px) and (max-height: 480px) and (orientation: landscape) {
  :root { --mnav-h: 48px; }
  .mnav a, .mnav button { min-height: 40px; }
  .mnav .lbl { display: none; }
  .mbar { padding-top: 6px; }
  .mbar .btn { min-height: 40px; padding: 9px 16px; }
  .mobile-menu-panel, .menu-wrap .cart-pop, .modal-panel, .modal:not([hidden]) .modal-panel, .tu-country-pop { max-height: 92vh; }
}

/* « Pourquoi GiftKong » sur grands telephones / paysage (560-767 px) : colonnes assez larges pour
   2 x 2 — meme surface a filets, icone a cote du titre, texte sous les deux (354 px au lieu de 455). */
@media (min-width: 560px) and (max-width: 767.98px) {
  .page-home .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .why-card { display: block; padding: 11px 12px 12px; }
  .page-home .why-card + .why-card { border-top: 0; }
  .page-home .why-card:nth-child(2n) { border-inline-start: 1px solid var(--line-soft); }
  .page-home .why-card:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .page-home .why-head { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
  .page-home .why-icon { width: 28px; height: 28px; border-radius: 8px; }
  .page-home .why-icon .icon { width: 16px; height: 16px; }
}

/* petits téléphones (≤ 360 px) */
@media (max-width: 360px) {
  .brand-word { font-size: 19px; }
  .chip-btn { padding: 0 8px; font-size: 12px; }
  .mnav a, .mnav button { font-size: 10px; }
  .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .catalog--category .card-grid > .gift-card, .page-home #popular .card-grid > .gift-card { flex-basis: 56%; }
  .mbar .btn { padding: 12px 14px; font-size: 14px; }
  body.page-product .msearch-btn { display: none; }
}

@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .mbar, .mtoast, .mobile-menu-panel, .f-acc-btn::after { transition: none; }
  .menu-wrap .cart-pop, .modal:not([hidden]) .modal-panel, .modal.is-closing .modal-panel, .tu-country-pop, .msheet-bd { animation: none; }
}

/* Pages legales sur telephone (08/10/2026) — voir le bloc « PAGES LEGALES » de site.css */
@media (max-width: 767.98px) {
  .lg-intro { font-size: 15px; }
  .lg-meta { gap: 6px 14px; margin-top: 12px; font-size: 12.5px; }
  .lg-meta .icon { width: 15px; height: 15px; }
  .lg-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
  .lg-docs a { justify-content: center; min-height: 42px; padding: 8px 10px; font-size: 13.5px; text-align: center; }
  /* « En bref » : une surface a filets (comme « Pourquoi GiftKong » de l'accueil), la ligne entiere est le lien */
  .lg-glance-box { padding: 14px 14px 8px; border-radius: 16px; }
  .lg-glance-h { margin-bottom: 4px; }
  .lg-points { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lg-points li + li { border-top: 1px solid var(--line-soft); }
  .lg-points a { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 11px 0; border: 0; border-radius: 0; background: none; }
  .lg-points a:hover { background: none; }
  .lg-psec { display: none; }
  .lg-pi { width: 34px; height: 34px; border-radius: 10px; }
  .lg-pi .icon { width: 18px; height: 18px; }
  .lg-pt strong { font-size: 14.5px; }
  .lg-pp { font-size: 13px; }
  .lg-main { padding: 16px 0 32px; }
  .lg-sec { padding: 18px 0; scroll-margin-top: 76px; }
  .lg-sec-head { gap: 10px; }
  .lg-num { width: 30px; height: 30px; border-radius: 9px; font-size: 12.5px; }
  .lg-sec h2 { font-size: 19.5px; }
  .lg-sec-body p { font-size: 15.5px; line-height: 1.7; }
  .lg-aside { grid-template-columns: minmax(0, 1fr); }
  .lg-js .lg-print { display: none; }
}

/* Checkout v2 sur téléphone (09/10/2026) — voir le bloc « CHECKOUT v2 » de site.css */
@media (max-width: 767.98px) {
  .site-header--co .header-inner { min-height: 58px; gap: 10px; }
  .site-header--co .chip-btn { display: none; }
  .hco-secure { padding: 5px 10px 5px 8px; font-size: 12.5px; }
  .hco-help { padding: 8px; }
  .hco-help span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* icône seule, nom gardé pour les lecteurs d'écran */
  .co2-progress { padding: 10px 0; }
  .co2-progress li { gap: 7px; font-size: 12.5px; }
  .co2-progress li:not(.is-current) .co2-plbl { display: none; }
  .co2-progress li + li::before { width: 14px; margin: 0 8px; }
  .co2-pdot { width: 24px; height: 24px; font-size: 12px; }
  .co2.checkout-page { padding-top: 12px; }
  .co2-head h1 { font-size: 26px; }
  .co2-head .checkout-tag { margin-top: 4px; font-size: 14px; }
  .co2-step { margin-top: 12px; padding: 16px 14px 18px; border-radius: 16px; }
  .co2-step-head { margin-bottom: 12px; }
  .co2-step-head h2 { font-size: 17px; }
  .co2-step .co-alt { flex-basis: auto; width: 100%; padding: 2px 0 0 38px; }
  [dir="rtl"] .co2-step .co-alt { padding: 2px 38px 0 0; }
  .co2-step .co-head-hint { flex-basis: 100%; margin: -6px 0 0 38px; }
  .co2-coins .coin-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .co2-coin.coin-card { min-height: 52px; padding: 7px 10px; }
  .co2-coin .coin-ico { width: 26px; height: 26px; }
  .co2-review { padding: 0 12px; }
  .co2-review > div { padding: 10px 0; }
  .co2-review dt { font-size: 13.5px; }
  .co2-review dd { font-size: 14px; }
  .co2-review-total dd { font-size: 21px; }
  .co2-place.co-place { min-height: 56px; font-size: 16.5px; }
  .co2-next { margin-top: 16px; }
  .co2-trust.co-side-card { padding: 14px; }
  .co2-empty-kong { width: 120px; }
  .f-co { justify-content: center; text-align: center; padding-bottom: calc(22px + var(--sab)); }
}

/* Page de paiement v3 sur téléphone (15/10/2026) — voir le bloc « PAGE DE PAIEMENT v3 » de site.css */
@media (max-width: 767.98px) {
  .op3.order-page { padding-top: 12px; }
  .op3-head h1 { font-size: 25px; }
  .op3-meta { font-size: 13.5px; }
  .op3-deliver { flex-wrap: wrap; gap: 4px 9px; margin-top: 12px; padding: 10px 12px; }
  .op3-deliver p { flex: 1 1 calc(100% - 29px); font-size: 14px; }
  .op3-deliver-x { margin-inline-start: 29px; }
  .op3-card { border-radius: 16px; }
  .op3-card-head { gap: 8px; padding: 10px 12px 10px 14px; }
  .op3-paywith-w { gap: 4px 8px; }
  .op3-paywith { gap: 8px; font-size: 14.5px; }
  .op3-coin { width: 24px; height: 24px; }
  .op3-timer { gap: 6px; padding: 5px 10px; font-size: 12.5px; }
  .op3-timer .icon { width: 15px; height: 15px; }
  .op3-timer-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* icône + minuteur seuls, libellé gardé pour les lecteurs d'écran */
  .op3-timer .op-expires { font-size: 14.5px; }
  .op3-body { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px 14px 18px; }
  .op3-steps { gap: 18px; }
  .op3-step { padding-inline-start: 0; }
  .op3-step:not(:last-child)::before { display: none; }
  .op3-step-n { position: static; width: 22px; height: 22px; font-size: 12px; }
  .op3-step-t { gap: 6px 8px; margin: 0 0 8px; font-size: 14.5px; }
  .op3-amt { font-size: 24px; }
  .op3-tick { font-size: 15px; }
  .op3 .op3-addr { padding: 9px 10px; font-size: 13.5px; }
  .op3 .op3-copy { min-height: 44px; padding: 8px 11px; }
  .op3-wallet.btn { min-height: 54px; }
  /* QR replié : au téléphone on paie depuis ce même téléphone (bouton portefeuille ou copie) */
  .op3-qr-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper); color: var(--ink-soft); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
  .op3-qr-toggle .icon { width: 18px; height: 18px; }
  .op3-qr { display: none; width: max-content; margin: 12px auto 0; }
  .op3-qrbox.is-open .op3-qr { display: block; }
  .op3-qr img { width: 176px; height: 176px; }
  .op3-expired { padding: 20px 16px 22px; }
  .op3-expired .btn { width: 100%; }
  .op3 .op3-under { margin: 0 14px 16px; }
  .op3-track { padding: 16px 10px 14px; border-radius: 16px; }
  .op3-tl li { gap: 6px; padding: 0 2px; font-size: 12px; }
  .op3 .op3-status.order-pay-status { font-size: 14px; }
  .op3-auto { padding: 0 4px; }
  .op3-help { padding: 2px 14px 4px; border-radius: 16px; }
  .op3-faq summary { font-size: 14px; }
  .op3-side { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .op3-sum, .op3-trust { padding: 16px 14px; border-radius: 16px; }
  .op3-card--state { padding: 20px 16px; }
  .op3-state { flex-direction: column; text-align: center; }
  .op3-state--text { text-align: start; }
  .op3-state-actions { justify-content: center; }
  .op3-state-actions .btn { width: 100%; }
  .op3-kong { width: 110px; }
}
