@font-face{font-family:Archivo;font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/archivo-400.woff2) format("woff2")}
@font-face{font-family:Archivo;font-weight:700;font-style:normal;font-display:swap;src:url(../fonts/archivo-700.woff2) format("woff2")}
@font-face{font-family:Archivo;font-weight:900;font-style:normal;font-display:swap;src:url(../fonts/archivo-900.woff2) format("woff2")}

:root{
  --ink:#101012;
  --ink-soft:#3A3A3E;
  --grey:#6E6C68;
  --grey-light:#75736F;
  --paper:#FBFAF8;
  --stone:#EAE8E4;
  --stone-2:#DCD9D4;
  --line:#D8D5D0;
  --line-soft:#E6E3DE;
  --rouge:#A81C22;
  --vert:#1F7A4C;
  --pad:clamp(1.1rem,4vw,3rem);
  --max:1200px;
}

*{box-sizing:border-box}

body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:Archivo,system-ui,sans-serif;font-size:16px;line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block}
svg{display:block}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

.nk-skip{position:absolute;left:-9999px}
.nk-skip:focus{left:1rem;top:1rem;z-index:99;background:var(--ink);color:var(--paper);padding:.6rem 1rem}

.wrap{max-width:var(--max);margin-inline:auto;padding-inline:var(--pad)}
.tnum{font-variant-numeric:tabular-nums}

h1,h2{font-weight:900;text-transform:uppercase;letter-spacing:-.055em;line-height:.88;margin:0;text-wrap:balance}
h1{font-size:clamp(2.4rem,6.5vw,5.4rem)}
h2{font-size:clamp(1.8rem,3.6vw,2.9rem)}
h3{font-weight:700;font-size:.95rem;letter-spacing:-.012em;line-height:1.3;margin:0}

.kicker{font-size:.66rem;font-weight:700;letter-spacing:.19em;text-transform:uppercase;color:var(--grey-light);display:block}
.lede{color:var(--grey);font-size:1.04rem;line-height:1.62;max-width:42ch;margin:1.5rem 0 0}
.more{font-size:.76rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;border-bottom:1.5px solid var(--ink);padding-bottom:.2rem}

/* ---------- entete ---------- */
.nk-header{border-bottom:1px solid var(--line-soft);position:relative}
.nk-header-in{max-width:var(--max);margin-inline:auto;padding:1.25rem var(--pad);display:flex;align-items:center;gap:clamp(1rem,3vw,2.5rem)}
.nk-brand{font-weight:900;font-size:1.4rem;letter-spacing:-.06em;text-transform:uppercase}
.nk-nav{display:flex;gap:1.65rem;font-size:.855rem;color:var(--grey);margin-right:auto;flex-wrap:wrap}
.nk-nav a{padding-bottom:.15rem;border-bottom:1.5px solid transparent;transition:color .15s,border-color .15s}
.nk-nav a:hover{color:var(--ink);border-color:var(--ink)}
.nk-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1.65rem}
.nk-tools{display:flex;align-items:center;gap:1.35rem}
.nk-cart{display:inline-flex;align-items:center;gap:.45rem;font-size:.8rem;font-weight:700}
.nk-lang{display:inline-flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;letter-spacing:.06em;padding:.3rem .5rem;border:1px solid var(--stone-2);border-radius:2px;color:var(--ink-soft);transition:border-color .15s,color .15s}
.nk-lang:hover{border-color:var(--ink);color:var(--ink)}
@media(max-width:880px){.nk-nav{display:none}}

/* ---------- hero ---------- */
.nk-hero{padding-block:clamp(2.2rem,5vw,4.5rem) clamp(2rem,4vw,3.5rem)}
.nk-hero-in{display:grid;grid-template-columns:1.12fr .88fr;gap:clamp(1.5rem,4vw,3.5rem);align-items:end}
.nk-hero h1{margin-top:1.1rem}
@media(max-width:900px){.nk-hero-in{grid-template-columns:1fr}}

.nk-shot{aspect-ratio:4/5;position:relative;overflow:hidden;background:linear-gradient(157deg,#2E3036 0%,#111216 55%,#000 100%)}
.nk-shot img,.nk-shot .nk-ph{position:absolute;left:7%;top:50%;transform:translateY(-50%);width:86%}
.nk-shot .glare{position:absolute;inset:0;background:linear-gradient(112deg,transparent 36%,rgba(255,255,255,.15) 45%,transparent 53%);pointer-events:none}
@media(max-width:900px){.nk-shot{aspect-ratio:16/10}}

/* ---------- selecteur ---------- */
.nk-picker{margin-top:2.2rem;display:flex;border:1.5px solid var(--ink);background:#fff;flex-wrap:wrap}
.nk-picker .f{flex:1;min-width:135px;border-right:1.5px solid var(--ink);padding:.85rem 1.1rem}
.nk-picker .f:last-of-type{border-right:0}
.nk-picker label{display:block;font-size:.6rem;font-weight:700;letter-spacing:.17em;text-transform:uppercase;color:var(--grey-light);margin-bottom:.2rem}
.nk-picker select{
  appearance:none;border:0;background:transparent;font-family:inherit;font-size:.98rem;font-weight:700;
  letter-spacing:-.015em;color:var(--ink);width:100%;cursor:pointer;padding:0 1.2rem 0 0;
  background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);
  background-position:calc(100% - 9px) center,calc(100% - 5px) center;background-size:4px 4px,4px 4px;background-repeat:no-repeat;
}
.nk-picker select:disabled{color:var(--grey-light);cursor:not-allowed;opacity:.6}
.nk-picker .go{border:0;background:var(--ink);color:var(--paper);font-family:inherit;font-weight:900;text-transform:uppercase;font-size:.8rem;padding:0 1.8rem;cursor:pointer;transition:background .16s;min-height:56px}
.nk-picker .go:hover{background:#000}
.nk-recent{margin-top:.85rem;display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;font-size:.74rem;color:var(--grey-light)}
.nk-recent .chip{border:1px solid var(--line);font-size:.74rem;font-weight:700;color:var(--grey);padding:.22rem .55rem;transition:.15s}
.nk-recent .chip:hover{border-color:var(--ink);color:var(--ink)}

/* ---------- promesses ---------- */
.nk-promise{border-block:1px solid var(--line-soft)}
.nk-promise-in{max-width:var(--max);margin-inline:auto;padding-inline:var(--pad);display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.nk-promise .p-item{padding:1.5rem 1.4rem 1.5rem 0;border-right:1px solid var(--line-soft)}
.nk-promise .p-item:last-child{border-right:0}
.nk-promise strong{display:block;font-size:.92rem;font-weight:700;letter-spacing:-.01em}
.nk-promise p{margin:.3rem 0 0;font-size:.82rem;color:var(--grey);line-height:1.5;max-width:32ch}
@media(max-width:920px){.nk-promise .p-item{border-right:0;border-bottom:1px solid var(--line-soft)}.nk-promise .p-item:last-child{border-bottom:0}}

/* ---------- sections ---------- */
.nk-block{padding-block:clamp(3rem,6vw,5.5rem)}
.nk-block-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;flex-wrap:wrap;margin-bottom:clamp(1.75rem,3vw,2.5rem)}
.nk-block-head h2{margin-top:.8rem}
.nk-block-head p{margin:.9rem 0 0;color:var(--grey);max-width:50ch;font-size:.97rem}

/* ---------- categories ---------- */
.nk-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:clamp(.75rem,1.5vw,1.25rem)}
.nk-cat .ph{aspect-ratio:1/1;background:var(--stone);display:grid;place-items:center;overflow:hidden;transition:background .18s}
.nk-cat:hover .ph{background:var(--stone-2)}
.nk-cat .ph img,.nk-cat .ph .nk-ph{width:70%;height:auto}
.nk-cat h3{margin-top:.85rem}
.nk-cat .n{font-size:.76rem;color:var(--grey-light);margin-top:.15rem}

/* ---------- grille produits ---------- */
.nk-prods,ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:clamp(1rem,2vw,1.75rem)}
.nk-card .ph{aspect-ratio:1/1;background:var(--stone);position:relative;display:grid;place-items:center;overflow:hidden;transition:background .18s}
.nk-card:hover .ph{background:var(--stone-2)}
.nk-card .ph img,.nk-card .ph .nk-ph{width:78%;height:auto}
.nk-card .flag{position:absolute;top:.7rem;left:.7rem;font-size:.62rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;background:var(--ink);color:var(--paper);padding:.22rem .48rem;z-index:2}
.nk-card .flag.soon{background:var(--stone-2);color:var(--ink-soft)}
.nk-card h3{margin:.9rem 0 .3rem}
.nk-card .fit{font-size:.76rem;color:var(--grey)}
.nk-card .pr{margin-top:.55rem;font-weight:900;font-size:1.12rem;letter-spacing:-.03em;display:flex;align-items:baseline;gap:.55rem;flex-wrap:wrap}
.nk-card .pr del{font-weight:400;font-size:.78rem;color:var(--grey-light)}
.nk-card .pr ins{text-decoration:none}

/* ---------- fil d'ariane ---------- */
.nk-crumb{max-width:var(--max);margin-inline:auto;padding:1.15rem var(--pad);font-size:.76rem;color:var(--grey-light);display:flex;gap:.45rem;flex-wrap:wrap}
.nk-crumb a:hover{color:var(--ink)}
.nk-crumb .cur{color:var(--grey)}

/* ---------- boutique et fiche ---------- */
.nk-shop{padding-block:clamp(1rem,2vw,2rem) clamp(3rem,6vw,5rem)}
.nk-shop .woocommerce-products-header__title,.nk-shop .product_title{font-weight:900;text-transform:uppercase;letter-spacing:-.05em;line-height:.9}
.nk-shop .term-description{color:var(--grey);max-width:60ch;margin-top:1rem}

.woocommerce-page div.product{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.75rem,4vw,3.5rem);align-items:start}
@media(max-width:940px){.woocommerce-page div.product{grid-template-columns:1fr}}
.woocommerce-product-gallery{background:var(--stone)}
.woocommerce-product-gallery img{mix-blend-mode:multiply}
.summary .price{font-weight:900;font-size:2.2rem;letter-spacing:-.045em;display:block;margin:1.2rem 0 0;font-variant-numeric:tabular-nums}
.summary .price del{font-size:.9rem;font-weight:400;color:var(--grey-light);margin-right:.5rem}
.summary .price ins{text-decoration:none}

