/* Pano Deco 2026 : fiche produit. Habille la page du theme sans toucher au calcul de prix ni au panier (memes champs, memes scripts). */
body.pd26-cadre.single-product{background:var(--blanc)}
body.pd26-cadre.single-product #content{padding-top:0}
body.pd26-cadre.single-product .bg-grey{background:var(--fond);padding-bottom:48px}
body.pd26-cadre.single-product .bg-grey :is(p,a,span,li,label,h2,h3,h4,h5,strong,small,div),
body.pd26-cadre.single-product .module_perso :is(p,a,span,li,label,h2,h3,h4,h5,strong,small,div,select,input,button){font-family:var(--f-texte)}

/* Fil d'Ariane */
body.pd26-cadre.single-product .woocommerce-breadcrumb{font-size:.85rem;color:var(--gris);padding-top:8px}
body.pd26-cadre.single-product .woocommerce-breadcrumb a{color:var(--gris)}
body.pd26-cadre.single-product .woocommerce-breadcrumb a:hover{color:var(--bleu)}

/* Galerie */
body.pd26-cadre.single-product .woocommerce-product-gallery img{border-radius:18px}
body.pd26-cadre.single-product .woocommerce-product-gallery .flex-control-thumbs img,
body.pd26-cadre.single-product .woocommerce-product-gallery__image:not(:first-child) img{border-radius:10px}

/* Titre et description */
body.pd26-cadre.single-product .summary .product_meta{border:0;padding:0;margin:0 0 6px}
body.pd26-cadre.single-product .summary .cat-titre{display:inline;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--taupe);font-weight:400;line-height:1.6;margin:0}
body.pd26-cadre.single-product .summary .cat-titre + .cat-titre::before{content:" · "}
body.pd26-cadre.single-product .summary h1.product_title{font-family:var(--f-titre);font-weight:400;font-size:clamp(2rem,3.4vw,3rem);line-height:1.08;color:var(--encre);margin:.15em 0 .55em;letter-spacing:0;text-transform:none}
body.pd26-cadre.single-product .summary h3.title-desc{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--taupe);font-weight:400;margin:0 0 4px}
body.pd26-cadre.single-product .summary h5,
body.pd26-cadre.single-product .summary h5 *{color:var(--gris);font-size:.8rem;font-weight:400;font-style:italic}
body.pd26-cadre.single-product .summary p{font-size:1rem;line-height:1.7;color:var(--gris)}
body.pd26-cadre.single-product .summary .need-help{background:none;border:0;box-shadow:none}
body.pd26-cadre.single-product .summary .block-aide{background:var(--blanc);border:1px solid var(--lin);border-radius:18px;box-shadow:none}
body.pd26-cadre.single-product .summary .need-help p{color:var(--encre);font-size:.92rem;line-height:1.5}
body.pd26-cadre.single-product .summary .block-aide p,
body.pd26-cadre.single-product .summary .block-aide a{color:var(--encre);font-size:.92rem}

