:root {

  --noir: #080808;

  --noir2: #141412;

  --noir3: #f7f6f2;

  --rouge: #0b0b0b;

  --rouge2: #30302c;

  --gris: #77736b;

  --gris2: #d7d4ca;

  --blanc: #080808;

  --blanc2: rgba(8,8,8,0.72);

  --blanc3: rgba(8,8,8,0.44);

  --blanc4: rgba(8,8,8,0.10);

  --paper: #ffffff;

  --tile: #d6d2c9;

  --tile-dark: #8e897f;

  --line: rgba(8,8,8,0.12);

  --soft-shadow: 0 24px 70px rgba(8,8,8,0.14);

}

*, *::before, *::after {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}

html {

  scroll-behavior: smooth;

}

body {

  background:

    linear-gradient(180deg, rgba(255,255,255,0.70), rgba(246,245,241,0.96)),

    repeating-linear-gradient(90deg, transparent 0 118px, rgba(8,8,8,0.12) 119px, transparent 120px),

    repeating-linear-gradient(0deg, transparent 0 118px, rgba(8,8,8,0.10) 119px, transparent 120px),

    var(--tile);

  color: #080808;

  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;

  font-weight: 300;

  overflow-x: hidden;

}

::selection {

  background: #080808;

  color: #fff;

}

/* --- SCROLLBAR --- */

::-webkit-scrollbar {

  width: 4px;

}

::-webkit-scrollbar-track {

  background: #f7f6f2;

}

::-webkit-scrollbar-thumb {

  background: #080808;

  border-radius: 2px;

}

/* --- NAV --- */

nav {

  position: fixed;

  top: 0;

  width: 100%;

  z-index: 100;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 48px;

  height: 74px;

  background: rgba(255,255,255,0.86);

  border-bottom: 1px solid rgba(8,8,8,0.10);

  box-shadow: 0 10px 34px rgba(8,8,8,0.07);

}

.nav-logo {

  display: flex;

  align-items: center;

  gap: 10px;

  text-decoration: none;

}

.nav-logo-bar {

  width: 5px;

  height: 30px;

  background: #080808;

  border-radius: 1px;

}

.nav-logo-text {

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "DM Sans", sans-serif;

  font-size: 34px;

  font-weight: 700;

  color: #080808;

  letter-spacing: -1.7px;

}

.nav-links {

  display: flex;

  gap: 36px;

  list-style: none;

}

.nav-links a {

  color: rgba(8,8,8,0.62);

  text-decoration: none;

  font-size: 13px;

  letter-spacing: 1.2px;

  text-transform: uppercase;

  transition: color .25s;

}

.nav-links a:hover {

  color: #080808;

}

.nav-right {

  display: flex;

  align-items: center;

  gap: 20px;

}

.nav-cart, .nav-tracker-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  background: #f4f4f4 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #080808 !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.nav-tracker-btn {
  width: auto !important;
  padding: 0 20px !important;
  border-radius: 30px !important;
  gap: 10px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.nav-cart:hover, .nav-tracker-btn:hover {
  background: #e9e9e9 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1) !important;
}

body.dark-mode .nav-cart, body.dark-mode .nav-tracker-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}
body.dark-mode .nav-cart:hover, body.dark-mode .nav-tracker-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}

.cart-badge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  background: #080808 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}
body.dark-mode .cart-badge {
  background: #ffffff !important;
  color: #080808 !important;
  border-color: #141414 !important;
}

.btn-nav {

  background: #080808;

  color: #fff;

  border: 1px solid #080808;

  cursor: pointer;

  padding: 10px 22px;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "DM Sans", sans-serif;

  font-size: 12px;

  letter-spacing: 1px;

  text-transform: uppercase;

  border-radius: 6px;

  transition: background .2s, transform .15s;

}

.btn-nav:hover {

  background: #30302c;

  border-color: #30302c;

  transform: translateY(-1px);

  box-shadow: 0 14px 34px rgba(8,8,8,0.16);

}

/* --- HERO --- */

.hero {

  min-height: 100vh;

  display: flex;

  align-items: center;

  padding: 72px 0 0;

  position: relative;

  overflow: hidden;

  color: #fff;

  background:

    radial-gradient(circle at 74% 38%, rgba(255,255,255,0.12), transparent 28%),

    linear-gradient(90deg, rgba(8,8,8,0.04), rgba(8,8,8,0.34) 48%, rgba(8,8,8,0.88)),

    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255,255,255,0.08) 119px, transparent 120px),

    repeating-linear-gradient(0deg, transparent 0 118px, rgba(255,255,255,0.06) 119px, transparent 120px),

    linear-gradient(135deg, #0a0a09 0%, #181816 52%, #4f4a42 100%);

}

.hero-bg {

  position: absolute;

  inset: 0;

  background: transparent;

}

.hero-bg-right {

  position: absolute;

  top: 0;

  right: 0;

  width: 50%;

  height: 100%;

  background: rgba(255,255,255,0.045);

}

.hero-line-v {

  position: absolute;

  top: 0;

  left: 50%;

  height: 100%;

  width: 0.5px;

  background: rgba(255,255,255,0.12);

}

.hero-circle {

  display: none;

}

.hero-redbar {

  position: absolute;

  left: 0;

  top: 0;

  bottom: 0;

  width: 5px;

  background: #fff;

}

.hero-inner {

  position: relative;

  z-index: 2;

  width: 100%;

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 48px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 60px;

  min-height: calc(100vh - 72px);

}

.hero-left {

  display: flex;

  flex-direction: column;

}

.hero-eyebrow {

  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 28px;

  animation: fadeUp .7s ease both;

}

.eyebrow-line {

  width: 26px;

  height: 1.5px;

  background: #fff;

}

.eyebrow-text {

  font-size: 10px;

  letter-spacing: 3px;

  text-transform: uppercase;

  color: #fff;

  font-family: 'Cormorant Garamond', serif;

}

.hero-title {

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;

  font-size: clamp(64px, 8vw, 92px);

  font-weight: 750;

  line-height: 0.9;

  letter-spacing: -2.4px;

  color: #fff;

  animation: fadeUp .8s .1s ease both;

  margin-bottom: 6px;

}

.hero-title span {

  font-style: italic;

  color: #fff;

}

.hero-sep {

  width: 140px;

  height: 1.2px;

  background: #fff;

  margin: 24px 0;

  animation: fadeUp .8s .2s ease both;

}

.hero-sep2 {

  width: 40px;

  height: 0.5px;

  background: rgba(255,255,255,0.36);

  margin: -20px 0 24px 0;

  animation: fadeUp .8s .2s ease both;

}

.hero-sub {

  font-family: 'Cormorant Garamond', serif;

  font-size: 17px;

  font-weight: 300;

  font-style: italic;

  color: rgba(255,255,255,0.68);

  letter-spacing: 0.3px;

  margin-bottom: 36px;

  animation: fadeUp .8s .3s ease both;

}

.hero-title-main {

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;

  font-size: clamp(72px, 10vw, 120px);

  font-weight: 800;

  line-height: 1;

  letter-spacing: -3px;

  color: #fff;

  animation: fadeUp .8s ease both;

  margin-bottom: 18px;

}

.hero-certification {

  font-size: 22px;

  font-weight: 300;

  letter-spacing: 1.2px;

  color: rgba(255,255,255,0.85);

  margin-bottom: 48px;

  animation: fadeUp .8s .1s ease both;

}

.hero-ctas {

  display: flex;

  gap: 14px;

  flex-wrap: wrap;

  animation: fadeUp .8s .4s ease both;

}

.btn-primary {

  background: #080808;

  color: #fff;

  border: 1px solid #080808;

  cursor: pointer;

  padding: 14px 32px;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "DM Sans", sans-serif;

  font-size: 12px;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  border-radius: 7px;

  transition: background .2s, transform .15s, box-shadow .2s;

}

.btn-primary:hover {

  background: #30302c;

  border-color: #30302c;

  transform: translateY(-2px);

  box-shadow: 0 8px 28px rgba(8,8,8,0.35);

}

.btn-secondary {

  background: rgba(255,255,255,0.08);

  color: #fff;

  border: 1px solid rgba(255,255,255,0.24);

  cursor: pointer;

  padding: 14px 32px;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "DM Sans", sans-serif;

  font-size: 12px;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  border-radius: 7px;

  transition: border-color .2s, color .2s, transform .15s;

}

.btn-secondary:hover {

  background: rgba(255,255,255,0.15);

  border-color: rgba(255,255,255,0.42);

  color: #fff;

  transform: translateY(-2px);

}

.hero-trust {

  margin-top: 52px;

  padding-top: 24px;

  border-top: 0.5px solid rgba(255,255,255,0.10);

  display: flex;

  gap: 32px;

  animation: fadeUp .8s .5s ease both;

}

.trust-item {

  display: flex;

  align-items: flex-start;

  gap: 10px;

}

.trust-icon {

  width: 28px;

  height: 28px;

  background: rgba(255,255,255,0.10);

  border: 1px solid rgba(255,255,255,0.14);

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 12px;

  flex-shrink: 0;

}