.nk-fitbox{margin:1.5rem 0;background:var(--stone);padding:1rem 1.15rem;border-left:3px solid var(--grey-light)}
.nk-fitbox.is-ok{border-left-color:var(--vert)}
.nk-fitbox.is-no{border-left-color:var(--rouge)}
.nk-fitbox strong{display:flex;align-items:center;gap:.55rem;font-size:.92rem;font-weight:700}
.nk-fitbox.is-ok strong svg{color:var(--vert);flex:none}
.nk-fitbox.is-no strong svg{color:var(--rouge);flex:none}
.nk-fitbox p{margin:.45rem 0 0;font-size:.84rem;color:var(--ink-soft);line-height:1.5}

.nk-ship{display:flex;gap:.6rem;margin-top:1.2rem;font-size:.85rem;color:var(--grey);line-height:1.5;align-items:flex-start}
.nk-ship b{color:var(--ink);font-weight:700}
.nk-ship svg{color:var(--vert);flex:none;margin-top:.15rem}

.single_add_to_cart_button,.button,button.button,input.button{
  font-family:inherit;font-weight:900;text-transform:uppercase;font-size:.82rem;letter-spacing:.015em;
  border:0;border-radius:0;padding:1rem 1.7rem;cursor:pointer;background:var(--ink);color:var(--paper);transition:background .16s;
}
.single_add_to_cart_button:hover,.button:hover{background:#000;color:var(--paper)}

/* ---------- tableaux compatibilite ---------- */
.nk-fitment{background:var(--stone)}
.nk-fitment-in{max-width:var(--max);margin-inline:auto;padding:clamp(2.5rem,5vw,4.5rem) var(--pad);display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.nk-fitment h2{margin-top:.8rem}
.nk-fitment p{color:var(--ink-soft);margin:1.15rem 0 0;font-size:1rem;max-width:44ch;line-height:1.62}
@media(max-width:880px){.nk-fitment-in{grid-template-columns:1fr}}

.nk-compat{padding-block:clamp(2rem,4vw,3.5rem) clamp(3rem,6vw,5rem)}
.nk-scroll{overflow-x:auto}
.nk-scroll table{min-width:620px}

table.nk-fit{width:100%;border-collapse:collapse;font-size:.86rem;background:var(--paper)}
table.nk-fit th{text-align:left;font-size:.62rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-light);padding:.85rem 1rem;border-bottom:1.5px solid var(--ink)}
table.nk-fit td{padding:.72rem 1rem;border-bottom:1px solid var(--line-soft)}
table.nk-fit tr:last-child td{border-bottom:0}
table.nk-fit td:first-child{font-weight:700}
table.nk-fit .oui{color:var(--vert);font-weight:700}
table.nk-fit .non{color:var(--rouge);font-weight:700}

/* ---------- pied de page ---------- */
.nk-footer{border-top:1px solid var(--line-soft);padding-block:clamp(2.5rem,5vw,4rem) 2rem;margin-top:clamp(2rem,4vw,3rem)}
.nk-foot{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:2rem}
.nk-foot h4,.nk-foot .nk-foot-t{font-size:.64rem;font-weight:700;letter-spacing:.17em;text-transform:uppercase;color:var(--grey-light);margin:0 0 .95rem}
.nk-foot ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}
.nk-foot a{font-size:.86rem;color:var(--grey)}
.nk-foot a:hover{color:var(--ink)}
.nk-foot p{color:var(--grey);font-size:.86rem;margin:.9rem 0 0;max-width:30ch;line-height:1.6}
.nk-foot-bottom{margin-top:2.75rem;padding-top:1.3rem;border-top:1px solid var(--line-soft);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.75rem;color:var(--grey-light)}
.nk-foot-bottom a{color:inherit}
@media(max-width:860px){.nk-foot{grid-template-columns:1fr 1fr}}

.nk-page{padding-block:clamp(2rem,4vw,3.5rem) clamp(3rem,6vw,5rem)}
.nk-page-head h1{margin-bottom:1.5rem}

@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ==========================================================================
 * Fiche produit — on reprend la main sur les styles WooCommerce par defaut.
 * ========================================================================== */

.woocommerce div.product,
body.single-product div.product{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:clamp(1.75rem,4vw,3.5rem);
  align-items:start;
}
@media(max-width:940px){
  .woocommerce div.product,
  body.single-product div.product{grid-template-columns:1fr}
}

/* Le titre de fiche n'est pas un titre d'accueil : on le redescend. */
.woocommerce div.product .product_title{
  font-size:clamp(1.5rem,2.6vw,2.3rem);
  line-height:.98;
  letter-spacing:-.04em;
  margin:0 0 .2rem;
}

.woocommerce div.product div.images{margin:0;background:var(--stone)}
.woocommerce div.product div.images img{mix-blend-mode:multiply}
.woocommerce div.product .woocommerce-product-gallery__wrapper{margin:0}

/* Prix : noir massif, pas le vert WooCommerce. */
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  color:var(--ink);
  font-weight:900;
  font-size:2.1rem;
  letter-spacing:-.045em;
  font-variant-numeric:tabular-nums;
  margin:1.1rem 0 0;
  line-height:1;
}
.woocommerce div.product p.price del{font-size:.9rem;font-weight:400;color:var(--grey-light);margin-right:.5rem}
.woocommerce div.product p.price ins{text-decoration:none}

