/*
  Product template v2 — foundation
  Source pilote : Segway Navimow i206 AWD — règles désormais activées par data-product-template="v2"
  Objectif : centraliser les styles validés au lieu de les laisser en <style> inline.
*/

/* i206-editorial-layout-clean-css */
body[data-product-template="v2"] main#content {
  padding-top: 0 !important;
}

body[data-product-template="v2"] .wrap.product-analysis {
  width: min(100% - 56px, 1160px) !important;
  max-width: 1160px !important;
  margin-inline: auto !important;
  padding: 1rem 0 3rem !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-product-template="v2"] .breadcrumb {
  margin: .75rem 0 1rem !important;
}

body[data-product-template="v2"] .art-layout {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

body[data-product-template="v2"] .art-layout > div {
  max-width: none !important;
}

body[data-product-template="v2"] article.product-analysis {
  max-width: 980px !important;
  margin: 0 !important;
  padding: clamp(2rem, 3vw, 3rem) !important;
  border-radius: 30px !important;
  background: #fff !important;
}

body[data-product-template="v2"] article.product-analysis > * {
  max-width: 840px !important;
}

body[data-product-template="v2"] h1 {
  font-size: clamp(2.4rem, 4vw, 4.3rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  max-width: 850px !important;
  margin: .35rem 0 1rem !important;
}

body[data-product-template="v2"] .proof-taxonomy-note {
  margin: .7rem 0 .75rem !important;
}

body[data-product-template="v2"] .lbr-review-meta,
body[data-product-template="v2"] .lbr-author-chip {
  margin: .65rem 0 !important;
}

body[data-product-template="v2"] .lbr-author-chip img {
  width: 42px !important;
  height: 42px !important;
}

body[data-product-template="v2"] article.product-analysis > p {
  margin-top: .65rem !important;
}

body[data-product-template="v2"] article.product-analysis > .lead {
  font-size: 1.08rem !important;
  line-height: 1.58 !important;
}

body[data-product-template="v2"] #verdict-en-20-secondes,
body[data-product-template="v2"] #pour-quel-jardin {
  max-width: 840px !important;
  margin: 1.35rem 0 0 !important;
  padding: 1.35rem 1.55rem !important;
  border-radius: 22px !important;
}

body[data-product-template="v2"] #verdict-en-20-secondes h2,
body[data-product-template="v2"] #pour-quel-jardin h2 {
  font-size: clamp(1.75rem, 2.2vw, 2.25rem) !important;
  line-height: 1.08 !important;
}


/* i206-hierarchy-polish-css */
body[data-product-template="v2"] .i206-proof-note{
  margin-top:.55rem !important;
  font-size:.94rem !important;
  line-height:1.55 !important;
  color:#626862 !important;
  max-width:760px !important;
}

body[data-product-template="v2"] .i206-proof-note strong{
  font-weight:600 !important;
}

body[data-product-template="v2"] .lbr-review-meta{
  margin:.45rem 0 .45rem !important;
  font-size:.95rem !important;
  color:#626862 !important;
}

body[data-product-template="v2"] .lbr-review-meta strong{
  font-weight:600 !important;
}

body[data-product-template="v2"] .i206-author-line{
  margin-top:.35rem !important;
  font-size:.94rem !important;
  color:#666d66 !important;
}

body[data-product-template="v2"] .i206-author-line a{
  color:inherit !important;
  text-decoration:none !important;
}

body[data-product-template="v2"] .i206-author-line a:hover{
  text-decoration:underline !important;
}

body[data-product-template="v2"] .i206-position{
  margin-top:1.25rem !important;
  max-width:780px !important;
  font-size:1.07rem !important;
  line-height:1.72 !important;
}

body[data-product-template="v2"] article.product-analysis > .lead{
  margin-top:1rem !important;
  max-width:780px !important;
  font-size:1.16rem !important;
  line-height:1.74 !important;
  font-weight:500 !important;
}


/* i206-lead-spacing-final-css */
body[data-product-template="v2"] .i206-position + .lead {
  margin-top: 1.25rem !important;
}


/* i206-opening-lead-spacing-css */
body[data-product-template="v2"] .i206-position {
  margin-bottom: 1.35rem !important;
}

body[data-product-template="v2"] .product-v2-opening-lead {
  margin-top: 1.35rem !important;
  padding-top: .15rem !important;
  font-size: 1.12rem !important;
  line-height: 1.72 !important;
}


/* i206-visual-flow-cleanup-css */
/* Fiche pilote i206 : alléger l'ancien empilement prix / photos / CTA */

body[data-product-template="v2"] .lbr-manual-price-card--duplicate-photo-i206 {
  display: none !important;
}

body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 {
  margin-top: 1.1rem !important;
  padding-top: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .55rem !important;
  align-items: center !important;
}

body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 .lbr-product-card-photo {
  display: none !important;
}

body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 .btn {
  min-height: auto !important;
  padding: .72rem 1rem !important;
  border-radius: 999px !important;
  font-size: .95rem !important;
}

body[data-product-template="v2"] section[aria-label^="Carte d'usage indicative"] {
  display: none !important;
}

body[data-product-template="v2"] #fiche-identite-visuelle-segway_navimow_i206_awd {
  display: none !important;
}

body[data-product-template="v2"] .purchase-block[data-price-target-card="true"] {
  margin-top: 1.6rem !important;
  margin-bottom: 1rem !important;
}

body[data-product-template="v2"] .purchase-block[data-price-target-card="true"] p {
  margin-bottom: 0 !important;
}

