/* ==========================================================================
   Power Génération — WooCommerce
   Boutique sombre ; zones de travail (configurateur, panier, commande, compte) en thème clair.
   Chargé après le complément « Visuels et quantités » pour en reprendre la charte.
   ========================================================================== */

/* Avis / notices */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{
	list-style:none;margin:0 0 var(--pg-e4)!important;padding:16px 20px!important;border:0!important;border-left:4px solid var(--pg-rouge)!important;border-radius:0!important;
	background:var(--pg-surface)!important;color:var(--pg-encre)!important;font-size:14px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;
}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none!important}
.woocommerce-error li{margin:0}
.woocommerce-message .button,.woocommerce-info .button{min-height:40px;padding:8px 16px;font-size:12px;order:2}
.wc-block-components-notice-banner > svg{fill:var(--pg-rouge)!important;background:none!important}

/* --------------------------------------------------------------------------
   Boutique (archives produits)
   -------------------------------------------------------------------------- */
.pg-shop-barre{display:flex;flex-wrap:wrap;gap:var(--pg-e3);align-items:center;justify-content:space-between;margin:0 0 var(--pg-e5)}
.woocommerce-result-count{margin:0;font-size:11px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--pg-discret)}
.woocommerce-ordering{margin:0}
.woocommerce-ordering select{min-height:44px;width:auto;padding-right:36px;font-size:13px}
ul.products{list-style:none;margin:0;padding:0;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:var(--pg-e3)}
ul.products::before,ul.products::after{display:none!important}
ul.products li.product{position:relative;width:auto!important;float:none!important;margin:0!important;padding:0;display:flex;flex-direction:column;background:var(--pg-surface);transition:background-color .15s}
ul.products li.product:hover{background:var(--pg-surface-forte)}
ul.products li.product::after{content:"";position:absolute;left:0;bottom:0;width:0;height:3px;background:var(--pg-rouge);transition:width .25s}
ul.products li.product:hover::after{width:100%}
ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;color:var(--pg-encre)}
ul.products li.product a:hover{opacity:1}
ul.products li.product img{width:100%;aspect-ratio:4/3;object-fit:cover;margin:0!important;background:var(--pg-surface-forte)}
ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;font-weight:600;letter-spacing:.04em;line-height:1.35;color:var(--pg-encre);padding:var(--pg-e4) var(--pg-e4) 8px!important;margin:0}
ul.products li.product .price{display:block;padding:0 var(--pg-e4);margin:0 0 var(--pg-e3)!important;font-size:11px!important;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--pg-discret)!important}
ul.products li.product .price .amount{color:var(--pg-encre);font-size:15px;letter-spacing:0}
ul.products li.product .button{margin:auto var(--pg-e4) var(--pg-e4)!important;align-self:flex-start;min-height:42px;padding:10px 18px;font-size:12px}
ul.products li.product .added_to_cart{display:none}
ul.products li.product .onsale{position:absolute;top:0;right:0;left:auto;margin:0;min-height:0;min-width:0;border-radius:0;background:var(--pg-rouge);color:#fff;font-size:11px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;padding:8px 12px;line-height:1}
.woocommerce-pagination ul{list-style:none;display:flex;gap:8px;padding:0;margin:var(--pg-e6) 0 0;border:0!important}
.woocommerce-pagination ul li{border:0!important}

/* --------------------------------------------------------------------------
   Fiche produit
   -------------------------------------------------------------------------- */
.pg-produit-page div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:start}
.pg-produit-page div.product > .woocommerce-product-gallery,.pg-produit-page div.product > .summary{width:auto!important;float:none!important;margin:0!important}
.pg-produit-page div.product > .woocommerce-tabs,.pg-produit-page div.product > .related,.pg-produit-page div.product > .upsells,.pg-produit-page div.product > .pgui-full{grid-column:1/-1}
@media (max-width:900px){.pg-produit-page div.product{grid-template-columns:1fr}}
.woocommerce-product-gallery{position:relative}
.woocommerce-product-gallery img{width:100%}
.woocommerce-product-gallery__trigger{position:absolute;top:12px;right:12px;z-index:2;width:40px;height:40px;background:var(--pg-bandeau);display:flex!important;align-items:center;justify-content:center;font-size:0}
.woocommerce-product-gallery__trigger::before{content:"";width:14px;height:14px;border:2px solid #fff;border-radius:50%}
.flex-control-thumbs{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:0;margin:8px 0 0}
.flex-control-thumbs img{opacity:.6;cursor:pointer}.flex-control-thumbs img.flex-active{opacity:1}
.summary .product_title{font-size:clamp(28px,3.2vw,44px)}
.summary .price{font-size:26px;font-weight:700;color:var(--pg-encre);margin:0 0 var(--pg-e4)}
.summary .woocommerce-product-details__short-description{color:var(--pg-encre-2)}
.summary form.cart:not(.pgui-form){display:flex;flex-wrap:wrap;gap:12px;margin:var(--pg-e4) 0}
.summary form.cart:not(.pgui-form) .quantity input{width:90px;text-align:center}
.product_meta{font-size:12px;letter-spacing:.06em;color:var(--pg-discret);margin-top:var(--pg-e4)}
.product_meta > span{display:block;margin-bottom:4px}

/* Onglets */
.woocommerce-tabs{margin-top:var(--pg-e7)}
.woocommerce-tabs ul.tabs{list-style:none;display:flex;flex-wrap:wrap;gap:var(--pg-e5);padding:0!important;margin:0 0 var(--pg-e5)!important;border-bottom:1px solid var(--pg-filet)}
.woocommerce-tabs ul.tabs::before,.woocommerce-tabs ul.tabs li::before,.woocommerce-tabs ul.tabs li::after{display:none!important}
.woocommerce-tabs ul.tabs li{margin:0!important;padding:0!important;border:0!important;background:none!important;border-radius:0!important}
.woocommerce-tabs ul.tabs li a{display:block;padding:14px 0!important;font-size:12px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--pg-discret)!important;border-bottom:2px solid transparent;margin-bottom:-1px}
.woocommerce-tabs ul.tabs li.active a{color:var(--pg-encre)!important;border-bottom-color:var(--pg-rouge)}
.woocommerce-Tabs-panel{max-width:820px;line-height:1.75}
.woocommerce-Tabs-panel > h2:first-child{display:none}
.related > h2,.upsells > h2{font-size:clamp(22px,2.4vw,30px);margin:var(--pg-e7) 0 var(--pg-e4)}
.related > h2::before,.upsells > h2::before{content:"";display:block;width:40px;height:4px;background:var(--pg-rouge);margin-bottom:var(--pg-e3)}