/* Boutons : le violet par defaut vient des styles globaux, on le neutralise. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce div.product form.cart .button,
.wp-element-button,
.wp-block-button__link{
  background-color:var(--ink);
  color:var(--paper);
  border-radius:0;
  border:0;
  font-family:inherit;
  font-weight:900;
  text-transform:uppercase;
  font-size:.82rem;
  letter-spacing:.015em;
  padding:1rem 1.7rem;
  line-height:1.2;
  transition:background-color .16s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce div.product form.cart .button:hover,
.wp-element-button:hover{background-color:#000;color:var(--paper)}

.woocommerce div.product form.cart{display:flex;gap:.6rem;align-items:stretch;margin:1.5rem 0 0;flex-wrap:wrap}
.woocommerce div.product form.cart .quantity input{
  height:100%;min-height:52px;width:72px;text-align:center;font-family:inherit;font-weight:700;
  border:1.5px solid var(--line);background:#fff;color:var(--ink);
}
.woocommerce div.product form.cart .button{flex:1;min-width:210px}

.product_meta{margin-top:1.5rem;font-size:.8rem;color:var(--grey);display:flex;flex-direction:column;gap:.3rem}
.product_meta a{border-bottom:1px solid var(--line)}

/* Onglets et avis : pleine largeur sous les deux colonnes. */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells,
.woocommerce div.product .nk-compat{grid-column:1 / -1}

.woocommerce div.product .woocommerce-tabs{margin-top:clamp(2rem,4vw,3.5rem);border-top:1.5px solid var(--ink);padding-top:1.5rem}
.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none;margin:0 0 1.5rem;padding:0;display:flex;gap:1.5rem}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  background:transparent;border:0;border-radius:0;margin:0;padding:0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  font-size:.7rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--grey-light);
  padding:0 0 .3rem;border-bottom:1.5px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink);border-color:var(--ink)}
.woocommerce div.product .woocommerce-tabs .panel > h2{
  font-size:1.1rem;font-weight:700;text-transform:none;letter-spacing:-.01em;margin:0 0 1rem;
}
#reviews .comment-form{max-width:60ch}
#reviews input[type="text"],#reviews input[type="email"],#reviews textarea{
  width:100%;border:1.5px solid var(--line);background:#fff;padding:.65rem .8rem;font-family:inherit;font-size:.9rem;
}
#reviews label{display:block;font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--grey);margin:.9rem 0 .3rem}

/* Messages WooCommerce (ajout au panier, erreurs). */
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  background:var(--stone);border:0;border-left:3px solid var(--ink);color:var(--ink);
  padding:1rem 1.15rem;font-size:.9rem;list-style:none;margin:0 0 1.5rem;
}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-message{border-left-color:var(--vert)}
.woocommerce-error{border-left-color:var(--rouge)}

/* Grille catalogue : neutralise les largeurs flottantes de WooCommerce. */
.woocommerce ul.products li.product{width:auto;margin:0;float:none;clear:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0;font-size:.95rem}

.nk-archive-picker{margin-bottom:clamp(1.5rem,3vw,2.5rem)}
.woocommerce-ordering{margin-bottom:1.5rem}
.woocommerce-ordering select{font-family:inherit;border:1.5px solid var(--line);padding:.5rem .7rem;background:#fff}

/* La section compatibilite est rendue hors de div.product : elle se centre seule. */
.nk-compat.wrap{grid-column:auto;max-width:var(--max);margin-inline:auto}
/* Les avis ne doivent pas rester coinces dans la colonne de gauche du grid. */
.woocommerce div.product .woocommerce-tabs{width:100%}
#reviews{max-width:100%}

/* Deja dans un conteneur paddé : on ne rajoute pas le retrait horizontal. */
.nk-shop .nk-compat.wrap,
.nk-shop .wrap{padding-inline:0;max-width:none}
/* Quantite et bouton d'achat sur la meme ligne, meme en colonne etroite. */
.woocommerce div.product form.cart .button{min-width:0;flex:1 1 160px}
.woocommerce div.product form.cart .quantity{flex:0 0 auto}

/* ---------- logo ---------- */
.nk-brand{display:inline-flex;align-items:center;line-height:0}
/* WooCommerce impose `.woocommerce img{height:auto}` : on passe au-dessus en specificite. */
.nk-header a.nk-brand img{height:28px;width:auto}
.nk-footer img.nk-brand-img{height:24px;width:auto}
@media(max-width:520px){.nk-header a.nk-brand img{height:22px}}

/* ---------- pages legales et texte ---------- */
.nk-legal{padding-block:clamp(2rem,4vw,3.5rem) clamp(3rem,6vw,5rem);max-width:860px}
.nk-legal-head{padding-bottom:1.6rem;margin-bottom:2.2rem;border-bottom:1.5px solid var(--ink)}
.nk-legal-head h1{font-size:clamp(1.9rem,4vw,3rem);margin-top:.8rem}
.nk-legal-head .maj{margin-top:.9rem;font-size:.8rem;color:var(--grey-light)}
.nk-legal-head-nu{padding-bottom:1rem;margin-bottom:1.4rem;border-bottom-width:1px}
.nk-legal-head-nu h1{margin-top:0}
.nk-prose{max-width:68ch}
.nk-prose h2{font-size:clamp(1.1rem,2vw,1.4rem);letter-spacing:-.02em;margin:2.6rem 0 .8rem;text-transform:none}
.nk-prose h3{font-size:1rem;margin:1.8rem 0 .5rem}
.nk-prose p{margin:0 0 1rem;color:var(--ink-soft);line-height:1.7}
.nk-prose ul,.nk-prose ol{margin:0 0 1.2rem;padding-left:1.3rem;color:var(--ink-soft);line-height:1.7}
.nk-prose li{margin-bottom:.45rem}
.nk-prose a{text-decoration:underline;text-underline-offset:3px}
.nk-prose strong{font-weight:700;color:var(--ink)}
.nk-prose table{width:100%;border-collapse:collapse;font-size:.9rem;margin:1.2rem 0}
.nk-prose th{text-align:left;font-size:.62rem;letter-spacing:.15em;text-transform:uppercase;color:var(--grey-light);padding:.7rem .8rem .7rem 0;border-bottom:1.5px solid var(--ink)}
.nk-prose td{padding:.65rem .8rem .65rem 0;border-bottom:1px solid var(--line-soft)}
.nk-prose .todo{background:#FFF4D6;border-left:3px solid #B8860B;padding:.9rem 1.1rem;margin:1.2rem 0;font-size:.9rem}
.nk-prose .todo strong{display:block;margin-bottom:.25rem}

/* ---------- les visuels occupent toute leur boite ---------- */
/* Les placeholders vectoriels restent centres et reduits ; les photos remplissent. */
.nk-card .ph img,
.nk-cat .ph img,
.woocommerce ul.products li.product img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.nk-card .ph .nk-ph,
.nk-cat .ph .nk-ph{width:70%;height:auto}

/* Fiche produit : la galerie occupe sa colonne. */
.woocommerce div.product div.images img{width:100%;height:auto;mix-blend-mode:normal}
.woocommerce div.product div.images .flex-control-thumbs li img{aspect-ratio:1/1;object-fit:cover}

/* Hero : la photo remplit le cadre sombre. */
.nk-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:none;left:0}

/* ---------- navigation vehicule (maillage) ---------- */
.nk-children{margin:0 0 clamp(1.5rem,3vw,2.4rem)}
.nk-children-t{font-size:.66rem;font-weight:700;letter-spacing:.19em;text-transform:uppercase;color:var(--grey-light);margin:0 0 .8rem;line-height:1.4}
.nk-children ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:1px;background:var(--line-soft);border:1px solid var(--line-soft)}
.nk-children li{background:var(--paper)}
.nk-children a{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;padding:.7rem .85rem;transition:background .15s}
.nk-children a:hover{background:var(--stone)}
.nk-children .n{font-weight:700;font-size:.88rem;letter-spacing:-.01em}
.nk-children .c{font-size:.72rem;color:var(--grey-light);white-space:nowrap}