.trust-text p {

  font-size: 11px;

  color: #fff;

  letter-spacing: 0.2px;

}

.trust-text small {

  font-size: 9.5px;

  color: rgba(255,255,255,0.68);

  letter-spacing: 0.3px;

}

/* --- PHONE MOCK --- */

.hero-right {

  display: flex;

  justify-content: center;

  align-items: center;

  position: relative;

  animation: fadeUp .9s .2s ease both;

}

.phone-wrap {

  position: relative;

  display: flex;

  justify-content: center;

  min-width: 300px;

  min-height: 360px;

  align-items: center;

}

.phone-glow {

  position: absolute;

  width: 200px;

  height: 200px;

  background: radial-gradient(circle, rgba(255,255,255,0.13), transparent 70%);

  top: 50%;

  left: 50%;

  transform: translate(-50%,-50%);

  pointer-events: none;

}

.phone {

  width: 270px;

  height: 330px;

  background: url("https://store.storeimages.cdn-apple.com/4982/as-images.apple.com/is/iphone16pro-digitalmat-gallery-1-202409_GEO_US_FMT_WHH?wid=560&hei=520&fmt=png-alpha&qlt=95") center / contain no-repeat;

  filter: drop-shadow(0 42px 76px rgba(0,0,0,0.56));

  position: relative;

}

.phone-body {

  display: none;

}

.badge-float {

  position: absolute;

  background: transparent;

  border-radius: 10px;

  padding: 8px 14px;

  animation: float2 3.5s ease-in-out infinite;

}

.badge-float.badge-new {

  top: 20px;

  left: -60px;

  background: rgba(255,255,255,0.10);

  border: 1px solid rgba(255,255,255,0.14);

  animation-delay: 0.5s;

  display: flex;

  align-items: center;

  gap: 7px;

  padding: 7px 12px;

}

.badge-float.badge-prix {

  top: 48%;

  right: -70px;

  background: #fff;

  color: #080808;

  animation-delay: 1s;

  box-shadow: 0 18px 44px rgba(8,8,8,0.20);

}

.badge-float.badge-garantie {

  bottom: 60px;

  left: -60px;

  background: rgba(255,255,255,0.10);

  border: 1px solid rgba(255,255,255,0.14);

  animation-delay: 1.5s;

  padding: 7px 12px;

}

@keyframes float2 {

  0%, 100% { transform: translateY(0px); }

  50% { transform: translateY(-8px); }

}

.badge-dot {

  width: 7px;

  height: 7px;

  background: #fff;

  border-radius: 50%;

}

.badge-label {

  font-size: 10px;

  letter-spacing: 0.5px;

  color: #fff;

  font-family: 'DM Sans', sans-serif;

}

.badge-price-label {

  font-size: 8px;

  color: rgba(8,8,8,0.58);

  letter-spacing: 0.5px;

  font-family: 'DM Sans', sans-serif;

}

.badge-price-val {

  font-size: 13px;

  color: #080808;

  font-family: 'Cormorant Garamond', serif;

  font-weight: 600;

}

.badge-connector {

  position: absolute;

  top: 50%;

  left: 100%;

  width: 10px;

  height: 1.5px;

  background: #fff;

  transform: translateY(-50%);

}

/* --- SECTION TITRE --- */

.section {

  padding: 96px 0;

  background: transparent;

}

.section-inner {

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 48px;

}

.section-header {

  margin-bottom: 56px;

}

.section-eyebrow {

  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 16px;

}

.sec-line {

  width: 20px;

  height: 1.5px;

  background: #080808;

}

.sec-eye {

  font-size: 10px;

  letter-spacing: 3px;

  text-transform: uppercase;

  color: #080808;

  font-family: 'Cormorant Garamond', serif;

}

.section-title {

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;

  font-size: clamp(36px, 4vw, 52px);

  font-weight: 750;

  line-height: 1;

  letter-spacing: -2.4px;

  color: #080808;

}

.section-title em {

  font-style: italic;

  color: #080808;

}

/* --- CATEGORIES --- */

.cats {

  background:

    linear-gradient(180deg, rgba(255,255,255,0.74), rgba(245,244,240,0.92)),

    repeating-linear-gradient(90deg, transparent 0 118px, rgba(8,8,8,0.10) 119px, transparent 120px),

    repeating-linear-gradient(0deg, transparent 0 118px, rgba(8,8,8,0.08) 119px, transparent 120px),

    var(--tile);

}

/* --- PRODUITS --- */

.products-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

}

.product-card {
  background: #ffffff;
  color: #080808;
  border: 1px solid rgba(8, 8, 8, 0.06);
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(8, 8, 8, 0.04);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(8, 8, 8, 0.16);
  box-shadow: 0 22px 48px rgba(8, 8, 8, 0.10);
}

.product-img-wrap {

  background: transparent;

  height: 220px;

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;

  overflow: hidden;

}

.product-img {

  line-height: 0;

  font-size: 0;

}

.real-product-img {

  display: block;

  width: 90%;

  height: 195px;

  object-fit: contain;

  margin: 0 auto;

  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);

  filter: drop-shadow(0 12px 24px rgba(8,8,8,0.12));

}

.product-card:hover .real-product-img,

.product-card:hover .product-img {

  transform: scale(1.06) translateY(-4px);

}

.product-badge {

  position: absolute;

  top: 12px;

  left: 12px;

  background: #080808;

  color: #fff;

  font-size: 9px;

  letter-spacing: 1px;

  text-transform: uppercase;

  padding: 4px 10px;

  border-radius: 5px;

  font-family: 'DM Sans', sans-serif;

}

.product-badge.badge-promo {

  background: #fff;

  color: #080808;

  border: 1px solid rgba(8,8,8,0.16);

}

.product-info {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.product-name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 4px;
  color: #080808;
  line-height: 1.25;
}
.product-sub {
  font-size: 14px;
  color: rgba(8, 8, 8, 0.48);
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}
.product-price-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: auto;
  padding-top: 10px;
}
.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: #080808;
  line-height: 1.15;
  letter-spacing: 0.2px;
}
.product-price-old {
  font-size: 13px;
  color: rgba(8, 8, 8, 0.46);
  text-decoration: line-through;
  margin-left: 6px;
  font-family: 'DM Sans', sans-serif;
}
.btn-add {
  background: #111111;
  color: #fff;
  border: 1px solid #111111;
  cursor: pointer;
  width: 100%;
  padding: 12px 0;
  border-radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-add:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(8, 8, 8, 0.28);
}

/* --- « FAIRE UN DEAL » : reprise de l'ancien telephone ---------------------
   2026-08-19 : contour transparent -> fond plein ambre, a la demande du
   proprietaire ("cherche une couleur... pour que ça soit visible"). Ambre
   choisi plutot que le bleu deja utilise partout ailleurs comme couleur de
   selection/action principale (paiement, focus) — un bleu ici aurait cree
   une confusion avec ces autres etats. Texte NOIR (pas blanc) : verifie
   avant d'ecrire, #111 sur #FFB020 donne 10.33:1, très au-dessus du blanc
   sur ce meme fond qui ne donne que 1.83:1 (grade-fou contraste ≥4.5:1).
   Hauteur minimale 44 px : cible tactile confortable (garde-fou du projet).
   Transition 250 ms, alignee sur .btn-add pour rester coherent.
   -------------------------------------------------------------------------- */
.btn-deal {
  width: 100%;
  min-height: 44px;
  /* Plus de margin-top ici depuis 2026-08-19 : le bouton vit maintenant
     DANS .product-price-row, dont le gap:14px espace deja tous ses
     enfants uniformement (voir ce fichier, .product-price-row). */
  background: #FFB020;
  color: #111111;
  border: 1px solid #E09A1A;
  border-radius: 12px;
  padding: 11px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-align: center;
  cursor: pointer;
  transition: background .25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-deal:hover {
  background: #F0A515;
  border-color: #C9820F;
}
/* Le focus clavier ne doit JAMAIS disparaitre : sans cet anneau, une personne
   qui navigue au clavier ne sait plus ou elle se trouve. */
.btn-deal:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}
body.dark-mode .btn-deal {
  color: #111111;
  border-color: #E09A1A;
}
body.dark-mode .btn-deal:hover {
  background: #F0A515;
  border-color: #C9820F;
}

/* --- FILTRE TABS --- */

.store-search {

  margin-bottom: 20px;

}

.store-search-input {

  width: 100%;

  max-width: 420px;

  background: rgba(255,255,255,0.80);

  border: 1px solid rgba(8,8,8,0.12);

  color: #080808;

  padding: 10px 16px;

  border-radius: 8px;

  font-size: 16px;

  font-family: 'DM Sans', sans-serif;

  transition: all .2s;

}

.store-search-input::placeholder {

  color: rgba(8,8,8,0.4);

}

.store-search-input:focus {

  outline: none;

  border-color: rgba(8,8,8,0.4);

}

