/* =============================================================================
 * Atlas Defense — CSS du thème enfant universal_atlas (parent Universal 9, Prestacrea)
 *
 * Chargé par PrestaShop après theme.css (« theme-custom », priorité 1000).
 * Couleurs et polices viennent d'abord du panneau du module prestacreathemeeditor
 * (scripts/installer-theme/config-theme.php) ; ce fichier ne fait que les écarts de
 * mise en page pour se rapprocher de Deville Armory (docs/theme.md). Mobile d'abord :
 * les règles de base visent le téléphone, les @media (min-width) élargissent.
 * ============================================================================= */

:root {
  --atlas-bleu: #1d5ba4;
  --atlas-marine: #002d61;
  --atlas-anthracite: #222;
  --atlas-gris-bloc: #f4f6f8;
  --atlas-bord: #e3e7eb;
  --atlas-vert: #2e7d32;
  --atlas-orange: #e07b00;
  --atlas-rayon: 10px;
}

/* ---------------------------------------------------------------------------
 * En-tête : logo contenu (le fichier fait 855 px de large), menu plus lisible
 * --------------------------------------------------------------------------- */
/* Le fichier du logo (855 x 343) a une large marge blanche : on règle la largeur */
#header-logo img {
  width: 170px;
  height: auto;
}
@media (min-width: 768px) {
  #header-logo img { width: 240px; }
}
@media (min-width: 1200px) {
  #header-logo img { width: 270px; }
}

/* Menu principal (desktop) : texte plus grand, comme Deville, sans capitales forcées */
@media (min-width: 992px) {
  #top-menu > li > a,
  #top-menu > li > span {
    font-size: 15px;
    letter-spacing: .01em;
    padding-top: .85rem;
    padding-bottom: .85rem;
  }
}
/* Pas d'images de catégories dans le méga-menu (retour client du 2026-10-13) : ps_mainmenu affiche
   les miniatures « menu » des catégories (img/c/<id>-<n>_thumb.jpg), sans réglage pour les couper.
   Masquées ici (desktop et mobile, tous niveaux) plutôt que supprimées des données de la boutique. */
#_desktop_top_menu .menu-img,
#_desktop_top_menu .submenu-img,
#_mobile_top_menu .menu-img,
#_mobile_top_menu .submenu-img,
.top-menu .menu-img,
.top-menu .submenu-img { display: none !important; }

/* ---------------------------------------------------------------------------
 * Accueil : chaque bloc de produits dans un cadre gris clair arrondi (Deville)
 * --------------------------------------------------------------------------- */
.page-home > section,
#content.page-home > section {
  background: var(--atlas-gris-bloc);
  border-radius: var(--atlas-rayon);
  padding: .75rem .5rem .25rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .page-home > section { padding: 1rem 1rem .5rem; margin-bottom: 1.75rem; }
}
.page-home .products-section-title {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: .5rem 0 1rem;
}
.page-home .all-product-link { font-size: 13px; }
/* 6 vignettes par ligne sur grand écran, comme Deville (5 chez le parent) */
@media (min-width: 1200px) {
  .page-home .products > .product-miniature.col-xl-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
}

/* ---------------------------------------------------------------------------
 * Accueil : bloc « Par rubriques… » du module du thème (config-theme.php, displayHome,
 *  bloc 16 = titre, 17 à 21 = catégories) dans un cadre gris comme les blocs produits,
 *  titre sous chaque visuel. (Les 3 bannières de la prod sont devenues des diapositives :
 *  voir « Slider » plus bas.)
 * --------------------------------------------------------------------------- */