.nk-allgen{border-top:1px solid var(--line-soft);margin-top:clamp(2.5rem,5vw,4rem);padding-top:clamp(1.5rem,3vw,2.2rem)}
.nk-allgen-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:clamp(1rem,2vw,1.75rem)}
.nk-allgen-col h3{font-size:.86rem;font-weight:700;margin:0 0 .45rem;letter-spacing:-.01em}
.nk-allgen-col ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem}
.nk-allgen-col li a{font-size:.76rem;color:var(--grey);border:1px solid var(--line-soft);padding:.15rem .45rem;display:inline-block;transition:.15s}
.nk-allgen-col li a:hover{border-color:var(--ink);color:var(--ink)}

/* ---------- intro des pages croisees ---------- */
.nk-intro{max-width:68ch;margin:0 0 clamp(1.5rem,3vw,2.2rem)}
.nk-intro p{margin:0 0 .6rem;color:var(--ink-soft);font-size:.95rem;line-height:1.65}
.nk-intro .nk-intro-note{font-size:.84rem;color:var(--grey);border-left:2px solid var(--line);padding-left:.9rem;margin-top:.9rem}

/* ---------- texte editorial bas d'archive ---------- */
.nk-seo-bas{max-width:68ch;margin:clamp(2rem,4vw,3rem) 0 0;padding-top:clamp(1.2rem,2.5vw,1.8rem);border-top:1px solid var(--line)}
.nk-seo-bas p{margin:0 0 .7rem;color:var(--ink-soft);font-size:.92rem;line-height:1.7}
.nk-seo-bas h2{margin:1.5rem 0 .5rem;font-size:1.05rem;font-weight:700;letter-spacing:-.012em;line-height:1.35;text-transform:none}
.nk-seo-bas a{border-bottom:1px solid var(--line);transition:border-color .15s}
.nk-seo-bas a:hover{border-color:var(--ink)}

/* ==========================================================================
 * Mega-menu
 * ========================================================================== */
.nk-nav{margin-right:auto}
.nk-nav-list{list-style:none;margin:0;padding:0;display:flex;gap:clamp(.9rem,2vw,1.9rem)}
.nk-nav-item{position:static}
.nk-nav-lien{
  display:inline-flex;align-items:center;gap:.35rem;font-size:.855rem;color:var(--grey);
  padding:1.25rem 0;border-bottom:2px solid transparent;transition:color .15s,border-color .15s;
}
.nk-nav-lien:hover,.nk-nav-item:focus-within .nk-nav-lien{color:var(--ink)}
.nk-chev{opacity:.5;transition:transform .18s}

.nk-mega{
  position:absolute;left:0;right:0;top:100%;z-index:60;
  background:var(--paper);border-bottom:1.5px solid var(--ink);border-top:1px solid var(--line-soft);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
  box-shadow:0 18px 40px -28px rgba(16,16,18,.5);
}
.nk-nav-item:hover .nk-mega,
.nk-nav-item:focus-within .nk-mega,
.nk-mega:hover{opacity:1;visibility:visible;transform:translateY(0)}
.nk-nav-item:hover .nk-chev,.nk-nav-item:focus-within .nk-chev{transform:rotate(180deg)}

.nk-mega-in{
  max-width:var(--max);margin-inline:auto;padding:clamp(1.5rem,3vw,2.2rem) var(--pad);
  display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:clamp(1.5rem,3vw,3rem);
}
.nk-mega-col h3,.nk-mega-col .nk-mega-t{
  font-size:.62rem;font-weight:700;letter-spacing:.17em;text-transform:uppercase;
  color:var(--grey-light);margin:0 0 .9rem;
}
.nk-mega-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.1rem}
.nk-mega-col a{display:flex;align-items:baseline;justify-content:space-between;gap:.7rem;padding:.3rem 0;font-size:.86rem;transition:color .15s}
.nk-mega-col a:hover{color:var(--ink)}
.nk-mega-col a span:first-child{font-weight:600}
.nk-mega-col .c{font-size:.72rem;color:var(--grey-light);font-variant-numeric:tabular-nums}

/* Deux colonnes de modeles : sans ecart franc, le compteur de gauche
   se lit comme s'il appartenait au modele de droite. */
.nk-mega-modeles{display:grid!important;grid-template-columns:repeat(2,1fr);gap:.1rem 2.4rem}
.nk-mega-modeles a{border-bottom:1px solid var(--line-soft)}
.nk-mega-modeles li:nth-last-child(-n+2) a{border-bottom:0}
.nk-mega-gens li a{flex-direction:column;align-items:flex-start;gap:0;padding:.28rem 0}
.nk-mega-gens strong{font-weight:700;font-size:.86rem;letter-spacing:-.01em}
.nk-mega-gens .m{font-size:.72rem;color:var(--grey-light)}
.nk-mega-tout{
  display:inline-block;margin-top:1rem;font-size:.72rem;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;border-bottom:1.5px solid var(--ink);padding-bottom:.15rem;
}

@media(max-width:1080px){.nk-mega-in{grid-template-columns:1fr 1fr}.nk-mega-col-wide{grid-column:1 / -1}}
@media(max-width:880px){
  .nk-nav{display:none}
  .nk-nav.is-open{display:block;position:absolute;top:100%;left:0;right:0;background:var(--paper);border-bottom:1.5px solid var(--ink);z-index:60;max-height:78vh;overflow-y:auto}
  .nk-nav.is-open .nk-nav-list{flex-direction:column;gap:0;padding:0 var(--pad) 1.5rem}
  .nk-nav.is-open .nk-nav-lien{width:100%;justify-content:space-between;padding:.95rem 0;border-bottom:1px solid var(--line-soft)}
  .nk-nav.is-open .nk-mega{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;display:none}
  .nk-nav.is-open .nk-nav-item.is-open .nk-mega{display:block}
  .nk-nav.is-open .nk-mega-in{grid-template-columns:1fr;padding:1rem 0 1.4rem;gap:1.4rem}
}
.nk-burger{display:none;background:none;border:0;padding:.4rem;cursor:pointer;color:var(--ink)}
@media(max-width:880px){.nk-burger{display:inline-flex}}
@media(prefers-reduced-motion:reduce){.nk-mega{transition:none}}

/* ---------- fiche produit : specs, reassurance, FAQ ---------- */
.nk-specs{margin:1.8rem 0 0;border-top:1.5px solid var(--ink)}
.nk-spec{display:grid;grid-template-columns:minmax(105px,.36fr) 1fr;gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--line-soft)}
.nk-spec dt{margin:0;font-size:.63rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--grey-light)}
.nk-spec dd{margin:0;font-size:.87rem;color:var(--ink-soft);line-height:1.5}

.nk-reassurance{list-style:none;margin:1.6rem 0 0;padding:0;display:flex;flex-direction:column;gap:.85rem}
.nk-reassurance li{display:flex;gap:.7rem;align-items:flex-start}
.nk-reassurance svg{color:var(--vert);flex:none;margin-top:.15rem}
.nk-reassurance strong{display:block;font-size:.87rem;font-weight:700;letter-spacing:-.005em}
.nk-reassurance span{display:block;font-size:.81rem;color:var(--grey);line-height:1.5;margin-top:.1rem}
.nk-aide{margin:1.2rem 0 0;font-size:.84rem;color:var(--grey);line-height:1.55}
.nk-aide a{font-weight:700;color:var(--ink);border-bottom:1.5px solid var(--ink)}

