/* ==========================================================================
   YuguTech — thème clean appliqué aux pages intérieures
   (chargé après ui-clean.css, sur toutes les pages)
   ========================================================================== */

:root {
  --clean-bg: #050609;
  --clean-card: #0a0c12;
  --clean-line: rgba(255, 255, 255, 0.08);
  --clean-line-2: rgba(255, 255, 255, 0.14);
  --clean-texte: #f4f6f9;
  --clean-texte-2: #a6adba;
  --clean-muet: #737b8b;
  --clean-accent: #7dd3fc;
}

html, body { background: #050609 !important; }
body { color: var(--clean-texte); }

/* --------------------------------------------------------------- entêtes -- */
.entete,
.cfg-entete {
  background: rgba(6, 7, 11, 0.86) !important;
  border-bottom: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px);
}

.cfg-entete--collant {
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo__texte,
.logo__texte strong { color: var(--clean-texte) !important; }
.logo__point { color: var(--clean-accent) !important; }

/* Tous les boutons d’en-tête adoptent la même pastille sombre. */
.entete__outils > a,
.entete__outils > button,
.entete__outils .menu-boutiques__bouton,
.entete__outils .bouton-liste,
.entete__outils .devise-entete,
.entete__outils .langue,
.cfg-entete__int > a:not(.logo),
.cfg-entete__int > button,
.zone-nav a,
.zone-nav button,
.bouton-animations {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 8px !important;
  background: #0d1017 !important;
  color: #c7ced9 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.entete__outils > a:hover,
.entete__outils > button:hover,
.entete__outils .menu-boutiques__bouton:hover,
.entete__outils .bouton-liste:hover,
.cfg-entete__int > a:not(.logo):hover,
.zone-nav a:hover,
.bouton-animations:hover {
  background: #141822 !important;
  border-color: var(--clean-line-2) !important;
  color: #fff !important;
}

/* Zone Gaming : bouton clair, comme dans la maquette. */
.bouton-zone,
.entete .bouton-zone,
.cfg-retour.bouton-zone,
.zone-nav .bouton-zone {
  background: #f2f5fa !important;
  color: #090b10 !important;
  border-color: transparent !important;
  font-weight: 600 !important;
}

.bouton-zone:hover,
.cfg-retour.bouton-zone:hover {
  background: #ffffff !important;
  color: #090b10 !important;
}

.bouton-market.bientot,
.entete .bientot {
  opacity: 0.48;
}

.badge-bientot {
  background: #151821 !important;
  border: 1px solid var(--clean-line) !important;
  color: #8d95a4 !important;
}

.bouton-animations[aria-pressed="true"] {
  background: #f2f5fa !important;
  color: #090b10 !important;
  border-color: transparent !important;
}

/* Recherche */
.recherche {
  height: 38px;
  background: #0c0e14 !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

.recherche input { color: var(--clean-texte) !important; font-size: 12px !important; }
.recherche input::placeholder { color: #626a79 !important; }
.recherche__raccourci,
.recherche kbd {
  background: #11141b !important;
  border: 1px solid var(--clean-line) !important;
  color: #8d95a4 !important;
}

.zone-langue select,
.langue select,
.devise-entete select,
.cfg-langue__bouton {
  background: transparent !important;
  border: 0 !important;
  color: #c7ced9 !important;
  font-size: 11px !important;
}

/* ----------------------------------------------------------- surfaces ----- */
h1, h2, h3, h4 { color: var(--clean-texte) !important; }
a { color: var(--clean-accent); }

.panneau,
.fiche,
.config-carte,
.filtres,
.encart,
.carte {
  background: var(--clean-card) !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.carte::after,
.carte::before { display: none !important; }

.carte__visuel {
  background: #ffffff !important;
  border-bottom: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
}

.carte__titre,
.carte__titre a { color: var(--clean-texte) !important; }
.carte__prix .prix,
.prix { color: #fff !important; }
.carte__prix .devise { color: #8b93a3 !important; }
.prix-barre { color: #626a79 !important; }
.carte__boutique { color: #8b93a3 !important; }
.carte__boutique b { color: #c7ced9 !important; }
.carte__autres { color: #747d8c !important; }

.etiquette-promo,
.vitrine__promo {
  background: #eef2f8 !important;
  background-image: none !important;
  color: #1d4ed8 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: var(--mono);
  font-size: 8px !important;
  letter-spacing: 0.04em;
}

.filtres h2,
.filtres h3 { color: var(--clean-texte) !important; }
.liste-filtres button { color: #9aa3b2 !important; }
.liste-filtres button:hover { background: #10131b !important; color: #fff !important; }
.liste-filtres button.est-actif,
.liste-filtres button[aria-pressed="true"],
.liste-filtres button.actif {
  background: #151a23 !important;
  color: #fff !important;
  border-color: var(--clean-line-2) !important;
}

input,
select,
textarea {
  color-scheme: dark;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background-color: #0d1017 !important;
  border: 1px solid var(--clean-line) !important;
  color: var(--clean-texte) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(125, 211, 252, 0.45) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.08) !important;
}

.bouton,
.cfg__bouton,
.jeu__bouton,
.zone-barre__bouton,
.copier {
  border: 1px solid var(--clean-line) !important;
  border-radius: 7px !important;
  background: #11141b !important;
  color: #c7ced9 !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}

.bouton:hover,
.cfg__bouton:hover,
.jeu__bouton:hover,
.zone-barre__bouton:hover,
.copier:hover {
  background: #171c26 !important;
  border-color: var(--clean-line-2) !important;
  color: #fff !important;
}

.cfg__bouton--plein,
.jeu__bouton--plein,
.zone-barre__bouton--plein,
.bouton--plein {
  background: #f2f5fa !important;
  color: #090b10 !important;
  border-color: transparent !important;
}

.cfg__bouton--plein:hover,
.jeu__bouton--plein:hover,
.zone-barre__bouton--plein:hover,
.bouton--plein:hover {
  background: #ffffff !important;
  color: #090b10 !important;
}

/* Sur-titres / intros */
.sur-titre,
.zone__surtitre,
.cfg__surtitre,
.baisses .sur-titre {
  color: #7f8796 !important;
}

.baisses__intro,
.zone__texte,
.cfg__intro p,
.page-intro,
.sous-titre {
  color: #8b93a3 !important;
}

/* ------------------------------------------------------------- zone gaming -- */
body.page-zone .zone__tete {
  background: #0a0c12 !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}

body.page-zone .zone__tete::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(125, 211, 252, 0.07) 1px, transparent 1px) !important;
}

body.page-zone .zone__tete::after {
  background:
    radial-gradient(38% 60% at 18% 30%, rgba(125, 211, 252, 0.10), transparent 70%),
    radial-gradient(34% 55% at 82% 22%, rgba(255, 255, 255, 0.05), transparent 72%) !important;
  filter: blur(30px) !important;
}

body.page-zone .zone__tete h1 { color: #f4f6f9 !important; }

body.page-zone .zone__tete h1 em {
  background: linear-gradient(100deg, #ffffff, #aab2bf 45%, #ffffff 80%) !important;
  background-size: 220% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body.page-zone .zone__tete h1 em::selection { color: #090b10; }

body.page-zone .zone__recherche {
  background: #0d1017 !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 9px !important;
}

body.page-zone .zone__recherche input { color: #f4f6f9 !important; }

body.page-zone .jeu {
  background: #0a0c12 !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.page-zone .jeu:hover {
  border-color: var(--clean-line-2) !important;
  box-shadow: none !important;
}

body.page-zone .jeu__nom { color: #f4f6f9 !important; }
body.page-zone .jeu__meta,
body.page-zone .jeu__tag { color: #8b93a3 !important; }

body.page-zone .jeu__bouton {
  background: #11141b !important;
  border: 1px solid var(--clean-line) !important;
  color: #c7ced9 !important;
}

body.page-zone .jeu__bouton--plein {
  background: #f2f5fa !important;
  color: #090b10 !important;
  border-color: transparent !important;
}

body.page-zone .zone-barre {
  background: #0a0c12 !important;
  border: 1px solid var(--clean-line) !important;
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.95) !important;
}

body.page-zone .zone-barre__bouton--plein {
  background: #f2f5fa !important;
  color: #090b10 !important;
}

body.page-zone .deco__barre { fill: rgba(255, 255, 255, 0.16) !important; }
body.page-zone .deco__barre:nth-child(2) { fill: rgba(255, 255, 255, 0.22) !important; }
body.page-zone .deco__barre:nth-child(3) { fill: rgba(125, 211, 252, 0.30) !important; }
body.page-zone .deco__barre:nth-child(4) { fill: rgba(255, 255, 255, 0.28) !important; }
body.page-zone .deco__barre:nth-child(5) { fill: rgba(255, 255, 255, 0.36) !important; }

body.page-zone .deco__prix,
body.page-zone .deco__jeton {
  color: #8b93a3 !important;
  background: #0d1017 !important;
  border: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
}

/* ----------------------------------------------------------- configurateur -- */
body.page-config .cfg__intro {
  background: #0a0c12 !important;
  border: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
}

body.page-config .cfg__intro::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(125, 211, 252, 0.18) 38px 39px, transparent 39px 76px),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(125, 211, 252, 0.13) 38px 39px, transparent 39px 76px) !important;
  opacity: 0.4 !important;
}

body.page-config .cfg__intro::after {
  background:
    radial-gradient(36% 60% at 14% 26%, rgba(125, 211, 252, 0.10), transparent 70%),
    radial-gradient(32% 52% at 84% 20%, rgba(255, 255, 255, 0.05), transparent 72%) !important;
  filter: blur(32px) !important;
}

body.page-config .cfg__intro h1 {
  background: linear-gradient(100deg, #ffffff 0%, #aab2bf 42%, #ffffff 100%) !important;
  background-size: 220% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body.page-config .cfg__intro h1::after {
  background: linear-gradient(90deg, transparent, #7dd3fc, #7dd3fc, transparent) !important;
}

body.page-config .cfg-mode[aria-selected="true"] {
  background: #f2f5fa !important;
  color: #090b10 !important;
  border-color: transparent !important;
}

body.page-config .cfg-usage__bouton {
  background: #0d1017 !important;
  border: 1px solid var(--clean-line) !important;
  color: #aab2bf !important;
  box-shadow: none !important;
}

body.page-config .cfg-usage__bouton--actif {
  background: #f2f5fa !important;
  color: #090b10 !important;
  border-color: transparent !important;
}

body.page-config .cfg-usage__bouton--actif .cfg-usage__icone { color: #090b10 !important; }
body.page-config .cfg-usage__icone { color: #8b93a3 !important; }

body.page-config .cfg__etapes,
body.page-config .cfg__resume,
body.page-config .cfg-budget,
body.page-config .cfg-selecteur__boite,
body.page-config .cfg-produit,
body.page-config .cfg-sauvegarde {
  background: #0a0c12 !important;
  border: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
  border-radius: 14px !important;
}

body.page-config .cfg-produit__prix,
body.page-config .cfg__total strong,
body.page-config .cfg-config__prix { color: #fff !important; }

body.page-config .cfg-produit img { background: #fff; border-radius: 7px; }

/* --------------------------------------------------------------- baisses --- */
body.page-baisses .baisses__barre {
  background: #0a0c12 !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.page-baisses .carte {
  background: #0a0c12 !important;
  border: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
}

body.page-baisses .carte__visuel { background: #fff !important; }
body.page-baisses .carte__titre { color: #f4f6f9 !important; }
body.page-baisses .carte__prix .prix { color: #fff !important; }

/* ----------------------------------------------------------- responsive --- */
@media (max-width: 900px) {
  .cfg-entete__int > a:not(.logo),
  .zone-nav a,
  .bouton-animations {
    height: 32px !important;
    padding: 0 9px !important;
    font-size: 10px !important;
  }
  .entete__outils > a,
  .entete__outils > button,
  .entete__outils .menu-boutiques__bouton,
  .entete__outils .bouton-liste {
    height: 32px !important;
    padding: 0 9px !important;
    font-size: 10px !important;
  }
}


/* Détails d’harmonisation */
.carte__eco,
.carte__boutique,
.carte__autres { color: #8b93a3 !important; }
.carte__eco b,
.carte__boutique b { color: #c7ced9 !important; }

body.page-zone .ma-config {
  background: #0a0c12 !important;
  border: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
}

body.page-zone .ma-config__bouton {
  background: #11141b !important;
  border: 1px solid var(--clean-line) !important;
  color: #c7ced9 !important;
}

body.page-zone .ma-config__bouton--plein {
  background: #f2f5fa !important;
  color: #090b10 !important;
  border-color: transparent !important;
}

body.page-config .cfg-retour.bouton-zone {
  background: #f2f5fa !important;
  color: #090b10 !important;
  border-color: transparent !important;
  font-weight: 600 !important;
}

.zone-langue,
.cfg-langue,
.cfg-entete .langue {
  display: inline-flex !important;
  align-items: center !important;
  height: 34px !important;
  padding: 0 9px !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 8px !important;
  background: #0d1017 !important;
}

.zone-langue select,
.cfg-langue select,
.cfg-entete .langue select {
  background: transparent !important;
  border: 0 !important;
  color: #c7ced9 !important;
  font-size: 11px !important;
}


/* Garde le balayage animé du titre de la Zone Gaming, recoloré. */
body.page-zone .zone__tete h1 em {
  animation: zone-brillance 5s ease-in-out infinite !important;
}

/* ---------------------------------------------------------- fiche produit -- */
body.page-produit .fiche {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.page-produit .fiche__haut,
body.page-produit .fiche__bloc {
  background: #0a0c12 !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.page-produit .fiche__visuel {
  background: #ffffff !important;
  border-radius: 12px !important;
}

body.page-produit .fiche__marque,
body.page-produit .fiche__meta,
body.page-produit .fiche__legende,
body.page-produit .fiche__note {
  color: #8b93a3 !important;
}

body.page-produit .fiche__eco {
  color: #8b93a3 !important;
  background: #0e1118 !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 7px !important;
  padding: 8px 10px !important;
  box-shadow: none !important;
}

body.page-produit .fiche__bouton {
  background: #11141b !important;
  border: 1px solid var(--clean-line) !important;
  color: #c7ced9 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}

body.page-produit .fiche__bouton--plein {
  background: #f2f5fa !important;
  color: #090b10 !important;
  border-color: transparent !important;
}

body.page-produit .fiche__offres th {
  color: #6f7786 !important;
  border-color: var(--clean-line) !important;
}

body.page-produit .fiche__offres td {
  color: #cfd5df !important;
  border-color: var(--clean-line) !important;
}

body.page-produit .fiche__offre--meilleure td {
  background: #0e121a !important;
  color: #fff !important;
}

body.page-produit .fiche__offre--meilleure td:first-child {
  border-left: 2px solid #7dd3fc;
}

body.page-produit .fiche__lien { color: #7dd3fc !important; }
body.page-produit .fiche__barre span { background: #7dd3fc !important; }
body.page-produit .fiche__courbe { color: #7dd3fc !important; }

body.page-produit .etiquette-bonplan {
  background: #151a23 !important;
  color: #c7ced9 !important;
  border: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
}


/* En-tête collant partout. */
.entete {
  position: sticky;
  top: 0;
  z-index: 90;
}

.cfg-entete {
  z-index: 90;
}

/* Le bouton Animations disparaît (la préférence reste mémorisée). */
.bouton-animations { display: none !important; }

/* Langue et devise : même pastille, même chevron, même comportement. */
.devise-entete,
.langue,
.zone-langue,
.cfg-entete .langue {
  padding: 0 10px !important;
  gap: 0 !important;
}

.devise-entete .devise {
  display: inline-flex;
  align-items: center;
  height: 32px;
}

.devise-entete select,
.langue select,
.zone-langue select,
.cfg-entete .langue select {
  appearance: none !important;
  -webkit-appearance: none !important;
  height: 32px !important;
  min-width: 48px;
  padding: 0 17px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%239aa3b2' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0 center / 12px !important;
  color: #c7ced9 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.devise-entete select:hover,
.langue select:hover,
.zone-langue select:hover,
.cfg-entete .langue select:hover {
  color: #ffffff !important;
}

.devise-entete:focus-within,
.langue:focus-within,
.zone-langue:focus-within,
.cfg-entete .langue:focus-within {
  border-color: rgba(125, 211, 252, 0.45) !important;
}

.devise-entete select:focus,
.langue select:focus,
.zone-langue select:focus,
.cfg-entete .langue select:focus {
  outline: none !important;
}


/* Permet à l’en-tête sticky de fonctionner sans scroll horizontal. */
html {
  overflow-x: clip !important;
  overflow-y: auto !important;
}
body {
  overflow: visible !important;
}


.entete__outils > .bouton-animations,
.cfg-entete__int > .bouton-animations,
button.bouton-animations {
  display: none !important;
}


/* ================================================================ footer === */
.pied {
  background: transparent !important;
  border-top: 1px solid var(--clean-line) !important;
  color: #8b93a3 !important;
}

.pied__titre {
  color: #f4f6f9 !important;
  font-size: 17px !important;
  letter-spacing: -0.03em;
}

.pied__titre strong { color: #f4f6f9 !important; }
.pied__titre .logo__point { color: var(--clean-accent) !important; }

.pied__slogan {
  color: #c7ced9 !important;
  font-size: 11px !important;
  font-weight: 500;
}

.pied__texte {
  color: #8b93a3 !important;
  font-size: 12.5px !important;
  line-height: 1.65;
  max-width: 560px;
}

.pied__meta {
  color: #6f7786 !important;
  font-size: 10px !important;
  line-height: 1.6;
}

.pied-alertes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px !important;
}

.pied-alertes__lien {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 12px !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 8px !important;
  background: #0d1017 !important;
  color: #c7ced9 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  text-decoration: none;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pied-alertes__lien:hover {
  background: #141822 !important;
  border-color: rgba(125, 211, 252, 0.4) !important;
  color: #ffffff !important;
}

/* Le pictogramme d’alerte reste discret et monochrome. */
#notifications {
  filter: grayscale(1) brightness(1.35);
}

.pied-liens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 18px;
}

.pied-liens a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7f8796 !important;
  font-size: 10px !important;
  font-weight: 450 !important;
  letter-spacing: 0;
  text-decoration: none;
  background: transparent !important;
  border: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.pied-liens a:hover { color: #ffffff !important; }

.pied-liens a.bouton-zone {
  color: #c7ced9 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  height: auto !important;
  font-weight: 500 !important;
}

.pied-liens a.bouton-zone:hover {
  color: #ffffff !important;
  background: transparent !important;
}

.pied-liens .badge-bientot {
  background: #151821 !important;
  border: 1px solid var(--clean-line) !important;
  color: #8d95a4 !important;
  font-size: 7px !important;
  padding: 2px 5px !important;
}

@media (max-width: 760px) {
  .pied__texte { font-size: 11.5px !important; }
  .pied-liens { gap: 8px 14px; }
  .pied-liens a { font-size: 9.5px !important; }
}


/* La pastille de langue reste compacte, alignée sur la hauteur des autres boutons. */
.langue,
.zone-langue,
.cfg-entete .langue {
  padding: 0 6px !important;
}

.langue select,
.zone-langue select,
.cfg-entete .langue select {
  box-sizing: border-box !important;
  width: 38px !important;
  min-width: 38px !important;
  padding: 0 11px 0 0 !important;
  font-size: 10px !important;
}


/* Priorité sur la règle générale des outils d’en-tête. */
.entete__outils .langue {
  padding: 0 6px !important;
}


/* Devise : même largeur compacte que la langue. */
.devise-entete {
  padding: 0 6px !important;
}

.devise-entete select {
  box-sizing: border-box !important;
  width: 38px !important;
  min-width: 38px !important;
  padding: 0 11px 0 0 !important;
  font-size: 10px !important;
}


.entete__outils .devise-entete {
  padding: 0 6px !important;
  gap: 0 !important;
}