.filter-tabs {

  display: flex;

  gap: 4px;

  margin-bottom: 36px;

  flex-wrap: wrap;

}

.filter-tab {

  background: rgba(255,255,255,0.80);

  border: 1px solid rgba(8,8,8,0.12);

  color: rgba(8,8,8,0.58);

  padding: 8px 20px;

  border-radius: 8px;

  font-size: 11px;

  letter-spacing: 1px;

  text-transform: uppercase;

  cursor: pointer;

  transition: all .2s;

  font-family: 'DM Sans', sans-serif;

  display: inline-flex;

  align-items: center;

  gap: 7px;

}

.filter-tab .tab-ico {

  width: 15px;

  height: 15px;

  flex-shrink: 0;

  display: block;

}

.filter-tab:hover, .filter-tab.active {

  background: #080808;

  border-color: #080808;

  color: #fff;

}

/* --- ACCESSOIRES GRID --- */

.acc-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;

}

.acc-card {
  background: #ffffff;
  color: #080808;
  border: 1px solid rgba(8, 8, 8, 0.06);
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(8, 8, 8, 0.04);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s;
}
.acc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(8, 8, 8, 0.16);
  box-shadow: 0 22px 48px rgba(8, 8, 8, 0.10);
}

.acc-icon {

  font-size: 0;

  line-height: 0;

}

.acc-icon .real-product-img {

  width: min(88%, 180px);

  height: 136px;

}

.acc-name {

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;

  font-size: 16px;

  font-weight: 650;

  letter-spacing: -0.3px;

  color: #080808;

}

.acc-brand {

  font-size: 10px;

  color: rgba(8,8,8,0.46);

  letter-spacing: 0.5px;

  text-transform: uppercase;

}

.acc-price {

  font-family: 'Cormorant Garamond', serif;

  font-size: 17px;

  font-weight: 600;

  color: #080808;

  margin-top: auto;

}

/* --- GUARANTEES --- */

.guarantees {

  background:

    linear-gradient(180deg, rgba(255,255,255,0.74), rgba(245,244,240,0.92)),

    repeating-linear-gradient(90deg, transparent 0 118px, rgba(8,8,8,0.10) 119px, transparent 120px),

    repeating-linear-gradient(0deg, transparent 0 118px, rgba(8,8,8,0.08) 119px, transparent 120px),

    var(--tile);

}

.guar-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 2px;

}

.guar-item {

  background: rgba(255,255,255,0.92);

  color: #080808;

  border: 1px solid var(--line);

  border-radius: 8px;

  box-shadow: 0 1px 0 rgba(8,8,8,0.04);

  padding: 48px 36px;

  position: relative;

  transition: box-shadow .25s, border-color .25s;

}

.guar-item::before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 2px;

  background: transparent;

  transition: background .3s;

}

.guar-item:hover {

  background: #fff;

  border-color: rgba(8,8,8,0.22);

  box-shadow: var(--soft-shadow);

}

.guar-item:hover::before {

  background: #080808;

}

.guar-num {

  font-family: 'Cormorant Garamond', serif;

  font-size: 56px;

  font-weight: 300;

  color: rgba(8,8,8,0.08);

  line-height: 1;

  margin-bottom: 16px;

  letter-spacing: -2px;

}

.guar-title {

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;

  font-size: 22px;

  font-weight: 650;

  margin-bottom: 10px;

  color: #080808;

}

.guar-text {

  font-size: 14px;

  color: rgba(8,8,8,0.46);

  line-height: 1.6;

  letter-spacing: 0.2px;

}

/* --- AVIS --- */

.reviews-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

}

.review-card {

  background: rgba(255,255,255,0.92);

  color: #080808;

  border: 1px solid var(--line);

  border-radius: 8px;

  box-shadow: 0 1px 0 rgba(8,8,8,0.04);

  padding: 28px 24px;

  transition: box-shadow .25s, border-color .25s;

}

.review-card:hover {

  background: #fff;

  border-color: rgba(8,8,8,0.22);

  box-shadow: var(--soft-shadow);

}

.review-stars {

  color: #080808;

  font-size: 12px;

  margin-bottom: 14px;

  letter-spacing: 3px;

}

.review-text {

  font-family: 'Cormorant Garamond', serif;

  font-size: 15px;

  font-style: italic;

  line-height: 1.6;

  color: rgba(8,8,8,0.68);

  margin-bottom: 18px;

}

.review-author {

  font-size: 11px;

  color: rgba(8,8,8,0.46);

  text-transform: uppercase;

  letter-spacing: 1px;

}

/* --- FOOTER --- */

footer {

  background: #080808;

  color: #fff;

  border-top: 1px solid rgba(255,255,255,0.12);

  padding: 80px 0 48px;

}

.footer-inner {

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 48px;

}

.footer-top {

  display: grid;

  grid-template-columns: 1.5fr 1fr 1fr 1fr;

  gap: 40px;

  margin-bottom: 48px;

  padding-bottom: 48px;

  border-bottom: 0.5px solid rgba(255,255,255,0.12);

}

.footer-brand .logo-text {

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;

  font-size: 32px;

  font-weight: 700;

  letter-spacing: -1.2px;

  margin-bottom: 16px;

  display: flex;

  align-items: center;

  gap: 10px;

  color: #fff;

}

.footer-brand .logo-text div {

  background: #fff !important;

}

.footer-brand p {

  font-size: 12px;

  color: rgba(255,255,255,0.48);

  line-height: 1.7;

  max-width: 260px;

  font-style: italic;

  font-family: 'Cormorant Garamond', serif;

}

.footer-col h4 {

  font-size: 10px;

  letter-spacing: 2.5px;

  text-transform: uppercase;

  color: #fff;

  margin-bottom: 20px;

  font-family: 'DM Sans', sans-serif;

}

.footer-col ul {

  list-style: none;

}

.footer-col li {

  margin-bottom: 10px;

}

.footer-col a {

  color: rgba(255,255,255,0.48);

  text-decoration: none;

  font-size: 12px;

  letter-spacing: 0.3px;

  transition: color .2s;

  display: inline-flex;

  align-items: center;

  gap: 8px;

}

.footer-col a .eco-ico {

  width: 15px;

  height: 15px;

  flex-shrink: 0;

  display: block;

}

.footer-col a:hover {

  color: #fff;

}

.footer-bottom {

  display: flex;

  align-items: center;

  justify-content: space-between;

}

.footer-copy {

  font-size: 11px;

  color: rgba(255,255,255,0.48);

  font-style: italic;

  font-family: 'Cormorant Garamond', serif;

}

.footer-socials {

  display: flex;

  gap: 14px;

}

.social-btn {

  width: 36px;

  height: 36px;

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 8px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 14px;

  cursor: pointer;

  transition: background .2s, border-color .2s;

  text-decoration: none;

  color: rgba(255,255,255,0.48);

}

.social-btn svg {

  width: 18px;

  height: 18px;

  display: block;

}

.social-btn:hover {

  background: #fff;

  border-color: #fff;

  color: #080808;

}

/* --- PANIER SIDEBAR --- */

.cart-overlay {

  position: fixed;

  inset: 0;

  background: rgba(8,8,8,0.58);

  z-index: 10000;

  opacity: 0;

  pointer-events: none;

  transition: opacity .3s;

  backdrop-filter: blur(4px);

}

.cart-overlay.open {

  opacity: 1;

  pointer-events: all;

}

.cart-sidebar {

  position: fixed;

  top: 0;

  /* Le panier fermé était garé à un right négatif, donc positionné hors de l'écran. 
     Sur iOS, Safari laisse l'utilisateur faire glisser la page pour atteindre du contenu 
     position: fixed situé hors cadre — le panier se décalait et son contenu était coupé sur le côté. 
     Un transform ne crée pas de zone atteignable par glissement, contrairement à un décalage right. */
  right: 0;

  transform: translateX(100%);

  width: 420px;

  height: 100vh;

  background: #0B0C0E;

  border-left: 1px solid #262A31;

  z-index: 10001;

  transition: transform .35s cubic-bezier(.4,0,.2,1);

  display: flex;

  flex-direction: column;

  padding: 32px;

  overflow-y: auto;

  box-shadow: -22px 0 70px rgba(8,8,8,0.34);

}

.cart-sidebar.open {

  transform: translateX(0);

}

.cart-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 28px;

  padding-bottom: 20px;

  border-bottom: 1px solid #262A31;

}

.cart-title {

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;

  font-size: 26px;

  font-weight: 750;

  color: #F2F4F7;

}

.cart-close {

  background: none;

  border: none;

  color: #8B93A1;

  font-size: 20px;

  cursor: pointer;

  width: 32px;

  height: 32px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 6px;

  transition: background .2s;

}

.cart-close:hover {

  color: #F2F4F7;

}

.cart-close:focus-visible {
  outline: 2px solid #1F5CE0;
  outline-offset: 2px;
}

