/* Direction graphique publique : composants partagés, sans changement des données. */
body[data-an-design="175"]{--an-ink:#08283c;--an-red:#cf291f;--an-red-hover:#b82018;--an-border:#d4e1e7;--an-soft:#f2f7f8;--an-radius:16px;--an-gap:24px}
body[data-an-design="175"] main :is(.button,button[data-add],button[data-ink-add]){box-sizing:border-box;min-height:46px;max-width:100%;height:auto!important;border-radius:10px!important;font-family:inherit;font-size:14px!important;font-weight:700;line-height:1.4;white-space:normal!important;overflow-wrap:anywhere;text-align:center;text-decoration:none}
body[data-an-design="175"] main :is(.button:not(.outline):not(.navy),button[data-add],button[data-ink-add],.an-primary){background:var(--an-red)!important;border-color:var(--an-red)!important;color:#fff!important}
body[data-an-design="175"] main .button.outline:not([data-add]){background:#fff!important;color:var(--an-ink)!important;border:1px solid #a9c0ca!important}
body[data-an-design="175"] main :is(a,button,input,select,summary):focus-visible{outline:3px solid #007b9e!important;outline-offset:4px}
body[data-an-design="175"] main :is(.product-card,.v52-product-card,.machine-card,.catalogue-universe,.library-card){border-radius:var(--an-radius);min-width:0}
body[data-an-design="175"] main :is(input,select,textarea){font-size:16px;box-sizing:border-box;max-width:100%}
body[data-an-design="175"] main :is(summary,button,a.button){touch-action:manipulation}
body[data-an-design="175"] main.an-sheet{padding-bottom:100px;color:var(--an-ink)}
body[data-an-design="175"] .an-sheet [id]{scroll-margin-top:120px}
body[data-an-design="175"] .an-sheet>.an-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important;gap:40px;align-items:start;max-width:1200px;width:calc(100% - 48px);margin:32px auto 24px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;min-height:0}
body[data-an-design="175"] .an-sheet>.an-hero.an-hero-text{grid-template-columns:minmax(0,1fr)!important;max-width:1000px}
body[data-an-design="175"] .an-hero>.an-media{grid-column:1;grid-row:1;margin:0!important;padding:24px!important;background:#fff!important;color:var(--an-ink);border:1px solid var(--an-border);border-radius:20px;min-width:0;min-height:0!important;height:auto!important;box-sizing:border-box;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;overflow:hidden}
body[data-an-design="175"] .an-hero>.an-media img{position:static!important;inset:auto!important;display:block;width:100%!important;height:auto!important;max-height:360px!important;object-fit:contain!important;order:0}
body[data-an-design="175"] .an-hero>.an-media :is(strong,small,span){position:static!important;inset:auto!important;max-width:100%;overflow-wrap:anywhere}
body[data-an-design="175"] .an-hero>.an-media strong{font-size:clamp(24px,3vw,38px);line-height:1.2}
body[data-an-design="175"] .an-hero>.an-copy{grid-column:2;grid-row:1;min-width:0;max-width:100%;padding:0;background:transparent;border:0}
body[data-an-design="175"] .an-hero-text>.an-copy{grid-column:1}
body[data-an-design="175"] .an-sheet h1{margin:10px 0 18px;font-size:clamp(29px,3.5vw,46px)!important;line-height:1.13!important;letter-spacing:-.025em;overflow-wrap:anywhere;max-width:100%;color:var(--an-ink)}
body[data-an-design="175"] .an-sheet h2{font-size:clamp(23px,2.4vw,32px);line-height:1.22;letter-spacing:-.015em}
body[data-an-design="175"] .an-copy :is(p,.lead){font-size:16px;line-height:1.65}
body[data-an-design="175"] .an-copy :is(.v118-signals,.overline,.tg-kicker){font-size:12px}
body[data-an-design="175"] .an-copy>strong{display:block;font-size:26px;margin:14px 0}
body[data-an-design="175"] .an-copy .an-facts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0!important;padding:0!important;background:transparent!important;border:0!important}
body[data-an-design="175"] .an-copy .an-facts>div{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start;gap:8px;min-width:0;padding:16px!important;margin:0;background:#fff;border:1px solid var(--an-border);border-radius:12px}
body[data-an-design="175"] .an-copy .an-facts dt{font-size:12px!important;line-height:1.4;color:#526b79;font-weight:500;margin:0}
body[data-an-design="175"] .an-copy .an-facts dd{font-size:18px!important;line-height:1.4!important;font-weight:700;margin:0!important;max-width:100%;overflow-wrap:anywhere;text-align:left!important}
body[data-an-design="175"] .an-copy .an-facts>div:last-child:nth-child(odd){grid-column:1/-1}
body[data-an-design="175"] .an-copy>.tg-card{border:0;padding:0;background:transparent;box-shadow:none}
body[data-an-design="175"] .an-copy :is(.detail-quantity,.blade-selection,.premium-actions){display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:20px 0}
body[data-an-design="175"] .an-copy :is(.detail-quantity,.blade-selection) input{width:88px;min-height:46px;margin:0;border:1px solid #a9c0ca;border-radius:9px;padding:10px;font-size:16px}
body[data-an-design="175"] .an-copy>.button,body[data-an-design="175"] .an-copy .an-primary{display:flex;align-items:center;justify-content:center;min-height:48px;margin-block:18px 10px;padding:12px 20px}
body[data-an-design="175"] .an-copy .an-help{display:inline-flex;min-height:44px;align-items:center;font-size:14px!important;line-height:1.4!important;font-weight:600;color:var(--an-ink)!important;text-decoration:underline}
body[data-an-design="175"] :is(.an-conditions,.an-more){border:1px solid var(--an-border);border-radius:12px;background:#fff;padding:0;margin-block:16px}
body[data-an-design="175"] :is(.an-conditions,.an-more)>summary{padding:16px 18px;min-height:48px;font-size:14px;font-weight:650;line-height:1.5;cursor:pointer;color:var(--an-ink)}
body[data-an-design="175"] :is(.an-conditions,.an-more)>:not(summary){margin:12px 18px;max-width:calc(100% - 36px)}
body[data-an-design="175"] .an-conditions .note{font-size:13px;line-height:1.65}
body[data-an-design="175"] .an-more>section{padding-block:16px!important;width:auto!important}
body[data-an-design="175"] .an-sheet>.an-more{max-width:1200px;width:calc(100% - 48px);margin:24px auto}
body[data-an-design="175"] .an-sheet-nav{position:static!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:calc(100% - 48px);max-width:1200px;margin:24px auto 36px;padding:8px;background:var(--an-soft);border:1px solid var(--an-border);border-radius:14px;overflow:visible!important;box-sizing:border-box}
body[data-an-design="175"] .an-sheet-nav a{display:flex;align-items:center;justify-content:center;padding:12px 8px;min-height:46px;min-width:0;white-space:normal;font-size:14px;line-height:1.35;font-weight:600;background:#fff;border:1px solid transparent;border-radius:9px;text-decoration:none;color:var(--an-ink);text-align:center}
body[data-an-design="175"] .an-sheet-nav a:is(:hover,[aria-current]){border-color:#8faebc;background:#e8f2f5}
body[data-an-design="175"] .an-sheet .product-action-v124{display:none!important}
body[data-an-design="175"] .an-sheet :is(.machine-ink-list,.ink-picker .ink-grid){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice){display:grid!important;grid-template-columns:30px minmax(0,1fr);align-content:start;align-items:start;gap:12px;padding:16px!important;margin:0;border:1px solid var(--an-border);border-radius:14px;background:#fff;min-width:0;min-height:0!important;height:auto!important}
body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice)[hidden]{display:none!important}
body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice)>.ink-dot{width:26px;height:26px;min-width:26px;margin:3px 0}
body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice)>div{min-width:0;margin:0}
body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice) :is(strong,a){font-size:15px!important;line-height:1.4!important;overflow-wrap:anywhere}
body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice) small{font-size:12px!important;line-height:1.4}
body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice)>label{grid-column:1/-1;display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0!important;font-size:12px;min-width:0}
body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice) input{min-height:44px;width:74px;font-size:16px!important;margin:0!important;padding:8px;box-sizing:border-box}
body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice)>button{grid-column:1/-1;width:100%;min-height:44px;padding:10px!important;margin:0;font-size:14px!important}
body[data-an-design="175"] .an-sheet .ink-configuration-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
body[data-an-design="175"] .an-sheet .ink-configuration-card{display:grid!important;grid-template-columns:28px minmax(0,1fr);gap:4px 10px;min-height:0!important;padding:14px!important;align-items:center;border-radius:12px}
body[data-an-design="175"] .an-sheet .ink-configuration-card .ink-dot{grid-row:1/3;width:24px;height:24px;margin:0}
body[data-an-design="175"] .an-sheet .ink-configuration-card strong{font-size:15px!important;line-height:1.35}.an-sheet .ink-configuration-card small{font-size:12px!important}
body[data-an-design="175"] .assistant-launch{width:46px!important;height:46px!important;min-width:46px!important;bottom:max(16px,env(safe-area-inset-bottom))!important;right:14px!important}
@media(max-width:760px){
 body[data-an-design="175"] .an-sheet>.an-hero{grid-template-columns:minmax(0,1fr)!important;gap:24px;width:calc(100% - 32px);margin-top:22px}
 body[data-an-design="175"] .an-hero>.an-copy{grid-column:1;grid-row:1}
 body[data-an-design="175"] .an-hero>.an-media{grid-column:1;grid-row:2;padding:20px!important;max-width:100%;width:100%;max-height:none}
 body[data-an-design="175"] .an-hero>.an-media img{max-height:270px!important}
 body[data-an-design="175"] .an-sheet h1{font-size:clamp(28px,7.4vw,36px)!important;line-height:1.15!important}
 body[data-an-design="175"] .an-copy .an-facts>div{padding:14px!important}
 body[data-an-design="175"] .an-copy .an-facts dd{font-size:18px!important}
 body[data-an-design="175"] .an-copy .an-help{font-size:13px!important}
 body[data-an-design="175"] .an-sheet-nav{grid-template-columns:repeat(2,minmax(0,1fr));width:calc(100% - 32px);margin:24px auto;gap:8px}
 body[data-an-design="175"] .an-sheet-nav a{font-size:13px;padding:10px 6px;min-height:44px}
 body[data-an-design="175"] .an-sheet :is(.machine-ink-list,.ink-picker .ink-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice){padding:12px!important;grid-template-columns:24px minmax(0,1fr);gap:10px}
 body[data-an-design="175"] .an-sheet :is(.machine-ink-row,.ink-picker .ink-choice)>.ink-dot{width:22px;height:22px;min-width:22px}
 body[data-an-design="175"] .an-sheet>.an-more{width:calc(100% - 32px)}
}
@media(prefers-reduced-motion:no-preference){
 body[data-an-design="175"] main :is(.button,button[data-add],summary,.an-sheet-nav a){transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease,box-shadow 180ms ease!important}
 body[data-an-design="175"] main :is(.product-card,.v52-product-card,.catalogue-universe){transition:box-shadow 220ms ease,border-color 220ms ease!important}
}
@media(prefers-reduced-motion:reduce){
 body[data-an-design="175"]{scroll-behavior:auto!important}
 body[data-an-design="175"] main,body[data-an-design="175"] main *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
body[data-an-design="175"] .an-sheet>.product-technical-details{width:calc(100% - 48px);max-width:1200px;margin:24px auto;border:1px solid var(--an-border);border-radius:14px;padding:0;background:#fff}
body[data-an-design="175"] .an-sheet>.product-technical-details>summary{padding:18px;font-size:16px;line-height:1.5;min-height:48px;cursor:pointer}
@media(max-width:760px){body[data-an-design="175"] .an-sheet>.product-technical-details{width:calc(100% - 32px)}}
body[data-an-design="175"] .an-hero>.an-copy{text-align:left!important}
@media(prefers-reduced-motion:reduce){body[data-an-design="175"] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
body[data-an-design="175"] .an-hero>.an-media{font-family:inherit}
body[data-an-design="175"] .an-copy>.an-lifecycle{width:100%!important;max-width:none;margin:0 0 16px!important;padding:10px 12px!important;box-sizing:border-box;border:1px solid var(--an-border);border-radius:10px;background:var(--an-soft);font-size:12px}
body[data-an-design="175"] .an-copy>.an-lifecycle :is(strong,p){font-size:12px!important;line-height:1.5!important;margin:0!important;padding:0}
body[data-an-design="175"] .an-copy .v118-signals{display:flex;gap:6px;flex-wrap:wrap}
body[data-an-design="175"] .an-copy .v118-signals span{display:inline-flex;align-items:center;border:1px solid var(--an-border);border-radius:99px;padding:4px 8px;background:var(--an-soft);font-size:11px;line-height:1.4}
body[data-an-design="175"] .an-sheet>:is(.breadcrumb,.tg-breadcrumb,nav[aria-label="Fil d’Ariane"]){max-width:1200px;width:calc(100% - 48px);margin:24px auto}
@media(min-width:761px){body[data-an-design="175"] .an-sheet-nav[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-an-design="175"] .an-sheet-nav[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body[data-an-design="175"] .an-sheet-nav a:last-child:nth-child(odd){grid-column:1/-1}body[data-an-design="175"] .an-sheet>:is(.breadcrumb,.tg-breadcrumb,nav[aria-label="Fil d’Ariane"]){width:calc(100% - 32px)}}
/* The assistant script writes a text label; keep a compact, accessible help control. */
body[data-an-design="175"] #assistant-launch{width:46px!important;min-width:46px!important;max-width:46px!important;height:46px!important;min-height:46px!important;padding:0!important;border-radius:50%!important;right:14px!important;bottom:max(16px,env(safe-area-inset-bottom))!important;font-size:0!important;display:grid;place-items:center;overflow:hidden}
body[data-an-design="175"] #assistant-launch>*{display:none!important}
body[data-an-design="175"] #assistant-launch::before{display:none!important}
body[data-an-design="175"] #assistant-launch::after{content:"?";font:700 22px/1 sans-serif;color:#fff}

/* Catalogue mobile: one breakpoint, a bounded scroll container, stable cards. */
body[data-an-design="175"] #v48-catalogue .v48-layout,
body[data-an-design="175"] #v48-catalogue .v48-layout>div{min-width:0}
@media(max-width:1000px){
 body[data-an-design="175"] main:has(#v48-catalogue.catalogue-filters-open){position:relative;z-index:6000}
 body[data-an-design="175"] #v48-catalogue .v48-layout{grid-template-columns:minmax(0,1fr)!important}
 body[data-an-design="175"] #v48-catalogue .v48-filters.open{
  position:fixed!important;inset:0 0 auto auto!important;top:0!important;
  width:min(380px,100%)!important;max-width:100%;height:100vh;height:100dvh;
  max-height:100dvh;min-height:0;box-sizing:border-box;align-self:auto;
  overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;touch-action:pan-y;
  padding:20px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius:0;z-index:6000;box-shadow:-12px 0 40px #08283c30;
 }
 body[data-an-design="175"] #v48-catalogue .v48-filters .catalogue-apply{position:static;box-shadow:none;margin-top:20px}
 body[data-an-design="175"] #v48-catalogue .v48-filters :is(input,select){box-sizing:border-box;max-width:100%}
}
@media(max-width:700px){
 body[data-an-design="175"] #v48-catalogue[data-view=list] #v48-results>.v52-product-card{
  display:flex!important;flex-direction:column;gap:8px!important;align-items:stretch;
 }
 body[data-an-design="175"] #v48-catalogue[data-view=list] #v48-results>.v52-product-card>img{
  width:100%;height:140px!important;max-height:140px;object-fit:contain;align-self:center;
 }
 body[data-an-design="175"] #v48-catalogue .v52-product-card>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
 body[data-an-design="175"] #v48-catalogue .v52-card-actions{margin-top:auto}
}

/* Reference quantities use the existing selection handler directly from cards. */
body[data-an-design="175"] .v52-card-actions>.an-card-add{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;min-width:0;max-width:100%;flex:1 1 240px;grid-column:1/-1}
body[data-an-design="175"] .an-card-add>.an-card-quantity{display:grid;gap:4px;flex:0 0 84px;min-width:0;margin:0;text-align:left;font-size:12px;line-height:1.4}
body[data-an-design="175"] .an-card-quantity>input{box-sizing:border-box;width:100%;max-width:100%;min-height:46px;margin:0;padding:10px;border:1px solid #a9c0ca;border-radius:9px;background:#fff;color:var(--an-ink);font-size:16px;line-height:1.3}
body[data-an-design="175"] .an-card-add>button[data-add]{flex:1 1 140px;min-width:0}
body[data-an-design="175"] .v52-card-actions:has(>.an-card-add)>:is(a,button[data-lead-kind]){grid-column:1/-1}
@media(max-width:700px){
 body[data-an-design="175"] .v52-card-actions>.an-card-add{grid-column:1/-1;width:100%}
 body[data-an-design="175"] .v52-card-actions:has(>.an-card-add)>a:first-child{grid-column:1/-1}
}