body[data-product-template="v2"] .product-value-card {
  margin-top: 1rem !important;
}

body[data-product-template="v2"] .product-value-card .lbr-manual-price-card {
  margin-top: .85rem !important;
}


/* i206-commercial-flow-final-css */
/* Fiche pilote i206 : rendre la zone prix / CTA plus média, moins e-commerce */

body[data-product-template="v2"] .product-value-card {
  display: none !important;
}

body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 {
  margin: 1.35rem 0 2.4rem !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .7rem !important;
  align-items: center !important;
}

body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 .btn {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: .72rem 1.05rem !important;
  border-radius: 999px !important;
  font-size: .95rem !important;
  box-shadow: none !important;
}

body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 .btn-p {
  min-width: 170px !important;
}

/* On garde le suivi prix + comparaison éditoriale, on retire les liens non exacts du flux haut */
body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 a[data-secondary-cta="technology_variant"],
body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 a[data-secondary-cta="merchant_search"],
body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 a[data-aff-btn="technology_variant"],
body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 a[data-aff-btn="merchant_search"] {
  display: none !important;
}

/* Les notes concernaient les liens masqués : on évite l'effet administratif */
body[data-product-template="v2"] .affiliate-page-note--search-fallback,
body[data-product-template="v2"] .affiliate-page-note[data-commercial-alternative-note="true"] {
  display: none !important;
}


/* i206-hide-duplicate-commercial-card-css */
body[data-product-template="v2"] .product-v2-duplicate-commercial-card {
  display: none !important;
}


/* i206-mobile-flow-fix-css */
@media (max-width: 540px) {
  body[data-product-template="v2"] h1 {
    font-size: clamp(2.25rem, 12vw, 2.9rem) !important;
    line-height: .94 !important;
    letter-spacing: -.045em !important;
  }

  body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .7rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-product-template="v2"] .lbr-hero-cta-row--compact-i206 .btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.25 !important;
  }

  body[data-product-template="v2"] .lbr-product-card-photo__caption {
    font-size: .9rem !important;
    line-height: 1.45 !important;
  }
}


/* i206-section-nav-css */
body[data-product-template="v2"] .product-v2-anchor-target {
  display: block !important;
  position: relative !important;
  top: -0.75rem !important;
  height: 0 !important;
  overflow: hidden !important;
}

body[data-product-template="v2"] .product-v2-section-nav {
  max-width: 760px !important;
  margin: 1rem auto 1.25rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .55rem !important;
  padding: .45rem .2rem .55rem !important;
}

body[data-product-template="v2"] .product-v2-section-nav a {
  flex: 0 0 auto !important;
  padding: .58rem .82rem !important;
  border: 1px solid rgba(20, 64, 12, .18) !important;
  border-radius: 999px !important;
  background: rgba(246, 248, 242, .96) !important;
  color: #17440f !important;
  font-weight: 700 !important;
  font-size: .92rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

@media (max-width: 540px) {
  body[data-product-template="v2"] .product-v2-section-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .45rem !important;
    margin: .8rem .35rem 1rem !important;
    padding: .5rem !important;
    background: rgba(250, 247, 239, .94) !important;
    border: 1px solid rgba(20, 64, 12, .12) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 24px rgba(20, 35, 20, .08) !important;
  }

  body[data-product-template="v2"] .product-v2-section-nav a {
    text-align: center !important;
    font-size: .78rem !important;
    padding: .52rem .35rem !important;
  }
}


/* product-v2-shared-header-and-cta */
body[data-product-template="v2"] .product-v2-meta-sep {
  display: inline-block !important;
  margin: 0 .38rem !important;
  color: #7b8276 !important;
  font-weight: 700 !important;
}

body[data-product-template="v2"] .product-v2-position {
  max-width: 760px !important;
  margin: 1.6rem 0 1.2rem !important;
  line-height: 1.68 !important;
}

body[data-product-template="v2"] .product-v2-cta-row {
  margin: 1.25rem 0 .75rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .7rem !important;
  align-items: center !important;
}

body[data-product-template="v2"] .product-v2-cta-row .btn,
body[data-product-template="v2"] .product-v2-cta-row .link-secondary {
  width: auto !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: .72rem 1.05rem !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

@media (max-width: 540px) {
  body[data-product-template="v2"] .product-v2-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body[data-product-template="v2"] .product-v2-cta-row .btn,
  body[data-product-template="v2"] .product-v2-cta-row .link-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
  }
}


/* product-v2-legacy-header-meta-cleanup */
body[data-product-template="v2"] .lbr-review-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .25rem .75rem !important;
  max-width: 760px !important;
  line-height: 1.55 !important;
}

body[data-product-template="v2"] .lbr-review-meta > span + span::before {
  content: "·" !important;
  display: inline-block !important;
  margin-right: .55rem !important;
  color: #7b8276 !important;
  font-weight: 800 !important;
}

body[data-product-template="v2"] .lbr-author-chip {
  max-width: 760px !important;
}

body[data-product-template="v2"] .lbr-author-chip-sep {
  display: inline-block !important;
  margin: 0 .42rem !important;
  color: #7b8276 !important;
  font-weight: 800 !important;
}

body[data-product-template="v2"] .lbr-author-chip span {
  line-height: 1.55 !important;
}

@media (max-width: 540px) {
  body[data-product-template="v2"] .lbr-review-meta {
    gap: .15rem .55rem !important;
  }

  body[data-product-template="v2"] .lbr-author-chip-sep {
    margin: 0 .32rem !important;
  }
}