.cart-item {

  display: flex;

  align-items: center;

  gap: 14px;

  padding: 14px 0;

  border-bottom: 1px solid #262A31;

  /* ENTREE EN CASCADE — courbes mesurees en direct sur apple.com/fr/iphone-16-pro
     (pas inventees) : cubic-bezier(0.4,0,0.6,1) est leur courbe pour
     opacity/color, cubic-bezier(0,0,0.5,1) leur courbe pour transform.
     Direction du mouvement : horizontale (translateX), pas verticale — le
     panier lui-meme entre par la droite (voir .cart-sidebar), les articles
     suivent le meme axe pour que l'oeil lise un seul geste, pas deux.
     Etat visible par defaut : si le JS echoue, le contenu reste affiche. */
  opacity: 1;
  transform: none;
  transition: opacity .24s cubic-bezier(0.4,0,0.6,1),
              transform .3s cubic-bezier(0,0,0.5,1);

}

.cart-item.cart-item--enter {
  opacity: 0;
  transform: translateX(10px);
}

/* Sortie d'un article retire : plus RAPIDE que l'entree (0.18s vs 0.24-0.3s).
   Un depart doit se sentir immediat, une arrivee peut prendre son temps —
   dissymetrie volontaire, pas un oubli. */
.cart-item.cart-item--sortant {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .18s cubic-bezier(0.4,0,0.6,1),
              transform .18s cubic-bezier(0.4,0,1,1);
}

.cart-item-icon {

  font-size: 0;

  line-height: 0;

}

.cart-item-icon .real-product-img {

  width: 48px;

  height: 48px;

}

.cart-item-info {

  flex: 1;

}

.cart-item-name {

  font-size: 14px;

  margin-bottom: 3px;

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;

  font-weight: 650;

  color: #F2F4F7;

}

.cart-item-sub {

  font-size: 11px;

  color: #8B93A1;

}

.cart-item-price {

  font-family: 'Cormorant Garamond', serif;

  font-size: 16px;

  font-weight: 600;

  color: #F2F4F7;

}

.cart-item-remove {

  background: none;

  border: none;

  color: #8B93A1;

  cursor: pointer;

  font-size: 14px;

  transition: color .2s;

}

.cart-item-remove:hover {

  color: #F2F4F7;

}

.cart-item-remove:focus-visible {
  outline: 2px solid #1F5CE0;
  outline-offset: 2px;
  border-radius: 4px;
}

.cart-footer {

  margin-top: auto;

  padding-top: 24px;

  border-top: 1px solid #262A31;

}

.cart-total {

  display: flex;

  justify-content: space-between;

  margin-bottom: 20px;

  align-items: center;

}

.cart-total span:first-child {

  font-size: 13px;

  letter-spacing: 1px;

  text-transform: uppercase;

  color: #8B93A1;

}

.cart-total span:last-child {

  font-family: 'Cormorant Garamond', serif;

  font-size: 24px;

  font-weight: 600;

  color: #F2F4F7;

}

.btn-checkout {

  width: 100%;

  /* Le bouton d'action principal doit se détacher du fond noir du panneau.
     On utilise le fond crème de la boutique pour une hiérarchie claire. */
  background: #1F5CE0;

  color: #FFFFFF;

  border: 1px solid #1F5CE0;

  cursor: pointer;

  padding: 16px;

  border-radius: 8px;

  font-family: 'DM Sans', sans-serif;

  /* 12px -> 15px, demande explicite du proprietaire (« il faut que ce soit
     vraiment visible »). L'espacement des lettres est reduit de 2px a
     0.6px en compensation : a 12px avec un texte court c'etait lisible,
     mais a 15px avec le libelle le plus long (« Procéder au Paiement
     Mobile Money → ») un espacement inchange aurait pousse le texte vers
     le debordement — verifie en testant precisement ce libelle-la, pas le
     plus court. */
  font-size: 15px;

  letter-spacing: 0.6px;

  text-transform: uppercase;

  transition: background .2s;

}

.btn-checkout:hover {

  /* Léger assombrissement au survol pour feedback visuel */
  background: #1A4EC2;

  border-color: #1A4EC2;

}

.btn-checkout:active {
  transform: scale(0.97);
}

.btn-checkout:focus-visible {
  outline: 2px solid #F2F4F7;
  outline-offset: 3px;
}

.cart-empty {

  text-align: center;

  padding: 60px 0;

  color: #8B93A1;

  font-style: italic;

  font-family: 'Cormorant Garamond', serif;

  font-size: 16px;

}

/* --- NOTIFICATION --- */

.notif {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 40px;
  padding: 14px 28px;
  font-size: 13px;
  z-index: 11000;
  opacity: 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
  pointer-events: none;
}
.notif.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- ANIMATIONS --- */