/* « Par rubriques… » : cadre gris arrondi comme les blocs produits */
.page-home > .theme-blocks {
  background: var(--atlas-gris-bloc);
  border-radius: var(--atlas-rayon);
  margin: 0 0 1.25rem;
  padding: .5rem .25rem .75rem;
}
@media (min-width: 768px) {
  .page-home > .theme-blocks { padding: .75rem .5rem 1rem; margin-bottom: 1.75rem; }
}
/* titre : bloc « à icône » sans icône, mis en forme comme .products-section-title */
.page-home #theme-block-16 .block-content { display: block !important; padding: 0 !important; text-align: center !important; }
.page-home #theme-block-16 i.atlas-titre-bloc { display: none; }
.page-home #theme-block-16 .block-title {
  display: flex;
  align-items: center;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: .5rem 0 .5rem;
}
/* filets bleus de part et d'autre, comme .h1 du parent (titres des blocs produits) */
.page-home #theme-block-16 .block-title::before,
.page-home #theme-block-16 .block-title::after {
  content: "";
  flex-grow: 1;
  border-top: 2px solid transparent;
  margin-top: .5rem;
}
.page-home #theme-block-16 .block-title::before {
  border-image: linear-gradient(to left, var(--atlas-bleu), transparent 80%) 1;
  margin-right: 1.5rem;
}
.page-home #theme-block-16 .block-title::after {
  border-image: linear-gradient(to right, var(--atlas-bleu), transparent 80%) 1;
  margin-left: 1.5rem;
}
/* vignettes de catégories : 2 par ligne sur téléphone, 5 sur une ligne au-delà de 768 px */
.page-home .theme-blocks-home.theme-block.img { flex: 0 0 50%; max-width: 50%; }
@media (min-width: 768px) {
  .page-home .theme-blocks-home.theme-block.img { flex: 0 0 20%; max-width: 20%; }
}
.page-home .theme-blocks-home.theme-block.img .block-content {
  background: #fff;
  border: 1px solid var(--atlas-bord);
  border-radius: 8px;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
@media (hover: hover) {
  .page-home .theme-blocks-home.theme-block.img .block-content:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
  }
}
.page-home .theme-blocks-home.theme-block.img .block-link { height: 100%; }
.page-home .theme-blocks-home.theme-block.img .block-text {
  position: static !important;
  background: none;
  padding: .5rem .5rem .75rem;
  text-align: center;
}
.page-home .theme-blocks-home.theme-block.img .block-title {
  display: block !important;
  font-size: 13px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--atlas-anthracite);
}
.page-home .theme-blocks-home.theme-block.img .block-link:hover .block-title { color: var(--atlas-bleu); }

/* Slider : coins arrondis comme les blocs */
#theme-slider, #theme-slider img { border-radius: var(--atlas-rayon); }

/* Slider : légende HTML (par langue) des diapositives 3 à 5, les 3 bannières de la prod
 * (config-theme.php). Visuels composés avec la moitié gauche (bureau) et le haut (mobile)
 * sombres et vides pour le texte. Les photos de l'ancien slider (1 et 2) n'ont pas de bouton
 * (description vide) : leur légende est masquée. La diapositive entière reste un lien ; la
 * légende laisse passer les clics, sauf sur le bouton (lien vers la même catégorie). */
#theme-slider .slider-caption:not(:has(.slider-description)) { display: none; }
#theme-slider .slider-caption {
  top: 7%;
  left: 1rem;
  right: 1rem;
  text-align: center;
  pointer-events: none;
}
#theme-slider .slider-caption .btn { pointer-events: auto; }
#theme-slider .slider-title {
  font-family: Cuprum, sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
#theme-slider .slider-title::before {   /* filet bleu au-dessus du titre, comme les titres de blocs */
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 0 auto .6rem;
  background: var(--atlas-bleu);
}
#theme-slider .slider-subtitle {
  display: block !important;             /* le parent le masque sous 576 px */
  font-family: Cuprum, sans-serif;
  font-size: 17px;
  line-height: 1.15;
  color: #d5dbe2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  margin-top: .3rem !important;
}
#theme-slider .slider-description {
  display: block !important;             /* le parent la masque sous 992 px */
  margin-top: .8rem !important;
  text-shadow: none;
}
#theme-slider .atlas-slide-btn {
  padding: .45rem 1.1rem;
  border-radius: 4px;
  font-family: Cuprum, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
@media (min-width: 768px) {
  #theme-slider .slider-caption {
    top: auto;                           /* centrée verticalement (flex du parent) */
    left: 7%;
    right: auto;
    width: 40%;
    text-align: left;
  }
  #theme-slider .slider-title { font-size: clamp(30px, 3.6vw, 56px); }
  #theme-slider .slider-title::before { margin: 0 0 1rem; width: 64px; }
  #theme-slider .slider-subtitle { font-size: clamp(19px, 1.9vw, 30px); margin-top: .5rem !important; }
  #theme-slider .slider-description { margin-top: 1.5rem !important; }
  #theme-slider .atlas-slide-btn { padding: .7rem 1.8rem; font-size: clamp(14px, 1.1vw, 17px); }
}

#top-column-container { padding-top: .75rem; }

/* ---------------------------------------------------------------------------
 * Vignettes produits (accueil, catégories, recherche)
 * --------------------------------------------------------------------------- */
/* Téléphone : 2 produits par ligne (1 seul chez le parent sous 576 px) */
@media (max-width: 575.98px) {
  .products > .product-miniature {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 6px;
    padding-right: 6px;
  }
  .products.row { margin-left: -6px; margin-right: -6px; }
}

