/* ============================================================
   shop.css — Bouton Shop + page passerelle GranuloShop
   v1.1 (16/07/2026)
   v1.1 : icone shopping-cart ; anneau jaune 7 px (meme traitement
          que Share — groupe « outils » distinct du groupe contact).
   Encodage : UTF-8 sans BOM.
   Charte : #FFED00 / #000, border-radius:0, Lato, uppercase.
   Aucun !important.
   ============================================================ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PARTIE 1 — Bouton dans le header (toutes pages eligibles)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

li.gs-shop-wrap {
  display: flex;
  align-items: center;
  margin-left: 14px;
}

.gs-shop-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 7px solid #FFED00;
  background: transparent;
  box-sizing: border-box;
  text-decoration: none;
  color: #000;
  cursor: pointer;
  transition: background .15s;
}
.gs-shop-trigger .ti {
  font-size: 20px;
  line-height: 1;
}
.gs-shop-trigger:hover,
.gs-shop-trigger:focus-visible {
  background: #FFED00;
}
.gs-shop-trigger:focus-visible {
  outline: 1px solid #000;
  outline-offset: 2px;
}

/* ── Mobile / tablette (< lg) ──────────────────────────── */
@media (max-width: 991.98px) {
  li.gs-shop-wrap {
    margin-left: 0;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PARTIE 2 — Page passerelle (shop-gateway.html)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gs-gw {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', Arial, sans-serif;
  color: #222;
  background: #f8f8f8;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.gs-gw-logo {
  margin-bottom: 2rem;
  text-align: center;
}
.gs-gw-logo img {
  height: 56px;
  width: auto;
}

.gs-gw-card {
  background: #fff;
  max-width: 560px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
}

.gs-gw-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 1.2rem 0;
  line-height: 1.3;
}

.gs-gw-text {
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 .8rem 0;
  color: #333;
}

.gs-gw-note {
  font-size: .85rem;
  line-height: 1.5;
  color: #666;
  margin: 0 0 1.5rem 0;
  font-style: italic;
}

.gs-gw-product {
  background: #fafafa;
  border-left: 3px solid #FFED00;
  padding: .8rem 1rem;
  margin: 0 0 1.5rem 0;
  text-align: left;
  font-size: .95rem;
}
.gs-gw-product-label {
  font-weight: 700;
  color: #1a3a5c;
  margin-right: .4em;
}
.gs-gw-product-model {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
}

.gs-gw-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}

.gs-gw-btn-continue {
  display: inline-block;
  background: #FFED00;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .85rem 2.5rem;
  border: 2px solid #000;
  transition: background .15s, color .15s;
  cursor: pointer;
  text-align: center;
  min-width: 280px;
}
.gs-gw-btn-continue:hover,
.gs-gw-btn-continue:focus-visible {
  background: #000;
  color: #FFED00;
}
.gs-gw-btn-continue:focus-visible {
  outline: 2px solid #FFED00;
  outline-offset: 2px;
}

.gs-gw-btn-back {
  display: inline-block;
  color: #1a3a5c;
  font-size: .9rem;
  text-decoration: none;
  padding: .5rem 1rem;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.gs-gw-btn-back:hover,
.gs-gw-btn-back:focus-visible {
  border-bottom-color: #1a3a5c;
}

.gs-gw-footer {
  margin-top: 2rem;
  font-size: .8rem;
  color: #999;
  text-align: center;
}

.gs-gw-loading {
  color: #888;
  font-style: italic;
}
.gs-gw-error {
  color: #c00;
  font-size: .9rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .gs-gw-card {
    padding: 1.8rem 1.2rem;
  }
  .gs-gw-btn-continue {
    min-width: 0;
    width: 100%;
    padding: .85rem 1.5rem;
  }
}

/* ════════════════════════════════════════════════════════════
   FIX iPad (21/07/2026) — icone du bouton en mask CSS.
   iOS Safari rejetait la fonte Tabler subsettee (glyphes vides).
   Ici : plus aucune dependance a la fonte pour ce bouton.
   Place en fin de fichier pour prevaloir sur la regle .ti ci-dessus.
   Encodage : UTF-8 sans BOM.
   ════════════════════════════════════════════════════════════ */
/* --- FIX iPad : icone en mask CSS (aucune fonte) --- */
.gs-shop-trigger .ti {
  width: 20px;
  height: 20px;
  font-size: 0;            /* neutralise le glyphe fonte (Windows) */
  background-color: currentColor;   /* = #000 ; reste noir au survol jaune */
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d=%22M4%2019a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200%22%20/%3E%20%3Cpath%20d=%22M15%2019a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200%22%20/%3E%20%3Cpath%20d=%22M17%2017h-11v-14h-2%22%20/%3E%20%3Cpath%20d=%22M6%205l14%201l-1%207h-13%22%20/%3E%3C/svg%3E") no-repeat center / 20px 20px;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d=%22M4%2019a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200%22%20/%3E%20%3Cpath%20d=%22M15%2019a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200%22%20/%3E%20%3Cpath%20d=%22M17%2017h-11v-14h-2%22%20/%3E%20%3Cpath%20d=%22M6%205l14%201l-1%207h-13%22%20/%3E%3C/svg%3E") no-repeat center / 20px 20px;
}