@keyframes fadeUp {

  from {

    opacity: 0;

    transform: translateY(24px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}

.fade-in {

  opacity: 0;

  transform: translateY(20px);

  transition: opacity .6s ease, transform .6s ease;

  pointer-events: none;

}

.fade-in.visible {

  opacity: 1;

  transform: translateY(0);

  pointer-events: auto;

}

/* --- OS BADGES --- */

.os-badges-container {

  position: absolute;

  bottom: 8px;

  right: 8px;

  display: flex;

  gap: 6px;

  flex-wrap: wrap;

  justify-content: flex-end;

}

.os-badge {

  display: inline-block;

  font-size: 10px;

  padding: 4px 8px;

  border-radius: 4px;

  font-weight: 500;

  letter-spacing: 0.3px;

  white-space: nowrap;

  backdrop-filter: blur(8px);

  border: 1px solid rgba(8,8,8,0.15);

}

.os-ios {

  background: rgba(0, 122, 255, 0.90);

  color: #fff;

  border-color: rgba(0, 122, 255, 0.5);

}

.os-android {

  background: rgba(52, 168, 83, 0.90);

  color: #fff;

  border-color: rgba(52, 168, 83, 0.5);

}

.os-both {

  background: rgba(255, 153, 0, 0.90);

  color: #fff;

  border-color: rgba(255, 153, 0, 0.5);

}

/* --- ACCESSORIES OS BADGES --- */

.acc-os-badge {

  font-size: 9px;

  text-align: center;

  margin: 6px 0;

  min-height: 18px;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 4px;

  flex-wrap: wrap;

}

.acc-os-badge .os-badge {

  padding: 3px 6px;

  font-size: 9px;

}

/* --- RESPONSIVE --- */
@media(max-width: 960px) {
  nav {
    padding: 0 16px;
    height: 66px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
  }
  .nav-links, .btn-nav {
    display: none !important;
  }
  .nav-right {
    gap: 12px !important;
  }
  .nav-tracker-text {
    display: none !important;
  }
  .nav-tracker-btn, .nav-cart {
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
  }
  .nav-logo-text {
    font-size: 28px !important;
  }
  
  /* CORRECTIF TÉLÉPHONE : Éliminer la collision Prix vs Bouton & Style Pure iStore ! */
  .product-price-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }
  .product-price-row .btn-add,
  .acc-card .btn-add {
    width: 100% !important;
    padding: 11px 0 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    letter-spacing: 0.3px !important;
  }
  .product-price {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
  }
  .product-card, .acc-card {
    border-radius: 18px !important;
    overflow: hidden !important;
  }
  .product-info {
    padding: 16px 14px 18px !important;
  }
  .acc-card {
    padding: 16px !important;
  }
  .product-name, .acc-name {
    font-size: 17px !important;
    font-weight: 800 !important;
    word-wrap: break-word !important;
    letter-spacing: -0.4px !important;
  }

  .hero-inner {

    grid-template-columns: 1fr;

    padding: 0 24px;

    text-align: center;

  }

  .hero-right {

    display: none;

  }

  .hero-ctas, .section-eyebrow, .hero-eyebrow {

    justify-content: center;

  }

  .hero-sep, .hero-sep2 {

    margin: 24px auto;

  }

  .section-inner {

    padding: 0 24px;

  }

  .products-grid, .acc-grid {

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

  }

  .guar-grid, .reviews-grid {

    grid-template-columns: 1fr;

  }

  .footer-top {

    grid-template-columns: 1fr 1fr;

  }

  .hero-trust {

    flex-direction: column;

    gap: 16px;

  }

  /* .cart-sidebar en plein écran déplacé en fin de fichier (@media 600px) */

  .hero {

    background:

      linear-gradient(0deg, rgba(8,8,8,0.84), rgba(8,8,8,0.20)),

      repeating-linear-gradient(90deg, transparent 0 96px, rgba(255,255,255,0.08) 97px, transparent 98px),

      repeating-linear-gradient(0deg, transparent 0 96px, rgba(255,255,255,0.06) 97px, transparent 98px),

      linear-gradient(135deg, #0a0a09 0%, #4f4a42 100%);

  }

}

/* --- EXTENSIONS FONCTIONNELLES : fiches, checkout, admin --- */

.product-bonus-badge {

  position: absolute;

  top: 12px;

  right: 12px;

  background: rgba(8,8,8,0.88);

  color: #fff;

  border: 1px solid rgba(255,255,255,0.20);

  border-radius: 5px;

  padding: 4px 9px;

  font-size: 9px;

  letter-spacing: .7px;

  text-transform: uppercase;

  z-index: 2;

}

.product-meta-line,

.acc-bonus,

.cart-bonus-total,

.cart-affiliate,

.ops-muted,

.detail-sub,

.detail-stock {

  font-size: 11px;

  color: rgba(8,8,8,0.48);

  letter-spacing: .3px;

}

.product-meta-line {

  margin: -6px 0 12px;

}

.acc-bonus {

  color: rgba(8,8,8,0.58);

}

.product-placeholder {

  width: 130px;

  height: 130px;

  border: 1px solid rgba(8,8,8,0.12);

  border-radius: 8px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 18px;

  font-weight: 700;

  color: #080808;

}

.modal-overlay,

.ops-overlay {

  position: fixed;

  inset: 0;

  background: rgba(8,8,8,0.58);

  z-index: 10000;

  opacity: 0;

  pointer-events: none;

  transition: opacity .3s;

  backdrop-filter: blur(4px);

}

.modal-overlay.open,

.ops-overlay.open {

  opacity: 1;

  pointer-events: all;

}

.product-modal {

  position: fixed;

  left: 50%;

  top: 50%;

  width: min(880px, calc(100vw - 36px));

  max-height: min(720px, calc(100vh - 36px));

  transform: translate(-50%, -46%);

  background: #fff;

  border: 1px solid rgba(8,8,8,0.12);

  border-radius: 8px;

  box-shadow: var(--soft-shadow);

  z-index: 10001;

  opacity: 0;

  pointer-events: none;

  overflow: auto;

  transition: opacity .25s, transform .25s;

}

.product-modal.open {

  opacity: 1;

  pointer-events: all;

  transform: translate(-50%, -50%);

}

.product-modal-inner {

  padding: 28px;

}

.detail-header,

.ops-card-head {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 16px;

}

.detail-header {

  padding-bottom: 18px;

  border-bottom: 1px solid rgba(8,8,8,0.10);

  margin-bottom: 22px;

}

.detail-header .cart-close {

  color: rgba(8,8,8,0.58);

}

.detail-eyebrow {

  font-size: 10px;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: rgba(8,8,8,0.46);

  margin-bottom: 8px;

}

.detail-header h3 {

  font-size: 30px;

  line-height: 1;

  letter-spacing: -1.2px;

  color: #080808;

}

.detail-grid {

  display: grid;

  grid-template-columns: minmax(240px, 1fr) 1.2fr;

  gap: 28px;

}

.detail-media {

  min-height: 280px;

  background:

    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(217,214,205,0.78)),

    repeating-linear-gradient(90deg, rgba(8,8,8,0.07) 0 1px, transparent 1px 82px),

    repeating-linear-gradient(0deg, rgba(8,8,8,0.055) 0 1px, transparent 1px 82px);

  border: 1px solid rgba(8,8,8,0.10);

  border-radius: 8px;

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;

}

.detail-media .real-product-img {

  width: 90%;

  height: 280px;

}

.detail-price {

  font-family: 'Cormorant Garamond', serif;

  font-size: 32px;

  font-weight: 600;

  color: #080808;

  margin-bottom: 4px;

}

.detail-stock {

  margin: 10px 0 18px;

  text-transform: uppercase;

  letter-spacing: 1px;

}

.detail-specs {

  display: grid;

  gap: 8px;

  margin-bottom: 22px;

}

.detail-spec {

  display: flex;

  justify-content: space-between;

  gap: 18px;

  padding: 12px 0;

  border-bottom: 1px solid rgba(8,8,8,0.08);

}

.detail-spec span {

  text-transform: capitalize;

  color: rgba(8,8,8,0.48);

  font-size: 12px;

}

.detail-spec strong {

  color: #080808;

  font-size: 13px;

  font-weight: 650;

  text-align: right;

}

.detail-actions {

  display: flex;

  gap: 10px;

  flex-wrap: wrap;

}

.btn-secondary-light {

  background: #fff;

  color: #080808;

  border: 1px solid rgba(8,8,8,0.18);

  cursor: pointer;

  padding: 14px 32px;

  border-radius: 7px;

  font-size: 12px;

  letter-spacing: 1.5px;

  text-transform: uppercase;

}

.checkout-form,

.ops-form,

.ops-login {

  display: grid;

  gap: 10px;

}

.checkout-form input,

.checkout-form select,

.ops-form input,

.ops-form select,

.ops-row select,

.ops-login input {

  width: 100%;

  min-width: 0;

  max-width: 100%;

  /* Champs BLANCS, volontairement : demande explicite du proprietaire
     (« il faut qu'ils soient en blanc »), et c'est aussi le motif reel
     partout ailleurs — Stripe, Apple, Amazon mettent le champ a remplir en
     blanc sur un panneau sombre, pour qu'il se voie comme un vrai
     formulaire plutot que de se fondre dans l'interface. Contrastes
     calcules, pas devines : texte 18.1:1, bordure 5.3:1 (le meme #686C72
     que le reste du site — il fonctionne aussi bien sur blanc que sur
     sombre, aucun nouveau jeton necessaire). */
  background: #FFFFFF;

  color: #14161A;

  border: 1px solid #686C72;

  border-radius: 10px;

  padding: 14px 16px;

  font-size: 16px;

  outline: none;

  transition: border-color 0.2s, background 0.2s;

}

.checkout-form input:focus, .ops-form input:focus {

  background: #FFFFFF;

  border-color: #1F5CE0;

}

@keyframes cartBounce {

  0%, 100% { transform: scale(1); }

  50% { transform: scale(1.3) translateY(-3px); color: #fff; }

}

.cart-bounce {

  animation: cartBounce 0.4s ease-in-out;

}

.checkout-form select,

.ops-form select,

.ops-row select {

  color: #080808;

  background: #fff;

}

.checkout-form input::placeholder,

.ops-form input::placeholder,

.ops-login input::placeholder {

  /* #8B93A1 (le gris discret utilise ailleurs) ne fait que 3.09:1 sur fond
     blanc — insuffisant. Recalcule pour ce nouveau fond : 4.83:1. */
  color: #6B7280;

}

.cart-bonus-total,

.cart-affiliate {

  color: rgba(255,255,255,0.54);

  margin: -8px 0 14px;

}

.cart-affiliate {

  margin: 0 0 4px;

}

.btn-checkout-secondary {

  width: 100%;

  background: rgba(255,255,255,0.08);

  color: #fff;

  border: 1px solid rgba(255,255,255,0.14);

  cursor: pointer;

  padding: 14px;

  border-radius: 8px;

  font-size: 11px;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  transition: transform 0.1s ease, background 0.2s ease;

}

.btn-checkout-secondary:active {

  transform: scale(0.97);

}

.cart-qty {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-top: 6px;

}

.cart-qty button {

  /* 44x44 : cible tactile reelle, pas un compromis visuel. Verifie que la
     ligne (icone 48px + nom + prix + deux boutons 44px) tient toujours dans
     les 420px du panneau avant de livrer. */
  width: 44px;

  height: 44px;

  border-radius: 8px;

  border: 1px solid #686C72;

  background: #131519;

  color: #F2F4F7;

  cursor: pointer;

  font-size: 16px;

  /* Un seul chiffre bouge au clic : le fond, pas la couleur du texte (le
     texte reste lisible pendant la transition au lieu de clignoter). Duree
     alignee sur ce qu'Apple applique a un retour de clic — 0.1s a 0.15s,
     jamais 0.3s pour un evenement aussi bref. */
  transition: background .12s ease-out, border-color .12s ease-out;

}

.cart-qty button:hover {
  background: #1A1D22;
  border-color: #8B93A1;
}

.cart-qty button:active {
  /* Changement de fond au clic, PAS de transform:scale — verifie sur Apple :
     leurs regles :active touchent color/background/outline, jamais une
     mise a l'echelle. On reste fidele a ce qui a ete mesure. */
  background: #0E1013;
}

.cart-qty button:focus-visible {
  outline: 2px solid #1F5CE0;
  outline-offset: 2px;
}

.cart-qty span {

  color: #F2F4F7;

  font-size: 12px;

}

.ops-panel {

  position: fixed;

  top: 0;

  right: 0;

  transform: translateX(100%);

  width: min(560px, 100vw);

  height: 100vh;

  background: #080808;

  border-left: 1px solid rgba(255,255,255,0.12);

  z-index: 10001;

  transition: transform .35s cubic-bezier(.4,0,.2,1);

  display: flex;

  flex-direction: column;

  padding: 32px;

  overflow-y: auto;

  box-shadow: -22px 0 70px rgba(8,8,8,0.34);

}

.ops-panel.open {

  transform: translateX(0);

}

.ops-tabs {

  display: flex;

  gap: 6px;

  flex-wrap: wrap;

  margin-bottom: 18px;

}

.ops-tabs button,

.ops-card button,

.ops-row button,

.influencer-link button {

  background: rgba(255,255,255,0.08);

  color: #fff;

  border: 1px solid rgba(255,255,255,0.14);

  cursor: pointer;

  padding: 9px 12px;

  border-radius: 7px;

  font-size: 10px;

  letter-spacing: 1px;

  text-transform: uppercase;

}

.ops-tabs button.active {

  background: #fff;

  color: #080808;

}

.ops-body,

.ops-list {

  display: grid;

  gap: 12px;

}

.ops-list.compact {

  margin-top: 14px;

}

.ops-card {

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 8px;

  padding: 14px;

  color: #fff;

}

.ops-card strong,

.ops-money {

  color: #fff;

}

.ops-card-head {

  margin-bottom: 8px;

}

.ops-muted {

  color: rgba(255,255,255,0.50);

  line-height: 1.5;

  margin-top: 5px;

}

.ops-money {

  font-family: 'Cormorant Garamond', serif;

  font-size: 20px;

  margin: 8px 0;

}

.ops-row {

  display: grid;

  grid-template-columns: 1fr auto;

  gap: 8px;

  margin-top: 10px;

  align-items: center;

}

.ops-form {

  margin-bottom: 16px;

}

.status-badge {

  border-radius: 999px;

  padding: 4px 8px;

  font-size: 9px;

  letter-spacing: 1px;

  text-transform: uppercase;

  border: 1px solid rgba(255,255,255,0.16);

  color: #fff;

}

.status-paid,

.status-accepted {

  background: rgba(52,168,83,0.22);

}

.status-pending {

  background: rgba(255,153,0,0.18);

}

.status-cancelled,

.status-refused {

  background: rgba(214,48,49,0.22);

}

.ops-empty {

  color: rgba(255,255,255,0.54);

  font-family: 'Cormorant Garamond', serif;

  font-style: italic;

  padding: 32px 0;

}

.influencer-link {

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 8px;

  padding: 14px;

  display: grid;

  gap: 8px;

  color: #fff;

  word-break: break-all;

}

.influencer-link span,

.stats-grid span {

  color: rgba(255,255,255,0.48);

  font-size: 10px;

  letter-spacing: 1px;

  text-transform: uppercase;

}

.stats-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 10px;

  margin: 16px 0;

}

.stats-grid div {

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 8px;

  padding: 16px;

  display: grid;

  gap: 8px;

}

.stats-grid strong {

  color: #fff;

  font-family: 'Cormorant Garamond', serif;

  font-size: 28px;

}

/* ===== Panneau Affilié — design unifié ===== */

.aff-body {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.aff-intro {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.aff-field {
  display: grid;
  gap: 7px;
}

.aff-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.aff-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.aff-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 13px 14px;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.aff-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.aff-input:focus {
  border-color: var(--tile-dark);
  background: rgba(255, 255, 255, 0.1);
}

.aff-input--code {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 17px;
}

.aff-error {
  color: #ff6b6b;
  font-size: 12px;
  min-height: 16px;
  text-align: center;
}

.aff-btn {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  border-radius: 10px;
}

.aff-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 4px 0 0;
}

.aff-switch {
  text-align: center;
  display: grid;
  gap: 8px;
}

.aff-switch p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin: 0;
}

.aff-link-btn {
  background: none;
  border: none;
  color: var(--tile-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
}

.aff-link-btn:hover {
  text-decoration: underline;
}

.aff-welcome {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

.aff-welcome strong {
  color: #fff;
}

.aff-gains {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  display: grid;
  gap: 6px;
}

.aff-gains strong {
  color: var(--tile-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  line-height: 1;
}

.aff-logout {
  width: 100%;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  padding: 12px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.aff-logout:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

@media(max-width: 720px) {

  .detail-grid,

  .ops-row,

  .stats-grid {

    grid-template-columns: 1fr;

  }

  /* Le panneau affilié garde ses 2 colonnes Clics/Ventes même en étroit */
  #influencerPanel .stats-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  .product-modal-inner,

  .ops-panel {

    padding: 24px;

  }

  .product-modal {

    top: 30px !important;

    transform: translateX(-50%) !important;

    width: calc(100vw - 20px) !important;

    max-height: calc(100vh - 60px) !important;

    z-index: 10001 !important;

  }

  .product-modal.open {

    transform: translateX(-50%) !important;

  }

  .product-bonus-badge {

    top: auto;

    bottom: 12px;

    right: 12px;

  }

}

/* --- THEME TOGGLE & DARK MODE OVERRIDES --- */
.theme-toggle {
  background: transparent;
  border: 1px solid rgba(8,8,8,0.12);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  width: 38px;
  height: 38px;
  margin-right: 10px;
}

.theme-toggle:hover {
  background: rgba(8,8,8,0.06);
  transform: scale(1.05);
}

.theme-toggle .theme-icon-light {
  display: inline-block;
}
.theme-toggle .theme-icon-dark {
  display: none;
}

/* Dark mode class on html/body */
.dark-mode {
  --noir: #ffffff;
  --noir2: #f8f9fa;
  --noir3: #121212;
  --rouge: #ffffff;
  --rouge2: #e0e0e0;
  --gris: #a0a0a0;
  --gris2: #333333;
  --blanc: #ffffff;
  --blanc2: rgba(255,255,255,0.72);
  --blanc3: rgba(255,255,255,0.44);
  --blanc4: rgba(255,255,255,0.10);
  --paper: #161616;
  --tile: #121212;
  --tile-dark: #333333;
  --line: rgba(255,255,255,0.08);
  --soft-shadow: 0 24px 70px rgba(0,0,0,0.6);
}

.dark-mode .theme-toggle {
  border-color: rgba(255,255,255,0.14);
}

.dark-mode .theme-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.dark-mode .theme-toggle .theme-icon-light {
  display: none;
}
.dark-mode .theme-toggle .theme-icon-dark {
  display: inline-block;
}

/* Body dark theme override */
body.dark-mode {
  background:
    linear-gradient(180deg, rgba(8,8,8,0.88), rgba(14,14,14,0.98)),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255,255,255,0.03) 119px, transparent 120px),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(255,255,255,0.02) 119px, transparent 120px),
    #080808 !important;
  color: #ffffff;
}

body.dark-mode nav {
  background: rgba(14,14,14,0.90);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 34px rgba(0,0,0,0.5);
}

body.dark-mode .nav-logo-bar {
  background: #ffffff;
}

body.dark-mode .nav-logo-text {
  color: #ffffff;
}

body.dark-mode .nav-links a {
  color: rgba(255,255,255,0.62);
}

body.dark-mode .nav-links a:hover {
  color: #ffffff;
}

body.dark-mode .btn-nav {
  background: #ffffff;
  color: #080808;
  border-color: #ffffff;
}

body.dark-mode .btn-nav:hover {
  background: #e0e0e0;
  border-color: #e0e0e0;
  box-shadow: 0 14px 34px rgba(255,255,255,0.16);
}

body.dark-mode .section-title {
  color: #ffffff;
}

body.dark-mode .filter-tab {
  background: rgba(22,22,22,0.80);
  border-color: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.6);
}

body.dark-mode .store-search-input {
  background: rgba(22,22,22,0.80);
  border-color: rgba(255,255,255,0.10);
  color: #ffffff;
}

body.dark-mode .store-search-input::placeholder {
  color: rgba(255,255,255,0.4);
}

body.dark-mode .filter-tab:hover,
body.dark-mode .filter-tab.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #080808;
}