.nk-faq{grid-column:1 / -1;padding-block:clamp(2rem,4vw,3rem) 0;max-width:none}
.nk-faq h2{font-size:clamp(1.2rem,2.2vw,1.6rem);margin-bottom:1.2rem}
.nk-faq-in{max-width:70ch;border-top:1.5px solid var(--ink)}
.nk-faq details{border-bottom:1px solid var(--line-soft)}
.nk-faq summary{cursor:pointer;padding:.95rem 0;font-size:.92rem;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.nk-faq summary::-webkit-details-marker{display:none}
.nk-faq summary::after{content:"+";font-weight:400;font-size:1.2rem;color:var(--grey-light);transition:transform .18s}
.nk-faq details[open] summary::after{content:"–"}
.nk-faq details p{margin:0 0 1.1rem;font-size:.88rem;color:var(--ink-soft);line-height:1.65;max-width:66ch}

/* ---------- accueil : entrees par marque ---------- */
.nk-marques{display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));gap:1px;background:var(--line-soft);border:1px solid var(--line-soft)}
.nk-marque{background:var(--paper);padding:1.15rem 1.2rem 1.3rem;display:flex;flex-direction:column;gap:.85rem;transition:background .18s}
.nk-marque:hover{background:var(--stone)}
.nk-marque-t{display:flex;align-items:baseline;justify-content:space-between;gap:.8rem}
.nk-marque-t span:first-child{font-weight:900;font-size:1.28rem;letter-spacing:-.04em;text-transform:uppercase}
.nk-marque-t .c{font-size:.74rem;color:var(--grey-light);white-space:nowrap}
.nk-marque-gens{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem}
.nk-marque-gens a{font-size:.76rem;font-weight:700;color:var(--grey);border:1px solid var(--line);padding:.18rem .5rem;display:inline-block;transition:.15s}
.nk-marque-gens a:hover{border-color:var(--ink);color:var(--ink);background:var(--paper)}

/* la FAQ d'accueil reutilise le style de la fiche produit */
.nk-block .nk-faq-in{max-width:72ch;border-top:1.5px solid var(--ink)}
.nk-block .nk-faq-in details{border-bottom:1px solid var(--line-soft)}
.nk-block .nk-faq-in summary{cursor:pointer;padding:.95rem 0;font-size:.92rem;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.nk-block .nk-faq-in summary::-webkit-details-marker{display:none}
.nk-block .nk-faq-in summary::after{content:"+";font-weight:400;font-size:1.2rem;color:var(--grey-light)}
.nk-block .nk-faq-in details[open] summary::after{content:"–"}
.nk-block .nk-faq-in details p{margin:0 0 1.1rem;font-size:.88rem;color:var(--ink-soft);line-height:1.65;max-width:68ch}

/* les icones de categorie respirent, contrairement a une photo qui remplit */
.nk-cat .ph .nk-cat-svg{width:56%;height:auto;object-fit:contain;transition:transform .2s ease}
.nk-cat:hover .ph .nk-cat-svg{transform:scale(1.04)}
@media(prefers-reduced-motion:reduce){.nk-cat:hover .ph .nk-cat-svg{transform:none}}

/* ---------- fond des vignettes produit ----------
 * 41 % des visuels fournisseur sont des packshots sur fond blanc.
 * Un fond de carte blanc les fait disparaitre en tant que rectangle :
 * l'objet flotte. Les photos en situation gardent leur cadre, ce qui
 * distingue lisiblement les deux natures d'image.
 * Le fond pierre reste sur les categories, ou les visuels sont nos SVG.
 */
.nk-card .ph,
.woocommerce ul.products li.product .ph{background:#FFFFFF}
.nk-card:hover .ph{background:#FFFFFF}
.nk-card .ph::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  box-shadow:inset 0 0 0 1px var(--line-soft);
}
.woocommerce div.product div.images{background:#FFFFFF;box-shadow:inset 0 0 0 1px var(--line-soft)}

/* ---------- rappel du vehicule selectionne ---------- */
.nk-plaque{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:46px;height:26px;padding:0 .45rem;
  background:var(--ink);color:var(--paper);
  font-weight:900;font-size:.8rem;letter-spacing:.02em;
  border:2px solid var(--ink);border-radius:3px;
  font-variant-numeric:tabular-nums;flex:none;
}
.nk-myveh{display:flex;align-items:center;gap:.55rem;text-align:left}
.nk-myveh-t{display:flex;flex-direction:column;line-height:1.15}
.nk-myveh-t span{font-size:.58rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--grey-light)}
.nk-myveh-t strong{font-size:.8rem;font-weight:700}
@media(max-width:700px){.nk-myveh-t{display:none}}

.nk-bandeau{
  display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;
  background:var(--stone);padding:.7rem .9rem;margin-bottom:1.4rem;
  border-left:3px solid var(--ink);
}
.nk-bandeau-t{display:flex;flex-direction:column;line-height:1.3;margin-right:auto}
.nk-bandeau-t strong{font-size:.9rem;font-weight:700}
.nk-bandeau-t span{font-size:.79rem;color:var(--grey)}
.nk-bandeau-x{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-bottom:1.5px solid var(--ink);padding-bottom:.12rem;white-space:nowrap}

/* ---------- confinement horizontal ----------
 * Dans une grille ou un flex, un enfant ne descend pas sous la largeur
 * de son contenu tant qu'on ne lui donne pas min-width:0. Le tableau de
 * compatibilite (min-width 620px) poussait donc toute la fiche produit
 * hors de l'ecran sur mobile.
 */
.woocommerce div.product > *,
.nk-hero-in > *,
.nk-fitment-in > *,
.nk-mega-in > *{min-width:0}
.nk-scroll{min-width:0;max-width:100%}
html,body{overflow-x:hidden}

@media(max-width:520px){
  /* Le selecteur passe en pile : trois champs cote a cote sont illisibles au pouce. */
  .nk-picker{flex-direction:column}
  .nk-picker .f{border-right:0;border-bottom:1.5px solid var(--ink);min-width:0;width:100%}
  .nk-picker .go{width:100%;padding:.95rem 1.8rem}
  /* Cibles tactiles : 44px minimum. */
  .nk-recent .chip,.nk-marque-gens a,.nk-allgen-col li a{padding:.5rem .7rem}
  .nk-children a{padding:.85rem}
  .woocommerce div.product form.cart .button{min-width:0;width:100%;flex:1 1 100%}
  .woocommerce div.product form.cart .quantity input{min-height:52px}
}

/* ---------- vignettes produit : remplissage fiable ----------
 * `place-items:center` centrait l'image sans l'etirer : elle gardait sa
 * taille propre au lieu d'occuper la carte. Positionnement absolu :
 * la photo remplit, le SVG de repli reste centre et reduit.
 */
.nk-card .ph,
.nk-cat .ph{display:block;position:relative;overflow:hidden}
.nk-card .ph > img,
.woocommerce ul.products li.product .ph > img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
}
.nk-card .ph > .nk-ph,
.nk-cat .ph > .nk-ph,
.nk-cat .ph > .nk-cat-svg,
.nk-cat .ph > img{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:62%;height:auto;object-fit:contain;
}
.nk-cat:hover .ph > .nk-cat-svg{transform:translate(-50%,-50%) scale(1.04)}
@media(prefers-reduced-motion:reduce){.nk-cat:hover .ph > .nk-cat-svg{transform:translate(-50%,-50%)}}

/* Le lien enveloppe toute la carte : inline par defaut, il ne prenait
   que la largeur de son contenu et la vignette ne remplissait jamais. */
.nk-card > a{display:block;width:100%}

/* ---------- grille produits sur mobile ----------
 * WooCommerce (woocommerce-smallscreen) impose width:48% via
 * `ul.products[class*=columns-] li.product`, plus specifique que
 * `.woocommerce ul.products li.product`. Resultat : une carte a 48 %
 * seule sur sa ligne, avec la moitie de l ecran vide.
 */
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product{
  width:auto;float:none;margin:0;clear:none;
}
@media(max-width:600px){
  /* Deux colonnes serrees : un catalogue de 1200 references se parcourt
     mal a une seule vignette par ecran. */
  .nk-prods,ul.products{grid-template-columns:repeat(2,1fr);gap:.9rem}
  .nk-card h3{font-size:.83rem;line-height:1.28}
  .nk-card .fit{font-size:.71rem}
  .nk-card .pr{font-size:1rem}
}
@media(max-width:380px){
  .nk-prods,ul.products{grid-template-columns:1fr}
}

/* Le retrait lateral vient de .wrap : aucune section ne doit le remettre a zero
   avec un raccourci `padding: X 0`. Filet de securite. */
.wrap{padding-inline:var(--pad)!important}
.nk-shop .wrap,.nk-shop .nk-compat.wrap{padding-inline:0!important}

/* ---------- vehicule enregistre, en-tete ----------
 * Un bloc unique : plaque d'identification + modele, cadre discret.
 * Les selecteurs sont cibles pour ne pas retomber sur le conflit
 * `.nk-myveh span` qui attrapait aussi la plaque.
 */
.nk-myveh{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.32rem .55rem .32rem .38rem;
  border:1px solid var(--line);background:var(--paper);
  transition:border-color .16s ease,background .16s ease;
}
.nk-myveh:hover{border-color:var(--ink);background:var(--stone)}
.nk-myveh > .nk-plaque{
  min-width:0;height:22px;padding:0 .4rem;font-size:.72rem;border-width:1.5px;border-radius:2px;
}
.nk-myveh > .nk-myveh-t{display:flex;flex-direction:column;line-height:1.1;text-align:left}
.nk-myveh > .nk-myveh-t > span{
  font-size:.54rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--grey-light);
}
.nk-myveh > .nk-myveh-t > strong{font-size:.78rem;font-weight:700;letter-spacing:-.01em;text-transform:none}
@media(max-width:760px){.nk-myveh > .nk-myveh-t{display:none}.nk-myveh{padding:.25rem}}
.nk-marque-gens .nk-plus{border-style:dashed;color:var(--ink);font-weight:700}
.nk-marque-gens .nk-plus:hover{background:var(--ink);color:var(--paper);border-color:var(--ink)}
/* "Mercedes-Benz" passait sur deux lignes et desalignait sa carte. */
.nk-marque-t span:first-child{font-size:clamp(1.05rem,1.5vw,1.28rem);white-space:nowrap}
.nk-marque{align-content:start}

