.jpm-case{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;background:#fff;border:1px solid #dfd9d4;border-radius:16px;padding:18px;margin:18px 0 22px;color:#302d2a}.jpm-case *{box-sizing:border-box}.jpm-photos{display:grid;grid-template-columns:1fr 1fr;gap:7px;align-content:start}.jpm-photos button{padding:0;border:1px solid #e6e1dc;background:#fff;border-radius:9px;overflow:hidden;cursor:zoom-in}.jpm-hero{grid-column:1/-1;position:relative}.jpm-photos img{width:100%;height:auto;display:block}.jpm-zoom{display:block;font-size:10px;padding:6px;color:#55463e}.jpm-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#a94f36}.jpm-content h4{font-size:19px;margin:5px 0 8px}.jpm-content p{font-size:12px;line-height:1.5;margin:5px 0}.jpm-weight{font-size:11px;color:#777}.jpm-enable{display:flex;align-items:center;gap:9px;margin:15px 0 0;cursor:pointer;font-size:13px;font-weight:600}.jpm-enable input{accent-color:#b45535;width:18px;height:18px;flex:none}.jpm-fields{margin-top:15px}.jpm-modes{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.jpm-modes button{font:inherit;font-size:10px;min-height:56px;border:1px solid #dfd8d2;border-radius:7px;background:#fff;color:#403932;padding:6px 2px;cursor:pointer}.jpm-modes button span,.jpm-modes button strong{display:block}.jpm-modes button strong{font-size:12px;margin-top:3px}.jpm-modes button[aria-pressed=true]{border-color:#b45535;background:#fbf4f0;color:#93442e}.jpm-case .jpm-help{font-size:10px;color:#766d66;line-height:1.5;display:block;margin-top:9px}.jpm-text-label{display:block;font-size:11px;margin-top:8px}.jpm-text-label input{display:block;width:100%;border:1px solid #d8d1ca;border-radius:6px;padding:9px;font-size:12px;background:#fff;color:#222;margin-top:3px}.jpm-preview{display:flex;flex-direction:column;justify-content:center;min-height:70px;padding:12px 20px;border:1px solid #bfc1c3;border-radius:50px;background:linear-gradient(170deg,#f9fafb,#d9dcde 48%,#f3f4f5);text-align:center;color:#111;box-shadow:inset 0 1px 2px #fff;font:13px/1.4 Arial,sans-serif;overflow-wrap:anywhere}.jpm-preview span{display:block}.jpm-preview .jpm-blank{color:#787878;font-size:10px}.jpm-bottom{display:flex;align-items:end;justify-content:space-between;margin-top:12px}.jpm-bottom label{font-size:11px}.jpm-bottom input{display:block;width:65px;padding:7px;margin-top:4px;border:1px solid #ddd;border-radius:6px;font-size:13px;background:#fff}.jpm-bottom strong{color:#a44e35;font-size:20px}.jpm-case [hidden]{display:none!important}.jpm-gallery{width:min(850px,94vw);max-height:94vh;border:0;border-radius:14px;background:#fff;padding:16px;text-align:center;color:#332d27;box-shadow:0 20px 60px #0004}.jpm-gallery::backdrop{background:#000b}.jpm-gallery img{display:block;max-height:72vh;max-width:100%;width:auto;margin:auto}.jpm-close{display:block;margin:0 0 10px auto;padding:7px 13px;border:1px solid #ddd;border-radius:5px;background:white;color:#333;cursor:pointer}.jpm-gallery-nav{display:flex;justify-content:center;gap:30px}.jpm-gallery-nav button{font-size:25px;line-height:1;padding:5px 20px;border:1px solid #ddd;border-radius:5px;background:#fff;cursor:pointer}.jpm-gallery p{font-size:12px;margin:10px}.jpm-case button:focus-visible,.jpm-case input:focus-visible,.jpm-gallery button:focus-visible{outline:2px solid #b45535;outline-offset:3px}@media(max-width:620px){.jpm-case{grid-template-columns:100px minmax(0,1fr);gap:12px;padding:12px}.jpm-content h4{font-size:17px}.jpm-modes button{font-size:11px}.jpm-photos{gap:5px}.jpm-eyebrow{font-size:9px}.jpm-content p{font-size:11px}}@media(max-width:340px){.jpm-case{display:block}.jpm-photos{grid-template-columns:2fr 1fr 1fr;margin-bottom:12px}.jpm-hero{grid-column:auto}.jpm-fields{margin-left:0}}

/* Étui 1.1.0 — explicit choices, independent font, standalone product */
.jpm-case .jpm-modes{gap:8px}.jpm-case .jpm-modes button{border:2px solid #c7b9ae!important;border-radius:9px!important;background:#fff!important;min-height:64px;box-shadow:0 2px 4px #302d2a0a;font-size:12px!important;color:#403932!important;transition:border-color .15s,background .15s}.jpm-case .jpm-modes button:hover{border-color:#b45535!important;background:#fff8f2!important}.jpm-case .jpm-modes button[aria-pressed=true]{border:2px solid #b45535!important;background:#b45535!important;color:white!important;box-shadow:0 0 0 2px #b4553526}.jpm-case .jpm-modes button strong{font-size:15px}.jpm-font-label{display:block;font-size:12px;font-weight:600;margin:16px 0 12px}.jpm-font-label select{display:block;width:100%;border:1px solid #cfc4bb;background:#fff;color:#302d2a;padding:10px 12px;margin-top:6px;border-radius:7px;height:auto}.jpm-preview{font-size:20px;min-height:100px;line-height:1.55}.jpm-buy{display:block;width:100%;border:0;border-radius:8px;background:#b45535;color:#fff;font-size:16px;padding:15px 20px;margin:20px 0 8px;font-weight:600;cursor:pointer}.jpm-buy:disabled{opacity:.6;cursor:wait}.jpm-case .jpm-status{color:#994126;font-size:13px}.jpm-product{max-width:1150px;margin:30px auto 70px;padding:0 20px}.jpm-product-head{max-width:780px;margin:0 0 24px}.jpm-product-head h1{font-size:32px;line-height:1.2;color:#302d2a}.jpm-product-head p{font-size:16px;line-height:1.7}.jpm-product-head .jpm-eyebrow{font-size:12px}.jpm-standalone-card{grid-template-columns:1fr 1fr;gap:40px;padding:24px;border-radius:16px}.jpm-standalone-card .jpm-photos{grid-template-columns:1fr 1fr;gap:10px}.jpm-standalone-card .jpm-content h4{font-size:26px}.jpm-standalone-card .jpm-content p{font-size:14px}.jpm-standalone-card .jpm-help{font-size:12px}.jpm-standalone-card .jpm-text-label{font-size:13px}.jpm-standalone-card .jpm-text-label input{padding:12px;font-size:15px}.jpm-standalone-card .jpm-zoom{font-size:12px}.jpm-standalone-card .jpm-bottom input{width:85px}.jpm-product-details{background:#fffaf5;padding:25px 30px;border-radius:12px;margin-top:24px;line-height:1.8}.jpm-product-details h2{font-size:24px;color:#a44e35}@media(max-width:760px){.jpm-product{padding:0 14px;margin-top:20px}.jpm-product-head h1{font-size:26px}.jpm-standalone-card{grid-template-columns:1fr;padding:16px;gap:24px}.jpm-standalone-card .jpm-fields{margin-left:0}.jpm-standalone-card .jpm-photos{grid-template-columns:2fr 1fr;max-width:500px;margin:auto}.jpm-standalone-card .jpm-hero{grid-column:1;grid-row:1/3}.jpm-standalone-card .jpm-modes button{font-size:11px!important}.jpm-product-details{padding:20px}}@media(max-width:380px){.jpm-case .jpm-modes{grid-template-columns:repeat(2,1fr)}}

.jpm-category-card{display:grid;grid-template-columns:minmax(180px,42%) 1fr;gap:24px;align-items:center;margin:18px 0 28px;padding:22px;border:1px solid #dfcfc5;border-radius:16px;background:#f8f8f8}.jpm-category-photo{display:block}.jpm-category-photo img{display:block;width:100%;height:auto;border-radius:10px}.jpm-category-card h3{margin:7px 0;font-size:24px}.jpm-category-card h3 a{color:#33261f}.jpm-category-card p{margin:10px 0;line-height:1.55}.jpm-category-price{display:block;color:#b45535;font-size:19px}.jpm-category-action{display:inline-block;margin-top:16px;padding:11px 17px;border-radius:8px;background:#b45535;color:#fff!important;font-weight:600}.jpm-category-action:hover{background:#8b3f28}@media(max-width:600px){.jpm-category-card{grid-template-columns:1fr;gap:16px;padding:18px}.jpm-category-card h3{font-size:22px}}

/* Préférence Jolis Papiers : fonds neutres, sans dominante jaune. */
#jp-accessories .jn-accessory-layout .jn-accessory-summary{background:#f8f8f8;}


/* The displayed bitmap is the exact order snapshot. */
.jpm-preview:has(canvas){display:block;padding:0;border:0;border-radius:0;background:#fff;box-shadow:none;min-height:0}

/* Labels only: never change the customer's lettering or placeholder weight. */
.jpm-case .jpm-text-label,#jp-product-personalization .jpm-case .jpm-text-label{font-weight:700}
.jpm-case .jpm-text-label input,#jp-product-personalization .jpm-case .jpm-text-label input{font-weight:400}
.jpm-case .jpm-text-label input::placeholder,#jp-product-personalization .jpm-case .jpm-text-label input::placeholder{font-weight:400}
/* The description and fields join the parent grid on mobile, without moving controls. */
@media(max-width:620px){
 .jpm-case:not(.jpm-standalone-card){display:grid;grid-template-columns:minmax(80px,100px) minmax(0,1fr);gap:12px}
 .jpm-case:not(.jpm-standalone-card)>.jpm-content{display:contents}
 .jpm-case:not(.jpm-standalone-card)>.jpm-photos{grid-column:1;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:0;align-self:start}
 .jpm-case:not(.jpm-standalone-card)>.jpm-photos .jpm-hero{grid-column:1/-1}
 .jpm-case:not(.jpm-standalone-card) .jpm-description{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
 .jpm-case:not(.jpm-standalone-card) .jpm-fields{grid-column:1/-1;grid-row:2;min-width:0;width:100%;margin:0;padding:0}
}
