
.boe-rewards,.boe-survey{--p:#431078;--p2:#8436cf;--b:#dfcaee;color:#24162f}
.boe-rewards-hero{padding:28px;border:2px solid var(--b);border-radius:20px;background:linear-gradient(135deg,#fff,#f7effc);margin-bottom:22px}
.boe-rewards-hero span{font-size:12px;font-weight:800;color:var(--p2);letter-spacing:.08em}.boe-rewards-hero h2{margin:6px 0}
.boe-reward-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.boe-reward-card{border:2px solid var(--b);border-radius:18px;padding:20px;background:#fff;box-shadow:0 10px 25px rgba(67,16,120,.06)}
.boe-pill{display:inline-block;padding:5px 9px;border-radius:999px;background:#f2e7f9;color:var(--p);font-size:11px;font-weight:800;text-transform:uppercase}.boe-code{font:800 17px monospace;padding:12px;border-radius:10px;background:#f7f2fb;margin:12px 0}
.boe-reward-card button,.boe-survey button{width:100%;border:0;border-radius:12px;padding:13px 16px;background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;font-weight:800;cursor:pointer}
.boe-empty{padding:24px;border:2px dashed var(--b);border-radius:16px;text-align:center}.boe-survey{max-width:850px;margin:30px auto;padding:28px;border:2px solid var(--b);border-radius:20px;background:#fff}.boe-q{margin:18px 0}.boe-q label{display:block;font-weight:800;margin-bottom:7px}.boe-q input,.boe-q textarea,.boe-q select{width:100%;padding:12px;border:1px solid #d9cde2;border-radius:10px}.boe-q textarea{min-height:110px}
.boe-cart-rewards,.boe-checkout-rewards{margin:12px 0}.boe-checkout-rewards a{display:block;padding:12px 14px;border:1px solid #dcc8eb;border-radius:10px;background:#faf6fd;color:#431078;font-weight:800;text-align:center}
@media(max-width:600px){.boe-rewards-hero,.boe-survey{padding:18px}}

.boe-review-cta,.boe-order-review-cta{margin:18px 0;padding:18px;border:2px solid #dcc8eb;border-radius:16px;background:linear-gradient(135deg,#fff,#faf5fd);box-shadow:0 8px 22px rgba(67,16,120,.06)}
.boe-review-cta strong,.boe-order-review-cta h3{color:#431078}.boe-review-buttons{display:flex;flex-wrap:wrap;gap:8px}
.boe-progress-wrap{margin:22px 0}.boe-progress-card{border:1px solid #e3d6eb;border-radius:14px;padding:16px;margin:10px 0;background:#fff}
.boe-progress-card>span{float:right;font-weight:800}.boe-progress{height:10px;background:#eee7f3;border-radius:999px;overflow:hidden;margin:10px 0}.boe-progress i{display:block;height:100%;background:linear-gradient(90deg,#431078,#8436cf)}
.boe-form-switch{padding:12px;border-radius:10px;background:#f8f3fb;margin:15px 0}.boe-form-switch a{display:inline-block;margin:3px 5px;color:#431078;font-weight:700}
.boe-public-reviews{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.boe-public-reviews article{padding:18px;border:2px solid #dcc8eb;border-radius:16px;background:#fff}.boe-public-reviews .stars{color:#7a2bbb;font-size:18px}.boe-public-reviews small{display:block;color:#777;margin-top:4px}

/* V1.2.0 — notation par étoiles */
.boe-star-rating{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:4px;flex-wrap:wrap}
.boe-star-rating input{position:absolute;opacity:0;pointer-events:none}
.boe-star-rating label{font-size:38px;line-height:1;color:#d9d1dd;cursor:pointer;transition:transform .12s ease,color .12s ease;margin:0}
.boe-star-rating label:hover,.boe-star-rating label:hover~label,.boe-star-rating input:checked~label{color:#7a2bbb}
.boe-star-rating label:hover{transform:scale(1.08)}
.boe-star-rating input:focus-visible+label{outline:2px solid #7a2bbb;outline-offset:3px;border-radius:4px}
.boe-star-hint{font-size:12px;color:#7b7081;margin-left:10px}

/* V1.2.2 — accès Mes récompenses dans le compte personnalisé */
.boe-account-reward-entry{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:15px;
  align-items:center;
  margin:20px 0;
  padding:18px 20px;
  border:1px solid #dfd0e9;
  border-left:5px solid #7525b3;
  border-radius:14px;
  background:linear-gradient(135deg,#fff,#faf5fd);
  box-shadow:0 7px 20px rgba(67,16,120,.06)
}
.boe-account-reward-icon{
  width:46px;height:46px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:#f1e6f8;font-size:22px
}
.boe-account-reward-entry strong{font-size:18px;color:#351047}
.boe-account-reward-entry p{margin:3px 0 0;color:#6d6272}
.boe-account-reward-entry .button{
  background:linear-gradient(135deg,#501185,#8732cf)!important;
  color:#fff!important;border:0!important;border-radius:10px!important;
  padding:11px 15px!important;font-weight:800!important
}
.boe-reward-menu-fallback a{cursor:pointer}
@media(max-width:700px){
  .boe-account-reward-entry{grid-template-columns:auto 1fr}
  .boe-account-reward-entry .button{grid-column:1/-1;text-align:center}
}

/* V1.2.3 — boutons d'action pour débloquer les récompenses */
.boe-progress-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
.boe-progress-hint,.boe-unlock-hint{margin:9px 0;color:#6f6574;font-size:13px}
.boe-reward-action{
  display:inline-block;
  margin-top:10px;
  padding:10px 14px;
  border-radius:10px;
  background:linear-gradient(135deg,#501185,#8732cf);
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800;
  box-shadow:0 6px 16px rgba(80,17,133,.16)
}
.boe-reward-action:hover{transform:translateY(-1px);filter:brightness(1.03)}

/* V1.3.0 — récompenses mises en avant + avis directs */
.boe-reward-prize{display:flex;align-items:center;gap:12px;margin:13px 0;padding:13px 15px;border-radius:12px;background:linear-gradient(135deg,#f2e5fa,#fbf8fd);border:1px solid #dec6ec}
.boe-reward-prize strong{font-size:30px;line-height:1;color:#6e1ca5}.boe-reward-prize span{font-weight:800;color:#321340}
.boe-review-hero{background:linear-gradient(135deg,#35105e,#842fc5);color:#fff;border-radius:18px;padding:25px 28px;margin-bottom:20px}.boe-review-hero h2{color:#fff!important;margin:5px 0!important}.boe-review-hero span{font-size:12px;font-weight:800;letter-spacing:.09em}
.boe-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.boe-direct-review{border:1px solid #dfd0e9;border-radius:15px;padding:18px;background:#fff;box-shadow:0 6px 20px rgba(65,15,105,.06)}
.boe-direct-review-head strong{display:block;font-size:18px;color:#32133e}.boe-direct-review-head small{display:block;margin:4px 0 15px;color:#776b7d}.boe-direct-review label{display:block;font-weight:800;margin:10px 0 6px}.boe-direct-review textarea{width:100%;border:1px solid #d8c9e1;border-radius:10px;padding:11px}

.boe-wallet{margin:16px 0;padding:14px;border:1px solid #ddc9e9;border-radius:14px;background:#fbf7fd}.boe-wallet-toggle{border:0;background:linear-gradient(135deg,#4b0f7d,#8430c7);color:#fff;border-radius:10px;padding:11px 15px;font-weight:800;cursor:pointer}.boe-wallet-list{margin-top:12px}.boe-wallet-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px;background:#fff;border:1px solid #eadff0;border-radius:10px;margin-top:8px}.boe-wallet-row strong,.boe-wallet-row small{display:block}.boe-wallet-row strong{font-size:20px;color:#641b9c}

/* V1.0.1 — espace récompenses Brand-ON Écusson, inspiré de la version DTF stable */
.woocommerce-MyAccount-content .boe-rewards{width:100%;max-width:none;margin:0;box-sizing:border-box}
.boe-rewards{font-family:inherit!important;--p:#5b168f;--p2:#8a31d1;--soft:#f6edfb;--line:#dfc9ec;--ink:#25122f}
.boe-rewards *{box-sizing:border-box}
.boe-rewards-hero{padding:30px!important;border:2px solid #dfc7ee!important;border-radius:22px!important;background:linear-gradient(135deg,#fff,#f8f0fd)!important;margin:0 0 28px!important}
.boe-rewards-hero span{color:#7a27b6!important;font-size:12px!important;font-weight:900!important;letter-spacing:.09em!important}
.boe-rewards-hero h2{font-family:inherit!important;font-size:32px!important;line-height:1.15!important;color:#24102d!important;margin:7px 0 10px!important}
.boe-rewards-hero p{font-size:16px!important;color:#514657!important;margin:0!important}
.boe-section-title,.boe-unlock-heading h3{font-family:inherit!important;font-size:25px!important;color:#24102d!important;margin:28px 0 12px!important}
.boe-unlock-heading p{margin:0 0 18px;color:#6a5d70;font-size:15px}
.boe-reward-grid-available{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;margin-bottom:30px}
.boe-available-card{padding:22px!important;border:2px solid #dfc9ec!important;border-radius:20px!important;box-shadow:none!important;display:flex;flex-direction:column;align-items:stretch}
.boe-available-card .boe-pill{align-self:flex-start;background:#f0dff8!important;color:#4e0e75!important;padding:7px 12px!important}
.boe-available-gain{font-size:40px;font-weight:900;color:#6b1bad;line-height:1;margin:16px 0 6px}
.boe-available-card h3{font-family:inherit!important;font-size:25px!important;color:#24102d!important;margin:0 0 10px!important}
.boe-card-note{color:#6b5d70;font-size:13px;min-height:36px}
.boe-code-row{display:grid;grid-template-columns:minmax(95px,auto) 1fr;gap:10px;align-items:stretch;margin:14px 0 10px}
.boe-code-row .boe-code{margin:0!important;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere;text-align:center;background:#f8f3fb!important;font-size:15px!important;border-radius:12px!important}
.boe-copy-code,.boe-use-reward{border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#501185,#8b31d2)!important;color:#fff!important;font-weight:900!important;cursor:pointer!important;padding:14px 16px!important;font-family:inherit!important}
.boe-use-reward{width:100%;margin-top:12px}
.boe-available-card small{display:block;margin-top:3px;color:#3d3341}
.boe-empty-available{margin:20px 0 28px;text-align:left!important;background:#fbf7fd;border-style:solid!important}
.boe-empty-available strong{font-size:17px;color:#381347}.boe-empty-available p{margin:4px 0 0;color:#766b7b}
.boe-origin-program-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.boe-origin-card{border:1.5px solid #dfc9ec;border-radius:18px;padding:20px;background:#fff;min-width:0;display:flex;flex-direction:column}
.boe-origin-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.boe-origin-top h4{font-family:inherit!important;font-size:17px!important;line-height:1.35!important;color:#24102d!important;margin:0!important}
.boe-origin-top span{background:#f0dff8;color:#6714a0;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900;white-space:nowrap}
.boe-origin-gain{font-size:39px;line-height:1;font-weight:900;color:#6d1bad;margin:20px 0 7px}
.boe-origin-sub{font-size:15px;color:#392a40;line-height:1.4;min-height:42px}
.boe-tier-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:22px 0 14px}
.boe-tier-strip span{display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:9px;background:#f0edf2;color:#655a69;font-size:11px;font-weight:900;padding:4px;text-align:center}
.boe-tier-strip span.current{background:linear-gradient(135deg,#5b1590,#8c32d4);color:#fff}
.boe-tier-strip span.done{background:#e3f4dc;color:#267533}
.boe-origin-card p{color:#6d6171;font-size:13px;line-height:1.45;margin:0 0 12px;flex:1}
.boe-origin-card .boe-reward-action{align-self:flex-start;margin-top:auto;border-radius:11px;padding:12px 14px;line-height:1.25}
.boe-campaign-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.boe-campaign-grid .boe-progress-card{margin:0}
@media(max-width:1200px){.boe-origin-program-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.boe-origin-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.boe-reward-grid-available,.boe-campaign-grid{grid-template-columns:1fr!important}}
@media(max-width:600px){.boe-rewards-hero{padding:20px!important}.boe-rewards-hero h2{font-size:27px!important}.boe-origin-program-grid{grid-template-columns:1fr}.boe-code-row{grid-template-columns:1fr}.boe-copy-code{min-height:48px}}
