.tcb-builder{--tcb-bg:#17110d;--tcb-card:#fffaf2;--tcb-ink:#221811;--tcb-muted:#7b6b5d;--tcb-copper:#b87333;--tcb-gold:#d5a85d;--tcb-line:#e8d8c7;--tcb-ok:#b9e9c0;--tcb-danger:#d9534f;font-family:inherit;color:var(--tcb-ink);max-width:1280px;margin:30px auto;padding:0 16px}.tcb-header{text-align:center;margin-bottom:24px}.tcb-kicker{font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--tcb-copper);margin:0 0 6px}.tcb-header h2{font-family:Cinzel,serif;font-size:clamp(28px,4vw,46px);margin:0;color:var(--tcb-ink)}.tcb-header p{margin:8px 0 0;color:var(--tcb-muted)}.tcb-warning{padding:16px;border:1px solid #d9b77a;background:#fff7df;border-radius:12px}.tcb-steps{display:flex;justify-content:center;align-items:center;gap:12px;margin:0 auto 30px;max-width:860px}.tcb-step{position:relative;border:0;background:transparent;color:var(--tcb-muted);font-weight:700;display:flex;flex-direction:column;align-items:center;gap:7px;cursor:pointer}.tcb-step:disabled{cursor:not-allowed;opacity:.62}.tcb-step span{width:42px;height:42px;border-radius:999px;border:3px solid #dcc8b5;background:#fff;display:grid;place-items:center;color:var(--tcb-muted)}.tcb-step:not(:last-child)::after{content:"";position:absolute;left:calc(50% + 28px);top:20px;width:120px;height:4px;background:#dcc8b5;z-index:-1}.tcb-step.is-active span{border-color:var(--tcb-copper);box-shadow:0 0 0 5px rgba(184,115,51,.12)}.tcb-step.is-done span{border-color:var(--tcb-ok);background:var(--tcb-ok);color:#fff}.tcb-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}.tcb-main{min-width:0}.tcb-panel{display:none}.tcb-panel.is-active{display:block}.tcb-panel h3{text-align:center;font-size:20px;margin:0 0 18px;font-weight:800}.tcb-panel h3 small{font-size:16px;color:var(--tcb-copper)}.tcb-help{text-align:center;color:var(--tcb-muted);margin-top:-10px}.tcb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tcb-card{position:relative;text-align:left;min-height:250px;border:1px solid var(--tcb-line);border-radius:14px;background:var(--tcb-card);padding:14px;box-shadow:0 8px 22px rgba(43,29,18,.06);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;color:var(--tcb-ink)}.tcb-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(43,29,18,.11);border-color:var(--tcb-gold)}.tcb-card.is-selected{border-color:var(--tcb-copper);box-shadow:0 0 0 3px rgba(184,115,51,.14)}.tcb-card-visual{height:150px;border-radius:12px;background:linear-gradient(145deg,#fff,#f3ede4);display:grid;place-items:center;margin-bottom:14px;overflow:hidden}.tcb-card strong{display:block;font-size:17px;border-bottom:1px solid var(--tcb-line);padding-bottom:8px}.tcb-card p{margin:8px 0;color:var(--tcb-ink);font-weight:600}.tcb-card em{font-style:normal;font-weight:800}.tcb-plus{position:absolute;right:12px;bottom:12px;width:36px;height:36px;border-radius:8px;background:var(--tcb-ok);color:#fff;display:grid;place-items:center;font-size:24px}.tcb-count{position:absolute;top:12px;right:12px;background:var(--tcb-copper);color:#fff;border-radius:999px;padding:4px 9px;font-weight:800;z-index:1}.tcb-base-icon{width:120px;height:80px;display:grid;gap:7px;filter:drop-shadow(8px 10px 8px rgba(0,0,0,.2))}.tcb-base-icon span{background:var(--tcb-option-color);border-radius:12px;box-shadow:inset 8px 8px 12px rgba(255,255,255,.16),inset -7px -7px 12px rgba(0,0,0,.18);border:1px solid rgba(0,0,0,.16)}.tcb-shape-line{grid-template-columns:repeat(4,1fr)}.tcb-shape-square{grid-template-columns:repeat(2,1fr);width:92px;height:92px}.tcb-shape-t{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr)}.tcb-shape-t span:nth-child(4){grid-column:2}.tcb-keycap-icon{width:118px;height:118px;border-radius:18px;background:var(--tcb-option-color);box-shadow:inset 12px 12px 16px rgba(255,255,255,.20),inset -14px -14px 18px rgba(0,0,0,.20),0 12px 20px rgba(0,0,0,.18);border:1px solid rgba(0,0,0,.15)}.tcb-lanyard-icon{width:180px;height:65px;position:relative}.tcb-lanyard-icon::before{content:"";position:absolute;left:8px;right:42px;top:14px;height:28px;border:8px solid var(--tcb-option-color);border-radius:50%;transform:rotate(-8deg);box-shadow:2px 3px 5px rgba(0,0,0,.15)}.tcb-lanyard-icon span{position:absolute;right:30px;top:28px;width:50px;height:10px;border-radius:999px;background:#222}.tcb-lanyard-none{width:120px;height:70px;border:2px dashed #b9aa9b;border-radius:12px;display:grid;place-items:center;color:var(--tcb-muted);font-weight:800}.tcb-summary{position:sticky;top:24px;border:1px solid var(--tcb-line);border-radius:14px;background:#fffaf6;padding:18px;box-shadow:0 10px 28px rgba(43,29,18,.08)}.tcb-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tcb-summary h3{font-family:Cinzel,serif;margin:0;font-size:26px}.tcb-summary p{margin:4px 0;color:var(--tcb-muted)}.tcb-clear{border:0;background:#f8e2de;color:var(--tcb-danger);padding:9px 12px;border-radius:8px;font-weight:700;cursor:pointer}.tcb-summary-items{min-height:210px;margin:18px 0}.tcb-empty{padding:20px;border:1px dashed #cdbdab;border-radius:12px;text-align:center}.tcb-summary-item{display:grid;grid-template-columns:58px 1fr 28px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #f0e3d6}.tcb-summary-item .tcb-base-icon{width:54px;height:40px;gap:3px}.tcb-summary-item .tcb-keycap-icon{width:46px;height:46px;border-radius:10px}.tcb-summary-item .tcb-lanyard-icon{width:54px;height:38px;overflow:hidden}.tcb-summary-item .tcb-lanyard-none{width:54px;height:38px;font-size:11px}.tcb-summary-item p{margin:0;color:var(--tcb-ink);font-size:14px}.tcb-summary-item button{border:0;background:transparent;color:var(--tcb-danger);font-size:22px;cursor:pointer}.tcb-total{border-top:1px solid var(--tcb-line);padding-top:14px;display:flex;align-items:center;justify-content:space-between;font-weight:800}.tcb-total strong{font-size:20px}.tcb-actions{display:grid;grid-template-columns:48px 1fr;gap:8px;margin-top:14px}.tcb-back,.tcb-next,.tcb-add{border-radius:9px;border:1px solid #bca68f;padding:12px 14px;font-weight:800;cursor:pointer}.tcb-next,.tcb-add{border-color:transparent;background:var(--tcb-ok);color:#fff}.tcb-add{grid-column:2}.tcb-back:disabled,.tcb-next:disabled,.tcb-add:disabled{opacity:.5;cursor:not-allowed}.tcb-message{font-weight:700;color:var(--tcb-copper)}@media(max-width:980px){.tcb-layout{grid-template-columns:1fr}.tcb-summary{position:static}.tcb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tcb-step:not(:last-child)::after{width:70px}}@media(max-width:620px){.tcb-grid{grid-template-columns:1fr}.tcb-steps{gap:4px}.tcb-step{font-size:12px}.tcb-step span{width:34px;height:34px}.tcb-step:not(:last-child)::after{display:none}.tcb-card{min-height:220px}}
.tcb-card-visual img,
.tcb-summary-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.tcb-card-visual {
  background: linear-gradient(145deg, #fffaf0, #f2eadb);
  border-radius: 18px;
  border: 1px solid rgba(184,115,51,.22);
}
.tcb-card.is-selected {
  border-color: #b87333;
  box-shadow: 0 10px 28px rgba(184,115,51,.18);
}
.tcb-card.is-selected::after {
  content: "Sélectionné";
  position: absolute;
  top: 12px;
  left: 12px;
  background: #b87333;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
}
.tcb-add { min-width: 190px; }




/* === CSS TheCraftSide validé intégré === */
/* ==========================================================
   THECRAFTSIDE - CLICKER BUILDER
   Override CSS visuel uniquement
   ========================================================== */

/* Variables générales */
.tcb-builder {
  --tcb-bg-dark: rgba(12, 12, 14, 0.72);
  --tcb-card-bg: #f7efe3;
  --tcb-card-bg-soft: #fff8ec;
  --tcb-gold: #d8a841;
  --tcb-gold-light: #ffe28a;
  --tcb-copper: #b87333;
  --tcb-brown: #3a2416;
  --tcb-text-dark: #1f1711;
  --tcb-text-soft: #7b6248;
  --tcb-border: rgba(184, 115, 51, 0.45);
  --tcb-border-strong: rgba(216, 168, 65, 0.85);
  --tcb-green: #bcecc4;
  --tcb-green-hover: #9fe2ad;

  color: #f7ead2;
}

/* ==========================================================
   HEADER
   ========================================================== */

.tcb-header {
  text-align: center;
  margin-bottom: 24px;
}

.tcb-kicker {
  color: var(--tcb-gold-light) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tcb-header h2 {
  font-family: "Cinzel", serif;
  color: var(--tcb-gold-light) !important;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
  margin-bottom: 8px;
}

.tcb-header p {
  color: #f5ead8 !important;
}

/* ==========================================================
   ÉTAPES
   ========================================================== */

.tcb-steps {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 34px;
}

.tcb-step {
  background: transparent !important;
  border: none !important;
  color: rgba(245, 234, 216, 0.55) !important;
  font-weight: 700;
  cursor: default;
}

.tcb-step span {
  background: rgba(255, 248, 235, 0.92);
  color: var(--tcb-brown);
  border: 2px solid rgba(216, 168, 65, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.tcb-step.is-active {
  color: var(--tcb-gold-light) !important;
}

.tcb-step.is-active span {
  background: linear-gradient(135deg, var(--tcb-copper), var(--tcb-gold));
  color: #fff8e8;
  border-color: var(--tcb-gold-light);
}

/* ==========================================================
   STRUCTURE
   ========================================================== */

.tcb-layout {
  align-items: flex-start;
}

.tcb-main {
  padding-right: 24px;
}

.tcb-panel h3 {
  font-family: "Cinzel", serif;
  color: var(--tcb-gold-light) !important;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  letter-spacing: 0.04em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 8px;
}

.tcb-panel h3 small {
  font-family: inherit;
  color: var(--tcb-gold);
  font-size: 0.55em;
}

.tcb-help {
  color: #fff4dc !important;
  font-weight: 500;
  margin-bottom: 24px;
}

/* ==========================================================
   CARTES OPTIONS
   ========================================================== */

.tcb-grid {
  gap: 18px;
}

.tcb-card {
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.98), rgba(241, 226, 204, 0.96)) !important;
  border: 1px solid var(--tcb-border) !important;
  border-radius: 16px !important;
  color: var(--tcb-text-dark) !important;
  padding: 14px !important;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  overflow: hidden;
}

.tcb-card:hover {
  transform: translateY(-3px);
  border-color: var(--tcb-border-strong) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.52),
    0 0 0 2px rgba(216, 168, 65, 0.18);
}

.tcb-card.is-selected {
  border-color: var(--tcb-gold-light) !important;
  box-shadow:
    0 0 0 2px rgba(216, 168, 65, 0.35),
    0 16px 34px rgba(0, 0, 0, 0.52);
}

.tcb-card-visual {
  background:
    radial-gradient(circle at 50% 35%, #fffaf0 0%, #eadbc1 72%, #d8bf99 100%) !important;
  border: 1px solid rgba(184, 115, 51, 0.35) !important;
  border-radius: 14px !important;
  min-height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -14px 20px rgba(80, 45, 20, 0.06);
}

.tcb-card-visual img {
  max-width: 88%;
  max-height: 135px;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.24));
}

.tcb-card strong {
  color: var(--tcb-text-dark) !important;
  font-size: 1.05rem;
  font-weight: 800;
}

.tcb-card p {
  color: var(--tcb-text-soft) !important;
  font-weight: 700;
  margin-top: 8px;
}

.tcb-card em {
  color: var(--tcb-text-dark) !important;
  font-style: normal;
  font-weight: 900;
}

.tcb-plus {
  background: linear-gradient(135deg, var(--tcb-copper), var(--tcb-gold)) !important;
  color: #fff8e8 !important;
  border: 1px solid rgba(255, 230, 170, 0.75);
  border-radius: 10px !important;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.32);
}

