:root{--pco-yellow:#fdc204;--pco-black:#171717;--pco-cream:#f5f3ee;--pco-line:#dfdfdf;--pco-muted:#6d6d6d;--pco-radius:18px}
body.pco-image-configurator-page{--theme-color:#fdc204}
body.pco-header-ready .fusion-header-wrapper,body.pco-header-ready #side-header{display:none!important}
body.pco-header-ready #main{padding-top:0!important}
body.pco-image-configurator-page.pco-config-ready #product-1442>.woocommerce-product-gallery,body.pco-image-configurator-page.pco-config-ready #product-1442>.summary{display:none!important}
body.pco-image-configurator-page.pco-config-ready #product-1442{display:block!important}
body.pco-image-configurator-page.pco-config-ready .woocommerce-tabs,body.pco-image-configurator-page.pco-config-ready .related,body.pco-image-configurator-page.pco-config-ready .upsells{clear:both}
.pco-app-header{display:none;background:var(--pco-yellow);width:100vw;margin-left:calc(50% - 50vw);position:relative;z-index:9998}
.pco-header-ready .pco-app-header{display:block}
.pco-app-header__inner{max-width:1280px;margin:0 auto;min-height:58px;padding:5px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-sizing:border-box}
.pco-app-brand img{height:46px;width:auto;display:block}.pco-app-links{display:flex;gap:8px}.pco-app-links a{min-height:40px;padding:0 15px;border-radius:12px;background:#fff;color:var(--pco-black)!important;text-decoration:none!important;font:800 12px/40px Arial,sans-serif}.pco-app-links a.is-active{background:var(--pco-black);color:#fff!important}.pco-app-menu-toggle,.pco-app-mobile-menu{display:none}
.pco-configurator{display:none;width:100vw;margin-left:calc(50% - 50vw);background:linear-gradient(180deg,#fffdf7 0,#f4f1e9 100%);padding:26px 18px 36px;box-sizing:border-box;color:var(--pco-black);font-family:Arial,sans-serif}
.pco-config-ready .pco-configurator{display:block}.pco-config-grid{max-width:1450px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);gap:18px;align-items:start}
.pco-preview-column,.pco-controls-column{background:#fff;border-radius:22px;box-shadow:0 14px 42px rgba(0,0,0,.08);padding:15px;box-sizing:border-box}.pco-controls-column{padding:20px}
.pco-view-tabs,.pco-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pco-mode-switch--three{grid-template-columns:repeat(3,minmax(0,1fr))}.pco-view-tabs{margin-bottom:12px}.pco-view-tab,.pco-mode-switch button,.pco-mode-switch a{height:52px;border:1px solid #ddd;border-radius:14px;background:#fff;color:var(--pco-black);font-weight:900;display:flex;align-items:center;justify-content:center;text-decoration:none!important;cursor:pointer}.pco-view-tab.is-active,.pco-mode-switch .is-active{background:var(--pco-black);color:#fff;border-color:var(--pco-black)}
.pco-preview-stage{display:none;position:relative;width:100%;aspect-ratio:1/1;background:#ece8df;border-radius:16px;overflow:hidden}.pco-preview-stage.is-active{display:grid;place-items:center}.pco-preview-stage canvas{display:block;width:100%;height:100%;touch-action:none}.pco-preview-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(82%,430px);padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 10px 28px rgba(0,0,0,.08);text-align:center;color:#555;pointer-events:none}.pco-preview-empty strong,.pco-preview-empty span{display:block}.pco-preview-empty strong{font-size:20px;line-height:1.15;font-weight:900;color:#171717}.pco-preview-empty span{font-size:13px;margin-top:6px}.pco-preview-mockup img{width:100%;height:100%;object-fit:contain;display:block}.pco-preview-mockup canvas{position:absolute;z-index:2;touch-action:none;cursor:grab}.pco-preview-tip{font-size:12px;color:#777;margin:9px 3px 0}
.pco-breadcrumb{font-size:12px;color:#7c7c7c;margin:0 0 8px}.pco-controls-column h1{font-size:clamp(30px,3.2vw,48px);line-height:1;margin:0 0 6px}.pco-subtitle{font-size:17px;color:#444;margin:0 0 16px}.pco-mode-switch{margin-bottom:18px}.pco-step{margin:0 0 18px}.pco-step-title{font-size:16px;font-weight:800;margin-bottom:9px}.pco-step-title span{font-weight:900}.pco-format-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.pco-option-btn{min-height:64px;border:1px solid var(--pco-line);background:#fff;border-radius:13px;font-weight:800;padding:7px;cursor:pointer;position:relative}.pco-option-btn small{display:block;font-weight:500;font-size:12px;color:#666;margin-top:3px}.pco-option-btn.is-active{border:2px solid var(--pco-yellow);box-shadow:0 0 0 1px var(--pco-yellow) inset}.pco-option-btn.is-active:after{content:'✓';position:absolute;right:7px;top:7px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--pco-yellow);font-size:12px}
.pco-quantity-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:14px}.pco-quantity-options{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.pco-quantity-options .pco-option-btn{min-height:58px;font-size:16px;padding:4px}.pco-price-card{background:#f6f6f6;border-radius:14px;padding:12px 14px}.pco-price-card>div{display:flex;justify-content:space-between;gap:8px;margin:0 0 9px;font-size:13px}.pco-price-card>div:last-child{margin:0}.pco-price-total{border-top:1px solid #ddd;padding-top:10px}.pco-price-total strong{font-size:24px}
.pco-upload-zone{border:2px dashed #d6d1c6;border-radius:14px;min-height:96px;display:flex;align-items:center;justify-content:center;gap:16px;padding:12px;cursor:pointer;transition:.2s;background:#fff}.pco-upload-zone:hover,.pco-upload-zone.is-dragover{border-color:var(--pco-yellow);background:#fff9df}.pco-upload-icon{font-size:44px;line-height:1}.pco-upload-copy strong,.pco-upload-copy small,.pco-upload-copy em{display:block}.pco-upload-copy small{color:#777;margin:3px 0}.pco-upload-copy em{font-style:normal;color:#3f6db0;text-decoration:underline;font-size:13px}.pco-upload-status{min-height:20px;margin-top:7px;font-size:13px;color:#555}.pco-upload-status.is-ok{color:#17843b}.pco-upload-status.is-error{color:#b3261e}
.pco-adjust-row{display:grid;grid-template-columns:48px minmax(90px,1fr) 48px repeat(3,auto);gap:8px;align-items:center}.pco-tool{height:46px;border:1px solid #ddd;border-radius:12px;background:#fff;font-weight:800;cursor:pointer}.pco-tool-wide{padding:0 12px;white-space:nowrap}.pco-adjust-row input[type=range]{width:100%;accent-color:var(--pco-yellow)}
.pco-quality{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;border-radius:14px;padding:11px 13px;margin:2px 0 13px}.pco-quality.is-neutral{background:#f2f2f2}.pco-quality.is-good{background:#e9f8ec}.pco-quality.is-mid{background:#fff6d8}.pco-quality.is-low{background:#ffe8e8}.pco-quality-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#888;color:#fff;font-weight:900}.pco-quality.is-good .pco-quality-icon{background:#19a148}.pco-quality.is-mid .pco-quality-icon{background:#d89d00}.pco-quality.is-low .pco-quality-icon{background:#c93d32}.pco-quality strong,.pco-quality span{display:block}.pco-quality span{font-size:13px;color:#4e4e4e;margin-top:2px}
.pco-continue{width:100%;min-height:68px;border:0;border-radius:14px;background:var(--pco-yellow);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 22px;font-size:16px;font-weight:900;cursor:pointer}.pco-continue strong{font-size:22px;white-space:nowrap}.pco-continue:disabled{filter:grayscale(.8);opacity:.45;cursor:not-allowed}.pco-continue.is-busy{opacity:.7;pointer-events:none}.pco-trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:15px}.pco-trust-row div{display:flex;align-items:center;gap:7px;font-size:11px}.pco-trust-row b{font-size:18px}.pco-bottom-nav{display:none}
@media(max-width:1050px){.pco-config-grid{grid-template-columns:1fr 1fr}.pco-format-options{grid-template-columns:1fr 1fr}.pco-quantity-layout{grid-template-columns:1fr}.pco-quantity-options{grid-template-columns:repeat(6,1fr)}.pco-adjust-row{grid-template-columns:44px 1fr 44px;}.pco-tool-wide{grid-column:auto / span 1}.pco-adjust-row .pco-tool-wide{margin-top:2px}.pco-trust-row{grid-template-columns:1fr 1fr}}
@media(max-width:800px){body.pco-has-bottom-nav:not(.pco-image-configurator-page) .fusion-footer{padding-bottom:74px!important}body.pco-image-configurator-page.pco-config-ready .fusion-footer{padding-bottom:74px!important}.pco-app-header{position:sticky;top:0}.admin-bar .pco-app-header{top:46px}.pco-app-header__inner{min-height:52px;height:52px;padding:4px 12px 4px 14px}.pco-app-brand img{height:36px;max-width:155px}.pco-app-links{display:none}.pco-app-menu-toggle{display:flex;width:40px;height:40px;border:0;border-radius:11px;background:var(--pco-black);flex-direction:column;align-items:center;justify-content:center;gap:4px}.pco-app-menu-toggle span{width:18px;height:2px;background:#fff;border-radius:9px}.pco-app-mobile-menu{display:none;position:absolute;left:0;right:0;top:52px;background:var(--pco-yellow);padding:8px 12px 12px;box-shadow:0 14px 22px rgba(0,0,0,.18)}.pco-app-mobile-menu.is-open{display:grid;gap:7px}.pco-app-mobile-menu a{min-height:44px;background:#fff;color:#171717!important;border-radius:12px;padding:0 14px;display:flex;align-items:center;text-decoration:none!important;font-weight:800}.pco-app-mobile-menu a:first-child{background:#171717;color:#fff!important}
.pco-configurator{padding:14px 10px 82px}.pco-config-grid{grid-template-columns:1fr;display:flex;flex-direction:column}.pco-preview-column{order:2}.pco-controls-column{order:1;display:contents}.pco-breadcrumb{display:none}.pco-controls-column>h1,.pco-controls-column>.pco-subtitle,.pco-controls-column>.pco-mode-switch,.pco-controls-column>.pco-step[data-pco-step="format"],.pco-controls-column>.pco-step[data-pco-step="quantity"],.pco-controls-column>.pco-step[data-pco-step="upload"]{background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.07);padding:14px;margin:0 0 11px}.pco-controls-column>h1{margin:0;border-radius:18px 18px 0 0;padding-bottom:3px;box-shadow:none;font-size:30px}.pco-controls-column>.pco-subtitle{border-radius:0;padding-top:0;box-shadow:none;margin-top:-11px}.pco-controls-column>.pco-mode-switch{border-radius:0 0 18px 18px;margin-top:-11px}.pco-preview-column{padding:10px;border-radius:18px;margin-bottom:0}.pco-preview-tip{display:none}.pco-format-options{grid-template-columns:1fr 1fr}.pco-quantity-options{grid-template-columns:repeat(6,1fr)}.pco-quantity-options .pco-option-btn{min-height:50px}.pco-price-card{margin-top:4px}.pco-adjust-step,.pco-quality,.pco-continue,.pco-trust-row{order:3}.pco-controls-column>.pco-adjust-step{background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.07);padding:14px;margin:11px 0 0}.pco-controls-column>.pco-quality{margin:0}.pco-controls-column>.pco-continue{margin:0}.pco-controls-column>.pco-trust-row{background:#fff;border-radius:18px;padding:12px;margin:0}.pco-preview-column+.pco-controls-column{display:none}.pco-config-grid{gap:11px}.pco-preview-column{order:5}.pco-controls-column{order:1}.pco-controls-column>.pco-adjust-step{position:relative}.pco-config-grid .pco-preview-column{order:4}.pco-controls-column>.pco-adjust-step{order:5}.pco-controls-column>.pco-quality{order:6}.pco-controls-column>.pco-continue{order:7}.pco-controls-column>.pco-trust-row{order:8}.pco-controls-column{display:flex;flex-direction:column}.pco-controls-column>.pco-preview-mobile-slot{display:block}.pco-adjust-row{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-areas:'zoomout range zoomin' 'center rotate reset';gap:8px}.pco-adjust-row [data-pco-zoom="out"]{grid-area:zoomout}.pco-adjust-row #pco-zoom-range{grid-area:range;min-width:0}.pco-adjust-row [data-pco-zoom="in"]{grid-area:zoomin}.pco-adjust-row [data-pco-action="center"]{grid-area:center}.pco-adjust-row [data-pco-action="rotate"]{grid-area:rotate}.pco-adjust-row [data-pco-action="reset"]{grid-area:reset}.pco-adjust-row .pco-tool{min-width:0;height:50px}.pco-tool-wide{width:100%;font-size:11px;padding:0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pco-trust-row{grid-template-columns:1fr 1fr}.pco-bottom-nav{position:fixed;z-index:99999;left:0;right:0;bottom:0;display:flex;height:calc(64px + env(safe-area-inset-bottom));padding:4px 7px calc(4px + env(safe-area-inset-bottom));background:#171717;box-shadow:0 -10px 28px rgba(0,0,0,.28);border-radius:18px 18px 0 0}.pco-bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:12px;color:#fff!important;text-decoration:none!important;font-size:10px;font-weight:800}.pco-bottom-nav a.is-cart{background:var(--pco-yellow);color:#171717!important}.pco-bottom-nav__icon{font-size:18px}.pco-continue{min-height:62px;padding:0 14px;font-size:13px}.pco-continue strong{font-size:18px}.pco-preview-empty{width:min(86%,300px);padding:14px 14px}.pco-preview-empty strong{font-size:17px}.pco-preview-empty span{font-size:12px}}
@media(max-width:520px){.pco-format-options{grid-template-columns:1fr 1fr}.pco-option-btn{min-height:58px;font-size:13px}.pco-quantity-options{gap:4px}.pco-quantity-options .pco-option-btn{font-size:14px}.pco-view-tab{height:46px;font-size:12px}.pco-trust-row div{font-size:10px}.pco-upload-zone{min-height:88px}.pco-upload-icon{font-size:36px}}

@media(max-width:800px){.pco-controls-column>.pco-preview-column{order:4;margin:0}.pco-controls-column>.pco-adjust-step{order:5}.pco-controls-column>.pco-quality{order:6}.pco-controls-column>.pco-continue{order:7}.pco-controls-column>.pco-upload-step{order:8}.pco-controls-column>.pco-trust-row{order:9}}


/* v1.0.3 — masque uniquement l’ancien bloc produit natif après initialisation réussie.
   Le contenu SEO, les avis et recommandations situés plus bas restent disponibles. */
body.pco-image-configurator-page.pco-config-ready #product-1442 > .woocommerce-product-gallery,
body.pco-image-configurator-page.pco-config-ready #product-1442 > .summary,
body.pco-image-configurator-page.pco-config-ready #product-1442 > .product-images,
body.pco-image-configurator-page.pco-config-ready #product-1442 > .product-summary {
  display:none !important;
}
body.pco-image-configurator-page.pco-config-ready #product-1442::after {
  content:'';
  display:block;
  clear:both;
}


/* v1.0.4 — masquage robuste des deux blocs natifs détectés par le JS. */
body.pco-image-configurator-page.pco-config-ready .pco-native-hidden{display:none!important;}


/* v1.0.5 — masque le bloc produit WooCommerce natif complet après
   initialisation réussie. Le formulaire reste présent dans le DOM pour
   piloter les variations et l'ajout au panier. */
body.pco-image-configurator-page.pco-config-ready #product-1442.pco-native-product-hidden,
body.pco-image-configurator-page.pco-config-ready .product.pco-native-product-hidden{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}

/* v1.0.6 — mode LOGO + rendu mockup Canvas cross-browser. */
.pco-color-row{display:grid;grid-template-columns:minmax(170px,220px) minmax(170px,1fr) auto;gap:10px;align-items:center}
.pco-color-swatch{width:58px;height:48px;border:1px solid var(--pco-line);border-radius:12px;padding:4px;background:#fff;cursor:pointer;overflow:hidden}
.pco-color-swatch input[type=color]{width:100%;height:100%;border:0;padding:0;background:transparent;cursor:pointer}
.pco-hex-wrap{height:48px;border:1px solid var(--pco-line);border-radius:12px;background:#fff;display:flex;align-items:center;padding:0 12px;gap:4px;font-weight:800}
.pco-hex-wrap input{border:0!important;box-shadow:none!important;outline:0!important;width:100%;height:42px!important;padding:0!important;font-weight:800;text-transform:uppercase;background:transparent!important}
.pco-color-reset{padding:0 14px;white-space:nowrap}.pco-color-help{margin:8px 0 0;color:#666;font-size:12px;line-height:1.4}
.pco-preview-mockup #pco-mockup-canvas{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;clip-path:none!important;border-radius:0!important}
@media(max-width:800px){
 .pco-controls-column>.pco-bg-step{background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.07);padding:14px;margin:0 0 11px}
 .pco-color-row{grid-template-columns:54px 1fr}.pco-color-reset{grid-column:1/-1;width:100%}.pco-color-help{font-size:11px}
}


/* v1.0.7 — transition sans flash entre IMAGE / LOGO. */
body.pco-image-configurator-page:not(.pco-config-ready):not(.pco-config-fallback) #product-1442,
body.pco-image-configurator-page:not(.pco-config-ready):not(.pco-config-fallback) #product-1967{visibility:hidden!important;opacity:0!important}
body.pco-image-configurator-page:not(.pco-config-ready):not(.pco-config-fallback)::before,
body.pco-image-configurator-page.pco-config-switching::before{content:'';position:fixed;inset:0;background:#f5f3ee;z-index:2147483000}
body.pco-image-configurator-page:not(.pco-config-ready):not(.pco-config-fallback)::after,
body.pco-image-configurator-page.pco-config-switching::after{content:'PLATEAU&CO · Chargement du configurateur…';position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2147483001;background:#fdc204;color:#171717;border-radius:16px;padding:16px 22px;font:900 13px/1.2 Arial,sans-serif;box-shadow:0 12px 36px rgba(0,0,0,.16);white-space:nowrap}

/* v1.0.7 — palette interne, aucun sélecteur système Firefox. */
.pco-color-control{position:relative;min-width:0}.pco-color-trigger{width:100%;height:48px;border:1px solid var(--pco-line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:9px;padding:5px 12px;cursor:pointer;font-weight:800;color:#171717;text-align:left}.pco-color-trigger span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pco-color-preview{width:34px;height:34px;border-radius:8px;border:1px solid rgba(0,0,0,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);flex:0 0 auto}.pco-color-popover{position:absolute;top:56px;left:0;width:310px;max-width:calc(100vw - 44px);padding:12px;background:#fff;border:1px solid #ddd;border-radius:15px;box-shadow:0 16px 45px rgba(0,0,0,.2);z-index:99999}.pco-color-popover[hidden]{display:none!important}.pco-color-sv{position:relative;height:180px;border-radius:11px;cursor:crosshair;outline:0;overflow:hidden}.pco-color-sv:focus{box-shadow:0 0 0 3px rgba(253,194,4,.35)}.pco-color-cursor{position:absolute;width:18px;height:18px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #111,0 1px 4px rgba(0,0,0,.45);transform:translate(-50%,-50%);pointer-events:none}.pco-hue-row{display:grid;grid-template-columns:52px 1fr;gap:8px;align-items:center;margin-top:10px;font-size:12px;font-weight:800}.pco-hue-row input[type=range]{width:100%;height:16px;border:0!important;padding:0!important;background:linear-gradient(90deg,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00)!important;border-radius:10px;appearance:none;-webkit-appearance:none}.pco-hue-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid #171717;box-shadow:0 1px 4px rgba(0,0,0,.25)}.pco-hue-row input[type=range]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #171717;box-shadow:0 1px 4px rgba(0,0,0,.25)}.pco-hue-row input[type=range]::-moz-range-track{background:transparent;border:0}.pco-color-popover-footer{display:flex;align-items:center;gap:9px;margin-top:10px;padding-top:10px;border-top:1px solid #eee}.pco-color-live{width:30px;height:30px;border-radius:8px;border:1px solid rgba(0,0,0,.15)}.pco-color-popover-footer strong{font-size:13px;letter-spacing:.03em}.pco-empty-upload-btn{pointer-events:auto;appearance:none;border:0;border-radius:999px;background:var(--pco-yellow);color:#171717;font-weight:900;font-size:14px;line-height:1;padding:12px 18px;box-shadow:0 6px 16px rgba(0,0,0,.10);cursor:pointer;margin:0 auto 12px;display:inline-flex;align-items:center;justify-content:center}.pco-empty-upload-btn:hover{transform:translateY(-1px)}.pco-empty-upload-btn:focus-visible{outline:3px solid rgba(253,194,4,.35);outline-offset:2px}
@media(max-width:800px){.pco-color-popover{left:0;width:min(310px,calc(100vw - 48px))}}


/* v1.0.9 — finitions mobile : titre et bloc couleur. */
@media(max-width:800px){
  .pco-controls-column>h1{font-size:28px!important;line-height:1.08!important;letter-spacing:-.02em!important;padding-bottom:10px!important;word-break:normal;overflow-wrap:break-word}
  .pco-controls-column>.pco-subtitle{margin-top:-4px!important;line-height:1.24!important;font-size:16px!important}
  .pco-controls-column>.pco-mode-switch{margin-top:-4px!important}
  .pco-color-row{grid-template-columns:1fr!important;gap:10px!important}
  .pco-color-control,.pco-hex-wrap,.pco-color-reset{grid-column:1/-1!important;min-width:0!important}
  .pco-color-trigger{justify-content:flex-start!important}
  .pco-hex-wrap{padding:0 14px!important}
  .pco-hex-wrap input{font-size:16px!important;min-width:0!important}
  .pco-color-reset{width:100%!important}
}


/* v1.1.0 — troisième mode COULEUR UNIE. */
.pco-mode-switch--three button,.pco-mode-switch--three a{min-width:0;padding:0 8px;text-align:center;line-height:1.1}
body.pco-image-configurator-page.pco-config-ready #product-1507.pco-native-product-hidden{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.pco-image-configurator-page:not(.pco-config-ready):not(.pco-config-fallback) #product-1507{visibility:hidden!important;opacity:0!important}
@media(max-width:800px){
  .pco-mode-switch--three{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .pco-mode-switch--three button,.pco-mode-switch--three a{height:58px!important;padding:0 5px!important;font-size:10px!important;white-space:normal!important}
  .pco-controls-column>.pco-bg-step{background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.07);padding:14px;margin:0 0 11px}
}

@media(max-width:800px){.pco-empty-upload-btn{width:100%;max-width:240px;font-size:13px;padding:11px 16px}}

/* v1.2.0 — boutons de variations natifs Avada (hors pages configurateur) alignés sur
   le style des cartes du configurateur, + bouton "Ajouter au panier" plus chaleureux. */
.avada-select-wrapper{display:flex!important;flex-wrap:wrap!important;gap:9px!important}
a.avada-button-select{
  min-height:56px!important;
  min-width:88px;
  box-sizing:border-box;
  border:1px solid var(--pco-line)!important;
  background:#fff!important;
  border-radius:13px!important;
  font-weight:800!important;
  font-size:13px!important;
  padding:10px 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative;
  color:var(--pco-black)!important;
  text-decoration:none!important;
  transition:border-color .15s,box-shadow .15s;
}
a.avada-button-select[data-checked="true"]{
  border:2px solid var(--pco-yellow)!important;
  box-shadow:0 0 0 1px var(--pco-yellow) inset!important;
}
a.avada-button-select[data-checked="true"]:after{
  content:'\2713';
  position:absolute;right:6px;top:6px;
  width:20px;height:20px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--pco-yellow);
  font-size:11px;color:var(--pco-black);
  line-height:1;
}
a.avada-image-select{
  width:66px!important;height:66px!important;
  box-sizing:border-box;
  border-radius:13px!important;
  border:1px solid var(--pco-line)!important;
  overflow:hidden!important;
  position:relative;
}
a.avada-image-select[data-checked="true"]{
  border:2px solid var(--pco-yellow)!important;
  box-shadow:0 0 0 1px var(--pco-yellow) inset!important;
}
a.avada-image-select[data-checked="true"]:after{
  content:'\2713';
  position:absolute;right:3px;top:3px;
  width:16px;height:16px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--pco-yellow);
  font-size:9px;color:var(--pco-black);
  line-height:1;
  z-index:2;
}
.single_add_to_cart_button{
  background:var(--pco-yellow)!important;
  color:var(--pco-black)!important;
  border:none!important;
  border-radius:14px!important;
  font-weight:900!important;
  transition:background .15s,color .15s;
}
.single_add_to_cart_button:hover,.single_add_to_cart_button:focus{
  background:var(--pco-black)!important;
  color:#fff!important;
}
.single_add_to_cart_button.disabled,.single_add_to_cart_button:disabled{
  background:#f3dc8f!important;
  color:rgba(23,23,23,.55)!important;
  cursor:not-allowed;
}
@media(max-width:520px){
  a.avada-button-select{min-height:52px!important;padding:8px 14px!important;font-size:12px!important;min-width:74px}
  a.avada-image-select{width:56px!important;height:56px!important}
}

/* v1.3.0 — mobile : la table de variations d'Avada utilise des colonnes flottantes
   qui cassent en dessous de 800px (bouton "FORMATS" coincé entre les options).
   On repasse tout en pile propre + grille fixe pour les boutons. */
@media(max-width:800px){
  form.variations_form table.variations,
  form.variations_form table.variations tbody,
  form.variations_form table.variations tr,
  form.variations_form table.variations th,
  form.variations_form table.variations td{
    display:block!important;
    float:none!important;
    width:100%!important;
    text-align:left!important;
    box-sizing:border-box;
  }
  form.variations_form table.variations th.label{
    padding:0 0 8px!important;
  }
  form.variations_form table.variations td.value{
    padding:0 0 16px!important;
  }
  .avada-select-parent{display:none!important}
  .avada-select-wrapper{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
  }
  .avada-select-wrapper:has(a.avada-image-select){
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  a.avada-button-select{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box;
  }
  a.avada-image-select{
    width:100%!important;
    height:auto!important;
    aspect-ratio:1/1;
  }
  form.cart.variations_form{margin-bottom:20px!important}

  /* Ligne d'icônes (UV / Fabrication / Alu-Dibond) : icône au-dessus, texte en dessous,
     les 3 tiennent sur une ligne sans se chevaucher. */
  .fusion-checklist{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    padding:0!important;
    margin:0!important;
    list-style:none!important;
  }
  .fusion-checklist .fusion-li-item{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    text-align:center!important;
    gap:6px!important;
    list-style:none!important;
    float:none!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
    position:static!important;
  }
  .fusion-checklist .fusion-li-item *{
    position:static!important;
    float:none!important;
    left:auto!important;
    top:auto!important;
  }
  .fusion-checklist .fusion-li-icon{
    flex:0 0 auto!important;
    margin:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .fusion-checklist .fusion-li-item-content,
  .fusion-checklist .fusion-li-item span{
    font-size:12px!important;
    line-height:1.3!important;
  }
}

/* v1.4.0 — habillage des pages Panier et Commande pour coller au reste du site
   (cartes arrondies, fond crème, titres en gras, mêmes couleurs de marque). */
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce{
  max-width:1280px;margin:0 auto;padding:24px 20px 60px;box-sizing:border-box;
}
body.woocommerce-cart #main,
body.woocommerce-checkout #main{
  background:var(--pco-cream);
}
body.woocommerce-cart h2,
body.woocommerce-checkout h2,
body.woocommerce-cart h3,
body.woocommerce-checkout h3{
  font-size:22px!important;
  font-weight:900!important;
  color:var(--pco-black)!important;
  margin:0 0 16px!important;
}

/* Cartes : tableau du panier, coupon, totaux, facturation, récap commande */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .shipping-coupon,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout .woocommerce-form-coupon,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout ul.woocommerce-order-overview,
body.woocommerce-checkout .woocommerce-order{
  background:#fff;
  border:none!important;
  border-radius:20px;
  padding:24px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  box-sizing:border-box;
  margin-bottom:20px;
}
body.woocommerce-checkout #customer_details{display:flex;gap:20px;flex-wrap:wrap}
body.woocommerce-checkout #customer_details > .col-1,
body.woocommerce-checkout #customer_details > .col-2{flex:1 1 320px;min-width:0}
body.woocommerce-checkout #customer_details .woocommerce-billing-fields,
body.woocommerce-checkout #customer_details .woocommerce-additional-fields{height:100%}

/* Table produits du panier */
body.woocommerce-cart table.shop_table{border:none!important}
body.woocommerce-cart table.shop_table th{
  border:none!important;color:#6d6d6d;font-size:12px;text-transform:uppercase;letter-spacing:.03em;padding-bottom:12px!important;
}
body.woocommerce-cart table.shop_table td{border:none!important;border-bottom:1px solid #f0eee7!important;padding:16px 8px!important}
body.woocommerce-cart table.shop_table tr:last-child td{border-bottom:none!important}
body.woocommerce-cart .product-thumbnail img{border-radius:13px!important;object-fit:cover}
body.woocommerce-cart .product-name a{color:var(--pco-black)!important;font-weight:800!important;text-decoration:none!important}
body.woocommerce-checkout table.shop_table td,
body.woocommerce-checkout table.shop_table th{border:none!important;border-bottom:1px solid #f0eee7!important}
body.woocommerce-checkout .product-thumbnail img{border-radius:13px!important}

/* Champs de formulaire */
body.woocommerce-cart input[type=text],
body.woocommerce-checkout input[type=text],
body.woocommerce-checkout input[type=email],
body.woocommerce-checkout input[type=tel],
body.woocommerce-cart textarea,
body.woocommerce-checkout textarea,
body.woocommerce-checkout .select2-selection{
  border:1px solid var(--pco-line)!important;
  border-radius:12px!important;
  padding:12px 14px!important;
  box-shadow:none!important;
}
body.woocommerce-cart input[type=text]:focus,
body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus{
  border-color:var(--pco-yellow)!important;
  outline:none;
}

/* Moyens de paiement en cartes cliquables */
body.woocommerce-checkout ul.wc_payment_methods{list-style:none!important;padding:0!important;margin:0 0 16px!important;display:grid;gap:8px}
body.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method{
  border:1px solid var(--pco-line)!important;border-radius:13px!important;padding:12px 14px!important;
}
body.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method label{font-weight:800!important;color:var(--pco-black)!important}
body.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method .payment_box{
  background:var(--pco-cream)!important;border-radius:10px!important;margin-top:10px!important;
}

/* Totaux : chiffres en jaune, ligne "Total" mise en avant */
body.woocommerce-cart .cart_totals .order-total .woocommerce-Price-amount,
body.woocommerce-checkout .order-total .woocommerce-Price-amount{
  color:var(--pco-yellow)!important;font-size:22px!important;font-weight:900!important;
}

/* Boutons pleine largeur sur mobile */
@media(max-width:800px){
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce{padding:16px 14px 50px}
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals .shipping-coupon,
  body.woocommerce-cart .cart-collaterals .cart_totals,
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout .woocommerce-checkout-review-order,
  body.woocommerce-checkout .woocommerce-form-coupon{
    padding:16px;border-radius:16px;
  }
  body.woocommerce-cart table.shop_table td{padding:10px 4px!important}
  body.woocommerce-cart .product-thumbnail{width:56px!important}
  body.woocommerce-cart .product-thumbnail img{width:56px!important;height:56px!important}
  body.woocommerce-cart table.shop_table td.product-price,
  body.woocommerce-checkout table.shop_table td.product-price{display:none!important}
  body.woocommerce-checkout #customer_details{flex-direction:column;gap:16px}
  #place_order,
  body.woocommerce-cart button[name="update_cart"],
  body.woocommerce-cart button[name="proceed"],
  body.woocommerce-checkout .coupon button[type=submit],
  body.woocommerce-cart .coupon button[type=submit]{
    width:100%!important;
  }
}
