/* ═══════════════════════════════════════════════════════════════════
   PROTOTYPE FICHE PRODUIT — CORRECTIF DESIGN 3 (2026-09-12)
   id_product 6048 UNIQUEMENT (conteneur .rt-product-page émis par le
   template product_styles/product_page_style.tpl, branche 6048).
   Feuille chargée UNIQUEMENT dans cette branche : 6081/6089 ne la
   chargent pas et n'en subissent aucun effet.
   Icônes : RemixIcon 3.5.0 déjà chargée (CDN) — aucune bibliothèque
   ajoutée. Icônes des caractéristiques = pseudo-éléments CSS positionnels
   (mapping par position, NON généralisable tant qu'un mapping sémantique
   stable des caractéristiques n'existe pas).
   Toutes les règles sont préfixées .rt-product-page.
   ═══════════════════════════════════════════════════════════════════ */

.rt-product-page { --rt-ink: #293544; --rt-accent: #FCC902; }

/* ─── 1. GRANDE IMAGE : sans contour, fond blanc, contenue (LCP item root) ─── */
.rt-product-page .rt-product-gallery-column .product-cover-container,
.rt-product-page .rt-product-gallery-column .product-cover {
  background: #ffffff;
  border: none !important;
  box-shadow: none !important;
}
.rt-product-page .rt-product-gallery-column .product-cover .swiper-slide picture {
  display: block;
}
.rt-product-page .rt-product-gallery-column .product-cover .swiper-slide img {
  display: block;
  object-fit: contain;
  background: #ffffff;
  border: none !important;
}

/* ─── 2. MINIATURES 86-92 px + active 2px #FCC902 (reste en lazy loading) ─── */
.rt-product-page .rt-product-gallery-column .thumb-images {
  padding-left: 8px;
  padding-right: 8px;
}
.rt-product-page .rt-product-gallery-column .thumb-images .thumb-container {
  width: 90px !important;
  min-width: 90px;
  max-width: 90px;
  flex-shrink: 0;
  padding: 0;
  margin-right: 8px;
  border: none !important;
}
.rt-product-page .rt-product-gallery-column .thumb-images .thumb-container .thumb {
  width: 90px !important;
  height: 90px !important;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #e4e8ee;
  border-radius: 4px;
  padding: 5px;
  box-sizing: border-box;
  opacity: 1;
}
.rt-product-page .rt-product-gallery-column .thumb-images .thumb-container .thumb:hover {
  border-color: #c9d0d8;
}
.rt-product-page .rt-product-gallery-column .thumb-images .thumb-container .thumb.selected,
.rt-product-page .rt-product-gallery-column .thumb-images .swiper-slide-thumb-active .thumb {
  border: 2px solid var(--rt-accent) !important;
  padding: 4px;
}

/* ─── 3. FLÈCHES PRINCIPALES : cercles 40 px desktop / 36 px mobile,
         fond blanc, icône #293544, masquées aux extrémités ─── */
.rt-product-page .rt-product-gallery-column .product-cover .swiper-button-next,
.rt-product-page .rt-product-gallery-column .product-cover .swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  margin-top: -20px;
  border-radius: 50%;
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(41, 53, 68, 0.20);
  color: var(--rt-ink) !important;
  opacity: 1;
  transition: box-shadow .2s ease, transform .2s ease;
}
.rt-product-page .rt-product-gallery-column .product-cover .swiper-button-next::after,
.rt-product-page .rt-product-gallery-column .product-cover .swiper-button-prev::after {
  font-size: 16px;
  color: var(--rt-ink);
}
.rt-product-page .rt-product-gallery-column .product-cover .swiper-button-next { right: 10px; }
.rt-product-page .rt-product-gallery-column .product-cover .swiper-button-prev { left: 10px; }
.rt-product-page .rt-product-gallery-column .product-cover .swiper-button-next:hover:not(.swiper-button-disabled),
.rt-product-page .rt-product-gallery-column .product-cover .swiper-button-prev:hover:not(.swiper-button-disabled) {
  box-shadow: 0 4px 14px rgba(41, 53, 68, 0.30);
  transform: scale(1.06);
}
.rt-product-page .rt-product-gallery-column .product-cover .swiper-button-disabled {
  display: none !important;
}

/* ─── 4. FLÈCHES MINIATURES : mini-boutons circulaires 32 px superposés
         aux extrémités (remplace les grandes bandes verticales grises) ─── */