.product-miniature .product-block {
  background: #fff;
  border: 1px solid var(--atlas-bord);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
@media (hover: hover) {
  .product-miniature .product-block:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
  }
}
.product-miniature .thumbnail-container { padding: .5rem; }

/* Textes centrés, nom en police de titre, prix en dessous, boutons centrés */
.product-miniature .info-container {
  text-align: center;
  padding: 0 .5rem .75rem;
}
.product-miniature .product-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #888;
  margin: .5rem 0 0;
}
.product-miniature .product-title {
  font-size: 15px;
  line-height: 1.25;
  margin: .25rem 0 .5rem !important;
  text-transform: none;
}
.product-miniature .product-title a {
  color: var(--atlas-anthracite);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .product-miniature .product-title { font-size: 16px; }
}
.product-miniature .product-price-and-shipping {
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-end !important;
}
.product-miniature .product-price-shipping { margin-bottom: .4rem; }
.product-miniature .product-actions { justify-content: center; }
.product-miniature .product-actions .btn,
.product-miniature .product-actions .add-to-cart {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--atlas-bord);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 .2rem !important;
}
.product-miniature .product-stock {
  font-size: 12px;
  font-weight: 700;
  margin: .5rem 0 0;
}
.product-miniature .product-stock.is-available { color: var(--atlas-vert); }
.product-miniature .product-stock.is-later { color: var(--atlas-orange); }

/* Pas de pastille « Nouveau » sur les vignettes (Deville n'en affiche pas ; la
   boutique compte comme nouveau tout produit de moins de 1 000 jours) */
.product-miniature .thumbnail-container > .new,
#product .product-cover > .new { display: none !important; }

/* Étoiles d'avis seulement quand le produit a des avis (productcomments les
   rend visibles dans ce cas), sans laisser de vide sinon */
.product-miniature .product-list-reviews:not([style*="visible"]) { display: none; }

/* ---------------------------------------------------------------------------
 * Pages catégorie : en-tête plus discret que le bandeau bleu du parent
 * --------------------------------------------------------------------------- */
#category .page-header,
#category header.container .page-header {
  background-color: var(--atlas-gris-bloc) !important;
  color: var(--atlas-anthracite);
  border-radius: var(--atlas-rayon);
}
#category .page-header h1 { font-size: 1.6rem; padding-bottom: .25rem !important; }
#category .page-header h2,
#category .page-header .category-description {
  font-size: 14px;
  line-height: 1.45;
  color: #555;
}
@media (min-width: 768px) {
  #category .page-header h1 { font-size: 2rem; }
}
/* Descriptions reprises de l'ancien thème avec leur mise en forme : « Armes réglementées » (29)
   est dans un <pre class="titre_h1" style="text-transform:uppercase;font-family:Helvetica…">
   (une seule ligne en capitales, barre de défilement), d'autres ont des <h3>/<span> avec police,
   taille et fond en ligne (34, 36, 37). On les ramène à un paragraphe normal, sans toucher à la base. */
#category .category-description pre,
#category .category-description h1,
#category .category-description h2,
#category .category-description h3,
#category .category-description h4 {
  white-space: normal;
  overflow: visible;
  text-transform: none !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  color: inherit;
  margin: 0 0 .5rem !important;
  padding: 0 !important;
  border: 0;
  background: none;
}
#category .category-description span,
#category .category-description strong {
  font-family: inherit !important;
  font-size: inherit !important;
  background-color: transparent !important;
}
.products-selection { border-radius: 8px; }

/* ---------------------------------------------------------------------------
 * Fiche produit
 * --------------------------------------------------------------------------- */
#product h1.product-name,
#product .product-information h1,
#product h1 {
  font-size: 1.6rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  #product h1 { font-size: 2rem; }
}
#product .product-cover {
  border-radius: 8px;
  cursor: zoom-in;
}
/* La loupe du parent n'existe qu'au-dessus de 768 px : on l'affiche partout,
   elle ouvre la visionneuse (assets/js/custom.js) */
#product .product-cover .layer.hidden-sm-down { display: flex !important; opacity: 0; }
@media (hover: hover) {
  #product .product-cover:hover .layer { opacity: 1; }
}
/* Onglets description / fiche technique dans un bloc gris arrondi (Deville) */
#product .tabs,
#product .product-tabs {
  border-radius: var(--atlas-rayon);
}
/* Vidéos YouTube des descriptions : vignette + bouton lecture (templates/catalog/product.tpl),
   lecteur chargé au clic (assets/js/custom.js). Même gabarit 16/9 pour la vignette et le lecteur. */