body.dark-mode .product-card,
body.dark-mode .acc-card {
  background: #ffffff !important;
  color: #080808 !important;
  border-color: rgba(8,8,8,0.08) !important;
}

body.dark-mode .product-card:hover,
body.dark-mode .acc-card:hover {
  border-color: rgba(8,8,8,0.18) !important;
}

body.dark-mode .product-img-wrap {
  background: transparent !important;
}

body.dark-mode .product-name,
body.dark-mode .acc-name {
  color: #080808 !important;
}

body.dark-mode .product-sub,
body.dark-mode .acc-brand {
  color: rgba(8,8,8,0.55) !important;
}

body.dark-mode .product-price,
body.dark-mode .acc-price {
  color: #080808 !important;
}

body.dark-mode .guar-item {
  background: rgba(22,22,22,0.92);
  color: #ffffff;
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .review-card {
  background: rgba(22,22,22,0.92);
  color: #ffffff;
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .review-card:hover {
  background: rgba(28,28,28,0.95);
  border-color: rgba(255,255,255,0.22);
}

body.dark-mode .product-modal {
  background: #141414;
  border-color: rgba(255,255,255,0.12);
  color: #ffffff;
}

body.dark-mode .product-modal h3,
body.dark-mode .product-modal h2 {
  color: #ffffff;
}

body.dark-mode .detail-header {
  border-bottom-color: rgba(255,255,255,0.10);
}

body.dark-mode .detail-header .cart-close {
  color: rgba(255,255,255,0.58);
}

body.dark-mode .detail-desc {
  color: rgba(255,255,255,0.72);
}

body.dark-mode .detail-bonus-badge {
  color: rgba(255,255,255,0.85);
}

/* --- PRODUCT COLOR INFO --- */
.product-color-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.04);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  margin: 4px 0 10px 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: fit-content;
}