.rt-product-page .rt-product-gallery-column .thumb-images .swiper-button-next,
.rt-product-page .rt-product-gallery-column .thumb-images .swiper-button-prev {
  width: 32px !important;
  height: 32px !important;
  top: 50%;
  margin-top: -16px;
  border-radius: 50%;
  background: #ffffff !important;
  border: 1px solid #e4e8ee;
  box-shadow: 0 1px 6px rgba(41, 53, 68, 0.18);
  color: var(--rt-ink) !important;
  opacity: 1;
  z-index: 5;
  transition: box-shadow .2s ease, transform .2s ease;
}
.rt-product-page .rt-product-gallery-column .thumb-images .swiper-button-next::after,
.rt-product-page .rt-product-gallery-column .thumb-images .swiper-button-prev::after {
  font-size: 12px;
  color: var(--rt-ink);
}
.rt-product-page .rt-product-gallery-column .thumb-images .swiper-button-next { right: -2px; }
.rt-product-page .rt-product-gallery-column .thumb-images .swiper-button-prev { left: -2px; }
.rt-product-page .rt-product-gallery-column .thumb-images .swiper-button-next:hover:not(.swiper-button-disabled),
.rt-product-page .rt-product-gallery-column .thumb-images .swiper-button-prev:hover:not(.swiper-button-disabled) {
  box-shadow: 0 3px 10px rgba(41, 53, 68, 0.28);
  transform: scale(1.06);
}
.rt-product-page .rt-product-gallery-column .thumb-images .swiper-button-disabled {
  display: none !important;
}

/* ─── Focus clavier (accessibilité) ─── */
.rt-product-page .rt-product-gallery-column .swiper-button-next:focus-visible,
.rt-product-page .rt-product-gallery-column .swiper-button-prev:focus-visible {
  outline: 2px solid var(--rt-accent);
  outline-offset: 2px;
}

/* ─── 5. CARACTÉRISTIQUES : coche générique remplacée par icône sémantique
         (pseudo-élément, présent dès le HTML initial — zéro JavaScript).
         Mapping PAR POSITION sur les 5 lignes du pilote (li 1 à 5 ; les
         lignes 6+ restent masquées par le correctif 2). Non généralisable
         sans mapping sémantique stable. Codepoints RemixIcon 3.5.0 vérifiés.
         ─── */
.rt-product-page .rt-product-highlights li {
  display: block;
  position: relative;
  padding-left: 26px !important;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #3d4750;
}
.rt-product-page .rt-product-highlights li::before {
  content: none !important;
}
.rt-product-page .rt-product-highlights li:nth-child(1)::before { content: "\ebf0" !important; } /* ri-cpu-line          — Processeur */
.rt-product-page .rt-product-highlights li:nth-child(2)::before { content: "\ec16" !important; } /* ri-database-2-line   — Mémoire RAM */
.rt-product-page .rt-product-highlights li:nth-child(3)::before { content: "\edf9" !important; } /* ri-hard-drive-2-line — Stockage */
.rt-product-page .rt-product-highlights li:nth-child(4)::before { content: "\f235" !important; } /* ri-tv-2-line         — Écran */
.rt-product-page .rt-product-highlights li:nth-child(5)::before { content: "\edab" !important; } /* ri-gamepad-line      — Carte graphique */
.rt-product-page .rt-product-highlights li:nth-child(-n+5)::before {
  font-family: 'remixicon';
  font-style: normal;
  font-size: 17px;
  line-height: 1.2;
  color: var(--rt-ink);
  position: absolute;
  left: 0;
  top: 3px;
  /* icône seule : aucun fond, aucun carré, aucune bordure */
}

/* ─── 6. RÉASSURANCES (6048) : bloc statique .rt-reassurances —
         exactement 3 cartes avec icône + titre, aucun emplacement vide.
         Rendues dans le HTML initial par le partial product-add-to-cart
         (pas de JS, pas d'img.svg du module). ─── */
.rt-product-page .rt-reassurances {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 12px 0 0;
}
.rt-product-page .rt-reassurances .rt-rea-item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0;
  box-sizing: border-box;
  min-width: 0;
}
.rt-product-page .rt-reassurances .rt-rea-item i {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  color: var(--rt-ink);
}
.rt-product-page .rt-reassurances .rt-rea-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rt-ink);
}

/* ─── 7. MOBILE ─── */
@media (max-width: 767.98px) {
  .rt-product-page .rt-product-gallery-column .product-cover .swiper-button-next,
  .rt-product-page .rt-product-gallery-column .product-cover .swiper-button-prev {
    width: 36px !important;
    height: 36px !important;
    margin-top: -18px;
  }
  .rt-product-page .rt-product-gallery-column .thumb-images .thumb-container,
  .rt-product-page .rt-product-gallery-column .thumb-images .thumb-container .thumb {
    width: 88px !important;
    min-width: 88px;
    max-width: 88px;
    height: 88px !important;
  }
  .rt-product-page .rt-reassurances .rt-rea-title {
    font-size: 12px;
  }
}