/* Bloc « Personnaliser » : options et prix a droite, plan des panneaux a gauche */
body.pd26-cadre.single-product .module_perso{background:var(--blanc);padding:56px 0 64px}
body.pd26-cadre.single-product .module_perso > .container{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:repeat(8,auto) 1fr auto;column-gap:48px;align-items:start}
body.pd26-cadre.single-product .module_perso .content-cartt,
body.pd26-cadre.single-product .module_perso form.cart{display:contents}
body.pd26-cadre.single-product .module_perso > .container > h2{grid-column:1/-1;grid-row:1;font-family:var(--f-titre);font-weight:400;font-size:clamp(1.7rem,2.6vw,2.3rem);color:var(--encre);margin:0 0 24px;text-transform:none;letter-spacing:0}
body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau{grid-column:1;grid-row:2/10;background:var(--fond);border-radius:22px;padding:28px 20px;min-height:360px;margin:0}
body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau:not(:has(.panneau[style*="inline"]))::before{content:"Choisissez l'aspect et le nombre de panneaux : le plan s'affiche ici pour saisir vos mesures.";display:flex;align-items:center;justify-content:center;min-height:300px;max-width:340px;margin:0 auto;text-align:center;color:var(--gris);font-size:1rem;line-height:1.6}
body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau input,
body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau-troudeperssage input{border:1px solid var(--taupe);border-radius:8px;background:var(--blanc);color:var(--encre);font-size:1rem;min-height:38px;text-align:center;box-shadow:none}
body.pd26-cadre.single-product .module_perso input:focus,
body.pd26-cadre.single-product .module_perso select:focus{outline:2px solid var(--bleu);outline-offset:1px}
body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau label{color:var(--gris);font-size:.85rem}
body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau-troudeperssage{grid-column:1/-1;grid-row:10;background:var(--fond);border-radius:22px;padding:28px 24px;margin-top:28px}
body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau-troudeperssage:not(:has(.trou1[style*="inline"])){padding:0;margin:0;background:none}
body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau-troudeperssage h2{font-family:var(--f-titre);font-weight:400;color:var(--encre);text-transform:none;letter-spacing:0}
body.pd26-cadre.single-product .module_perso .wpc-product-form{grid-column:2;max-height:0;margin:0;padding:0}
body.pd26-cadre.single-product .module_perso form.cart > p{grid-column:2;display:block;width:auto;margin:0 0 18px;padding:0}
body.pd26-cadre.single-product .module_perso form.cart > p:not(:has(select:not([style*="none"]))){margin:0}
body.pd26-cadre.single-product .module_perso form.cart > p label{display:block;text-align:left;font-size:.95rem;font-weight:500;color:var(--encre);margin:0 0 6px}
body.pd26-cadre.single-product .module_perso form.cart > p label abbr{color:var(--terre);text-decoration:none}
body.pd26-cadre.single-product .module_perso form.cart select{width:100%;height:50px;border:1px solid var(--lin);border-radius:12px;padding:0 42px 0 16px;font-size:1rem;color:var(--encre);background:var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232B2A29' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;-webkit-appearance:none;appearance:none;box-shadow:none;cursor:pointer}
body.pd26-cadre.single-product .module_perso form.cart select:hover{border-color:var(--taupe)}
body.pd26-cadre.single-product .module_perso .block-addtocartcustom{grid-column:2;display:block;width:auto;background:var(--fond);border-radius:18px;padding:22px;margin:6px 0 0}
body.pd26-cadre.single-product .module_perso .block-addtocartcustom #pricecalcul{display:block;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--taupe);margin:0 0 8px}
body.pd26-cadre.single-product .module_perso .block-addtocartcustom,
body.pd26-cadre.single-product .module_perso .block-addtocartcustom .testitesti{font-size:1.5rem;color:var(--encre)}
body.pd26-cadre.single-product .module_perso p.calculator{display:block}
body.pd26-cadre.single-product .module_perso p.calculator,
body.pd26-cadre.single-product .module_perso .single_add_to_cart_button{width:100%;background:var(--bleu);color:var(--blanc);border:0;border-radius:999px;padding:15px 24px;font-size:1rem;font-weight:500;text-align:center;line-height:1.3;box-shadow:none;text-shadow:none;cursor:pointer;margin:12px 0 0}
body.pd26-cadre.single-product .module_perso p.calculator:hover,
body.pd26-cadre.single-product .module_perso .single_add_to_cart_button:hover{background:#0d5274}
body.pd26-cadre.single-product .module_perso .block-addtocartcustom::after{content:"Livraison offerte en France métropolitaine dès 50 € d'achat. Perçages offerts.";display:block;font-size:.85rem;line-height:1.5;color:var(--gris);margin-top:14px}

/* Produits a prix fixe (accessoires, echantillons) : bouton du theme */
body.pd26-cadre.single-product .summary form.cart .single_add_to_cart_button{background:var(--bleu);color:var(--blanc);border:0;border-radius:999px;padding:13px 28px;font-family:var(--f-texte);font-weight:500;text-transform:none;letter-spacing:0;box-shadow:none;text-shadow:none}
body.pd26-cadre.single-product .summary form.cart .single_add_to_cart_button:hover{background:#0d5274}
body.pd26-cadre.single-product .summary form.cart .qty{border:1px solid var(--lin);border-radius:12px;font-family:var(--f-texte)}
body.pd26-cadre.single-product .summary .price{font-family:var(--f-texte);color:var(--encre);font-size:1.3rem}

/* Bas de fiche : decors proches, questions, reassurance */
.pd26c .pd26p-bas{background:var(--fond);padding:72px 0 40px}
.pd26c .pd26p-tit{margin-bottom:28px}
.pd26c .pd26p-tit h2{font-size:clamp(1.7rem,2.6vw,2.3rem);margin-top:6px}
.pd26c .pd26p-proches{margin-bottom:72px}
.pd26c .pd26p-grille{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.pd26c .pd26p-carte{display:block;color:var(--encre)}
.pd26c .pd26p-carte .vis{display:block;aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:var(--lin)}
.pd26c .pd26p-carte img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.pd26c .pd26p-carte:hover img{transform:scale(1.04)}
.pd26c .pd26p-carte .nom{display:block;font-family:var(--f-titre);font-size:1.25rem;margin-top:12px;line-height:1.2}
.pd26c .pd26p-carte .meta{display:block;font-size:.85rem;color:var(--gris);margin-top:2px}
.pd26c .pd26p-tout{margin-top:20px}
.pd26c .pd26p-tout a{color:var(--bleu);text-decoration:underline;text-underline-offset:4px}
.pd26c .pd26p-faq{display:grid;grid-template-columns:1fr 2fr;gap:48px;align-items:start}
.pd26c .pd26p-faq details{border-bottom:1px solid var(--lin);padding:16px 0}
.pd26c .pd26p-faq summary{cursor:pointer;font-weight:500;list-style:none;display:flex;justify-content:space-between;gap:16px}
.pd26c .pd26p-faq summary::-webkit-details-marker{display:none}
.pd26c .pd26p-faq summary::after{content:"+";color:var(--bleu);font-size:1.3rem;line-height:1}
.pd26c .pd26p-faq details[open] summary::after{content:"–"}
.pd26c .pd26p-faq details p{margin:10px 0 0;color:var(--gris);font-size:.98rem}
.pd26c .pd26p-rass{background:var(--blanc);border-top:1px solid var(--lin);padding:36px 0}
.pd26c .pd26p-rass ul{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin:0 auto;padding-top:0;padding-bottom:0}
.pd26c .pd26p-rass li{display:flex;gap:14px;align-items:flex-start}
.pd26c .pd26p-rass svg{width:38px;height:38px;flex:none;fill:none;stroke:var(--bleu);stroke-width:1.6}
.pd26c .pd26p-rass b{display:block;font-weight:500}
.pd26c .pd26p-rass small{display:block;color:var(--gris);font-size:.85rem;line-height:1.4}

@media (max-width:900px){
	body.pd26-cadre.single-product .module_perso{padding:40px 0 48px}
	body.pd26-cadre.single-product .module_perso > .container{grid-template-columns:minmax(0,1fr);grid-template-rows:none;padding-left:16px;padding-right:16px}
	body.pd26-cadre.single-product .module_perso > .container > *,
	body.pd26-cadre.single-product .module_perso form.cart > *{grid-column:1!important;grid-row:auto!important}
	body.pd26-cadre.single-product .module_perso .wpc-product-form,
	body.pd26-cadre.single-product .module_perso form.cart > p{order:1}
	body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau{order:2;min-height:0;margin:8px 0 0}
	body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau:not(:has(.panneau[style*="inline"]))::before{min-height:120px}
	body.pd26-cadre.single-product .module_perso .content-personalisation-3panneau-troudeperssage{order:3}
	body.pd26-cadre.single-product .module_perso .block-addtocartcustom{order:4;margin-top:24px}
	.pd26c .pd26p-grille{grid-template-columns:repeat(2,1fr);gap:16px}
	.pd26c .pd26p-faq{grid-template-columns:1fr;gap:8px}
	.pd26c .pd26p-rass ul{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
	.pd26c .pd26p-rass ul{grid-template-columns:1fr}
	.pd26c .pd26p-carte .nom{font-size:1.1rem}
}

/* Onglets + Bien prendre ses mesures (maquette produit) ; ancien bloc aide/notice/« Personnalisez » masque */
body.pd26-cadre.single-product .summary .showide{display:none}
.pd26c .pd26p-infos{background:var(--fond);padding:64px 0 56px}
.pd26c .pd26p-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.pd26c .pd26p-tabs button{border:0;background:transparent;border-radius:999px;padding:.65em 1.2em;font:500 .95rem var(--f-texte);color:var(--gris);cursor:pointer}
.pd26c .pd26p-tabs button[aria-selected=true]{background:var(--encre);color:var(--blanc)}
.pd26c .pd26p-onglet{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:56px;align-items:start}
.pd26c .pd26p-onglet[hidden]{display:none}
.pd26c .pd26p-onglet h2{font-size:clamp(1.8rem,3vw,2.5rem);margin-bottom:.4em}
.pd26c .pd26p-onglet p{color:var(--gris);margin:0 0 1em;line-height:1.75}
.pd26c .pd26p-onglet .liens a,.pd26c .pd26p-mesurer .liens a{color:var(--encre);text-underline-offset:3px}
.pd26c .carac{margin:0;background:var(--blanc);border:1px solid var(--lin);border-radius:18px;display:grid;grid-template-columns:auto 1fr;overflow:hidden}
.pd26c .carac dt,.pd26c .carac dd{margin:0;padding:14px 16px;border-bottom:1px solid var(--lin);font-size:.92rem}
.pd26c .carac dt{color:var(--gris)}
.pd26c .carac dt:last-of-type,.pd26c .carac dd:last-of-type{border-bottom:0}
.pd26c .pd26p-mesurer{background-color:var(--fond);background-size:420px;padding:80px 0}
.pd26c .pd26p-mesurer .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:56px;align-items:center}
.pd26c .pd26p-mesurer .schema{background:var(--blanc);border-radius:var(--r);padding:28px;box-shadow:0 14px 34px rgba(43,42,41,.08)}
.pd26c .pd26p-mesurer svg{width:100%;height:auto;display:block;font:13px var(--f-texte);fill:var(--encre)}
.pd26c .pd26p-mesurer h2{font-size:clamp(1.9rem,3vw,2.6rem);margin:.25em 0 .6em}
.pd26c .pd26p-mesurer ol{margin:0 0 18px;padding-left:1.2em;display:grid;gap:10px;line-height:1.6}
@media (max-width:860px){.pd26c .pd26p-onglet,.pd26c .pd26p-mesurer .wrap{grid-template-columns:1fr;gap:28px}.pd26c .pd26p-infos{padding:44px 0}.pd26c .pd26p-mesurer{padding:48px 0}}

/* 0.7.6 : ancien bloc « Nous vous conseillons » masque (rappel en bas de page), apercu du configurateur fixe au defilement */
body.pd26-cadre.single-product .product_related{display:none!important}
body.pd26-config .hfeed.site{overflow-x:clip;overflow-y:visible}
/* 0.8.0 : descriptif retire du haut de fiche (il reste dans l'onglet Description, sous le calculateur) */
body.pd26-cadre.single-product .summary > .title-desc,body.pd26-cadre.single-product .summary > .title-desc ~ p{display:none!important}