#product .product-description .atlas-yt {
  position: relative;
  display: block;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 1rem;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
#product .product-description .atlas-yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
  transition: opacity .2s ease;
}
.atlas-yt__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  border-radius: 12px;
  background: rgba(20, 20, 20, .8);
  transition: background .2s ease;
}
.atlas-yt__play::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 14px;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
#product .product-description .atlas-yt:hover img,
#product .product-description .atlas-yt:focus-visible img { opacity: 1; }
.atlas-yt:hover .atlas-yt__play,
.atlas-yt:focus-visible .atlas-yt__play { background: #f00; }
#product .product-description iframe,
#product #description iframe,
#product .product-description-short iframe {
  width: 100%;
  max-width: 720px;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 0 auto 1rem;
  border: 0;
  border-radius: 8px;
}
#product .product-description table { width: 100%; max-width: 720px; }
#product .product-description td,
#product .product-description th { padding: .25rem .5rem; border-bottom: 1px solid var(--atlas-bord); }

/* Logo de la marque à droite du prix, agrandi (retour client du 2026-10-13) : le parent l'affiche en
   medium_default (100 x 100, logo réduit au milieu d'un carré blanc) plafonné à 150 x 50 px. L'enfant
   sert le format brand_default (520 x 200, config/theme.yml ; gabarit catalog/_partials/product-prices.tpl),
   affiché en 260 x 100 au plus (net jusqu'à une densité 2) ; sur téléphone 180 x 70, sur sa propre
   ligne au-dessus du prix (à côté, il chevaucherait le prix). Sur ordinateur, le bloc prix prend la
   hauteur du logo pour qu'il ne remonte pas sur les avis. */
.product-detail-primary .product-prices .product-manufacturer {
  position: static !important;
  text-align: right;
  margin-bottom: .25rem;
}
.product-detail-primary .product-prices .product-manufacturer img.manufacturer-logo {
  width: 180px;
  max-width: 180px;
  max-height: 70px;
  height: auto;
  object-fit: contain;
}
@media (min-width: 768px) {
  .product-detail-primary .product-prices { min-height: 100px; }
  .product-detail-primary .product-prices .product-manufacturer {
    position: absolute !important;
    margin-bottom: 0;
  }
  .product-detail-primary .product-prices .product-manufacturer img.manufacturer-logo {
    width: 260px;
    max-width: 260px;
    max-height: 100px;
  }
}

/* Bouton d'ajout au panier plus présent (Deville) */
#product .add-to-cart.btn {
  font-family: Cuprum, sans-serif;
  font-size: 1.1rem;
  padding: .55rem 1.25rem;
}

/* ---------------------------------------------------------------------------
 * Pied de page
 * --------------------------------------------------------------------------- */
#footer-before .block-title,
#footer-before strong,
#footer-before .h3 { color: #fff; }
#footer .footer-img img,
#footer img.lazy[data-src*="footer-img"] { max-width: 200px; height: auto; }
#footer-copyright { font-size: 13px; }
#footer-copyright .atlas-copyright-credit { font-weight: 400; opacity: .7; }

/* ---------------------------------------------------------------------------
 * Visionneuse d'images produit (assets/js/custom.js) : remplace le zoom cassé
 * --------------------------------------------------------------------------- */
