/* Cartes reprises de la DA Harry ; styles limités aux encarts éditoriaux. */
.harry-top-embed .harry-carousel-shell { position: relative; }
.harry-top-embed .harry-carousel-shell::after { content: ""; position: absolute; top: 0px; right: 0px; bottom: 10px; width: 70px; pointer-events: none; background: linear-gradient(90deg, transparent, rgb(255, 255, 255)); }
.harry-top-embed .harry-top-carousel-track { display: flex; gap: 1.25rem; overflow-x: auto; padding: 0.8rem 5rem 1.3rem 0.2rem; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--harry-border-dotted) transparent; scroll-behavior: smooth; touch-action: pan-x pan-y; cursor: grab; }
.harry-top-embed .harry-top-carousel-track::-webkit-scrollbar,
.harry-top-embed .harry-cards-swipe-track::-webkit-scrollbar { height: 7px; }
.harry-top-embed .harry-top-carousel-track::-webkit-scrollbar-thumb,
.harry-top-embed .harry-cards-swipe-track::-webkit-scrollbar-thumb { background: var(--harry-border-dotted); border-radius: 99px; }
.harry-top-embed .harry-top-carousel-track.harry-is-dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; scroll-snap-type: none; }
@media (min-width: 869px) {

}
.harry-top-embed .harry-top-card { flex: 0 0 320px; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; border: 2px solid var(--harry-border-dotted); border-radius: 20px; padding: 1.35rem 1rem 1rem; background: rgb(255, 255, 255); box-shadow: rgba(45, 48, 50, 0.04) 0px 5px 18px; transition: 0.22s; }
.harry-top-embed .harry-top-card:hover { transform: translateY(-4px); border-color: rgb(155, 211, 197); box-shadow: rgba(45, 48, 50, 0.08) 0px 12px 28px; }
.harry-top-embed .harry-top-card.harry-featured { border: 2.5px solid var(--harry-accent-yellow); background: rgb(255, 255, 255); }
.harry-top-embed .harry-rank-badge { position: absolute; top: -12px; left: 1rem; padding: 0.28rem 0.72rem; border-radius: 99px; background: var(--harry-text-main); color: rgb(255, 255, 255); font: 800 var(--harry-font-meta) "Space Grotesk", sans-serif; text-transform: uppercase; box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 10px; }
.harry-top-embed .harry-featured .harry-rank-badge { background: var(--harry-accent-yellow); color: var(--harry-text-main); }
.harry-top-embed .harry-product-image { aspect-ratio: 1 / 1; height: auto; margin: 0.35rem 0px 0.4rem; padding: 0px; display: grid; place-items: center; overflow: hidden; background: transparent; border: 0px; border-radius: 14px; }
.harry-top-embed .harry-product-image img { width: 100%; height: 100%; max-height: none; max-width: none; object-fit: cover; border-radius: inherit; pointer-events: none; }
.harry-top-embed .harry-card-identity { position: relative; z-index: 2; min-height: 78px; margin: 0px 0px 0.8rem; padding: 0.7rem 0.45rem 0.55rem; display: flex; flex-direction: column; justify-content: center; background: rgb(255, 255, 255); border-radius: 0px 0px 14px 14px; text-align: center; }
.harry-top-embed .harry-featured .harry-card-identity { background: rgb(255, 255, 255); }
.harry-top-embed .harry-card-brand { color: var(--harry-brand-teal); font-size: var(--harry-font-interface); font-weight: 700; }
.harry-top-embed .harry-card-name { margin: 0.18rem 0px 0px; font: 800 var(--harry-font-copy)/1.3 "Space Grotesk", sans-serif; }
.harry-top-embed .harry-score-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; padding: 0.65rem 0.8rem; border: 1px solid var(--harry-border-dotted); border-radius: 12px; background: var(--harry-surface-soft); }
.harry-top-embed .harry-score-lockup { display: flex; align-items: center; gap: 0.55rem; }
.harry-top-embed .harry-mini-donut,
.harry-top-embed .harry-big-donut,
.harry-top-embed .harry-criterion-donut { position: relative; flex-shrink: 0; }
.harry-top-embed .harry-mini-donut { width: 38px; height: 38px; }
.harry-top-embed .harry-mini-donut svg,
.harry-top-embed .harry-big-donut svg,
.harry-top-embed .harry-criterion-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.harry-top-embed .harry-donut-bg { fill: none; stroke: rgb(232, 238, 238); }
.harry-top-embed .harry-donut-fill { fill: none; stroke: var(--harry-score-positive); stroke-linecap: round; }
.harry-top-embed .harry-mini-donut circle { stroke-width: 4; }
.harry-top-embed .harry-score-value { font: 800 var(--harry-font-subtitle) "Space Grotesk", sans-serif; }
.harry-top-embed .harry-score-denom { display: block; color: var(--harry-text-muted); font-size: var(--harry-font-meta); font-weight: 700; text-transform: uppercase; }
.harry-top-embed .harry-score-label { color: var(--harry-brand-teal); font: 800 var(--harry-font-meta) "Space Grotesk", sans-serif; }
.harry-top-embed .harry-offers { display: flex; flex-direction: column; gap: 0.45rem; }
.harry-top-embed .harry-offer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 44px; padding: 0.48rem 0.6rem 0.48rem 0.7rem; border: 1px solid var(--harry-border-dotted); border-radius: 10px; }
.harry-top-embed .harry-offer.harry-highlight { border: 1.5px solid var(--harry-brand-teal); background: rgb(243, 248, 247); }
.harry-top-embed .harry-merchant { font-size: var(--harry-font-interface); font-weight: 800; }
.harry-top-embed .harry-promo { display: block; font-size: var(--harry-font-meta); font-weight: 700; }
.harry-top-embed .harry-code { padding: 0.1rem 0.3rem; border-radius: 4px; background: var(--harry-text-main); color: rgb(255, 255, 255); font-weight: 800; }
.harry-top-embed .harry-promo-help { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 0.2rem; padding: 0px; border: 1px solid rgb(191, 200, 201); border-radius: 50%; background: rgb(255, 255, 255); color: var(--harry-text-main); font-size: var(--harry-font-meta); font-weight: 900; cursor: help; vertical-align: middle; }
.harry-top-embed .harry-promo-tooltip { position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20; width: 205px; padding: 0.55rem 0.65rem; border-radius: 8px; background: var(--harry-text-main); color: rgb(255, 255, 255); font-size: var(--harry-font-meta); font-weight: 500; line-height: 1.35; text-align: left; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 4px); transition: 0.18s; }
.harry-top-embed .harry-promo-help:hover .harry-promo-tooltip,
.harry-top-embed .harry-promo-help:focus .harry-promo-tooltip,
.harry-top-embed .harry-promo-help.harry-active .harry-promo-tooltip { opacity: 1; visibility: visible; transform: translate(-50%, 0px); }
.harry-top-embed .harry-offer-btn { flex-shrink: 0; padding: 0.42rem 0.62rem; border-radius: 7px; background: var(--harry-text-main); color: rgb(255, 255, 255); font-size: var(--harry-font-meta); font-weight: 800; text-decoration: none; }
.harry-top-embed .harry-offer-btn.harry-promo-btn { background: var(--harry-accent-yellow); color: var(--harry-text-main); }
.harry-top-embed .harry-top-product-link { display: block; color: inherit; text-decoration: none; border-radius: 14px; cursor: inherit; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; }
.harry-top-embed .harry-top-product-link * { -webkit-user-drag: none; }
.harry-top-embed .harry-top-product-link:focus-visible { outline: 3px solid var(--harry-brand-teal, #0D9488); outline-offset: 3px; }
.harry-top-embed .harry-product-image { position: relative; }
.harry-top-embed .harry-top-card.harry-has-open-promo { z-index: 50; }
.harry-top-embed .harry-top-card:hover,
.harry-top-embed .harry-top-card:focus-within { z-index: 40; }
.harry-top-embed .harry-card-identity { min-height: 58px; margin-bottom: 0px; padding: 0.55rem 0.45rem 0.15rem; }
.harry-top-embed .harry-score-row { justify-content: center; gap: 0.85rem; margin-bottom: 0.55rem; padding: 0.2rem 0.4rem 0.65rem; border: 0px; background: transparent; }
.harry-top-embed .harry-mini-donut { width: 44px; height: 44px; }
.harry-top-embed .harry-score-lockup { gap: 0.6rem; }
.harry-top-embed .harry-score-value { font-size: var(--harry-font-heading-sm); }
.harry-top-embed .harry-score-denom { display: inline; margin-left: 0.08rem; font-size: var(--harry-font-meta); text-transform: none; }
.harry-top-embed .harry-promo { font-size: var(--harry-font-interface); line-height: 1.45; white-space: nowrap; }
.harry-top-embed .harry-code { display: inline-block; padding: 0.13rem 0.36rem; font-size: var(--harry-font-meta); }
.harry-top-embed .harry-promo-tooltip { white-space: normal; }
.harry-top-embed .harry-offer-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 86px; text-align: center; }
@media (max-width: 520px) {
.harry-top-embed .harry-offer { flex-direction: column; align-items: stretch; gap: 0.65rem; padding: 0.72rem 0.78rem; }
.harry-top-embed .harry-offer > div { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.45rem; min-width: 0px; }
.harry-top-embed .harry-offer > div > .harry-merchant { flex-shrink: 0; white-space: nowrap; }
.harry-top-embed .harry-promo { display: inline-flex; align-items: center; gap: 0.18rem; }
.harry-top-embed .harry-promo-tooltip { left: calc(50% - 16px); }
.harry-top-embed .harry-offer-btn { width: 100%; min-height: 34px; }
}

.harry-top-embed {   --harry-text-main: #2D3032;
  --harry-text-muted: #6D7375;
  --harry-border-dotted: #DDE4E5;
  --harry-brand-teal: #007C78;
  --harry-accent-yellow: #F4CC58;
  --harry-surface-muted: #E7ECEC;
  --harry-score-positive: #259A68;
  --harry-score-caution: #D6A83A;
  --harry-score-alert: #D9564A;
  --harry-surface-soft: #FAFCFC;
  --harry-white: #FFFFFF;
  /* Échelle typographique globale — desktop */
  --harry-font-meta: 0.75rem;
  --harry-font-interface: 0.8125rem;
  --harry-font-description: 0.875rem;
  --harry-font-copy: 1rem;
  --harry-font-subtitle: 1.125rem;
  --harry-font-heading-sm: 1.25rem;
  --harry-font-heading-md: 1.75rem;
 margin:2rem 0; min-width:0; max-width:100%; color:var(--harry-text-main); font-family:inherit; line-height:1.5; }
.harry-top-embed *, .harry-top-embed *::before, .harry-top-embed *::after { box-sizing:border-box; }
.harry-top-embed .harry-top-products-heading { margin:0 0 1.25rem; color:var(--harry-text-main); font:800 clamp(1.25rem,2.2vw,1.75rem)/1.25 "Space Grotesk",sans-serif; letter-spacing:-.02em; }
.harry-top-embed .harry-top-products-heading::after { content:""; display:block; width:32px; height:4px; margin-top:.65rem; border-radius:999px; background:var(--harry-brand-teal); box-shadow:none; }
.harry-top-embed .harry-top-card { margin:0; min-width:0; }
.harry-top-embed .harry-top-product-link { text-decoration:none; box-shadow:none; }
.harry-top-embed .harry-product-image { position:relative; }
.harry-top-embed .harry-product-image img { display:block; box-sizing:border-box; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; padding:8px; }
.harry-top-embed .harry-card-name { margin:.18rem 0 0; color:var(--harry-text-main); font:800 var(--harry-font-copy)/1.3 "Space Grotesk",sans-serif; }
.harry-top-embed .harry-animal-type-tag { position:absolute; left:.65rem; top:.65rem; padding:.22rem .55rem; border-radius:6px; background:var(--harry-surface-soft); color:var(--harry-brand-teal); font-size:.75rem; font-weight:700; }
.harry-top-embed .harry-offers { margin-top:auto; }
.harry-top-embed .harry-offer > div { min-width:0; overflow-wrap:anywhere; }
.harry-top-embed .harry-offer-btn { text-decoration:none; }
.harry-top-embed .harry-top-embed-footer { margin:1rem 0 0; padding:0; text-align:center; }
.harry-top-embed .harry-top-embed-link { color:var(--harry-brand-teal); font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.harry-top-embed a:focus-visible, .harry-top-embed .harry-top-carousel-track:focus-visible { outline:2px solid var(--harry-brand-teal); outline-offset:4px; }
@media(max-width:767px) { .harry-top-embed .harry-top-card { flex-basis:min(80vw,272px); } .harry-top-embed .harry-top-carousel-track { gap:1rem; padding-right:2rem; } .harry-top-embed .harry-carousel-shell::after { width:24px; } }
@media(prefers-reduced-motion:reduce) { .harry-top-embed .harry-top-card { transition:none; } .harry-top-embed .harry-top-card:hover { transform:none; } .harry-top-embed .harry-top-carousel-track { scroll-behavior:auto; } }