body.dark-mode .product-color-info {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

.color-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

body.dark-mode .color-dot {
  border-color: rgba(255,255,255,0.35);
}

.color-name {
  color: #222222;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
}

body.dark-mode .color-name {
  color: rgba(255,255,255,0.9);
}
/* Logos des moyens de paiement mobile money au checkout (Mixx by Yas, Flooz).
   Taille contrainte via une classe pour un rendu fiable : les logos sources
   sont carrés/pleins (~400px), il faut les réduire à une pastille discrète. */
.pay-logo-wrapper {
  background: #fff;
  border-radius: 6px;
  width: 48px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pay-logo {
  height: 30px !important;
  width: auto !important;
  border-radius: 5px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* En dessous de 600 px, l'écran est trop étroit pour afficher un panneau latéral 
   de 420 px à côté de la boutique. Le panier passe donc en plein écran. Au-delà, 
   le panneau latéral reste plus confortable. */
@media(max-width: 600px) {
  .cart-sidebar {
    width: 100%;
  }
}

/* --- PREMIUM DESIGN OVERRIDES (FOOTER, PAYGATE LOADER, AFFILIATE MODAL) --- */

/* 1. FOOTER PREMIUM */
footer {
  background: linear-gradient(180deg, #080808 0%, #111111 100%) !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.footer-col h4 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9) !important;
  margin-bottom: 24px !important;
}
.footer-col ul li a {
  font-family: 'Inter', sans-serif !important;
  color: rgba(255,255,255,0.5) !important;
  transition: all 0.3s ease !important;
  display: inline-block;
}
.footer-col ul li a:hover {
  color: #fff !important;
  transform: translateX(4px);
}

/* 2. PAYGATE OVERLAY PREMIUM */
#paygate-loader-overlay {
  background: rgba(10, 10, 10, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}
#paygate-loader-overlay .spinner {
  width: 60px !important;
  height: 60px !important;
  border: 3px solid rgba(255,255,255,0.08) !important;
  border-top: 3px solid #fff !important;
}
#paygate-loader-overlay h3 {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  font-size: 22px !important;
  letter-spacing: 0.5px !important;
}
#paygate-loader-overlay p {
  font-family: 'Inter', sans-serif !important;
  color: rgba(255,255,255,0.6) !important;
}
#paygate-loader-overlay button {
  background: rgba(255,255,255,0.05) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.3s ease !important;
}
#paygate-loader-overlay button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* 3. AFFILIATE MODAL PREMIUM */
#influencerPanel {
  background: rgba(15, 15, 15, 0.85) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-left: 1px solid rgba(255,255,255,0.08) !important;
}
.ops-card-head h3 {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px !important;
}
.aff-intro {
  font-family: 'Inter', sans-serif !important;
  color: rgba(255,255,255,0.6) !important;
  line-height: 1.6 !important;
}
.aff-input {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  padding: 16px !important;
  transition: all 0.3s ease !important;
}
.aff-input:focus {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.3) !important;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.05) !important;
  outline: none !important;
}
.btn-primary.aff-btn {
  background: #fff !important;
  color: #000 !important;
  border-radius: 10px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 16px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  border: none !important;
}
.btn-primary.aff-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(255,255,255,0.15) !important;
}
.aff-switch button {
  font-family: 'Inter', sans-serif !important;
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}
.aff-switch button:hover {
  color: #fff !important;
}

/* --- ULTRA PREMIUM DESIGN OVERRIDES (REVIEWS & MODALS) --- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.review-card-ultra {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.review-card-ultra:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.7), 0 0 20px rgba(255,255,255,0.03) !important;
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #a1a1a1 100%);
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-author-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.verified-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  background: rgba(76, 175, 80, 0.12);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.25);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

.review-city {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.review-stars-gold {
  color: #ffc107;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

.review-text-ultra {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

/* Subtle glow background element on section */
#avis {
  position: relative;
}

#avis::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(circle, rgba(255,255,255,0.015) 0%, transparent 70%);
  pointer-events: none;
}

/* --- SECTION AVIS : FOND SOMBRE POUR LE DESIGN ULTRA DES CARTES --- */
#avis {
  background: #080808;
}
#avis .sec-eye { color: rgba(255, 255, 255, 0.55); }
#avis .sec-line { background: rgba(255, 255, 255, 0.4); }
#avis .section-title,
#avis .section-title em { color: #ffffff; }

/* --- PURE ISTORE LUXURY UI OVERRIDES (NO GREY BACKGROUNDS) --- */
.product-card, .acc-card {
  background: #ffffff !important;
  color: #080808 !important;
  border: 1px solid rgba(8, 8, 8, 0.06) !important;
  box-shadow: 0 10px 32px rgba(8, 8, 8, 0.04) !important;
}
.product-card:hover, .acc-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 48px rgba(8, 8, 8, 0.09) !important;
  border-color: rgba(8, 8, 8, 0.15) !important;
}
.cart-sidebar {
  background: rgba(11, 12, 14, 0.95) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border-left: 1px solid rgba(242,244,247,0.08) !important;
}
.product-img-wrap {
  position: relative;
  background: transparent !important;
}
.product-img, .real-product-img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 24px rgba(8, 8, 8, 0.12));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .real-product-img, .product-card:hover .product-img {
  transform: scale(1.05) translateY(-4px);
}
.product-name {
  color: #080808 !important;
}
.product-price {
  color: #080808 !important;
}
.btn-add {
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #111111 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}
.btn-add:hover {
  background: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}


/* --- FIX: CLOSE BUTTON VISIBILITY ON MOBILE --- */
@media (max-width: 600px) {
  .cart-sidebar, .product-modal-inner, .influencer-panel {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .cart-header, .detail-header, .panel-header {
    padding-right: 10px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .cart-close {
    flex-shrink: 0 !important;
    margin-left: 10px !important;
    z-index: 99999 !important;
    position: relative !important;
    display: flex !important;
  }
}

/* ============================================================================
   CARTES DE PAIEMENT — remplacent les <select> par des tuiles tactiles.
   Inspire de la disposition observee chez Stripe (rangee d'icones-tuiles,
   etat "choisi" marque par un contour, jamais par une case a cocher separee)
   et chez Apple (survol restreint a la couleur/bordure, focus au clavier
   traite au meme niveau que la souris).

   ARCHITECTURE : le <select> d'origine (#cust-paymethod) reste la SOURCE DE
   VERITE, rendu invisible (pas supprime). Ces cartes sont une couche
   purement visuelle qui le pilote — la logique de commande dans
   store-checkout.js n'a pas change de contrat.
   ============================================================================ */

/* Cache le select sans le retirer de l'arbre : le clavier/lecteur d'ecran
   passe par les vraies cases radio ci-dessous, pas par lui. */
#cust-paymethod.select-source-de-verite {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cartes-paiement {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.carte-paiement {
  position: relative;
  flex: 1 1 96px;
  min-height: 44px;
  cursor: pointer;
}

/* La vraie case radio couvre toute la tuile, invisible mais bien presente :
   le clic, le tactile ET le clavier passent tous par elle nativement. */
.carte-paiement input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.cp-visuel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  min-height: 44px;
  padding: 10px 8px;
  /* BLANC, demande explicite du proprietaire (2026-08-19) : « a partir de
     mode de paiement seulement... ca resterait dans un cadre » — la tuile
     passe en blanc, sa bordure reste, le cadre sombre autour (#paygate-fields)
     ne change pas. Contrastes recalcules pour ce nouveau fond, pas repris
     tels quels : texte 18.1:1, icone au repos 4.83:1 (le gris utilise sur
     fond sombre, #8B93A1, ne faisait que 3.09:1 ici — insuffisant). */
  background: #FFFFFF;
  border: 1px solid #686C72;
  border-radius: 10px;
  text-align: center;
  /* Duree courte (0.15s), coherente avec ce qui a ete mesure chez Apple pour
     un retour d'interaction immediat — pas 0.3s pour un simple changement
     de bordure. */
  transition: border-color .15s ease-out, background-color .15s ease-out;
}

.cp-icone {
  width: 22px; height: 22px;
  color: #6B7280;
  transition: color .15s ease-out;
}
.cp-icone svg { width: 100%; height: 100%; display: block; }

.cp-texte {
  /* 11px -> 14px, meme demande que le bouton "Procéder au paiement" juste
     avant (« pareil pour le mode de paiement »). A verifier specifiquement
     sur "Mobile Money" (le libelle le plus long) a largeur d'ecran etroite,
     ou les 3 tuiles se partagent le moins de place. */
  font-size: 14px;
  font-weight: 600;
  color: #14161A;
  line-height: 1.2;
}

/* Etat choisi : contour bleu d'accent, jamais de mise a l'echelle — verifie
   sur Apple, leurs etats actifs ne font jamais bouger la taille.
   BUG CORRIGE (capture d'ecran du proprietaire, 2026-08-19) : l'ancien fond
   etait un bleu a 12% D'OPACITE — correct quand la tuile reposait sur
   #131519 (session precedente), mais depuis que .cp-visuel est blanc par
   defaut, cette transparence laissait voir le fond SOMBRE du panier a
   travers la tuile choisie (une transparence ne « s'ajoute » pas au blanc du
   dessous, elle composite avec ce qu'il y a VRAIMENT derriere l'element).
   Remplace par une couleur pleine, calculee : 15.98:1 (texte), 5.05:1
   (icone/bordure) — jamais transparente sur une tuile qui doit rester
   blanche/claire quel que soit son environnement. */
.carte-paiement input:checked ~ .cp-visuel {
  border-color: #1F5CE0;
  background: #EAF1FF;
}
.carte-paiement input:checked ~ .cp-visuel .cp-icone {
  color: #1F5CE0;
}

.carte-paiement input:focus-visible ~ .cp-visuel {
  outline: 2px solid #1F5CE0;
  outline-offset: 2px;
}

/* Cartes reseau (logos Mixx by Yas / Flooz) : meme structure, une image a la
   place de l'icone SVG. */
.carte-reseau .cp-visuel { padding: 8px; }
.carte-reseau .cp-logo {
  max-width: 100%;
  max-height: 26px;
  object-fit: contain;
}

/* ============================================================================
   ONGLETS RESEAU MOBILE MONEY — rangee compacte et horizontale, distincte des
   grandes tuiles de mode de paiement (.carte-paiement). Structure calquee sur
   la section "Payment method" de Stripe (checkout.stripe.dev/checkout,
   inspectee en direct le 2026-08-19) : une rangee fine de logos juste
   au-dessus du champ qu'elle concerne, pas de grosses cases carrees.
   ============================================================================ */
.reseau-tabs {
  display: flex;
  gap: 6px;
}

.reseau-tab {
  position: relative;
  flex: 1;
  height: 44px;
  cursor: pointer;
}

.reseau-tab input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.rt-visuel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  /* BLANC, meme demande que .cp-visuel ci-dessus. Les logos (JPG opaques)
     restent parfaitement lisibles sur blanc — c'est d'ailleurs le fond sur
     lequel un logo de moyen de paiement se lit le mieux, comme chez Stripe. */
  background: #FFFFFF;
  border: 1px solid #686C72;
  border-radius: 8px;
  padding: 4px 10px;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}

