/* ==========================================================
   CCX — Stockage (Capacité)
   ========================================================== */

/* Le wrapper premium est géré par .ccx-variants (dans colors.css),
   mais on garde une sécurité si ce fichier est chargé seul. */
.ccx-variants{
  margin: 18px 0 0;
  padding: 14px 16px 16px;
  border-radius: 18px;
  background: rgba(23, 29, 38, 0.70);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.ccx-variants__title{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(245,247,251,.92);
  letter-spacing: .2px;
}

/* Le bloc interne ne doit pas refaire un 2e cadre */
.ccx-storage{
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.ccx-storage__grid{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 12px;
}

/* Pastilles "Go" plus premium (moins grosses, plus nettes) */
.ccx-storage__item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 12px;          /* ✅ moins “boudin” */
  border-radius: 999px;
  text-decoration:none !important;
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}

.ccx-storage__item:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  background: rgba(0,0,0,.22);
}

.ccx-storage__item.is-current{
  border-color: rgba(0,255,106,.55);
  box-shadow: 0 0 0 3px rgba(0,255,106,.10);
}

.ccx-storage__label{
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1px;
  color: rgba(245,247,251,.92);
}

@media (max-width: 560px){
  .ccx-storage__grid{
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .ccx-storage__item{ flex: 0 0 auto; }
}