/* ---------- fiche produit : colonnes ----------
 * WooCommerce met .images et .summary a width:48% + float, pensés pour un
 * layout flottant. Dans une grille, ces 48 % s'appliquent a la piste et
 * laissent la moitie de chaque colonne vide.
 */
.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.images,
.woocommerce-page div.product div.summary{
  width:100%;float:none;margin:0;clear:none;
}
.woocommerce div.product div.summary{max-width:56ch}
/* Statut de stock : la couleur par defaut de WooCommerce sort de la palette. */
.woocommerce div.product .stock,
.woocommerce div.product p.stock{
  color:var(--grey);font-size:.84rem;font-weight:600;margin:.9rem 0 0;
}
.woocommerce div.product .stock.in-stock{color:var(--vert)}
.woocommerce div.product .stock.out-of-stock{color:var(--rouge)}

/* ---------- miniatures de la galerie ----------
 * WooCommerce les dispose en flottant avec des largeurs calculees par
 * flexslider : elles se retrouvent de tailles inegales. Grille fixe.
 */
.woocommerce div.product .flex-control-thumbs{
  display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;
  margin:.5rem 0 0;padding:0;float:none;
}
.woocommerce div.product .flex-control-thumbs li{
  width:auto;margin:0;float:none;list-style:none;
}
.woocommerce div.product .flex-control-thumbs img{
  width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;
  opacity:.55;transition:opacity .16s ease;background:#fff;
}
.woocommerce div.product .flex-control-thumbs img.flex-active,
.woocommerce div.product .flex-control-thumbs img:hover{opacity:1}

/* ---------- respiration autour des separateurs ----------
 * Le padding etait pose d'un seul cote : le texte de chaque colonne
 * venait toucher la barre de la colonne precedente.
 */
.nk-promise .p-item{padding:1.5rem 1.7rem}
.nk-promise .p-item:first-child{padding-left:0}
.nk-promise .p-item:last-child{padding-right:0}
@media(max-width:920px){
  .nk-promise .p-item{padding:1.25rem 0}
  .nk-promise .p-item:first-child{padding-top:1.5rem}
}

/* Le compteur touchait le libelle des que celui-ci etait long
   ("Désactivation Start/Stop"). Ecart minimum garanti. */
.nk-mega-col a{gap:1.4rem;align-items:baseline}
.nk-mega-col a span:first-child{min-width:0;flex:1 1 auto}
.nk-mega-col .c{flex:0 0 auto;padding-left:.2rem}
.nk-mega-modeles{gap:.1rem 2.8rem}

/* Dans la liste des modeles sur deux colonnes, aligner le compteur a droite
   le colle au libelle de la colonne voisine. Il suit donc le nom. */
.nk-mega-modeles a{justify-content:flex-start;gap:.5rem}
.nk-mega-modeles .c{margin-left:0;opacity:.75}
.nk-mega-modeles a:hover .c{opacity:1}
/* Le libelle etait en flex:1 : il occupait toute la cellule et repoussait
   le compteur contre la colonne voisine, quel que soit le justify-content. */
.nk-mega-modeles a span:first-child{flex:0 1 auto}

/* ---------- grille a faible effectif ----------
 * `auto-fit` fusionne les pistes vides : un produit seul s'etalait sur
 * toute la largeur. `auto-fill` conserve les colonnes et garde la
 * presentation identique quel que soit le nombre de resultats.
 */
.nk-prods,ul.products{grid-template-columns:repeat(auto-fill,minmax(215px,1fr))}
@media(max-width:600px){.nk-prods,ul.products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:380px){.nk-prods,ul.products{grid-template-columns:1fr}}

/* ---------- order bump (checkout) ---------- */
.nk-bump{max-width:640px;margin:0 auto clamp(1.4rem,3vw,2rem);border:2px dashed var(--ink);background:#fff}
.nk-bump.coche{border-style:solid;background:#fff;box-shadow:0 0 0 3px rgba(31,122,76,.14)}
.nk-bump-in{display:flex;align-items:center;gap:.9rem;padding:.95rem 1.1rem;cursor:pointer}
.nk-bump-case{width:20px;height:20px;flex:0 0 20px;accent-color:var(--vert);cursor:pointer}
.nk-bump-ph{flex:0 0 56px;background:var(--stone);display:grid;place-items:center}
.nk-bump-ph img{width:100%;height:auto;display:block}
.nk-bump-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:.12rem}
.nk-bump-tag{font-size:.62rem;font-weight:900;letter-spacing:.15em;text-transform:uppercase;color:var(--vert)}
.nk-bump-nom{font-size:.87rem;font-weight:700;line-height:1.25}
.nk-bump-arg{font-size:.76rem;color:var(--grey);line-height:1.35}
.nk-bump-pr{font-weight:900;font-size:1rem;letter-spacing:-.025em;white-space:nowrap}
.nk-bump.occupe{opacity:.55;pointer-events:none}
@media(max-width:560px){.nk-bump-ph{display:none}}

/* ---------- cross-sell chassis (panier) ---------- */
.nk-xsell{margin-top:clamp(3rem,6vw,5rem);padding-top:clamp(2rem,4vw,3rem);border-top:1px solid var(--line)}
.nk-xsell .nk-block-head{margin-bottom:clamp(1.4rem,2.5vw,2rem)}
.nk-xsell-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:clamp(1rem,2vw,1.75rem)}
.nk-xsell-item{display:flex;flex-direction:column;min-width:0}
.nk-xsell-lien{display:block}
.nk-xsell-lien,.nk-xsell-lien h3{text-decoration:none}
.nk-xsell-item .ph{display:grid;place-items:center;aspect-ratio:1/1;background:var(--stone);overflow:hidden;transition:background .18s}
.nk-xsell-item:hover .ph{background:var(--stone-2)}
.nk-xsell-item .ph img{width:78%;height:auto}
.nk-xsell-item h3{margin:.85rem 0 .2rem;font-size:.88rem;font-weight:700;line-height:1.3}
.nk-xsell-item .fit{display:block;font-size:.76rem;color:var(--grey)}
.nk-xsell-item .bas{margin-top:auto;padding-top:.6rem;display:flex;align-items:baseline;justify-content:space-between;gap:.75rem}
.nk-xsell-item .pr{font-weight:900;font-size:1.05rem;letter-spacing:-.03em}
.nk-xsell-add{border:0;border-bottom:1.5px solid var(--ink);background:none;color:var(--ink);font-family:inherit;font-size:.72rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;padding:0 0 .18rem;cursor:pointer;transition:opacity .15s}
.nk-xsell-add:hover{opacity:.55}
.nk-xsell-add[disabled]{opacity:.4;cursor:default}
.nk-xsell-add.ok{border-color:var(--vert);color:var(--vert)}