.rt-logo {
  max-height: 20px;
  max-width: 100%;
  object-fit: contain;
}

.reseau-tab input:checked ~ .rt-visuel {
  border-color: #1F5CE0;
  /* Double trait au lieu d'un fond teinte : a cette taille compacte, un fond
     bleu aurait mange le logo. Le contour marque le choix sans le couvrir. */
  box-shadow: 0 0 0 1px #1F5CE0 inset;
}

/* =========================================================================
   FOND ANIME — remplace la section categories (4 cartes) retiree le
   2026-08-19. Halo degrade flou qui derive lentement en continu (3 taches
   radiales floues, chacune sa propre trajectoire/duree). Une premiere
   version ajoutait aussi des petites formes colorees (triangles/losanges)
   qui flottaient par-dessus — retiree le meme jour a la demande du
   proprietaire ("pas de petits carreaux colores"), il ne reste que le halo.
   Puis une deuxieme version vivait dans une section a part, au-dessus de
   "Nos produits" — retiree a son tour : le proprietaire voulait ce halo
   COMME arriere-plan de la section produits elle-meme, pas une bande a
   part (qui recreait en plus une ligne de jonction). Le halo vit maintenant
   DANS #produits, ancre en haut, avec un fondu qui l'estompe avant la
   grille de produits — voir #produits ci-dessous.
   ========================================================================= */

#produits {
  position: relative;
}

/* Les enfants normaux de #produits doivent passer AU-DESSUS du halo : un
   element position:absolute (le halo) s'affiche par defaut devant un
   element position:static (.section-inner), quel que soit l'ordre dans le
   HTML. Sans ce position:relative + z-index, le halo aurait recouvert le
   titre et la grille de produits au lieu de rester derriere. */
#produits > .section-inner {
  position: relative;
  z-index: 1;
}

.hero-motion__aura {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* Limite au bandeau du titre "Nos produits" (eyebrow + h2), pas plus :
     le proprietaire a precise que le halo ne doit meme pas depasser la
     barre de recherche juste en dessous. Mesure en direct sur la vraie
     page : le header (eyebrow+titre) va de 96 a 176px (bureau) / 96 a
     160px (mobile), la barre de recherche commence a 232px (bureau) /
     216px (mobile). 210px laisse ~22px de marge avant la recherche sur
     bureau ; la media query mobile serre encore plus (190px, ~26px de
     marge). `overflow:hidden` sur ce conteneur rend cette limite ABSOLUE :
     rien (meme le flou) ne peut deborder au-dela de sa hauteur — pas
     seulement un fondu visuel qu'on espere suffisant. */
  height: 210px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  /* Fondu doux en haut et en bas : sans ca, le halo s'arrete net a la
     bordure de son bandeau et laisse une ligne dure — c'est le "c'est
     coupe, pas joli" signale en test reel sur une version precedente. Le
     degrade fait disparaitre la couleur progressivement AVANT le bord. */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 75%, transparent);
}

.hero-motion__blob {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  /* 0.24 (premiere version) rendait la couleur quasiment invisible une fois
     floutee — verifie en la remontant temporairement a 1 en direct : la
     forme/position etaient deja correctes, seule l'intensite manquait. Le
     proprietaire a montre une capture ou le halo est nettement visible
     (pas juste devine) : 0.42 s'en rapproche sans devenir criard. */
  opacity: 0.42;
  will-change: transform;
  /* Position en % + recentrage : un decalage en pixels fixes (ex. top:-160px)
     casse des que la section est plus courte (mobile, min-height 220px vs
     340px sur bureau) — la tache se retrouvait alors presque entierement
     hors-cadre, coupee, ne laissant de couleur qu'en haut. En %, la
     repartition (haut / bas / milieu) reste correcte quelle que soit la
     hauteur reelle de la section. */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-motion__blob--1 {
  top: 18%;
  left: 12%;
  background: radial-gradient(circle, #1F5CE0, transparent 70%);
  animation: heroDrift1 26s ease-in-out infinite alternate;
}

.hero-motion__blob--2 {
  top: 82%;
  left: 85%;
  background: radial-gradient(circle, #FF6B6B, transparent 70%);
  animation: heroDrift2 32s ease-in-out infinite alternate;
  animation-delay: -9s;
}

.hero-motion__blob--3 {
  top: 55%;
  left: 45%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #FFB020, transparent 70%);
  animation: heroDrift3 22s ease-in-out infinite alternate;
  animation-delay: -14s;
}

/* translate(-50%,-50%) est repete au debut de chaque etape : l'animation
   remplace ENTIEREMENT la propriete transform pendant qu'elle tourne (elle
   ne s'ajoute pas a la regle statique de .hero-motion__blob) — sans ca,
   chaque tache saute au coin superieur gauche de sa position des le
   premier frame anime, au lieu de rester centree dessus. */
@keyframes heroDrift1 {
  0% { transform: translate(-50%, -50%) translate(0, 0) scale(1); }
  100% { transform: translate(-50%, -50%) translate(60px, 40px) scale(1.12); }
}

@keyframes heroDrift2 {
  0% { transform: translate(-50%, -50%) translate(0, 0) scale(1); }
  100% { transform: translate(-50%, -50%) translate(-50px, -30px) scale(1.08); }
}

@keyframes heroDrift3 {
  0% { transform: translate(-50%, -50%) translate(0, 0) scale(1); }
  100% { transform: translate(-50%, -50%) translate(-40px, 50px) scale(0.94); }
}

@media (max-width: 768px) {
  .hero-motion__aura {
    height: 190px;
  }

  .hero-motion__blob {
    width: 280px;
    height: 280px;
    filter: blur(60px);
  }

  .hero-motion__blob--3 {
    width: 220px;
    height: 220px;
  }

}

.reseau-tab input:focus-visible ~ .rt-visuel {
  outline: 2px solid #1F5CE0;
  outline-offset: 2px;
}

/* =========================================================================
   BOUTON "COMMANDER" — confirmation par couleur au lieu du message
   "ajoute au panier" (retire a la demande du proprietaire). Le bouton
   passe au vert le temps du cooldown pendant lequel pointer-events est
   coupe en JS (addToCart) — c'est CA qui empeche le double-clic, la
   couleur n'est que le signal visuel de ce court verrou.
   !important necessaire : .btn-add est deja fixe en noir plus haut dans
   ce fichier (bloc "OVERRIDES", lui-meme en !important) — sans egaler
   cette specificite, le vert ne s'appliquerait jamais.
   ========================================================================= */
.btn-add.btn-add--ajoute {
  background: #1B7A4A !important;
  border-color: #1B7A4A !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(27, 122, 74, 0.3) !important;
  transition: background .2s ease-out, border-color .2s ease-out !important;
}