/* --------------------------------------------------------------------------
   Configurateurs (produits gérés par « Visuels et quantités »)
   Héros sombre, puis un panneau clair qui reprend la charte : un seul rouge, angles vifs, Montserrat.
   -------------------------------------------------------------------------- */
.pg-config-hero{position:relative;overflow:hidden;padding:clamp(40px,6vw,80px) 0;border-bottom:1px solid var(--pg-filet)}
.pg-config-hero .pg-filigrane{width:min(36vw,420px);right:-6vw;top:58%}
.pg-config-hero__in{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(24px,5vw,64px);align-items:center}
.pg-config-hero h1{margin:0}
.pg-config-hero__desc{margin:var(--pg-e4) 0 0;max-width:620px;color:var(--pg-encre-2)}
.pg-config-hero__desc p:last-child{margin:0}
.pg-config-hero__img img{width:100%;aspect-ratio:4/3;object-fit:cover}
.pg-config-hero__points{list-style:none;margin:var(--pg-e4) 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 0}
.pg-config-hero__points li{font-size:11px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--pg-encre-2)}
.pg-config-hero__points li + li::before{content:"·";color:var(--pg-rouge);padding:0 .7em;letter-spacing:0}
@media (max-width:860px){.pg-config-hero__in{grid-template-columns:1fr}.pg-config-hero__img{max-width:520px}}