.tcb-card:hover .tcb-plus {
  background: linear-gradient(135deg, var(--tcb-gold), var(--tcb-copper)) !important;
}

/* ==========================================================
   TOUCHES CSS
   ========================================================== */

.tcb-keycap-icon {
  width: 118px;
  height: 118px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.22)),
    var(--tcb-option-color);
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow:
    inset 0 8px 16px rgba(255, 255, 255, 0.18),
    inset 0 -10px 16px rgba(0, 0, 0, 0.22),
    0 10px 18px rgba(0, 0, 0, 0.22);
}

/* ==========================================================
   DRAGONNE SANS
   ========================================================== */

.tcb-lanyard-none {
  width: 125px;
  height: 78px;
  border-radius: 14px;
  border: 2px dashed rgba(90, 65, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6e5236;
  font-weight: 900;
  background: rgba(255, 248, 235, 0.45);
}

/* ==========================================================
   RÉSUMÉ À DROITE
   ========================================================== */

.tcb-summary {
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.98), rgba(243, 230, 210, 0.98)) !important;
  border: 1px solid rgba(216, 168, 65, 0.72) !important;
  border-radius: 18px !important;
  color: var(--tcb-text-dark) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tcb-summary-head {
  border-bottom: 1px solid rgba(184, 115, 51, 0.25);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.tcb-summary-head h3 {
  font-family: "Cinzel", serif;
  color: var(--tcb-gold) !important;
  font-size: 1.75rem !important;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
  margin: 0 0 8px 0;
}

.tcb-summary-head p {
  color: var(--tcb-text-soft) !important;
  font-weight: 600;
}

.tcb-clear {
  background: rgba(192, 69, 51, 0.12) !important;
  color: #b83d2f !important;
  border: 1px solid rgba(192, 69, 51, 0.25) !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
}

.tcb-clear:hover {
  background: rgba(192, 69, 51, 0.2) !important;
}

.tcb-empty {
  color: var(--tcb-text-soft) !important;
  border: 1px dashed rgba(126, 90, 55, 0.35);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-weight: 600;
}

/* Les lignes créées dynamiquement dans le résumé */
.tcb-summary-items > div {
  border-bottom: 1px solid rgba(184, 115, 51, 0.22);
  padding: 10px 0;
}

.tcb-summary-items strong,
.tcb-summary-items b {
  color: var(--tcb-text-dark) !important;
  font-weight: 900;
}

.tcb-summary-items p,
.tcb-summary-items span {
  color: var(--tcb-text-soft) !important;
  font-weight: 600;
}

/* Images miniatures du résumé */
.tcb-summary-items img {
  background: #fffaf0;
  border: 1px solid rgba(184, 115, 51, 0.25);
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Total */
.tcb-total {
  border-top: 1px solid rgba(184, 115, 51, 0.35);
  margin-top: 16px;
  padding-top: 18px;
}

.tcb-total span,
.tcb-total strong {
  color: var(--tcb-text-dark) !important;
  font-weight: 900 !important;
}

.tcb-total strong {
  font-size: 1.25rem;
}

/* ==========================================================
   BOUTONS ACTIONS
   ========================================================== */

.tcb-actions {
  gap: 8px;
}

.tcb-back {
  background: #fffaf0 !important;
  color: var(--tcb-brown) !important;
  border: 1px solid rgba(184, 115, 51, 0.45) !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
}

.tcb-next,
.tcb-add {
  background: linear-gradient(135deg, var(--tcb-copper), var(--tcb-gold)) !important;
  color: #fff8e8 !important;
  border: 1px solid rgba(255, 230, 170, 0.75) !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
}

.tcb-next:hover,
.tcb-add:hover {
  background: linear-gradient(135deg, var(--tcb-gold), var(--tcb-copper)) !important;
}

.tcb-next:disabled,
.tcb-add:disabled,
.tcb-back:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

/* Message */
.tcb-message {
  color: var(--tcb-brown) !important;
  font-weight: 700;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 980px) {
  .tcb-layout {
    display: block;
  }

  .tcb-main {
    padding-right: 0;
  }

  .tcb-summary {
    margin-top: 28px;
  }
}

@media (max-width: 640px) {
  .tcb-steps {
    gap: 8px;
  }

  .tcb-step {
    font-size: 0.8rem;
  }

  .tcb-card-visual {
    min-height: 130px;
  }

  .tcb-keycap-icon {
    width: 92px;
    height: 92px;
  }

  .tcb-summary-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================
   CORRECTION LISIBILITÉ - RÉSUMÉ CLICKER
   À mettre tout en bas du CSS additionnel
   ========================================================== */

/* Texte général du bloc résumé */
.tcb-summary {
  color: #1f1711 !important;
}

/* Sous-texte : "Assemblé à la demande..." */
.tcb-summary .tcb-summary-head p {
  color: #6f5438 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* Ligne de séparation plus visible */
.tcb-summary .tcb-summary-head {
  border-bottom: 1px solid rgba(184, 115, 51, 0.35) !important;
}

/* Chaque ligne du résumé */
.tcb-summary .tcb-summary-item {
  color: #1f1711 !important;
  border-bottom: 1px solid rgba(184, 115, 51, 0.28) !important;
}

/* Titre de ligne : Base, Touche 1, Dragonne... */
.tcb-summary .tcb-summary-item strong {
  color: #1f1711 !important;
  font-weight: 900 !important;
  opacity: 1 !important;
}

/* Texte après le titre : Base ligne de 4 - Noir */
.tcb-summary .tcb-summary-item p {
  color: #6f5438 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  line-height: 1.45 !important;
}

/* Force tous les textes internes du résumé à ne plus être trop clairs */
.tcb-summary .tcb-summary-items,
.tcb-summary .tcb-summary-items * {
  opacity: 1 !important;
}

/* Miniatures dans le résumé */
.tcb-summary .tcb-summary-item img {
  background: #fffaf0 !important;
  border: 1px solid rgba(184, 115, 51, 0.35) !important;
  border-radius: 9px !important;
  padding: 4px !important;
}

/* Total */
.tcb-summary .tcb-total span {
  color: #1f1711 !important;
  font-weight: 900 !important;
}

.tcb-summary .tcb-total strong {
  color: #1f1711 !important;
  font-weight: 900 !important;
}

/* Bouton désactivé plus lisible */
.tcb-summary .tcb-next:disabled {
  color: #fff8e8 !important;
  opacity: 0.7 !important;
}

/* Texte secondaire dans les cartes : "Touche", "Dragonne", variante */
.tcb-card p {
  color: #6f5438 !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* Prix / Inclus */
.tcb-card em {
  color: #1f1711 !important;
  opacity: 1 !important;
  font-weight: 900 !important;
}

/* ==========================================================
   FIX TEXTE RÉSUMÉ - VERSION FORCÉE
   ========================================================== */

body .tcb-builder[data-product-id="6038"] aside.tcb-summary {
  background: #fff7e8 !important;
  color: #1f1711 !important;
}

/* Titre Votre Clicker */
body .tcb-builder[data-product-id="6038"] aside.tcb-summary .tcb-summary-head h3 {
  color: #b87333 !important;
  -webkit-text-fill-color: #b87333 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Texte Assemblé à la demande */
body .tcb-builder[data-product-id="6038"] aside.tcb-summary .tcb-summary-head p {
  color: #5b351c !important;
  -webkit-text-fill-color: #5b351c !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* Bloc des éléments */
body .tcb-builder[data-product-id="6038"] aside.tcb-summary [data-summary-items] {
  color: #1f1711 !important;
  -webkit-text-fill-color: #1f1711 !important;
}

/* Ligne Base / Touche / Dragonne */
body .tcb-builder[data-product-id="6038"] aside.tcb-summary .tcb-summary-item {
  color: #1f1711 !important;
  opacity: 1 !important;
}

/* Le <p> qui contient Base ligne de 4 - Noir */
body .tcb-builder[data-product-id="6038"] aside.tcb-summary .tcb-summary-item p {
  color: #5b351c !important;
  -webkit-text-fill-color: #5b351c !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

/* Le strong : Base, Touche 1, Dragonne */
body .tcb-builder[data-product-id="6038"] aside.tcb-summary .tcb-summary-item p strong {
  color: #1f1711 !important;
  -webkit-text-fill-color: #1f1711 !important;
  opacity: 1 !important;
  font-weight: 900 !important;
}

/* Total */
body .tcb-builder[data-product-id="6038"] aside.tcb-summary .tcb-total span,
body .tcb-builder[data-product-id="6038"] aside.tcb-summary .tcb-total strong {
  color: #1f1711 !important;
  -webkit-text-fill-color: #1f1711 !important;
  opacity: 1 !important;
  font-weight: 900 !important;
}

/* Séparateurs plus visibles */
body .tcb-builder[data-product-id="6038"] aside.tcb-summary .tcb-summary-head,
body .tcb-builder[data-product-id="6038"] aside.tcb-summary .tcb-summary-item,
body .tcb-builder[data-product-id="6038"] aside.tcb-summary .tcb-total {
  border-color: rgba(184, 115, 51, 0.35) !important;
}

/* ==========================================================
   FIX V3.3.1 - Structure conservée V3.2
   ========================================================== */
.tcb-builder .tcb-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start;}
.tcb-builder .tcb-panel{display:none;}
.tcb-builder .tcb-panel.is-active{display:block;}
.tcb-builder .tcb-summary{position:sticky;top:24px;}
@media(max-width:980px){.tcb-builder .tcb-layout{display:block}.tcb-builder .tcb-summary{position:static;margin-top:28px}}


/* ==========================================================
   PANIER / CHECKOUT - CONFIGURATION CLICKER
   ========================================================== */
.woocommerce-cart .tcb-cart-config,
.woocommerce-checkout .tcb-cart-config,
.woocommerce-order .tcb-cart-config {
  margin-top: 14px !important;
  padding: 14px 16px !important;
  background: rgba(18, 20, 23, 0.88) !important;
  border: 1px solid rgba(216, 168, 65, 0.35) !important;
  border-radius: 14px !important;
  color: #f7ead2 !important;
  max-width: 620px;
}
.woocommerce-cart .tcb-cart-config-title,
.woocommerce-checkout .tcb-cart-config-title,
.woocommerce-order .tcb-cart-config-title {
  color: #ffe28a !important;
  font-family: "Cinzel", serif;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.woocommerce-cart .tcb-cart-config-row,
.woocommerce-checkout .tcb-cart-config-row,
.woocommerce-order .tcb-cart-config-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgba(216, 168, 65, 0.18);
}
.woocommerce-cart .tcb-cart-config-row span,
.woocommerce-checkout .tcb-cart-config-row span,
.woocommerce-order .tcb-cart-config-row span {
  color: #d8a841 !important;
  font-weight: 900;
}
.woocommerce-cart .tcb-cart-config-row strong,
.woocommerce-checkout .tcb-cart-config-row strong,
.woocommerce-order .tcb-cart-config-row strong {
  color: #f7ead2 !important;
  font-weight: 700;
}
.woocommerce-cart .tcb-cart-config-touches > div,
.woocommerce-checkout .tcb-cart-config-touches > div,
.woocommerce-order .tcb-cart-config-touches > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.woocommerce-cart .tcb-cart-config-pill,
.woocommerce-checkout .tcb-cart-config-pill,
.woocommerce-order .tcb-cart-config-pill {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 8px;
  background: rgba(255, 248, 235, 0.08);
  border: 1px solid rgba(216, 168, 65, 0.24);
  border-radius: 999px;
  color: #f7ead2 !important;
  font-size: .92rem;
}
.woocommerce-cart .tcb-cart-config-pill strong,
.woocommerce-checkout .tcb-cart-config-pill strong,
.woocommerce-order .tcb-cart-config-pill strong {
  color: #ffe28a !important;
}
.woocommerce-cart .variation dt,
.woocommerce-cart .variation dd,
.woocommerce-checkout .variation dt,
.woocommerce-checkout .variation dd {
  display: none !important;
}
.woocommerce-cart .variation dd:has(.tcb-cart-config),
.woocommerce-checkout .variation dd:has(.tcb-cart-config) {
  display: block !important;
}
@media (max-width: 768px) {
  .woocommerce-cart .tcb-cart-config-row,
  .woocommerce-checkout .tcb-cart-config-row,
  .woocommerce-order .tcb-cart-config-row {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   CLICKER BUILDER V4 - FILTRES ET GRILLE TOUCHES
   Ciblage volontairement spécifique à l'étape Touches.
   ========================================================== */

.tcb-keycap-filters {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.tcb-keycap-filter-group {
  min-width: 0;
}

.tcb-keycap-filter-group[hidden] {
  display: none !important;
}

.tcb-keycap-filter-label {
  display: block;
  margin-bottom: 6px;
  color: #fff4dc;
  font-size: .82rem;
  font-weight: 800;
}

.tcb-keycap-types,
.tcb-keycap-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tcb-keycap-filter-button {
  appearance: none;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(216, 168, 65, .45);
  border-radius: 999px;
  background: rgba(255, 248, 235, .10);
  color: #fff4dc;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.tcb-keycap-filter-button:hover,
.tcb-keycap-filter-button:focus-visible {
  border-color: var(--tcb-gold-light);
  background: rgba(255, 248, 235, .18);
  outline: none;
}

.tcb-keycap-filter-button.is-active {
  border-color: var(--tcb-gold-light);
  background: linear-gradient(135deg, var(--tcb-copper), var(--tcb-gold));
  color: #fff8e8;
}

.tcb-keycap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}

.tcb-keycap-card {
  position: relative;
  display: grid;
  grid-template-rows: 58px auto auto;
  align-content: start;
  min-width: 0;
  min-height: 96px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(184, 115, 51, .45);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,250,239,.98), rgba(241,226,204,.96));
  color: #1f1711;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(0,0,0,.22);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.tcb-keycap-card:hover,
.tcb-keycap-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--tcb-gold-light);
  box-shadow: 0 10px 20px rgba(0,0,0,.28);
  outline: none;
}

.tcb-keycap-card.is-selected {
  border-color: var(--tcb-gold-light);
  box-shadow:
    0 0 0 2px rgba(216, 168, 65, .28),
    0 10px 20px rgba(0,0,0,.28);
}

.tcb-keycap-card-visual {
  display: grid;
  place-items: center;
  width: 100%;
  height: 58px;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: 9px;
  background: radial-gradient(circle at 50% 35%, #fffaf0 0%, #eadbc1 72%, #d8bf99 100%);
}

.tcb-keycap-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tcb-keycap-card .tcb-keycap-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.tcb-keycap-glyph {
  display: block;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 1px 2px rgba(0,0,0,.75),
    0 0 2px rgba(0,0,0,.55);
}

.tcb-keycap-card-value {
  display: block;
  overflow: hidden;
  color: #1f1711;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tcb-keycap-card-color {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #6f5438;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tcb-keycap-card-price {
  display: block;
  margin-top: 3px;
  color: #8a5b25;
  font-size: .68rem;
  font-weight: 900;
}

.tcb-keycap-card-plus {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tcb-copper), var(--tcb-gold));
  color: #fff8e8;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,.24);
}

.tcb-keycap-card.is-selected .tcb-keycap-card-plus {
  background: #7ea886;
}

.tcb-keycap-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(216,168,65,.4);
  border-radius: 12px;
  color: #fff4dc;
  text-align: center;
}

.tcb-summary-item .tcb-keycap-glyph {
  font-size: 1rem;
}

@media (max-width: 767px) {
  .tcb-keycap-filters {
    gap: 8px;
    margin-bottom: 12px;
  }

  .tcb-keycap-types,
  .tcb-keycap-colors {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
  }

  .tcb-keycap-filter-button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 7px 11px;
    font-size: .82rem;
  }

  .tcb-keycap-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .tcb-keycap-card {
    min-height: 92px;
    padding: 6px;
    border-radius: 10px;
  }

  .tcb-keycap-card-visual {
    height: 50px;
  }

  .tcb-keycap-card .tcb-keycap-icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }

  .tcb-keycap-card-value {
    font-size: .95rem;
  }

  .tcb-keycap-card-color {
    font-size: .66rem;
  }

  .tcb-keycap-card-plus {
    width: 20px;
    height: 20px;
    font-size: 14px;
  }
}

@media (max-width: 359px) {
  .tcb-keycap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================
   TCB V4.1 - BASE / DRAGONNE COMPACTES SUR MOBILE
   Ne concerne pas la grille dédiée des touches.
   ========================================================== */

@media (max-width: 767px) {

  /*
   * Base + Dragonne : 2 cartes par ligne.
   */
  .tcb-builder .tcb-panel[data-panel="base"] .tcb-grid,
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  /*
   * On neutralise les anciennes cartes très hautes
   * uniquement dans ces deux étapes.
   */
  .tcb-builder .tcb-panel[data-panel="base"] .tcb-card,
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-card {
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 8px !important;
    border-radius: 12px !important;
  }

  .tcb-builder .tcb-panel[data-panel="base"] .tcb-card-visual,
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-card-visual {
    width: 100% !important;
    height: 105px !important;
    min-height: 105px !important;
    margin-bottom: 8px !important;
    border-radius: 10px !important;
  }

  .tcb-builder .tcb-panel[data-panel="base"] .tcb-card-visual img,
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-card-visual img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  .tcb-builder .tcb-panel[data-panel="base"] .tcb-card strong,
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-card strong {
    font-size: .88rem !important;
    line-height: 1.2 !important;
    padding-bottom: 5px !important;
  }

  .tcb-builder .tcb-panel[data-panel="base"] .tcb-card p,
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-card p {
    margin: 5px 0 !important;
    font-size: .78rem !important;
    line-height: 1.2 !important;
  }

  .tcb-builder .tcb-panel[data-panel="base"] .tcb-card em,
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-card em {
    font-size: .78rem !important;
  }

  .tcb-builder .tcb-panel[data-panel="base"] .tcb-plus,
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-plus {
    right: 7px !important;
    bottom: 7px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    font-size: 19px !important;
  }

  /*
   * "Sans dragonne" doit aussi tenir confortablement
   * dans une demi-largeur.
   */
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-lanyard-none {
    width: 92px !important;
    height: 56px !important;
    border-radius: 10px !important;
    font-size: .78rem !important;
  }

  /*
   * Badge Sélectionné plus discret dans les petites cartes.
   */
  .tcb-builder .tcb-panel[data-panel="base"] .tcb-card.is-selected::after,
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-card.is-selected::after {
    top: 6px !important;
    left: 6px !important;
    padding: 3px 5px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 359px) {

  .tcb-builder .tcb-panel[data-panel="base"] .tcb-card-visual,
  .tcb-builder .tcb-panel[data-panel="lanyard"] .tcb-card-visual {
    height: 92px !important;
    min-height: 92px !important;
  }
}

/* === FIN TCB V4.1 === */


/* ==========================================================
   TCB V4.2 - CENTRAGE PHOTOS TOUCHES DESKTOP
   ========================================================== */

@media (min-width: 768px) {

  .tcb-builder .tcb-keycap-card-visual {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .tcb-builder .tcb-keycap-card-visual > img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 86% !important;
    max-height: 52px !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    align-self: center !important;
  }

}

/* === FIN TCB V4.2 === */


/* ==========================================================
   TCB V4.3 - TOUCHES PLUS LARGES SUR DESKTOP
   ========================================================== */

@media (min-width: 981px) {

  .tcb-builder .tcb-keycap-grid {
    grid-template-columns:
      repeat(auto-fill, minmax(132px, 1fr)) !important;
    gap: 14px !important;
  }

  .tcb-builder .tcb-keycap-card {
    min-height: 132px !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .tcb-builder .tcb-keycap-card-visual {
    height: 78px !important;
    min-height: 78px !important;
    margin-bottom: 7px !important;
  }

  .tcb-builder .tcb-keycap-card-visual > img {
    max-width: 88% !important;
    max-height: 62px !important;
  }

  .tcb-builder .tcb-keycap-card .tcb-keycap-icon {
    width: 62px !important;
    height: 62px !important;
    border-radius: 13px !important;
  }

}

/* === FIN TCB V4.3 === */


/* ==========================================================
   TCB V4.4 - CARTES TOUCHES DESKTOP + CENTRAGE MOBILE
   ========================================================== */


/* ----------------------------------------------------------
   DESKTOP
   Cartes plus généreuses, sans espace mort sous la photo.
   ---------------------------------------------------------- */

@media (min-width: 981px) {

  .tcb-builder .tcb-keycap-grid {
    grid-template-columns:
      repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 14px !important;
  }

  .tcb-builder .tcb-keycap-card {
    grid-template-rows: auto auto auto auto !important;
    align-content: start !important;

    min-height: 0 !important;

    padding: 10px !important;

    border-radius: 14px !important;
  }

  .tcb-builder .tcb-keycap-card-visual {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    height: 88px !important;
    min-height: 88px !important;

    margin-bottom: 7px !important;

    overflow: hidden !important;
  }

  /*
   * Vraies photos.
   */
  .tcb-builder .tcb-keycap-card-visual > img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 86% !important;
    max-height: 70px !important;

    margin: auto !important;

    object-fit: contain !important;
    object-position: center center !important;
  }

  /*
   * Aperçu généré sans photo.
   */
  .tcb-builder .tcb-keycap-card .tcb-keycap-icon {
    width: 68px !important;
    height: 68px !important;

    border-radius: 14px !important;
  }

  /*
   * Texte directement sous l'image.
   */
  .tcb-builder .tcb-keycap-card-value {
    display: block !important;

    margin: 0 !important;

    font-size: .95rem !important;
    line-height: 1.15 !important;

    color: #1f1711 !important;
  }

  .tcb-builder .tcb-keycap-card-color {
    display: block !important;

    margin-top: 3px !important;

    font-size: .72rem !important;
    line-height: 1.1 !important;

    color: #6f5438 !important;
  }

  .tcb-builder .tcb-keycap-card-price {
    margin-top: 4px !important;
  }

}


/* ----------------------------------------------------------
   MOBILE
   Taille actuelle conservée.
   On centre uniquement les vraies photos.
   ---------------------------------------------------------- */

@media (max-width: 767px) {

  .tcb-builder .tcb-keycap-card {
    grid-template-rows: auto auto auto auto !important;
  }

  .tcb-builder .tcb-keycap-card-visual {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    position: relative !important;

    overflow: hidden !important;
  }

  .tcb-builder .tcb-keycap-card-visual > img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 84% !important;
    max-height: 42px !important;

    margin: auto !important;

    object-fit: contain !important;
    object-position: center center !important;

    align-self: center !important;
  }

}

/* === FIN TCB V4.4 === */


/* ==========================================================
   TCB V4.5 - TOUCHES PLUS GRANDES DESKTOP + CENTRAGE MOBILE
   ========================================================== */

/* ---------- DESKTOP ---------- */
@media (min-width: 981px) {

  .tcb-builder .tcb-keycap-grid {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)) !important;
    gap: 16px !important;
  }

  .tcb-builder .tcb-keycap-card {
    min-height: 190px !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .tcb-builder .tcb-keycap-card-visual {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 104px !important;
    min-height: 104px !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
  }

  .tcb-builder .tcb-keycap-card-visual > img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 88% !important;
    max-height: 82px !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .tcb-builder .tcb-keycap-card .tcb-keycap-icon {
    width: 78px !important;
    height: 78px !important;
    border-radius: 16px !important;
  }

  .tcb-builder .tcb-keycap-card-value {
    margin-top: 0 !important;
    font-size: 1rem !important;
    line-height: 1.15 !important;
  }

  .tcb-builder .tcb-keycap-card-color {
    margin-top: 4px !important;
    font-size: .78rem !important;
    line-height: 1.15 !important;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {

  .tcb-builder .tcb-keycap-card-visual {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .tcb-builder .tcb-keycap-card-visual > img {
    position: absolute !important;
    inset: 0 !important;
    margin: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 82% !important;
    max-height: 46px !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .tcb-builder .tcb-keycap-card .tcb-keycap-icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto !important;
  }
}

/* === FIN TCB V4.5 === */


/* ==========================================================
   TCB V4.6 - AGRANDISSEMENT DES VRAIES PHOTOS TOUCHES
   Cartes et grilles inchangées.
   ========================================================== */


/* ----------------------------------------------------------
   DESKTOP
   Les PNG des touches ont beaucoup de marge interne :
   on agrandit uniquement leur rendu visuel.
   ---------------------------------------------------------- */

@media (min-width: 981px) {

  .tcb-builder .tcb-keycap-card-visual > img {
    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: contain !important;
    object-position: center center !important;

    transform: scale(1.75) !important;
    transform-origin: center center !important;
  }

}


/* ----------------------------------------------------------
   MOBILE
   Même principe, mais agrandissement plus modéré.
   ---------------------------------------------------------- */

@media (max-width: 767px) {

  .tcb-builder .tcb-keycap-card-visual > img {
    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: contain !important;
    object-position: center center !important;

    transform: scale(1.35) !important;
    transform-origin: center center !important;
  }

}

/* === FIN TCB V4.6 === */

