.nqd{background:#20292c;border:1px solid #39464a;border-radius:20px;padding:20px;margin:20px 0;display:grid;gap:12px;color:#fff}.nqd h3{margin:0}.nqd h3 span,.nqd strong span{color:#00c7b1}.nqd label{display:grid;gap:6px}.nqd input:not([type=hidden]),.nqd select{box-sizing:border-box;width:100%;padding:12px;background:#111719;color:#fff;border:1px solid #536468;border-radius:10px}.nqd-preview{background:white;border-radius:16px;padding:8px;text-align:center}.nqd-preview img{width:100%;max-width:320px;height:auto}.nqd small{color:#b9c9cc}.nqd .btn{width:100%}.nq-shop-photo{object-fit:contain;max-width:100%;height:auto}.nqd-note{display:block;color:#aab9bc;font-size:.8rem}
.nqd fieldset{border:0;padding:0;margin:0;min-width:0}.nqd legend{font-weight:600;margin-bottom:8px}.nqd-shapes,.nqd-styles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.nqd-styles{grid-template-columns:repeat(2,minmax(0,1fr))}.nqd-shapes label,.nqd-styles label,.nqd-colors label{position:relative;cursor:pointer;margin:0}.nqd-shapes input[type=radio],.nqd-styles input[type=radio],.nqd-colors input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;padding:0}.nqd-shapes span,.nqd-styles span{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:12px 4px;background:#111719;border:1px solid #536468;border-radius:12px;font-size:.85rem}.nqd-shapes b{font-size:1.75rem;color:#00c7b1}.nqd-shapes input:checked+span,.nqd-styles input:checked+span{border:2px solid #00c7b1;background-color:#172e2d}.nqd input:focus-visible+span{outline:2px solid #fff;outline-offset:3px}.nqd-colors{display:flex;flex-wrap:wrap;gap:12px}.nqd-colors label{align-items:center;justify-items:center;min-width:55px}.nqd-colors span{display:block;width:34px;height:34px;border-radius:50%;border:2px solid #869394}.nqd-colors input:checked+span{outline:2px solid #00c7b1;outline-offset:2px}.nqd-colors .nqd-ink-111111{background:#111111}.nqd-colors .nqd-ink-173d76{background:#173d76}.nqd-colors .nqd-ink-00665a{background:#00665a}.nqd-colors .nqd-ink-8e173b{background:#8e173b}.nqd-colors .nqd-ink-5b287c{background:#5b287c}.nqd-colors .nqd-ink-8a4218{background:#8a4218}.nqd-colors .nqd-ink-34642b{background:#34642b}.nqd strong{font-size:1.25rem}.nqd .nqd-preview{max-height:420px;overflow:hidden}.nqd .nqd-preview img{max-height:360px;object-fit:contain}.nqd-colors small{font-size:.68rem}

/* Scope strict : uniquement la fiche produit. */
.nq-workshop{align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,4vw,60px)}.nqd-left,.nqd-right{min-width:0}.nqd-left{position:sticky;top:16px;display:grid;gap:16px;align-self:start}.nqd-left>.art{margin:0;aspect-ratio:auto;min-height:0;overflow:hidden;border-radius:20px;display:block;text-align:center}.nqd-left>.art img{width:100%;height:auto;max-height:30vh;object-fit:contain;display:block;margin:auto}.nqd-left>.art svg{max-height:28vh}.nqd-live{background:#20292c;color:white;border-radius:20px;padding:14px;display:grid;gap:8px}.nqd-live h3,.nqd-live p{margin:0}.nqd-live p{font-size:.8rem;color:#c5d3d5}.nqd-live .nqd-preview{background:#fff;border-radius:14px;display:grid;place-items:center;padding:6px}.nqd-live img{display:block;width:auto;max-width:100%;height:auto;max-height:32vh;object-fit:contain}.nqd-right .nqd{margin:12px 0;padding:16px}.nqd-right .nqd label{margin:0}.nqd small{letter-spacing:0;font-weight:400}.nqd .nqd-shapes span,.nqd .nqd-styles span{min-height:48px;padding:8px}.nqd-shapes b{line-height:1.2}.nqd input[type=file]{font-size:.85rem}.nqd-right>form>.btn{width:100%;border-radius:12px}.nqd-right h2{font-size:clamp(30px,4vw,52px)}@media(max-width:850px){.nq-workshop{grid-template-columns:1fr;gap:20px}.nqd-left{position:static;grid-template-columns:1fr 1fr;align-items:center}.nqd-left>.art img{max-height:220px}.nqd-live img{max-height:200px}.nqd-live h3{font-size:1rem}.nqd-live p{font-size:.7rem}}@media(max-width:420px){.nqd-left{grid-template-columns:1fr}.nqd-left>.art img{max-height:180px}.nqd-live img{max-height:240px}}
.nqd-view-switch{display:flex;gap:8px}.nqd-view-switch button{flex:1;background:#111719;color:#fff;border:1px solid #536468;border-radius:10px;padding:8px;cursor:pointer}.nqd-view-switch button[aria-pressed=true]{border-color:#00c7b1;color:#00c7b1}.nqd-product-preview{position:relative;background:#e5ebe4;border-radius:14px;max-height:32vh;aspect-ratio:320/290;overflow:hidden;margin:auto;width:auto;height:32vh;max-width:100%}.nqd-product-preview>svg{width:100%;height:100%;display:block}.nqd-product-preview>#nqd-product-qr{position:absolute;left:42%;top:40%;width:16%;height:auto;max-height:none;object-fit:contain}.nqd-product-preview[data-position=coeur]>#nqd-product-qr{left:55%;top:36%;width:10%}.nqd-product-preview[data-position=dos]>#nqd-product-qr{left:38%;top:30%;width:24%}.nqd-product-preview[data-type=cap]>#nqd-product-qr{left:41%;top:36%;width:14%}.nqd-live [hidden]{display:none!important}
/* V0.2.22 : une seule prévisualisation, grande et fixe. */
.nq-workshop{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:clamp(20px,4vw,48px)}
.nqd-left{position:sticky;top:18px;display:block;min-width:0;align-self:start}
.nqd-single{padding:18px;gap:12px;display:grid;min-width:0}
.nqd-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.nqd-preview-heading h3{font-size:clamp(1rem,1.7vw,1.3rem)}.nqd-preview-heading span{font-size:.8rem;color:#00c7b1}
.nqd-single .nqd-product-preview{width:100%;height:auto;max-height:none;max-width:none;aspect-ratio:320/290;background:#e5ebe4;margin:0;overflow:hidden}
.nqd-single .nqd-product-preview>svg{width:100%;height:100%;display:block;max-height:none}
.nqd-single .nqd-product-preview>#nqd-product-qr{left:34%;top:32%;width:32%;height:auto;max-height:none;max-width:none;display:block;object-fit:contain;mix-blend-mode:normal}
.nqd-single .nqd-product-preview[data-position=coeur]>#nqd-product-qr{left:49%;top:32%;width:20%}
.nqd-single .nqd-product-preview[data-position=dos]>#nqd-product-qr{left:32%;top:28%;width:36%}
.nqd-single .nqd-product-preview[data-type=hood]>#nqd-product-qr{left:35%;top:32%;width:30%}
.nqd-single .nqd-product-preview[data-type=bag]>#nqd-product-qr{left:29%;top:37%;width:42%}
.nqd-single .nqd-product-preview[data-type=mug]>#nqd-product-qr{left:28%;top:34%;width:36%}
.nqd-single .nqd-product-preview[data-type=cap]>#nqd-product-qr{left:34%;top:27%;width:28%}
.nqd-product-preview[data-color=white]>svg>path:last-of-type{fill:#fff}.nqd-product-preview[data-color=cream]>svg>path:last-of-type{fill:#dfd1b3}.nqd-product-preview[data-color=navy]>svg>path:last-of-type{fill:#243950}.nqd-product-preview[data-color=gray]>svg>path:last-of-type{fill:#8a9196}.nqd-product-preview[data-color=wine]>svg>path:last-of-type{fill:#732b3e}
.nqd-reference{font-size:.82rem;color:#b9c9cc}.nqd-reference summary{cursor:pointer;color:#00c7b1}.nqd-reference .art{margin-top:10px;display:block;min-height:0;aspect-ratio:auto}.nqd-reference .art img{width:100%;max-height:300px;object-fit:contain}
@media(max-width:850px){.nq-workshop{grid-template-columns:minmax(0,1fr);gap:20px}.nqd-left{position:static;display:block}.nqd-single{padding:12px}.nqd-single .nqd-product-preview{max-height:none;width:100%;height:auto}.nqd-single .nqd-product-preview>svg{max-height:none}}
.nqd-single .nqd-product-preview[data-type=hood][data-position=coeur]>#nqd-product-qr{left:49%;top:30%;width:20%}
.nqd-single .nqd-product-preview[data-type=hood][data-position=dos]>#nqd-product-qr{left:32%;top:27%;width:36%}
/* V0.2.23 : une seule photographie, motif d'impression transparent. */
.nqd-single .nqd-photo-preview{display:block;position:relative;width:100%;height:auto;max-height:none;max-width:none;aspect-ratio:1/1;overflow:hidden;background:#5d5d5d;margin:0;border-radius:14px}
.nqd-single .nqd-photo-preview>.nqd-base-photo{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;position:static;border:0;border-radius:0;margin:0}
.nqd-single .nqd-photo-preview>#nqd-product-qr{position:absolute;left:50%;top:43%;width:48%;height:auto;max-width:none;max-height:none;object-fit:contain;transform:translate(-50%,-50%);background:transparent!important;mix-blend-mode:normal;pointer-events:none;border:0;border-radius:0;margin:0}
.nqd-single .nqd-photo-preview[data-shape=square]>#nqd-product-qr{width:63%}
.nqd-single .nqd-photo-preview[data-position=coeur]>#nqd-product-qr{left:60%;top:34%;width:25%}
.nqd-single .nqd-photo-preview[data-position=dos]>#nqd-product-qr{left:50%;top:44%;width:50%}
.nqd-single .nqd-photo-preview[data-type=hood]>#nqd-product-qr{left:50%;top:43%;width:43%}
.nqd-single .nqd-photo-preview[data-type=hood][data-shape=square]>#nqd-product-qr{width:57%}
.nqd-single .nqd-photo-preview[data-type=hood][data-position=coeur]>#nqd-product-qr{left:60%;top:35%;width:25%}
.nqd-single .nqd-photo-preview[data-type=hood][data-position=dos]>#nqd-product-qr{left:50%;top:44%;width:50%}
.nqd-single .nqd-photo-preview[data-type=bag]>#nqd-product-qr{left:50%;top:65%;width:50%}
.nqd-single .nqd-photo-preview[data-type=mug]>#nqd-product-qr{left:58%;top:52%;width:45%}
.nqd-single .nqd-photo-preview[data-type=cap]>#nqd-product-qr{left:51%;top:40%;width:38%}
.nqd-single .nqd-photo-preview>#nqd-product-qr[hidden]{display:none!important}.nqd-no-photo{display:grid;place-items:center;height:100%;padding:20px;text-align:center}
.nqd-colors .nqd-ink-ffffff{background:#fff}.nqd-colors .nqd-ink-65e8d7{background:#65e8d7}.nqd-colors .nqd-ink-9ed2ff{background:#9ed2ff}.nqd-colors .nqd-ink-ffb9cf{background:#ffb9cf}.nqd-colors .nqd-ink-ffe293{background:#ffe293}.nqd-colors .nqd-unavailable{opacity:.30;cursor:not-allowed}.nqd-colors .nqd-unavailable span{outline:none!important}.nqd-right #nq-config-form>button:disabled{opacity:.5;cursor:not-allowed}.nqd-single .nqd-preview-heading span{white-space:normal;text-align:right}
@media(max-width:850px){.nqd-single .nqd-photo-preview{width:100%;aspect-ratio:1/1;max-height:none}.nqd-single .nqd-photo-preview>.nqd-base-photo{height:100%;max-height:none}}

.nqt-settings{border:1px solid #536468!important;border-radius:12px;padding:12px!important;margin:8px 0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.nqt-settings legend{padding:0 6px;font-weight:600}.nqt-settings label{margin:0!important;min-width:0}.nqt-settings label:last-child{grid-column:1/-1}.nqt-settings select{width:100%;margin-top:5px!important}.nqw-photo .nqw-motif{height:auto;max-height:85%;top:46.5%;transform:translateY(-50%)}.nqw-photo .nqw-p0{top:50%;max-height:95%}.nqw-photo .nqw-p3{top:42.5%}.nqw-photo .nqw-p4{top:62.5%}.nqw-photo .nqw-p5{top:54%}.nqw-photo .nqw-p6{top:39%}
