/* Fiche produit (24/09/2026) : vignettes des listes, galerie sans fleches, bouton plein ecran. Couleurs de la charte. */

/* vignettes dans les listes Finition et Couleur (inspire de Pierre Lonchampt) */
.nh-opt{display:flex;align-items:center;gap:12px}
.nh-vig{flex:none;width:34px;height:34px;display:block;overflow:hidden;background:#EFEAE3;box-shadow:0 0 0 1px rgba(26,26,26,.12)}
.nh-vig img{width:100%!important;height:100%!important;object-fit:cover;display:block;margin:0!important}
.nh-vig-pp{background:#fbfaf7;padding:6px;box-sizing:border-box}
.nh-vig-pp img{box-shadow:0 0 0 1px rgba(26,26,26,.2)}
html body .wapf .select2-selection__rendered .nh-vig{width:28px;height:28px}
html body .nh-s2-vig .select2-results__option{padding:9px 14px!important}

/* galerie : pas de fleches gauche / droite (le glisser au doigt reste) */
.single-product .woocommerce-product-gallery .swiper-button-prev,
.single-product .woocommerce-product-gallery .swiper-button-next,
.single-product .woocommerce-product-gallery .swiper-arrow-control{display:none!important}

/* plein ecran : bouton discret en haut a droite ; toute l'image est cliquable */
.single-product .woocommerce-product-gallery{position:relative}
.single-product .woocommerce-product-gallery__image{cursor:zoom-in}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger{display:flex!important;align-items:center;justify-content:center;position:absolute;top:14px;right:14px;left:auto;z-index:9;width:40px;height:40px;border-radius:0;background:rgba(245,242,236,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%231A1A1A' stroke-width='1.2'%3E%3Cpath d='M1 5.5V1h4.5M10.5 1H15v4.5M15 10.5V15h-4.5M5.5 15H1v-4.5'/%3E%3C/svg%3E") no-repeat center;box-shadow:0 1px 3px rgba(0,0,0,.15);font-size:0;color:transparent;overflow:hidden;transition:background-color .25s ease}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover{background-color:#F5F2EC}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger>*,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::after{display:none!important}

/* priorite sur les styles Nectar du bouton */
html body.single-product .woocommerce-product-gallery a.woocommerce-product-gallery__trigger{border-radius:0!important;background:rgba(245,242,236,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%231A1A1A' stroke-width='1.2'%3E%3Cpath d='M1 5.5V1h4.5M10.5 1H15v4.5M15 10.5V15h-4.5M5.5 15H1v-4.5'/%3E%3C/svg%3E") no-repeat center!important;width:40px!important;height:40px!important}
html body.single-product .woocommerce-product-gallery a.woocommerce-product-gallery__trigger:hover{background-color:#F5F2EC!important}
/* visionneuse plein ecran : fond encre plutot que noir pur */
html body .pswp__bg{background:#141413!important}

/* valeur choisie : vignette et libelle sur une ligne */
html body .wapf .select2-selection__rendered.nh-opt{display:flex!important;align-items:center;gap:12px}

/* navigation entre fiches */
.nh-nav-fiches{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid rgba(26,26,26,.12)}
.nh-nav-fiches a{display:flex;align-items:center;gap:10px;min-width:0;max-width:42%;text-decoration:none!important;color:var(--nh-gris,#45453F)!important;font:400 13.5px/1.3 var(--nh-sans,"Instrument Sans",sans-serif);transition:color .25s ease}
.nh-nav-fiches a:hover{color:var(--nh-encre,#1A1A1A)!important}
.nh-nav-fiches img{width:34px;height:34px;object-fit:cover;flex:none;margin:0!important;opacity:.9}
.nh-nav-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nh-nav-fl{font-size:16px;flex:none}
.nh-nav-n{font:500 10.5px var(--nh-sans,"Instrument Sans",sans-serif);letter-spacing:.14em;color:#8d887f;flex:none}
@media (max-width:520px){.nh-nav-t{display:none}}

/* accordeon d'informations sous le bouton d'achat (inspire du site actuel) */
.nh-fiche-infos{margin-top:26px}
html body details.wp-block-details.nh-fiche-acc>summary{font-size:17.5px!important;padding:15px 0!important}
html body details.wp-block-details.nh-fiche-acc>*:not(summary){font-size:14.5px!important;margin-bottom:16px!important}
html body details.nh-fiche-acc ul{padding-left:1.1em;margin:0 0 12px!important}
html body details.nh-fiche-acc li{margin:0 0 6px}
html body details.nh-fiche-acc a{color:var(--nh-encre,#1A1A1A)!important;text-decoration:underline;text-underline-offset:3px}
/* avis desactives : on retire aussi l'onglet vide s'il reste */
.single-product .woocommerce-tabs:not(:has(li:not(.reviews_tab))){display:none}
.single_add_to_cart_button.nh-en-cours{opacity:.6;cursor:progress}

/* 24/09 : navigation entre fiches en bandeau, en bas de fiche */
.nh-nav-fiches.nh-nav-bandeau{clear:both;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:clamp(16px,3vw,40px);margin:clamp(40px,6vw,80px) 0 clamp(24px,4vw,48px);padding:clamp(20px,3vw,32px) 0;border-top:1px solid rgba(26,26,26,.14);border-bottom:1px solid rgba(26,26,26,.14)}
.nh-nav-bandeau a{max-width:none;gap:clamp(12px,2vw,24px);color:var(--nh-encre,#1A1A1A)!important}
.nh-nav-bandeau .nh-nav-suiv{justify-content:flex-end;text-align:right}
.nh-nav-bandeau img{width:clamp(88px,12vw,168px);height:auto;aspect-ratio:3/2;opacity:1;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.nh-nav-bandeau a:hover img{transform:scale(1.03)}
.nh-nav-txt{display:flex;flex-direction:column;gap:6px;min-width:0}
.nh-nav-etiq{font:500 10.5px var(--nh-sans,"Instrument Sans",sans-serif);letter-spacing:.14em;text-transform:uppercase;color:#8d887f}
.nh-nav-bandeau .nh-nav-t{font:400 clamp(18px,1.8vw,24px)/1.2 var(--nh-serif,"Newsreader",serif);white-space:normal}
.nh-nav-bandeau .nh-nav-fl{font-size:20px;color:var(--nh-gris,#45453F)}
@media (max-width:640px){.nh-nav-fiches.nh-nav-bandeau{grid-template-columns:1fr 1fr}.nh-nav-bandeau .nh-nav-n{display:none}.nh-nav-bandeau a{flex-direction:column;align-items:flex-start}.nh-nav-bandeau .nh-nav-suiv{align-items:flex-end}.nh-nav-bandeau .nh-nav-fl{display:none}.nh-nav-bandeau img{width:100%}.nh-nav-bandeau .nh-nav-t{display:block}}.nh-nav-fiches.nh-nav-bandeau{border-bottom:0;margin-bottom:0}

/* familles de finition dans la liste déroulante */
.select2-results__group{font:500 10.5px var(--nh-sans,'Instrument Sans',sans-serif)!important;letter-spacing:.14em;text-transform:uppercase;color:#8d887f!important;padding:14px 14px 6px!important}
.select2-results__options--nested .select2-results__option{padding-left:14px!important}
.wapf-field-description{font:400 13px/1.55 var(--nh-sans,'Instrument Sans',sans-serif);color:var(--nh-gris,#45453F);margin-top:8px}

/* 30/09 : listes Select2 du configurateur jamais plus larges que la colonne (sur mobile, un libellé long élargissait toute la fiche) */
html body.single-product .summary{min-width:0;max-width:100%}
html body .wapf .select2-container{width:100%!important;max-width:100%}
html body .wapf .select2-selection__rendered{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