.atlas-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 12, 16, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}
.atlas-lightbox[hidden] { display: none; }
.atlas-lightbox__figure {
  margin: 0;
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.atlas-lightbox__img {
  max-width: 96vw;
  max-height: calc(100vh - 90px);
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  cursor: zoom-in;
  transition: transform .2s ease;
}
.atlas-lightbox.is-zoomed .atlas-lightbox__img {
  cursor: zoom-out;
  transform: scale(2);
}
.atlas-lightbox__count {
  color: #ddd;
  font-size: 13px;
  margin-top: .6rem;
}
.atlas-lightbox__btn {
  position: absolute;
  border: 0;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 46px;
  text-align: center;
  padding: 0;
  cursor: pointer;
}
.atlas-lightbox__btn:hover,
.atlas-lightbox__btn:focus-visible { background: rgba(0, 0, 0, .8); outline: 2px solid #fff; }
.atlas-lightbox__close { top: 12px; right: 12px; }
.atlas-lightbox__prev { left: 10px; top: 50%; margin-top: -23px; }
.atlas-lightbox__next { right: 10px; top: 50%; margin-top: -23px; }
.atlas-lightbox--single .atlas-lightbox__prev,
.atlas-lightbox--single .atlas-lightbox__next,
.atlas-lightbox--single .atlas-lightbox__count { display: none; }
body.atlas-lightbox-open { overflow: hidden; }

/* -----------------------------------------------------------------------------
 * Note des avis clients Trustprofile (module turingshoprating, docs/avis-trustprofile.md)
 * En-tête : centrée dans la barre noire, en position absolue pour ne rien décaler
 * (contact à gauche, langue à droite ; menu, compte et panier sur mobile).
 * Fiche produit : alignée à droite sous le bouton « Ajouter au panier », comme lui.
 * ----------------------------------------------------------------------------- */
.header-nav > .container { position: relative; }
.header-nav .tsr--compact {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  --tsr-star-empty: rgba(255, 255, 255, .3);
}
.header-nav .tsr--compact a.tsr__link:hover,
.header-nav .tsr--compact a.tsr__link:focus { color: #fff; }
/* Tablette (768-991 px) : « Appelez-nous / Contact » occupe la moitié gauche ; la note reprend sa place dans
   le flux, juste après (accroche displayNav placée après ps_contactinfo par scripts/installer-avis.sh). */
@media (min-width: 768px) and (max-width: 991.98px) {
  .header-nav .tsr--compact { position: static; transform: none; margin: 0 auto; }
}
/* Jusqu'à 991 px, nombre d'avis court « (124) » */
@media (max-width: 991.98px) {
  .header-nav .tsr--compact .tsr__count--long,
  .header-nav .tsr--compact .tsr__sep { display: none; }
  .header-nav .tsr--compact .tsr__count--short { display: inline; }
}
/* Petits téléphones : une seule étoile, entre la langue et le compte */
@media (max-width: 399.98px) {
  .header-nav .tsr--compact .tsr__stars { display: none; }
  .header-nav .tsr--compact .tsr__value::before { content: "\2605"; color: var(--tsr-star); margin-right: .25em; }
}
@media (max-width: 329.98px) {
  .header-nav .tsr--compact { display: none; }
}
.product-additional-info .tsr--product {
  display: flex;
  justify-content: flex-end;
  color: #555;
}
.product-additional-info .tsr--product strong { color: var(--atlas-anthracite); }

/* ---------------------------------------------------------------------------
 * Tunnel, Mondial Relay sur téléphone (recette du 2026-10-18, #9)
 * Sous 800 px, le widget Mondial Relay (CSS chargée de widget.mondialrelay.com) pose la liste des relais
 * (280 px, en absolu) par-dessus la carte : il ne reste qu'une bande de carte à droite, visible via le bouton
 * « liste ». On empile : la liste sur toute la largeur, puis la carte en dessous. Les règles du widget ont un
 * !important sur la position de la carte : on passe par l'id du conteneur du module.
 * Le bouton WhatsApp flottant (ets_wa, en bas à droite) recouvrait la liste et la carte : masqué au tunnel
 * sur téléphone seulement (l'aide reste sur les autres pages et au tunnel sur ordinateur).
 * --------------------------------------------------------------------------- */
@media (max-width: 799.98px) {
  #mondialrelay_widget .MR-Widget.MR-Widget-Responsive .MRW-Results {
    height: auto;
    min-height: 0;
  }
  #mondialrelay_widget .MR-Widget.MR-Widget-Responsive .MRW-RList {
    position: static;
    display: block !important;
    width: 100%;
    max-height: 300px;
    overflow: auto;
  }
  #mondialrelay_widget .MR-Widget.MR-Widget-Responsive .MRW-Map {
    position: relative !important;
    z-index: 1;
    height: 260px !important; /* le widget pose la hauteur en ligne */
    margin-top: 10px;
  }
  #mondialrelay_widget .MR-Widget.MR-Widget-Responsive .MRW-ShowList { display: none !important; }
  /* Géolocalisation : en bas à droite de la carte au lieu de par-dessus la liste */
  #mondialrelay_widget .MR-Widget.MR-Widget-Responsive .MRW-BtGeoGo {
    top: auto;
    bottom: 20px;
  }
}
@media (max-width: 767.98px) {
  body#checkout .ets_wa_whatsapp_block { display: none !important; }
}

/* ---------------------------------------------------------------------------
 * Accueil : 3 derniers billets du blog (turingblog, gabarit modules/turingblog/…/latest-posts.tpl de l'enfant).
 * La grille du module (auto-fill, 16rem) laisse une 4e colonne vide sur grand écran : 3 colonnes égales.
 * ------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .atlas-blog-accueil .turingblog-list--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