/* ---------- lot par famille (fiche produit) ---------- */
/* La fiche est une grille deux colonnes : les sections de bas de page
   doivent l'enjamber, sinon elles se coincent dans une colonne. */
.nk-lot,.nk-compat,.nk-faq{grid-column:1 / -1}
.nk-lot{margin-top:clamp(3rem,6vw,5rem);padding-top:clamp(2rem,4vw,3rem);border-top:1px solid var(--line)}
.nk-lot .nk-block-head{align-items:flex-end}
.nk-lot-achat{text-align:right;flex-shrink:0}
.nk-lot-prix{display:flex;align-items:baseline;gap:.6rem;justify-content:flex-end}
.nk-lot-prix .avant{color:var(--grey-light);text-decoration:line-through;font-size:.92rem}
.nk-lot-prix .apres{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:900;letter-spacing:-.04em;line-height:1}
.nk-lot-achat .gain{display:block;margin-top:.25rem;font-size:.78rem;font-weight:700;color:var(--vert)}
.nk-lot-add{margin-top:.9rem;border:0;background:var(--ink);color:var(--paper);font-family:inherit;font-weight:900;text-transform:uppercase;font-size:.78rem;letter-spacing:.06em;padding:.95rem 1.7rem;cursor:pointer;transition:background .16s}
.nk-lot-add:hover{background:#000}
.nk-lot-add[disabled]{opacity:.6;cursor:default}
.nk-lot-liste{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2.5vw,2.2rem);align-items:start}
.nk-lot-item{position:relative;min-width:0}
.nk-lot-item a{display:block;text-decoration:none}
.nk-lot-plus{position:absolute;left:calc(-1 * clamp(1rem,2.5vw,2.2rem) / 2 - .35rem);top:calc(50% - 2.4rem);font-size:1rem;font-weight:900;color:var(--grey-light)}
.nk-lot-item .ph{display:grid;place-items:center;aspect-ratio:1/1;background:var(--stone);overflow:hidden;transition:background .18s}
.nk-lot-item:hover .ph{background:var(--stone-2)}
.nk-lot-item .ph img{width:78%;height:auto}
.nk-lot-item h3{margin:.8rem 0 .18rem;font-size:.86rem;font-weight:700;line-height:1.3}
.nk-lot-item .pr{font-size:.82rem;color:var(--grey)}
@media(max-width:760px){
  .nk-lot-achat{text-align:left;margin-top:1rem}
  .nk-lot-prix{justify-content:flex-start}
  .nk-lot-add{width:100%}
  /* En colonne etroite, les trois pieces se lisent mieux empilees en lignes
     que dans une grille qui ecrase les images et coupe les noms. */
  .nk-lot-liste{grid-template-columns:1fr;gap:0}
  .nk-lot-item{padding:.9rem 0;border-bottom:1px solid var(--line-soft)}
  .nk-lot-item:last-child{border-bottom:0}
  .nk-lot-item a{display:grid;grid-template-columns:84px 1fr;column-gap:.9rem;align-content:center}
  .nk-lot-item .ph{grid-row:span 2;width:84px;align-self:center}
  .nk-lot-item h3{grid-column:2;align-self:end;margin:0 0 .15rem;font-size:.85rem}
  .nk-lot-item .pr{grid-column:2;align-self:start}
  .nk-lot .nk-block-head{gap:.4rem}
  .nk-lot-plus{position:static;display:block;text-align:center;color:var(--grey-light);font-size:.95rem;margin-bottom:.55rem}
}

