/* ============================================================
   STRATÉGIE MATHS — MON COMPTE > MES QCM
   ============================================================ */

.woocommerce-account .woocommerce-MyAccount-content:has(.sm-qcm-account){
  max-width:1200px;
}

.sm-qcm-account{
  margin-top:10px;
}

.sm-qcm-hero{
  background:linear-gradient(135deg,#6a1b9a,#f57c00);
  color:#fff;
  padding:18px 20px;
  border-radius:16px;
  margin-bottom:22px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.sm-qcm-hero h2{
  margin:0 0 6px;
  font-size:22px;
  font-weight:900;
  color:#fff;
}

.sm-qcm-hero p{
  margin:0;
  font-size:14px;
  font-weight:600;
  opacity:.95;
}

.sm-qcm-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:24px !important;
  margin-top:18px !important;
  align-items:stretch !important;
  width:100% !important;
}

@media(max-width:900px){
  .sm-qcm-grid{
    grid-template-columns:1fr !important;
  }
}

.sm-qcm-ribbon{
  position:absolute;
  top:12px;
  right:-8px;
  padding:6px 12px;
  color:#fff;
  font-size:12px;
  font-weight:900;
  border-radius:6px 0 0 6px;
  box-shadow:0 2px 6px rgba(0,0,0,0.12);
  background:linear-gradient(135deg,#6a1b9a,#f57c00);
}

.sm-qcm-desc{
  font-size:13px;
  color:#666;
  line-height:1.4;
  margin-bottom:14px;
}

/* ============================================================
   Mes QCM — bilan de score (sans barre de progression)
   ============================================================ */

.sm-qcm-score-summary__details{
  margin-top:10px;
  padding:10px 12px;
  background:#fbf8ff !important;
  border:1px solid rgba(106,27,154,.10) !important;
  border-radius:14px !important;
  color:#5f5673;
  font-size:14px;
  line-height:1.45;
}