:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;--dark:#221b18;--copper:#a96738;--line:#e8dccc;--cream:#f9f5ee;--paper:#fffdf9;--muted:#6d645b}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--dark);font-size:16px;line-height:1.52}a{color:#83502f}a:hover{color:#4b2e1b}.cw-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px clamp(16px,5vw,70px);background:#261f1b;color:#fff}.cw-top a{color:inherit;text-decoration:none}.cw-top nav{display:flex;gap:22px;font-size:.95rem}.cw-brand{font-size:1.38rem;font-weight:900;letter-spacing:.08em;line-height:1.1}.cw-brand span{color:#dd9a5e}.cw-brand small{display:block;font-size:.53rem;letter-spacing:.23em;color:#d9c8b5;margin-top:6px}.cw-wrap{max-width:1240px;margin:auto;padding:48px 22px 80px}.cw-eyebrow{font-size:.79rem;letter-spacing:.22em;font-weight:800;color:var(--copper)}h1{font-size:clamp(2rem,4.5vw,4.1rem);line-height:1.05;letter-spacing:-.04em;margin:14px 0 14px;max-width:950px}h1 em{color:#aa6d43;font-style:normal}h2{font-size:1.38rem;letter-spacing:-.025em;margin:3px 0 20px}h3{margin:22px 0 10px}.cw-lead{color:var(--muted);max-width:820px;font-size:1.08rem;margin:0 0 28px}.cw-layout{display:grid;grid-template-columns:minmax(290px,.91fr) minmax(340px,1.09fr);gap:24px;align-items:start}.cw-panel{padding:clamp(18px,3vw,30px);border:1px solid var(--line);border-radius:22px;background:var(--paper);box-shadow:0 12px 40px #482d1412}.cw-controls h2:not(:first-child){border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.cw-panel label{display:block;font-weight:700;font-size:.9rem;margin-bottom:15px}.cw-panel label small{display:block;font-size:.77rem;font-weight:400;color:var(--muted)}.cw-panel input:not([type=checkbox]),.cw-panel textarea,.cw-panel select{display:block;width:100%;padding:12px;border:1px solid #cfc1b2;border-radius:11px;background:white;font:inherit;font-size:1rem;color:#251d19;margin-top:7px;min-height:46px}.cw-panel textarea{resize:vertical}.cw-panel input:focus,.cw-panel textarea:focus,.cw-panel select:focus{outline:2px solid #d49665;outline-offset:1px}.cw-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.cw-micro{font-size:.8rem;color:var(--muted);font-weight:400;margin:8px 0}.cw-price{padding:18px;background:#2a221d;border-radius:16px;color:white;margin-top:25px}.cw-price span{display:block;font-size:.87rem;color:#efd4bd}.cw-price strong{font-size:2.2rem;display:block;letter-spacing:-.04em}.cw-price small{display:block;color:#e7d9cd;font-size:.76rem}.cw-stage{position:relative;width:100%;aspect-ratio:1.14;overflow:hidden;border-radius:19px;background:radial-gradient(ellipse at 20% 15%,#f0d7b0,#b7885c 56%,#705137);display:grid;place-items:center;isolation:isolate}.cw-stage::after{content:'APERÇU INDICATIF';pointer-events:none;position:absolute;bottom:11px;left:12px;background:#1c140f99;color:#fff;padding:5px 8px;border-radius:6px;font-size:.7rem;letter-spacing:.06em}.cw-stage>img#cw-product-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:brightness(.85)}.cw-stage>svg{position:relative;z-index:1;width:64%;height:74%;max-height:90%;padding:6px;border-radius:15px;background:#f6dcacbf;box-shadow:0 8px 30px #2c170b40}.cw-stage>img#cw-photo-preview{position:absolute;z-index:2;width:90px;height:90px;bottom:18px;right:14px;border:3px solid white;border-radius:11px;object-fit:cover}.cw-note{border-left:3px solid #b67a49;padding:10px 14px;background:#fbf3e8;font-size:.85rem;color:#66513d;margin-top:20px}.cw-order{margin-top:25px}.cw-order button,.cw-admin button[type=submit]{display:inline-flex;padding:14px 25px;border-radius:12px;border:0;background:#a96436;color:white;font-weight:800;font-size:1rem;cursor:pointer;margin-top:12px;box-shadow:0 8px 22px #98512730}.cw-order button:hover,.cw-admin button[type=submit]:hover{background:#8b4d25}.cw-order button:disabled,.cw-admin button:disabled{opacity:.6;cursor:not-allowed}.cw-consent{display:flex!important;align-items:flex-start;gap:10px;font-weight:400!important}.cw-consent input[type=checkbox]{width:18px;height:18px;margin-top:4px;flex-shrink:0}.cw-consent a{margin-left:3px}.cw-honeypot{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;left:-9999px!important}.cw-footer{padding:35px;text-align:center;color:#dbbfa9;background:#261f1b;font-size:.85rem}.cw-footer a{color:#fff}.cw-success-link{display:inline-flex;padding:8px 14px;border:1px solid #ba7d4f;border-radius:8px;font-weight:700;text-decoration:none;margin:8px 12px 8px 0}#cw-status:not(:empty),#ad-status:not(:empty){border:1px solid #e5c4a4;border-radius:10px;background:#fff2df;padding:12px 16px;margin:15px 0 24px}.ad-product-photo{width:100%;height:280px;object-fit:contain;margin:8px 0;border-radius:15px;background:#f1e5d6}.cw-admin .cw-layout{grid-template-columns:.85fr 1.15fr}.cw-admin .cw-orders{margin-top:24px}.cw-checks{display:flex;gap:20px;flex-wrap:wrap}.cw-order-entry{padding:13px 0;border-bottom:1px solid var(--line)}.cw-order-entry p{margin:7px 0;color:var(--muted)}.cw-order-entry a{display:inline-flex;margin-right:22px;font-size:.9rem}.cw-admin .cw-panel h3{border-top:1px solid var(--line);padding-top:15px}[hidden]{display:none!important}@media(max-width:820px){.cw-layout,.cw-admin .cw-layout{grid-template-columns:1fr}.cw-top{flex-wrap:wrap}.cw-wrap{padding:28px 14px 50px}.cw-top nav{font-size:.84rem;gap:14px}.cw-stage{aspect-ratio:1.05}.cw-panel{border-radius:16px}.cw-price strong{font-size:1.8rem}}@media(max-width:470px){.cw-fields{grid-template-columns:1fr}.cw-top{padding:16px}.cw-top nav{width:100%;justify-content:space-between}h1{font-size:2.3rem}}
/* CREAFAMAX CUSTOM STUDIO 2 — compositing sur la photographie du produit */
.cs-wrap{max-width:1510px}.cs-wrap h1{margin-top:12px}.cs-grid{display:grid;grid-template-columns:minmax(305px,385px) minmax(470px,1fr);gap:25px;align-items:start}.cs-tools{position:relative}.cs-step{font-size:.77rem;letter-spacing:.15em;color:#a56941;font-weight:850;margin:0 0 14px;padding-top:18px;border-top:1px solid #eadfd5}.cs-step:first-child{border:0;padding-top:0}.cs-tools .cs-step:not(:first-child){margin-top:25px}.cs-add{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 18px}.cs-add-button{background:#f6eee4;border:1px solid #e3cebb;color:#61432e;border-radius:11px;min-height:52px;cursor:pointer;font:750 .9rem/1.1 Inter,system-ui,sans-serif}.cs-add-button:hover{background:#ead6c4}.cs-add-button:disabled{opacity:.35;cursor:not-allowed}.cs-add-button span{font-size:1.45rem;display:block;line-height:1}.cs-elements{padding:12px 0}.cs-hint{font-size:.85rem;color:#72685f;line-height:1.55}.cs-element-list{display:flex;flex-wrap:wrap;gap:7px}.cs-item{border:1px solid #d5c5b5;border-radius:12px;background:#fff;padding:10px 12px;color:#4f3a2a;cursor:pointer;font-size:.88rem;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cs-item.is-selected{background:#493020;border-color:#493020;color:#fff}.cs-selected{border:1px solid #e8d7c7;background:#fcf8f3;padding:18px;border-radius:15px;margin:16px 0 0}.cs-selected legend{font-size:.85rem;font-weight:850;padding:0 6px;color:#835637}.cs-slider{display:flex;align-items:center;gap:8px}.cs-slider input[type=range]{margin-top:5px!important;padding:0!important;min-height:20px!important;accent-color:#b36e3e}.cs-slider output{min-width:51px;text-align:right;font-weight:800;font-size:.8rem;color:#72452a}.cs-nudge{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.cs-nudge button{background:#f1e5d7;color:#4c3423;border:1px solid #ddc7b4;min-width:37px;height:37px;border-radius:9px;cursor:pointer;font-weight:800;font-size:1.05rem}.cs-nudge button.cs-danger{font-size:.78rem;flex-grow:1;background:#fff;border-color:#d9aba2;color:#a34230}.cs-preview{position:sticky;top:16px;min-width:0}.cs-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.cs-preview-head h2{margin:0 0 16px}.cs-preview-badge{font-weight:800;letter-spacing:.12em;font-size:.65rem;color:#895f3b;border:1px solid #b99572;padding:4px 8px;border-radius:6px;margin-bottom:16px}.cs-photo-stage{background:radial-gradient(ellipse at 24% 18%,#f4dbb9,#d9b18a 55%,#b98b67);border-radius:17px;border:1px solid #e8d3bd;min-height:320px;display:grid;place-items:center;padding:12px;overflow:hidden;box-shadow:inset 0 4px 25px #764b2b12}.cs-imageframe{position:relative;width:min(100%,770px);min-height:260px}.cs-imageframe>img{display:block;width:100%;height:auto;max-height:670px;object-fit:contain;border-radius:10px}.cs-placeholder{display:grid;place-items:center;text-align:center;min-height:360px;color:#7b593e;font-weight:700;font-size:1.2rem;letter-spacing:.03em;background:repeating-linear-gradient(0deg,#f3d7ae 0px,#e9c897 12px,#f2d6a9 20px);border-radius:10px}.cs-imageframe>img:not([hidden])+.cs-placeholder{display:none}.cs-imageframe>svg{position:absolute;z-index:1;overflow:visible;touch-action:none;cursor:crosshair;user-select:none;box-sizing:border-box;border:0;border-radius:0;box-shadow:none;background:transparent!important;padding:0;width:65%;height:70%;max-height:none}.cs-imageframe svg [data-item-id]{cursor:grab}.cs-imageframe svg .cs-active-design{cursor:grabbing}.cs-imageframe svg text{user-select:none}.cs-preview-guide{display:flex;gap:12px;padding:12px 14px;border:1px solid #e7d8c6;border-radius:12px;background:#fbf8f2;color:#61554b;font-size:.83rem;line-height:1.45;margin:12px 0}.cs-preview-guide icon{font-size:1.3rem}.cs-checkout{margin-top:26px}.cs-checkout h2{font-size:1.7rem;margin-bottom:8px}.cs-checkout>button{margin-top:15px}.ad-preview-frame{position:relative;width:100%;min-height:250px;background:#eee0cf;border-radius:15px;overflow:hidden}.ad-preview-frame img{display:block;width:100%;height:auto}.ad-preview-frame .ad-overlay{position:absolute;background:rgba(176,107,52,.15);border:2px dashed #935026;color:#462411;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.66rem;letter-spacing:.08em;font-weight:900;text-shadow:0 1px 2px #fff5;padding:8px;overflow:hidden}.cw-admin input[type=range]{padding:0!important;min-height:20px!important;accent-color:#ad6939}.cs-body .cw-order{max-width:1080px;margin-left:auto;margin-right:auto}.cw-orders .cw-order-entry .cw-success-link{max-width:100%;overflow-wrap:anywhere}@media(max-width:1100px){.cs-grid{grid-template-columns:minmax(280px,380px) minmax(400px,1fr);gap:16px}.cs-wrap{padding:32px 16px}.cs-preview{top:8px}}@media(max-width:850px){.cs-grid{grid-template-columns:1fr}.cs-preview{position:relative;top:auto;grid-row:1}.cs-tools{grid-row:2}.cs-photo-stage{padding:8px;min-height:230px}.cs-placeholder{min-height:290px}.cs-add{grid-template-columns:repeat(3,1fr)}}@media(max-width:520px){.cs-wrap{padding:25px 12px 50px}.cs-preview,.cs-tools{padding:16px}.cs-preview-head{align-items:flex-start}.cs-preview-head h2{font-size:1.12rem}.cs-photo-stage{min-height:210px}.cs-imageframe{min-height:200px}.cs-placeholder{min-height:260px}.cs-step{font-size:.74rem}}

/* Fidélité des coordonnées : la zone superposée utilise les dimensions de la photo rendue, sans letterboxing. */
.cs-imageframe{min-height:0}.cs-imageframe>img{max-height:none;object-fit:initial}.ad-preview-frame{min-height:0}.ad-preview-frame:has(img[hidden]){min-height:250px}
.cs-preview-order{display:inline-block;background:#fff5e9;border:1px solid #b57a4c;color:#6d4229;border-radius:9px;padding:9px 13px;font-size:.86rem;font-weight:800;cursor:pointer;margin-right:12px}.cs-preview-order:hover{background:#f2ddc5}.cs-design-dialog{width:min(900px,95vw);max-height:94vh;border:1px solid #dbc2a9;padding:22px;border-radius:20px;background:#fcf7ef;color:#35251b;box-shadow:0 24px 130px #170d0960}.cs-design-dialog::backdrop{background:#150c0a9c}.cs-dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:start}.cs-dialog-head button{background:#443026;border:0;color:white;border-radius:8px;padding:8px 12px;cursor:pointer}.ad-order-photo{position:relative;margin:auto;width:min(100%,670px);min-height:160px;background:#efddc6;border-radius:12px;overflow:hidden}.ad-order-photo img{width:100%;height:auto;display:block}.ad-order-photo svg{position:absolute;overflow:visible;pointer-events:none}
.ad-image-tools{margin:14px 0 18px;padding:14px;border:1px solid #e7d8c6;border-radius:13px;background:#fbf8f2}.ad-upload-label{font-size:.9rem;font-weight:800;color:#493020}.ad-image-tools input[type=file]{display:block;width:100%;margin:9px 0}.ad-image-tools button{background:#fff;border:1px solid #cdb49c;border-radius:9px;color:#543b29;padding:9px 12px;font-weight:750;cursor:pointer}.ad-image-tools button:disabled{opacity:.5;cursor:not-allowed}.ad-image-tools p{margin:10px 0 0}