/* ---------- panier tiroir ---------- */
.nk-tiroir-fond{position:fixed;inset:0;background:rgba(16,16,18,.4);z-index:998;opacity:0;transition:opacity .22s}
.nk-tiroir-fond.on{opacity:1}
.nk-tiroir{position:fixed;top:0;right:0;height:100dvh;width:min(430px,100vw);background:var(--paper);z-index:999;transform:translateX(100%);transition:transform .28s cubic-bezier(.4,0,.2,1);box-shadow:-16px 0 46px rgba(16,16,18,.12)}
.nk-tiroir.on{transform:translateX(0)}
.nk-tiroir a{text-decoration:none}
.nk-tiroir-in{display:flex;flex-direction:column;height:100%;overflow:hidden}
.nk-tiroir-tete{display:flex;align-items:center;justify-content:space-between;padding:1.4rem 1.5rem 1.1rem;border-bottom:1px solid var(--line)}
.nk-tiroir-fermer{border:0;background:none;font-size:1.55rem;line-height:1;color:var(--grey);cursor:pointer;padding:0 .1rem;transition:color .15s}
.nk-tiroir-fermer:hover{color:var(--ink)}
.nk-tiroir-lignes{list-style:none;margin:0;padding:0 1.5rem;overflow-y:auto;flex:1}
.nk-tiroir-ligne{display:flex;gap:1rem;padding:1.15rem 0;border-bottom:1px solid var(--line-soft)}
.nk-tiroir-ligne .ph{flex:0 0 76px;aspect-ratio:1/1;background:var(--stone);display:grid;place-items:center;align-self:flex-start;overflow:hidden}
.nk-tiroir-ligne .ph img{width:80%;height:auto}
.nk-tiroir-ligne .corps{flex:1;min-width:0;display:flex;flex-direction:column}
.nk-tiroir-ligne .nom{font-size:.85rem;font-weight:700;line-height:1.3}
.nk-tiroir-ligne .fit{font-size:.74rem;color:var(--grey);margin-top:.15rem}
.nk-tiroir-ligne .ligne-bas{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:.7rem;gap:.5rem}
.nk-tiroir-ligne .qte{display:inline-flex;align-items:center;border:1px solid var(--line);background:#fff}
.nk-qte{border:0;background:none;font-family:inherit;font-size:.95rem;width:28px;height:28px;cursor:pointer;color:var(--grey);transition:color .15s}
.nk-qte:hover{color:var(--ink)}
.nk-tiroir-ligne .qte span{min-width:24px;text-align:center;font-size:.8rem;font-weight:700}
.nk-tiroir-ligne .pr{font-weight:900;font-size:.95rem;letter-spacing:-.025em}
.nk-tiroir-xsell{padding:1.1rem 1.5rem;border-top:1px solid var(--line-soft);background:#fff}
.nk-tiroir-xsell .mini{display:flex;align-items:center;gap:.8rem;margin-top:.75rem}
.nk-tiroir-xsell .mini .ph{flex:0 0 50px;aspect-ratio:1/1;background:var(--stone);display:grid;place-items:center;overflow:hidden}
.nk-tiroir-xsell .mini .ph img{width:82%;height:auto}
.nk-tiroir-xsell .mini .corps{flex:1;min-width:0}
.nk-tiroir-xsell .mini .nom{display:block;font-size:.78rem;font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nk-tiroir-xsell .mini .pr{font-size:.79rem;font-weight:900;color:var(--grey)}
.nk-tiroir-xsell .nk-xsell-add{flex-shrink:0}
.nk-tiroir-pied{padding:1.25rem 1.5rem 1.5rem;border-top:1px solid var(--line);background:var(--paper)}
.nk-tiroir-pied .ligne-total{display:flex;justify-content:space-between;align-items:baseline;font-size:.88rem;color:var(--grey)}
.nk-tiroir-pied .ligne-total strong{font-size:1.35rem;font-weight:900;letter-spacing:-.035em;color:var(--ink)}
.nk-tiroir-pied .note{margin:.35rem 0 1rem;font-size:.76rem;color:var(--grey-light)}
.nk-tiroir-cta{display:block;background:var(--ink);color:var(--paper);text-align:center;font-weight:900;text-transform:uppercase;font-size:.8rem;letter-spacing:.05em;padding:1rem;transition:background .16s}
.nk-tiroir-cta:hover{background:#000}
.nk-tiroir-lien{display:block;text-align:center;margin-top:.7rem;font-size:.77rem;color:var(--grey)}
.nk-tiroir-lien:hover{color:var(--ink)}
.nk-tiroir-vide{padding:3rem 1.5rem;text-align:center;color:var(--grey)}
.nk-tiroir-vide .nk-tiroir-cta{margin-top:1.3rem}
.nk-paiements{list-style:none;display:flex;flex-wrap:wrap;gap:.32rem;justify-content:center;margin:1.1rem 0 0;padding:0;opacity:.85}
.nk-paiements img{display:block}
body.nk-tiroir-ouvert{overflow:hidden}

/* ---------- checkout : resume de commande deplie a l'arrivee ---------- */
/* Woo replie le recapitulatif par defaut : sur une boutique ou le panier
   tient en quelques lignes, le cacher fait perdre le rappel de ce qu'on paie. */
.wc-block-components-checkout-order-summary__content{display:block !important}
.wc-block-components-checkout-order-summary__title button,
.wc-block-components-checkout-order-summary__title .wc-block-components-panel__button{pointer-events:none}
.wc-block-components-checkout-order-summary__title svg{display:none}

/* ---------- confort mobile ---------- */
/* Un element de grille a min-width:auto : un titre long elargit sa colonne
   au-dela de 1fr et fait deborder la grille sur les petits ecrans. */
.nk-prods > li,ul.products > li,.nk-xsell-grid > li,.nk-lot-liste > li{min-width:0}
.nk-card h3,.nk-xsell-item h3,.nk-lot-item h3{overflow-wrap:anywhere}

@media(max-width:760px){
  /* Cibles tactiles : 44 px de haut minimum sur les liens de navigation. */
  .nk-foot a,.nk-crumb a,.nk-allgen-col li a{display:inline-block;padding-block:.5rem;min-height:32px}
  .woocommerce-pagination a,.woocommerce-pagination span,
  a.page-numbers,span.page-numbers{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .nk-cart{min-height:44px;display:inline-flex;align-items:center}
  .nk-lang{min-height:44px;min-width:44px}
  .nk-qte{width:36px;height:36px}
  /* Liens de tableaux : lignes serrees, on epaissit la zone de tap. */
  .nk-fit td a,.nk-scroll table a{display:inline-block;padding-block:.45rem}
  .nk-marque-t,.nk-block-head .more{padding-block:.35rem}
}

/* ---------- en-tete et pied de page sur mobile ---------- */
@media(max-width:880px){
  /* Sans la nav qui poussait les outils, tout se tassait a gauche. */
  .nk-header-in{gap:.9rem}
  .nk-tools{margin-left:auto;gap:.9rem}
  .nk-burger{order:-1;margin-left:-.4rem}
  .nk-brand{font-size:1.25rem}
}
@media(max-width:600px){
  /* Colonnes de pied de page : la marque prend la largeur, les listes se
     rangent en deux colonnes serrees plutot qu'en grille trouee. */
  .nk-foot{grid-template-columns:1fr 1fr;gap:1.6rem 1.4rem;align-items:start}
  .nk-foot > :first-child{grid-column:1 / -1;margin-bottom:.4rem}
  .nk-foot ul{gap:.15rem}
  .nk-foot a{padding-block:.55rem;display:inline-block}
  .nk-foot .nk-foot-t{margin-bottom:.35rem}
  .nk-footer{padding-block:clamp(2rem,5vw,3rem) 1.5rem}
}

/* La punchline garde son poids visuel sous un H1 devenu explicite. */
.nk-hero-punch{margin:.85rem 0 0;font-size:clamp(1.1rem,2.4vw,1.55rem);font-weight:700;letter-spacing:-.03em;line-height:1.15;color:var(--ink);text-wrap:balance}
.nk-hero h1{font-size:clamp(1.9rem,4.4vw,3.4rem);line-height:.95}

/* ---------- bandeau de consentement ---------- */
.nk-consent{position:fixed;left:0;right:0;bottom:0;z-index:1000;background:var(--paper);border-top:1.5px solid var(--ink);box-shadow:0 -12px 34px rgba(16,16,18,.09);transform:translateY(100%);transition:transform .3s cubic-bezier(.4,0,.2,1)}
.nk-consent.on{transform:translateY(0)}
.nk-consent-in{max-width:var(--max);margin-inline:auto;padding:1.25rem var(--pad);display:flex;align-items:center;justify-content:space-between;gap:clamp(1rem,3vw,2.5rem);flex-wrap:wrap}
.nk-consent-txt{flex:1 1 420px;min-width:0}
.nk-consent-t{margin:0 0 .3rem;font-size:.66rem;font-weight:700;letter-spacing:.19em;text-transform:uppercase;color:var(--grey-light)}
.nk-consent-txt p:last-child{margin:0;font-size:.86rem;color:var(--ink-soft);line-height:1.55;max-width:66ch}
.nk-consent-txt a{border-bottom:1px solid var(--line)}
.nk-consent-txt a:hover{border-color:var(--ink)}
/* Un display en classe l'emporte sur l'attribut hidden : on le neutralise. */
.nk-consent [hidden]{display:none !important}
.nk-consent-choix{flex:1 1 100%;display:flex;flex-direction:column;gap:.45rem;padding:.9rem 0 .2rem;border-top:1px solid var(--line-soft);margin-top:.9rem}
.nk-consent-choix label{display:flex;align-items:center;gap:.6rem;font-size:.85rem;color:var(--ink-soft);cursor:pointer}
.nk-consent-choix input{width:17px;height:17px;accent-color:var(--ink);cursor:pointer}
.nk-consent-choix input:disabled{cursor:default;opacity:.5}
.nk-consent-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.nk-consent-btn{border:1.5px solid var(--ink);background:var(--paper);color:var(--ink);font-family:inherit;font-size:.76rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase;padding:.75rem 1.25rem;cursor:pointer;transition:.16s;white-space:nowrap}
.nk-consent-btn:hover{background:var(--ink);color:var(--paper)}
.nk-consent-btn[data-action="accepter"],.nk-consent-valider{background:var(--ink);color:var(--paper)}
.nk-consent-btn[data-action="accepter"]:hover,.nk-consent-valider:hover{background:#000}
.nk-consent-lien{border:0;background:none;font-family:inherit;font-size:.78rem;color:var(--grey);cursor:pointer;border-bottom:1px solid var(--line);padding:0 0 .12rem}
.nk-consent-lien:hover{color:var(--ink);border-color:var(--ink)}
.nk-consent-rouvrir{border:0;background:none;font-family:inherit;font-size:.86rem;color:var(--grey);cursor:pointer;padding:.55rem 0;text-align:left}
.nk-consent-rouvrir:hover{color:var(--ink)}
@media(max-width:640px){
  .nk-consent-in{padding-block:1.1rem;gap:.9rem}
  .nk-consent-actions{width:100%}
  .nk-consent-btn{flex:1 1 auto;text-align:center}
  .nk-consent-lien{flex:1 1 100%;text-align:center;margin-top:.2rem}
}
