/* ============================================================
   V2.5.37 — Affiliation / comparatifs, DA VendéeActus modernisée
   Palette officielle : bleu #03172B · rouge #E41E2A
   ============================================================ */
.commerce-block-wrap{
  --commerce-blue:#03172B;
  --commerce-blue-2:#0B2444;
  --commerce-blue-3:#1C4A7A;
  --commerce-blue-soft:#EEF4FB;
  --commerce-red:#E41E2A;
  --commerce-red-2:#F74A57;
  --commerce-red-3:#FF6A74;
  --commerce-red-soft:#FFF1F3;
  --commerce-ink:#102238;
  --commerce-text:#233447;
  --commerce-muted:#64748B;
  --commerce-line:#D9E2EC;
  --commerce-surface:#F6F8FB;
  --commerce-surface-2:#FBFCFE;
  --commerce-shadow:0 18px 42px rgba(3,23,43,.08);
  width:100%;max-width:100%;min-width:0;margin:34px 0;
  font-family:inherit;color:var(--commerce-text);
}
.commerce-block-wrap *{box-sizing:border-box}
.commerce-card{
  position:relative;isolation:isolate;width:100%;max-width:100%;min-width:0;
  padding:24px;border:1px solid var(--commerce-line);border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,var(--commerce-surface-2) 100%);
  color:var(--commerce-text);font-size:16px;line-height:1.55;box-shadow:var(--commerce-shadow);overflow:hidden;
}
.commerce-card::before{
  content:"";position:absolute;left:0;right:0;top:0;height:6px;z-index:-1;
  background:linear-gradient(90deg,var(--commerce-blue) 0%,var(--commerce-blue-3) 38%,var(--commerce-red) 100%);
}
.commerce-featured{background:linear-gradient(180deg,#fff 0%,#f9fbff 100%)}
.commerce-featured::after,
.commerce-price-list::after,
.commerce-deal::after,
.commerce-subscription::after,
.commerce-simple::after{
  content:"";position:absolute;right:-80px;top:-80px;width:220px;height:220px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(228,30,42,.08) 0%,rgba(228,30,42,0) 70%);
}
.commerce-eyebrow{
  margin:0 0 10px!important;color:var(--commerce-red)!important;font-size:12px!important;line-height:1.25!important;
  font-weight:900!important;letter-spacing:.12em;text-transform:uppercase;text-align:left
}
.commerce-featured>.commerce-eyebrow{text-align:left}
.commerce-top-badge{
  display:inline-flex;align-items:center;min-height:28px;margin:0 0 13px;padding:6px 12px;border-radius:999px;
  background:linear-gradient(135deg,var(--commerce-red-soft) 0%,#fff 100%);
  border:1px solid rgba(228,30,42,.16);color:var(--commerce-red);font-size:11px;font-weight:900;line-height:1.2;
  box-shadow:0 6px 16px rgba(228,30,42,.08)
}
.commerce-featured-head{
  display:grid;grid-template-columns:148px minmax(0,1fr);gap:24px;align-items:center;width:100%;min-width:0;margin-bottom:20px
}
.commerce-featured-head--no-image{grid-template-columns:minmax(0,1fr)}
.commerce-featured-head>div{min-width:0}
.commerce-featured-head h3,.commerce-price-list h3,.commerce-product-card h3,.commerce-deal h3,.commerce-subscription h3,.commerce-simple strong{
  margin:0!important;color:var(--commerce-blue)!important;font-family:inherit!important;font-weight:900!important;
  word-break:normal!important;overflow-wrap:normal!important;hyphens:auto
}
.commerce-featured-head h3{font-size:clamp(26px,3vw,35px)!important;line-height:1.03!important;letter-spacing:-.035em}
.commerce-subtitle{margin:9px 0 0!important;color:var(--commerce-muted)!important;font-size:14px!important;line-height:1.6!important}
.commerce-product-image{
  display:block;width:100%;max-width:148px;height:154px;object-fit:contain;border-radius:18px;
  background:linear-gradient(180deg,#fff 0%,var(--commerce-blue-soft) 100%);padding:12px;border:1px solid #E3EBF4
}
.commerce-score-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:15px}
.commerce-score-line>strong,.commerce-score-badge{
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 13px;border-radius:999px;
  background:linear-gradient(135deg,var(--commerce-blue-3) 0%,var(--commerce-blue) 100%);
  box-shadow:0 10px 22px rgba(3,23,43,.16);color:#fff!important;font-size:13px!important;font-weight:900!important;line-height:1
}
.commerce-test-link,.commerce-test-pill{
  display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 15px;border:1px solid rgba(3,23,43,.08);
  border-radius:999px;background:linear-gradient(135deg,var(--commerce-blue-2) 0%,var(--commerce-blue-3) 100%);
  box-shadow:0 10px 22px rgba(3,23,43,.13);color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:850;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease
}
.commerce-test-link:hover,.commerce-test-pill:hover{transform:translateY(-1px);box-shadow:0 14px 26px rgba(3,23,43,.18);filter:saturate(1.05)}
.commerce-offers{display:grid;gap:11px;width:100%;min-width:0;margin-top:14px}
.commerce-offer-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;min-width:0;padding:13px 14px;
  border:1px solid #E2EAF3;border-radius:18px;background:linear-gradient(180deg,#F8FAFD 0%,#F1F5FB 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85)
}
.commerce-merchant{display:flex;align-items:center;gap:12px;min-width:0}
.commerce-merchant img,.commerce-merchant-monogram{
  display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;border:1px solid #DEE7F0;
  border-radius:14px;background:#fff;object-fit:contain;color:var(--commerce-blue);font-weight:900;box-shadow:0 6px 18px rgba(3,23,43,.06)
}
.commerce-merchant span{min-width:0}
.commerce-merchant strong,.commerce-merchant small{display:block;word-break:normal!important;overflow-wrap:normal!important}
.commerce-merchant strong{color:var(--commerce-blue);font-size:15px;line-height:1.2}
.commerce-merchant small{margin-top:3px;color:var(--commerce-muted);font-size:11px;line-height:1.35}
.commerce-offer-price{text-align:right;white-space:nowrap;color:var(--commerce-blue)}
.commerce-offer-price del{display:block;margin:0 0 2px;color:#93A0B2;font-size:11px}
.commerce-offer-price strong{color:var(--commerce-blue);font-size:21px;font-weight:900;letter-spacing:-.025em}
.commerce-offer-price em{
  display:block;width:max-content;margin:5px 0 0 auto;padding:4px 8px;border-radius:999px;
  background:linear-gradient(135deg,var(--commerce-red) 0%,var(--commerce-red-2) 100%);
  box-shadow:0 8px 18px rgba(228,30,42,.16);color:#fff;font-size:9px;font-style:normal;font-weight:900;line-height:1.35;text-transform:uppercase
}
.commerce-offer-cta,.commerce-cta{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:0;
  border-radius:999px;background:linear-gradient(135deg,var(--commerce-red) 0%,var(--commerce-red-2) 60%,var(--commerce-red-3) 100%);
  box-shadow:0 12px 24px rgba(228,30,42,.18);color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:900;line-height:1;white-space:nowrap;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease
}
.commerce-offer-cta:hover,.commerce-cta:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(228,30,42,.24);filter:saturate(1.06)}
.commerce-more{margin:2px 0 0}
.commerce-more summary{
  list-style:none;cursor:pointer;padding:12px 14px;border-radius:14px;background:var(--commerce-blue-soft);color:var(--commerce-blue);
  font-size:13px;font-weight:850;text-align:center;border:1px solid #DCE8F3
}
.commerce-more summary::-webkit-details-marker{display:none}
.commerce-more>div{display:grid;gap:11px;margin-top:8px}
.commerce-proscons{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px;padding-top:20px;border-top:1px solid #E5ECF4}
.commerce-proscons>div{padding:16px 18px;border-radius:18px;background:#fff}
.commerce-proscons>div:first-child{border:1px solid #D7EDE0;background:linear-gradient(180deg,#ffffff 0%,#F4FBF7 100%)}
.commerce-proscons>div:last-child{border:1px solid #F6D8DD;background:linear-gradient(180deg,#ffffff 0%,#FFF5F6 100%)}
.commerce-proscons p{display:flex;gap:10px;margin:8px 0!important;color:var(--commerce-text)!important;font-size:14px!important;line-height:1.5!important}
.commerce-proscons span{flex:0 0 24px;width:24px;color:#16955F;font-weight:900;text-align:center}
.commerce-proscons>div:last-child span{color:var(--commerce-red)}
.commerce-disclosure{margin:14px 4px 0!important;color:#7B8898!important;font-size:10px!important;line-height:1.45!important}

.commerce-product-grid{display:grid;grid-template-columns:repeat(var(--commerce-cols,3),minmax(0,1fr));gap:18px;width:100%;min-width:0}
.commerce-product-card{
  position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;gap:12px;padding:20px;border:1px solid #E2EAF3;
  border-radius:24px;background:linear-gradient(180deg,#fff 0%,#F8FBFF 100%);text-align:center;box-shadow:0 12px 28px rgba(3,23,43,.07);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.commerce-product-card:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(3,23,43,.11);border-color:#D6E3F1}
.commerce-product-card .commerce-eyebrow{text-align:center}
.commerce-grid-image{
  display:block;width:100%;height:152px;object-fit:contain;background:linear-gradient(180deg,#fff 0%,var(--commerce-blue-soft) 100%);
  border:1px solid #E3EBF4;border-radius:18px;padding:12px
}
.commerce-product-card h3{min-height:48px;font-size:20px!important;line-height:1.15!important;letter-spacing:-.02em}
.commerce-grid-price{margin-top:auto;color:var(--commerce-blue);font-size:28px;font-weight:900;line-height:1.05;letter-spacing:-.03em}
.commerce-grid-price del{display:block;margin-bottom:4px;color:#93A0B2;font-size:12px}
.commerce-grid-price strong{display:block;color:inherit}
.commerce-product-card>small{color:var(--commerce-muted);font-size:12px}
.commerce-product-grid>.commerce-disclosure{grid-column:1/-1}
.commerce-best-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:4px 8px;margin-top:-2px;border-radius:999px;background:var(--commerce-red-soft);color:var(--commerce-red);font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}

.commerce-deal{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.35fr);gap:28px;align-items:center}
.commerce-deal-image{display:block;width:100%;max-height:340px;border-radius:22px;object-fit:cover;background:linear-gradient(180deg,#fff 0%,var(--commerce-blue-soft) 100%);border:1px solid #E2EAF3}
.commerce-deal-body{min-width:0}.commerce-deal-body .commerce-eyebrow{text-align:left}
.commerce-deal h3{font-size:28px!important;line-height:1.08!important;letter-spacing:-.03em}
.commerce-deal ul,.commerce-subscription ul{padding-left:20px}
.commerce-deal li,.commerce-subscription li{margin:8px 0}
.commerce-deal-price{margin:18px 0;color:var(--commerce-blue);font-size:34px;font-weight:900;letter-spacing:-.03em}
.commerce-subscription{max-width:520px;text-align:center;margin-inline:auto}
.commerce-subscription .commerce-eyebrow{text-align:center}
.commerce-subscription-image{display:block;width:96px;height:96px;margin:0 auto 16px;border-radius:22px;object-fit:contain;background:linear-gradient(180deg,#fff 0%,var(--commerce-blue-soft) 100%);padding:12px;border:1px solid #E2EAF3}
.commerce-subscription h3{font-size:25px!important;line-height:1.12!important}
.commerce-subscription ul{display:inline-block;margin:12px auto;text-align:left}
.commerce-subscription-price{display:flex;align-items:baseline;justify-content:center;gap:6px;margin:16px 0}
.commerce-subscription-price strong{color:var(--commerce-blue);font-size:34px;letter-spacing:-.04em}.commerce-subscription-price span{color:var(--commerce-muted)}
.commerce-simple{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.commerce-simple>div{display:flex;align-items:center;gap:14px;min-width:0}
.commerce-simple-image{display:block;flex:0 0 84px;width:84px;height:84px;object-fit:contain;background:linear-gradient(180deg,#fff 0%,var(--commerce-blue-soft) 100%);padding:10px;border:1px solid #E2EAF3;border-radius:18px}
.commerce-simple strong,.commerce-simple small{display:block}.commerce-simple strong{font-size:18px}.commerce-simple small{margin-top:4px;color:var(--commerce-muted);font-size:12px}
.commerce-simple .commerce-disclosure{flex-basis:100%;width:100%;margin-top:0!important}
.commerce-price-list>h3{margin-bottom:14px!important;font-size:22px!important;line-height:1.2!important;letter-spacing:-.02em}
.site-footer-amazon-disclosure{width:100%;margin-top:12px;color:inherit;font-size:11px;line-height:1.45;opacity:.65}

/* L'article impose overflow-wrap:anywhere à tous ses descendants : le module reprend
   un comportement typographique normal afin d'éviter les titres cassés lettre par lettre. */
.va-article-prose .commerce-block-wrap :is(h3,strong,small,span,a,p,li){word-break:normal;overflow-wrap:normal}
.va-article-prose .commerce-block-wrap{font-size:initial;line-height:normal}

@media(max-width:760px){
  .commerce-block-wrap{margin:26px 0}
  .commerce-card{padding:18px;border-radius:20px}
  .commerce-featured-head{grid-template-columns:100px minmax(0,1fr);gap:14px}
  .commerce-featured-head--no-image{grid-template-columns:minmax(0,1fr)}
  .commerce-featured-head h3{font-size:23px!important}
  .commerce-product-image{height:118px;max-width:100px;padding:8px;border-radius:15px}
  .commerce-offer-row{grid-template-columns:minmax(0,1fr) auto;gap:9px;border-radius:15px}
  .commerce-offer-price{grid-column:2}
  .commerce-offer-cta,.commerce-cta,.commerce-test-link,.commerce-test-pill{width:100%}
  .commerce-offer-cta{grid-column:1/-1}
  .commerce-proscons{grid-template-columns:1fr;gap:10px}
  .commerce-product-grid{grid-template-columns:1fr 1fr}
  .commerce-deal{grid-template-columns:1fr}
  .commerce-simple{align-items:flex-start;flex-direction:column}
  .commerce-simple .commerce-cta{width:100%}
}
@media(max-width:520px){
  .commerce-featured-head{grid-template-columns:1fr}
  .commerce-product-image{max-width:160px;height:136px;margin:0 auto}
  .commerce-featured>.commerce-eyebrow{text-align:left}
  .commerce-product-grid{grid-template-columns:1fr}
  .commerce-product-card h3{min-height:auto}
  .commerce-merchant img,.commerce-merchant-monogram{flex-basis:38px;width:38px;height:38px;border-radius:12px}
  .commerce-offer-price strong{font-size:18px}
}