.pg-panneau-clair{background:var(--pg-clair-surface);color:var(--pg-clair-encre-2);padding:clamp(32px,5vw,64px) 0 clamp(48px,7vw,88px)}
.pg-panneau-clair h1,.pg-panneau-clair h2,.pg-panneau-clair h3,.pg-panneau-clair h4,.pg-panneau-clair strong{color:var(--pg-clair-encre)}
.pg-panneau-clair a{color:var(--pg-clair-encre)}
.pg-panneau-clair label{color:var(--pg-clair-encre-2)}
.pg-panneau-clair input[type=text],.pg-panneau-clair input[type=email],.pg-panneau-clair input[type=tel],.pg-panneau-clair input[type=number],.pg-panneau-clair input[type=password],.pg-panneau-clair input[type=search],.pg-panneau-clair select,.pg-panneau-clair textarea{background:#fff;color:var(--pg-clair-encre);border-color:var(--pg-clair-filet)}
.pg-panneau-clair input:focus,.pg-panneau-clair select:focus,.pg-panneau-clair textarea:focus{border-color:var(--pg-clair-encre)}
.pg-panneau-clair .woocommerce-message,.pg-panneau-clair .woocommerce-info,.pg-panneau-clair .woocommerce-error,.pg-panneau-clair .wc-block-components-notice-banner{background:#fff!important;color:var(--pg-clair-encre)!important}
.pg-panneau-clair .pg-btn--contour{border-color:var(--pg-clair-encre);color:var(--pg-clair-encre)}
.pg-panneau-clair .pg-btn--contour:hover{background:var(--pg-clair-encre);color:#fff}

body.pg-theme .pgui-product{--pg-red:#ed1c24;--pg-ink:#141414;--pg-muted:#5a5a5a;--pg-line:#dadada;--pg-soft:#f7f7f7;--pg-radius:0px;font-family:var(--pg-font)}
body.pg-theme .pgui-product div.product > .summary,body.pg-theme .pgui-product .summary{width:100%!important;float:none!important;margin:0!important}
body.pg-theme .pgui-product form.cart.pgui-form{max-width:none;grid-template-columns:minmax(0,1fr) 340px;gap:clamp(20px,3vw,40px)}
body.pg-theme .pgui-product .tm-extra-product-options .cpf-section{border-radius:0!important;box-shadow:none!important;border-color:var(--pg-clair-filet)!important;background:#fff!important}
body.pg-theme .pgui-product .tm-extra-product-options h2{font-family:var(--pg-font);font-size:12px!important;font-weight:500!important;letter-spacing:.25em!important;text-transform:uppercase;color:var(--pg-clair-discret)!important;margin:0 0 var(--pg-e4)!important;display:flex;align-items:center;gap:12px}
body.pg-theme .pgui-product .tm-extra-product-options h2::before{content:"";width:24px;height:3px;background:var(--pg-rouge);flex:0 0 auto}
body.pg-theme .pgui-product .tm-extra-product-options h3,body.pg-theme .pgui-product .tm-extra-product-options .tc-epo-element-label{font-family:var(--pg-font);font-size:13px!important;font-weight:600!important;letter-spacing:.08em!important;text-transform:uppercase;color:var(--pg-clair-encre)!important}
body.pg-theme .pgui-product .tm-extra-product-options .tm-description{font-size:13px!important;color:var(--pg-clair-discret)!important}
body.pg-theme .pgui-product .tm-extra-product-options .cpf-type-radio label.tm-epo-field-label{border-radius:0!important;border-color:var(--pg-clair-filet)!important;background:#fff!important;min-height:48px}
body.pg-theme .pgui-product .tm-extra-product-options .cpf-type-radio label.tm-epo-field-label:hover{border-color:var(--pg-clair-encre)!important;background:#fff!important}
body.pg-theme .pgui-product .tm-extra-product-options .cpf-type-radio label.tm-epo-field-label:has(input:checked){border-color:var(--pg-clair-encre)!important;background:#fff!important;box-shadow:inset 0 -3px 0 var(--pg-rouge),0 0 0 1px var(--pg-clair-encre)!important}
body.pg-theme .pgui-product .tm-extra-product-options .cpf-type-radio label.tm-epo-field-label:has(input:checked) .tm-label{font-weight:600!important;color:var(--pg-clair-encre)!important}
body.pg-theme .pgui-product label:has(input:checked)::after{color:var(--pg-rouge)!important}
body.pg-theme .pgui-product .tm-extra-product-options .cpf-type-radio label.tm-epo-field-label:has(input:focus-visible){outline:2px solid var(--pg-clair-encre)!important;outline-offset:2px}
body.pg-theme .pgui-product .tm-extra-product-options .cpf-type-radio .tm-label{font-family:var(--pg-font);font-size:14px!important}
body.pg-theme .pgui-product .tm-extra-product-options input[type=number],body.pg-theme .pgui-product .tm-extra-product-options input[type=text]{border-radius:0!important;border-color:var(--pg-clair-filet)!important;font-family:var(--pg-font)}
body.pg-theme .pgui-product .tm-extra-product-options input:focus-visible{outline:2px solid var(--pg-clair-encre)!important;border-color:var(--pg-clair-encre)!important}
body.pg-theme .pgui-product .tc-repeater-section{border-radius:0!important;border-color:var(--pg-clair-filet)!important;background:var(--pg-soft)!important}
body.pg-theme .pgui-product .pgmv-row-title{border-radius:0!important;border:0!important;background:var(--pg-clair-encre)!important;color:#fff;font-size:11px!important;font-weight:500;letter-spacing:.2em;text-transform:uppercase;padding:7px 12px!important}
body.pg-theme .pgui-product .cpf-type-upload .cpf-upload-container{border-radius:0!important;border-color:#a8a8a8!important}
body.pg-theme .pgui-product .tc-section-repeater-add{border-radius:0!important;border-color:var(--pg-clair-encre)!important;font-size:12px!important;font-weight:600!important;letter-spacing:.16em!important;text-transform:uppercase;min-height:48px}
body.pg-theme .pgui-product .tc-section-repeater-add:hover{background:var(--pg-clair-encre)!important;color:#fff!important}
body.pg-theme .pgui-product .pgmv-total{border-radius:0!important;background:#fff!important;border-left:4px solid var(--pg-rouge)!important;color:var(--pg-clair-encre)}
body.pg-theme .pgui-product .pgmv-invalid{color:var(--pg-clair-encre)!important;border-left-color:var(--pg-clair-encre)!important}
/* Encart d'achat : noir Power, bande rouge en bas */
body.pg-theme .pgui-product .pgui-purchase{border-radius:0!important;box-shadow:none!important;background:var(--pg-bandeau)!important;border-bottom:6px solid var(--pg-rouge);padding:28px!important}
body.pg-theme .pgui-product .pgui-purchase h2{font-family:var(--pg-font);font-size:12px!important;font-weight:500!important;letter-spacing:.25em;text-transform:uppercase;color:var(--pg-discret)!important}
body.pg-theme .pgui-product .pgui-recap{color:#fff!important;font-size:15px!important;font-weight:600}
body.pg-theme .pgui-product .pgui-options dt{color:var(--pg-discret)!important}
body.pg-theme .pgui-product .pgui-purchase dt.tm-final-totals{font-size:11px!important;font-weight:500!important;letter-spacing:.2em;text-transform:uppercase;color:var(--pg-discret)!important}
body.pg-theme .pgui-product .pgui-purchase .price,body.pg-theme .pgui-product .pgui-purchase .amount{font-family:var(--pg-font);font-size:36px!important;font-weight:700!important}
body.pg-theme .pgui-product .pgui-purchase .quantity input{border-radius:0!important}
body.pg-theme .pgui-product .pgui-purchase .single_add_to_cart_button{border-radius:0!important;font-size:13px!important;font-weight:600!important;letter-spacing:.16em!important;text-transform:uppercase;min-height:54px}
body.pg-theme .pgui-product .pgui-purchase .single_add_to_cart_button:hover{background:#c8161d!important}
body.pg-theme .pgui-product .pgui-shared-note{color:var(--pg-discret)!important}
@media (max-width:1000px){body.pg-theme .pgui-product form.cart.pgui-form{grid-template-columns:minmax(0,1fr) 280px}}
@media (max-width:767px){body.pg-theme .pgui-product form.cart.pgui-form{display:flex}}
body.pg-theme.pg-configurateur .pgui-product .woocommerce-tabs{margin-top:var(--pg-e6)}
body.pg-theme.pg-configurateur .pgui-product .woocommerce-tabs ul.tabs li a{color:var(--pg-clair-discret)!important}
body.pg-theme.pg-configurateur .pgui-product .woocommerce-tabs ul.tabs li.active a{color:var(--pg-clair-encre)!important}
body.pg-theme.pg-configurateur .pgui-product .woocommerce-tabs ul.tabs{border-bottom-color:var(--pg-clair-filet)}
body.pg-theme.pg-configurateur .pg-panneau-clair .related{display:none} /* produits liés : affichés en bande sombre après le panneau */

/* --------------------------------------------------------------------------
   Panier, commande, compte (classiques et blocs) — panneau clair
   -------------------------------------------------------------------------- */
.pg-panneau-clair .shop_table{width:100%;border:0;border-collapse:collapse;background:#fff;font-size:14px}
.pg-panneau-clair .shop_table th{font-size:11px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--pg-clair-discret);text-align:left;padding:14px 16px;border-bottom:1px solid var(--pg-clair-filet)}
.pg-panneau-clair .shop_table td{padding:16px;border-bottom:1px solid var(--pg-clair-filet);vertical-align:top;color:var(--pg-clair-encre)}
.pg-panneau-clair .shop_table img{width:72px;height:auto}
.pg-panneau-clair .shop_table .product-remove a{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid var(--pg-clair-filet);color:var(--pg-clair-encre)!important;font-size:18px;line-height:1}
.pg-panneau-clair .shop_table .product-remove a:hover{background:var(--pg-rouge);border-color:var(--pg-rouge);color:#fff!important}
.pg-panneau-clair .cart_totals,.pg-panneau-clair .woocommerce-checkout-review-order,.pg-panneau-clair .woocommerce-form-login,.pg-panneau-clair .woocommerce-form-register{background:#fff;padding:var(--pg-e5);border:1px solid var(--pg-clair-filet)}
.pg-panneau-clair .cart-collaterals{margin-top:var(--pg-e5);display:flex;justify-content:flex-end}
.pg-panneau-clair .cart_totals{width:min(100%,460px)}
.pg-panneau-clair .cart_totals h2,.pg-panneau-clair #order_review_heading,.pg-panneau-clair .woocommerce-billing-fields h3,.pg-panneau-clair .woocommerce-additional-fields h3{font-size:12px;font-weight:500;letter-spacing:.25em;text-transform:uppercase;color:var(--pg-clair-discret)}
.pg-panneau-clair .wc-proceed-to-checkout .checkout-button,.pg-panneau-clair #place_order{width:100%}
.pg-panneau-clair .coupon{display:flex;gap:8px;flex-wrap:wrap}
.pg-panneau-clair .coupon input{width:auto;flex:1 1 200px}
.pg-panneau-clair dl.variation{font-size:12px;color:var(--pg-clair-encre-2);margin:8px 0 0}
.pg-panneau-clair dl.variation dt{font-weight:600;color:var(--pg-clair-encre)}
.pg-panneau-clair dl.variation dd{margin:0 0 6px}
.pg-panneau-clair dl.variation dd p{margin:0}
.pg-panneau-clair .woocommerce form .form-row,.pg-panneau-clair form .form-row{margin:0 0 var(--pg-e3);padding:0}
.pg-panneau-clair .woocommerce form .form-row label,.pg-panneau-clair form .form-row label{font-size:11px}
.pg-panneau-clair .select2-container .select2-selection--single{height:50px;border-radius:0;border-color:var(--pg-clair-filet)}
.pg-panneau-clair .select2-container .select2-selection--single .select2-selection__rendered{line-height:48px;padding-left:14px}
.pg-panneau-clair .select2-container .select2-selection--single .select2-selection__arrow{height:48px}
.pg-panneau-clair #payment{background:var(--pg-clair-surface)!important;border-radius:0!important}
.pg-panneau-clair #payment div.payment_box{background:#fff!important;border-radius:0}
.pg-panneau-clair #payment div.payment_box::before{display:none}
@media (min-width:900px){
	.pg-panneau-clair form.checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:var(--pg-e6);align-items:start}
	.pg-panneau-clair form.checkout > .col2-set{grid-column:1}
	.pg-panneau-clair form.checkout > #order_review_heading,.pg-panneau-clair form.checkout > #order_review{grid-column:2}
	.pg-panneau-clair form.checkout > #order_review_heading{grid-row:1;margin:0}
	.pg-panneau-clair form.checkout > #order_review{grid-row:2/span 3}
	.pg-panneau-clair .col2-set .col-1,.pg-panneau-clair .col2-set .col-2{width:100%;float:none}
}
/* --------------------------------------------------------------------------
   Mon compte (1.2) — navigation à gauche, contenu en carte blanche
   -------------------------------------------------------------------------- */
.pg-panneau-clair .entry-content a:not(.pg-btn):not(.button):not(.wp-block-button__link):not(.wc-block-components-button){color:var(--pg-clair-encre);border-bottom:0}
.woocommerce-account.logged-in .pg-panneau-clair .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:var(--pg-e5);align-items:start}
.woocommerce-account .pg-panneau-clair .woocommerce::before,.woocommerce-account .pg-panneau-clair .woocommerce::after{display:none!important;content:none!important}
.woocommerce-account .pg-panneau-clair .woocommerce > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content){grid-column:1/-1}
.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content{width:auto!important;float:none!important;margin:0!important}

.pg-panneau-clair .woocommerce-MyAccount-navigation{position:sticky;top:calc(var(--pg-header-h) + 24px);background:#fff;border:1px solid var(--pg-clair-filet)}
.admin-bar .pg-panneau-clair .woocommerce-MyAccount-navigation{top:calc(var(--pg-header-h) + 56px)}
.pg-panneau-clair .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;background:none}
.pg-panneau-clair .woocommerce-MyAccount-navigation li{margin:0;border-bottom:1px solid var(--pg-clair-filet)}
.pg-panneau-clair .woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
.pg-panneau-clair .woocommerce-MyAccount-navigation a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--pg-clair-encre-2)!important;border-left:3px solid transparent!important;border-bottom:0!important;transition:background-color .15s,color .15s}
.pg-panneau-clair .woocommerce-MyAccount-navigation a::after{content:"";width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);opacity:.35}
.pg-panneau-clair .woocommerce-MyAccount-navigation a:hover{background:var(--pg-clair-surface);color:var(--pg-clair-encre)!important;opacity:1}
.pg-panneau-clair .woocommerce-MyAccount-navigation .is-active a{color:var(--pg-clair-encre)!important;font-weight:600;border-left-color:var(--pg-rouge)!important;background:var(--pg-clair-surface)}
.pg-panneau-clair .woocommerce-MyAccount-navigation .is-active a::after{opacity:1;color:var(--pg-rouge)}
.pg-panneau-clair .woocommerce-MyAccount-navigation-link--customer-logout{border-top:1px solid var(--pg-clair-filet)}
.pg-panneau-clair .woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--pg-clair-discret)!important}

.pg-panneau-clair .woocommerce-MyAccount-content{background:#fff;border:1px solid var(--pg-clair-filet);padding:clamp(20px,3.4vw,44px);min-height:100%;font-size:15px;color:var(--pg-clair-encre-2)}
.pg-panneau-clair .woocommerce-MyAccount-content > p:first-of-type{font-size:16px}
.pg-panneau-clair .woocommerce-MyAccount-content p a:not(.button){border-bottom:1px solid var(--pg-rouge)!important;font-weight:500}
.pg-panneau-clair .woocommerce-MyAccount-content h2,.pg-panneau-clair .woocommerce-MyAccount-content h3,.pg-panneau-clair .woocommerce-MyAccount-content legend{font-size:12px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--pg-clair-encre);margin:var(--pg-e5) 0 var(--pg-e3)}
.pg-panneau-clair .woocommerce-MyAccount-content > :first-child,.pg-panneau-clair .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:first-child + *{margin-top:0}
.pg-panneau-clair .woocommerce-MyAccount-content mark{background:none;color:var(--pg-clair-encre);font-weight:600}

/* Tableau de bord : raccourcis */
.pg-compte-tuiles{list-style:none;margin:var(--pg-e5) 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:var(--pg-e3)}
.pg-compte-tuiles a{display:flex;flex-direction:column;gap:6px;height:100%;padding:var(--pg-e4);background:var(--pg-clair-surface);border-left:4px solid var(--pg-rouge);border-bottom:0!important;color:var(--pg-clair-encre)!important;transition:background-color .15s}
.pg-compte-tuiles a:hover{background:#e9e9e9;opacity:1}
.pg-compte-tuiles strong{font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.pg-compte-tuiles span{font-size:13px;line-height:1.5;color:var(--pg-clair-encre-2)}

/* Tableaux : commandes, téléchargements, détail d'une commande */
.pg-panneau-clair .woocommerce-MyAccount-content .shop_table{border:1px solid var(--pg-clair-filet);margin:0 0 var(--pg-e4)}
.pg-panneau-clair .woocommerce-MyAccount-content .shop_table th{background:var(--pg-clair-surface)}
.pg-panneau-clair .woocommerce-MyAccount-content .shop_table td,.pg-panneau-clair .woocommerce-MyAccount-content .shop_table th{vertical-align:middle}
.pg-panneau-clair .woocommerce-orders-table__cell-order-number a{font-weight:700;border-bottom:0!important}
.pg-panneau-clair .woocommerce-orders-table__cell-order-number a:hover{color:var(--pg-rouge)}
.pg-panneau-clair .woocommerce-orders-table__cell-order-status{white-space:nowrap}
.pg-panneau-clair .woocommerce-orders-table__cell-order-status::before{content:"";display:inline-block;width:8px;height:8px;border-radius:9999px;background:var(--pg-clair-discret);margin-right:10px;vertical-align:middle}
.pg-panneau-clair .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status::before,.pg-panneau-clair .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status::before{background:var(--pg-rouge)}
.pg-panneau-clair .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status::before{background:var(--pg-clair-encre)}
.pg-panneau-clair .woocommerce-orders-table__cell-order-total{white-space:nowrap}
.pg-panneau-clair .woocommerce-orders-table__cell-order-total .amount{font-weight:600;color:var(--pg-clair-encre)}
.pg-panneau-clair .woocommerce-orders-table__cell-order-actions{text-align:right}
.pg-panneau-clair .woocommerce-MyAccount-content .shop_table .button,.pg-panneau-clair .woocommerce-MyAccount-content .woocommerce-Address .edit{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;margin:2px 0 2px 6px;font-size:11px;letter-spacing:.16em;background:transparent!important;color:var(--pg-clair-encre)!important;border:1px solid var(--pg-clair-encre)!important}
.pg-panneau-clair .woocommerce-MyAccount-content .shop_table .button:hover,.pg-panneau-clair .woocommerce-MyAccount-content .woocommerce-Address .edit:hover{background:var(--pg-clair-encre)!important;color:#fff!important}
.pg-panneau-clair .woocommerce-pagination{display:flex;gap:8px;justify-content:space-between}
.pg-panneau-clair .woocommerce-order-details__title,.pg-panneau-clair .woocommerce-column__title{margin-top:var(--pg-e5)!important}
.pg-panneau-clair .woocommerce-MyAccount-content .order-again{margin-top:var(--pg-e3)}
.pg-panneau-clair .woocommerce-MyAccount-content > p:has(mark.order-number){padding:16px 20px;background:var(--pg-clair-surface);border-left:4px solid var(--pg-rouge)}
@media (max-width:760px){
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive thead{display:none}
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive,.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive tbody{display:block;border:0}
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive tr{display:block;margin:0 0 var(--pg-e3);padding:4px 16px;border:1px solid var(--pg-clair-filet);border-left:4px solid var(--pg-rouge)}
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive th.woocommerce-orders-table__cell-order-number{text-align:left!important}
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive td,.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive th{display:block;padding:12px 0;text-align:right!important;background:none!important;border-bottom:1px solid var(--pg-clair-filet)}
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive td::after{content:"";display:table;clear:both}
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive .woocommerce-orders-table__cell-order-status::before{display:inline;width:auto;height:auto;border-radius:0;background:none!important;margin:0;vertical-align:baseline}
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive tr > :last-child{border-bottom:0}
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive td::before{content:attr(data-title);float:left;font-size:11px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--pg-clair-discret);text-align:left}
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive .woocommerce-orders-table__cell-order-actions::before{content:none}
	.pg-panneau-clair .woocommerce-MyAccount-content .shop_table_responsive .woocommerce-orders-table__cell-order-actions{padding-top:14px}
}

/* Adresses */
.pg-panneau-clair .woocommerce-Addresses{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--pg-e4);margin-top:var(--pg-e4)}
.pg-panneau-clair .woocommerce-Addresses::before,.pg-panneau-clair .woocommerce-Addresses::after{content:none!important}
.pg-panneau-clair .woocommerce-Addresses .woocommerce-Address{width:auto!important;float:none!important;margin:0!important;padding:var(--pg-e4);background:var(--pg-clair-surface);border-left:4px solid var(--pg-rouge)}
.pg-panneau-clair .woocommerce-Address-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:var(--pg-e3)}
.pg-panneau-clair .woocommerce-Address-title::before,.pg-panneau-clair .woocommerce-Address-title::after{content:none!important}
.pg-panneau-clair .woocommerce-Address-title h2,.pg-panneau-clair .woocommerce-Address-title h3{margin:0!important}
.pg-panneau-clair .woocommerce-Address-title .edit{float:none!important;margin:0!important}
.pg-panneau-clair .woocommerce-Address address,.pg-panneau-clair .woocommerce-customer-details address{font-style:normal;line-height:1.7;color:var(--pg-clair-encre);border:0!important;padding:0!important}
.pg-panneau-clair .woocommerce-customer-details .woocommerce-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--pg-e4)}
.pg-panneau-clair .woocommerce-customer-details .woocommerce-column{width:auto!important;float:none!important;padding:var(--pg-e4);background:var(--pg-clair-surface)}
.pg-panneau-clair .woocommerce-customer-details .woocommerce-columns::before,.pg-panneau-clair .woocommerce-customer-details .woocommerce-columns::after{content:none}

/* Formulaires du compte (détails, adresses, mot de passe) */
.pg-panneau-clair .woocommerce-MyAccount-content form .form-row-first,.pg-panneau-clair .woocommerce-MyAccount-content form .form-row-last{width:calc(50% - 10px)!important}
.pg-panneau-clair .woocommerce-MyAccount-content form .form-row-first{float:left!important;clear:both}
.pg-panneau-clair .woocommerce-MyAccount-content form .form-row-last{float:right!important}
.pg-panneau-clair .woocommerce-MyAccount-content form .form-row-wide{clear:both}
@media (max-width:600px){.pg-panneau-clair .woocommerce-MyAccount-content form .form-row-first,.pg-panneau-clair .woocommerce-MyAccount-content form .form-row-last{width:100%!important;float:none!important}}
.pg-panneau-clair .woocommerce-MyAccount-content fieldset{clear:both;margin:var(--pg-e5) 0 var(--pg-e4);padding:var(--pg-e4);border:1px solid var(--pg-clair-filet)}
.pg-panneau-clair .woocommerce-MyAccount-content fieldset legend{padding:0 10px;margin:0}
.pg-panneau-clair .woocommerce-MyAccount-content form em,.pg-panneau-clair .woocommerce-MyAccount-content #account_display_name_description{display:block;margin-top:6px;font-size:13px;color:var(--pg-clair-discret)}
.pg-panneau-clair .woocommerce-MyAccount-content form > p:last-of-type{clear:both;margin-top:var(--pg-e4)}
.pg-panneau-clair .woocommerce-MyAccount-content .password-input{display:block;position:relative}
.pg-panneau-clair .woocommerce-MyAccount-content .show-password-input{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:0;min-height:0;padding:4px}

/* Mobile : navigation en onglets défilants */
@media (max-width:860px){
	.woocommerce-account.logged-in .pg-panneau-clair .woocommerce{grid-template-columns:1fr;gap:var(--pg-e4)}
	.pg-panneau-clair .woocommerce-MyAccount-navigation{position:static;overflow-x:auto;-webkit-overflow-scrolling:touch}
	.pg-panneau-clair .woocommerce-MyAccount-navigation ul{display:flex;width:max-content;min-width:100%}
	.pg-panneau-clair .woocommerce-MyAccount-navigation li{border:0}
	.pg-panneau-clair .woocommerce-MyAccount-navigation-link--customer-logout{border:0;margin-left:auto}
	.pg-panneau-clair .woocommerce-MyAccount-navigation a{padding:14px 16px;white-space:nowrap;border-left:0!important;border-bottom:3px solid transparent!important}
	.pg-panneau-clair .woocommerce-MyAccount-navigation a::after{content:none}
	.pg-panneau-clair .woocommerce-MyAccount-navigation .is-active a{border-bottom-color:var(--pg-rouge)!important}
}

/* Connexion / inscription */
.woocommerce-account .pg-panneau-clair .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:var(--pg-e5)}
.woocommerce-account .pg-panneau-clair .u-columns::before,.woocommerce-account .pg-panneau-clair .u-columns::after{content:none}
.woocommerce-account .pg-panneau-clair .u-columns .col-1,.woocommerce-account .pg-panneau-clair .u-columns .col-2{width:auto;float:none}
.woocommerce-account .pg-panneau-clair .u-columns h2{font-size:12px;font-weight:600;letter-spacing:.22em;text-transform:uppercase}
.pg-panneau-clair .woocommerce-form-login,.pg-panneau-clair .woocommerce-form-register,.pg-panneau-clair .woocommerce-ResetPassword{margin:0!important;border-radius:0!important}
@media (max-width:820px){.woocommerce-account .pg-panneau-clair .u-columns{grid-template-columns:1fr}}
.woocommerce-form-login__rememberme{text-transform:none;letter-spacing:0;font-size:14px;display:flex;gap:8px;align-items:center}
.pg-panneau-clair .woocommerce-LostPassword a{border-bottom:1px solid var(--pg-rouge)!important}

/* Blocs Panier / Commande de WooCommerce */
.pg-panneau-clair .wp-block-woocommerce-cart,.pg-panneau-clair .wp-block-woocommerce-checkout{font-family:var(--pg-font);color:var(--pg-clair-encre)}
.pg-panneau-clair .wc-block-components-button:not(.is-link){border-radius:0!important;background:var(--pg-rouge)!important;color:#fff!important;font-weight:600!important;letter-spacing:.16em;text-transform:uppercase;font-size:13px!important;min-height:54px}
.pg-panneau-clair .wc-block-components-button:not(.is-link):hover{background:#c8161d!important}
.pg-panneau-clair .wc-block-components-text-input input,.pg-panneau-clair .wc-block-components-combobox .components-combobox-control__input,.pg-panneau-clair .wc-blocks-components-select__select{border-radius:0!important}
.pg-panneau-clair .wc-block-components-sidebar-layout .wc-block-components-sidebar,.pg-panneau-clair .wc-block-cart__sidebar{background:#fff;padding:var(--pg-e4)!important;border:1px solid var(--pg-clair-filet)}
.pg-panneau-clair .wc-block-cart-items,.pg-panneau-clair .wc-block-components-main{background:#fff;padding:var(--pg-e4)!important;border:1px solid var(--pg-clair-filet)}
.pg-panneau-clair .wc-block-components-title,.pg-panneau-clair .wc-block-cart-items__header{font-size:11px!important;font-weight:500!important;letter-spacing:.2em;text-transform:uppercase;color:var(--pg-clair-discret)!important}
.pg-panneau-clair .wc-block-components-product-name{font-weight:600;color:var(--pg-clair-encre)!important}
.pg-panneau-clair .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--pg-clair-encre)}
.pg-panneau-clair .wc-block-components-radio-control__input:checked::before{background:var(--pg-rouge)}
/* Liste lisible des options et de la répartition par visuel (blocs) */
.pg-panneau-clair .wc-block-components-product-details{display:grid!important;gap:0;margin-top:12px;font-size:13px;line-height:1.5;text-align:left}
.pg-panneau-clair .wc-block-components-product-details > span{display:grid!important;grid-template-columns:minmax(110px,40%) minmax(0,1fr);gap:12px;padding:6px 0;border-bottom:1px solid #ececec}
.pg-panneau-clair .wc-block-components-product-details > span > span[aria-hidden=true]{display:none!important}
.pg-panneau-clair .wc-block-components-product-details__name{font-weight:600}
.pg-panneau-clair .wc-block-components-product-details__value{overflow-wrap:anywhere}
@media (max-width:480px){.pg-panneau-clair .wc-block-components-product-details > span{grid-template-columns:1fr;gap:2px}}

/* Panier vide / commande reçue */
.pg-panneau-clair .cart-empty,.pg-panneau-clair .wc-block-checkout-empty,.pg-panneau-clair .wc-block-cart__empty-cart__title{font-size:20px;font-weight:600;color:var(--pg-clair-encre)}
.pg-panneau-clair .woocommerce-order-overview{list-style:none;display:flex;flex-wrap:wrap;gap:0;padding:0;margin:0 0 var(--pg-e5);background:#fff;border:1px solid var(--pg-clair-filet)}
.pg-panneau-clair .woocommerce-order-overview li{flex:1 1 180px;padding:var(--pg-e3) var(--pg-e4);border-right:1px solid var(--pg-clair-filet);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--pg-clair-discret)}
.pg-panneau-clair .woocommerce-order-overview strong{display:block;margin-top:6px;font-size:15px;letter-spacing:0;text-transform:none}

/* Les libellés de ThemeComplete gardent leur casse (le style global des <label> du thème ne s'applique pas). */
body.pg-theme .tm-extra-product-options label,body.pg-theme .tm-extra-product-options .tm-label{text-transform:none;letter-spacing:0;font-size:inherit}
body.pg-theme .tm-extra-product-options ul,body.pg-theme .tm-extra-product-options li{list-style:none}
/* Boutons WooCommerce classiques (avis, formulaires) à la charte. */
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce a.button.alt,.woocommerce button.button.alt{
	border-radius:0;background:var(--pg-rouge);color:#fff;font-family:var(--pg-font);font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;padding:14px 24px;line-height:1.2}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:#c8161d;color:#fff}
.woocommerce .star-rating span::before,.woocommerce p.stars a{color:var(--pg-rouge)}
@media (max-width:600px){.pg-config-hero__points{display:block}.pg-config-hero__points li{margin:0 0 6px}.pg-config-hero__points li + li::before{content:none}}

/* Correction du panier : retour d'information à l'ajout, lignes des configurateurs. */
.pgcart-feedback{margin:12px 0 0;padding:12px 14px;border-left:3px solid var(--pg-rouge);background:#ffffff14;color:#fff;font-size:13px;line-height:1.5}
.pgcart-feedback a{color:#fff;border-bottom:1px solid var(--pg-rouge);font-weight:600}
form.cart[aria-busy=true] .single_add_to_cart_button{cursor:wait;opacity:.7}
.pg-panneau-clair .pgcart-line dl.variation{display:grid!important;grid-template-columns:minmax(120px,40%) minmax(0,1fr);gap:8px 14px;margin:12px 0;text-align:left!important}
.pg-panneau-clair .pgcart-line dl.variation dt,.pg-panneau-clair .pgcart-line dl.variation dd{float:none!important;display:block!important;margin:0!important;min-width:0;overflow-wrap:anywhere}
@media (max-width:600px){.pg-panneau-clair .pgcart-line dl.variation{grid-template-columns:1fr}}
