/* DJIBSUUQ — téléphone uniquement (17-261) : encore moins de défilement, menus et fonctions visibles dès l'ouverture.
   TOUT est dans une requête média « téléphone » (et le lien est lui-même chargé avec media="(max-width: 40rem)") :
   l'affichage ordinateur et tablette n'est PAS modifié. Chargé après mobile-dense.css. Propriétés logiques (arabe). */
@media (max-width: 40rem) {
  /* En-tête : logo, compte et panier plus fins ; recherche plus basse ; barre de catégories collée dessous */
  body .site-header .header-main { padding-block: .2rem; gap: .4rem; }
  body .site-header .header-search .input, body .site-header .header-search input[type="search"] { min-block-size: 2.5rem; }
  body .catbar__list { padding-block: .1rem .2rem; gap: .3rem; }
  body .catbar__link { min-height: 2.1rem; padding: .15rem .7rem; font-size: .8rem; }
  body .main { padding-block: .15rem 1rem; }

  /* Bandeau d'accueil (carrousel) : moins haut, texte sur 2 lignes, boutons proportionnés */
  body .sf-hero__inner { gap: .5rem; padding-block: .6rem; }
  body .sf-hero__eyebrow { margin-block-end: .1rem; font-size: .7rem; }
  body .sf-hero__title { margin-block-end: .25rem; font-size: 1.25rem; line-height: 1.15; }
  body .sf-hero__lead { margin-block-end: .5rem; font-size: .8rem; line-height: 1.3; -webkit-line-clamp: 2; line-clamp: 2; }
  body .sf-hero__actions { gap: .4rem; }
  body .sf-hero__actions .button { min-block-size: 2.5rem; padding-block: .3rem; font-size: .8rem; }
  body .hc__slide { min-block-size: 0; }
  body .hc__dot { block-size: 1.6rem; }
  body .hc__nav { inline-size: 2.2rem; block-size: 2.2rem; }

  /* Bandeau de confiance : une seule rangée de pastilles défilante (au lieu de 4 grandes cartes) */
  body .trust { padding-block: .4rem; }
  body .trust__list { display: flex; gap: .4rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-block: .1rem; }
  body .trust__list::-webkit-scrollbar { display: none; }
  body .trust__item { flex: 0 0 auto; flex-direction: row; align-items: center; gap: .45rem; block-size: auto; padding: .35rem .75rem .35rem .4rem; border-radius: 999px; scroll-snap-align: start; }
  body .trust__item::before, body .trust__go { display: none; }
  body .trust__ic { inline-size: 1.9rem; block-size: 1.9rem; border-radius: 50%; }
  body .trust__ic .icon { inline-size: 1.05rem; block-size: 1.05rem; }
  body .trust__txt small { display: none; }
  body .trust__txt strong { font-size: .8rem; white-space: nowrap; }

  /* Rangées de produits : cartes plus basses (image 4/3, texte et boutons serrés) */
  body .rail { margin-block-start: .6rem; }
  body .rail__head { margin-block-end: .35rem; }
  body .rail__head h2, body .rail__title-text { font-size: 1rem; }
  body .rail__badge { inline-size: 2rem; block-size: 2rem; }
  body .sf-home .rail--products .product-card:not(.pc--digital) .product-card__media { aspect-ratio: 1 / 1; }
  body .rail--products .product-card.pc--digital .product-card__media { aspect-ratio: 3 / 4; }
  body .rail--products .product-card__body { padding: .4rem .5rem .5rem; gap: .08rem; }
  body .rail--products .product-card__name { font-size: .84rem; line-height: 1.2; }
  body .rail--products .pc .button, body .rail--products .pc .btn { min-block-size: 2.1rem; font-size: .76rem; }
  body .rail--products .rail__item--flash { gap: .25rem; }

  /* Sections de bas de page d'accueil : plus serrées */
  body .section { margin-block: .8rem; }
  body .sell-band { padding: .8rem .9rem; }
  body .steps-card { padding: .7rem .8rem; }
  body .appband { padding-block: .6rem; }

  /* Pied de page : arguments sur une ligne courte, sans longues descriptions */
  body .site-footer .ft-trust { gap: .4rem; padding-block-start: .8rem; }
  body .site-footer .ft-trust__item { padding: .5rem .6rem; gap: .5rem; align-items: center; }
  body .site-footer .ft-trust__ico { inline-size: 2rem; block-size: 2rem; }
  body .site-footer .ft-trust__ico .icon { inline-size: 1.05rem; block-size: 1.05rem; }
  body .site-footer .ft-trust__item small { display: none; }
  body .site-footer .ft-trust__item strong { font-size: .8rem; line-height: 1.2; }
}
