.product-modal{grid-template-columns:1fr 1fr;width:min(1080px,calc(100% - 32px));overflow:hidden}.config-progress{grid-column:1/-1;display:flex;align-items:center;padding:17px 70px;background:#fff;border-bottom:1px solid #eadfed}.config-progress span{display:flex;align-items:center;gap:7px;color:#9a909c;font-size:10px;font-weight:600;white-space:nowrap}.config-progress span b{display:grid;place-items:center;width:25px;height:25px;border:2px solid #e0d7e2;border-radius:50%;color:#9a909c;font-size:10px}.config-progress span.active{color:#f48107}.config-progress span.active b{border-color:#f48107;background:#fff7ed;color:#f48107}.config-progress span.done{color:#67267a}.config-progress span.done b{border-color:#67267a;background:#67267a;color:#fff}.config-progress i{flex:1;height:2px;margin:0 10px;background:#e6dfe8}.config-progress span.done+i{background:#67267a}.product-modal-image{min-height:0;padding:42px;overflow:hidden}.product-modal-content{min-width:0;padding:35px 42px;overflow:auto;max-height:calc(100vh - 110px)}.product-modal h2{font-size:40px;overflow-wrap:anywhere}.next-delivery{padding:12px 14px;margin:15px 0;border:1px solid #f5cda4;border-radius:8px;background:#fff8f0;color:#6c5034;font-size:11px}.next-delivery strong{color:#29222b;text-transform:capitalize}.product-formats,.product-extras{padding:0;margin:18px 0 0;border:0}.product-formats legend,.product-extras legend{margin-bottom:10px;color:#302732;font:600 18px "Crimson Text",Georgia,serif}.format-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:175px;overflow:auto;padding:2px}.format-options label,.extra-options label{cursor:pointer;min-width:0}.format-options input,.extra-options input{position:absolute;opacity:0;pointer-events:none}.format-options label span{display:flex;justify-content:space-between;align-items:center;min-height:50px;padding:10px 12px;border:1px solid #e2d6e5;border-radius:8px;background:#fff;transition:.18s;gap:8px;min-width:0}.format-options label span b,.format-options label span small{overflow-wrap:anywhere}.format-options label span b{font-size:12px}.format-options label span small{color:#67267a;font-weight:700}.format-options input:checked+span{border-color:#67267a;background:#f8f0fa;box-shadow:0 0 0 2px rgba(103,38,122,.1)}.long-format-select{width:100%;height:50px;padding:0 13px;border:1px solid #dfd1e3;border-radius:8px;background:#fff;color:#332a34}.delivery-option{margin-top:18px;transition:.2s}.delivery-option.pending{opacity:.45;pointer-events:none}.extra-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.extra-options label span{display:flex;min-height:91px;min-width:0;flex-direction:column;align-items:center;justify-content:center;padding:7px 4px;border:1px solid #e2d6e5;border-radius:8px;background:#fff;text-align:center;font-size:9px;font-weight:600;transition:.18s;overflow-wrap:anywhere}.extra-options label span img{width:38px;height:38px;margin-bottom:3px;object-fit:contain}.extra-options label span small{display:block;color:#67267a;font-size:9px}.extra-options label .extra-none{background:#fbf9fb;font-size:10px}.extra-options input:checked+span{border-color:#67267a;background:#f8f0fa;box-shadow:0 0 0 2px rgba(103,38,122,.1)}.product-modal-line{margin-top:20px}.product-modal-add{width:100%;min-height:54px}.product-modal-add:disabled{cursor:not-allowed;background:#bcb3be;box-shadow:none;transform:none}.product-modal-add:not(:disabled){background:#f48107;box-shadow:0 10px 24px rgba(244,129,7,.25)}
@media(max-width:760px){.product-modal{display:block;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.config-progress{position:sticky;z-index:4;top:0;width:100%;padding:10px 14px}.config-progress span{font-size:0}.config-progress span b{font-size:9px;width:22px;height:22px}.config-progress i{margin:0 5px}.product-modal-image{height:clamp(210px,42vw,285px);min-height:210px;padding:20px 46px 16px}.product-modal-image img{max-width:100%;max-height:250px}.product-modal-content{max-height:none;overflow:visible;padding:23px 16px calc(24px + env(safe-area-inset-bottom));}.product-modal h2{font-size:33px;line-height:1.08;max-width:100%;}.product-modal-description{overflow-wrap:anywhere}.format-options{grid-template-columns:1fr;max-height:none}.extra-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.extra-options label span{min-height:86px;padding:8px 5px}.extra-options label span img{width:31px;height:31px}.product-modal-line{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:18px 0 16px;padding:12px 0}.product-modal-line strong{margin-left:auto}.product-modal-add{position:static;border-radius:8px}.product-reassurance{display:none}}
@media(max-width:360px){.config-progress{padding-inline:9px}.config-progress i{margin-inline:3px}.product-modal-image{padding-inline:36px}.product-modal-content{padding-inline:13px}.product-modal h2{font-size:29px}.extra-options{gap:5px}.extra-options label span{font-size:8px}}
.extras-help{margin:-4px 0 10px;color:#746b76;font-size:12px}.product-extras .extra-options{grid-template-columns:repeat(3,minmax(0,1fr))}.extra-options input:focus-visible+span{outline:3px solid #f48107;outline-offset:2px}@media(max-width:760px){.product-extras .extra-options{grid-template-columns:1fr}.product-extras .extra-options label span{min-height:76px;flex-direction:row;justify-content:flex-start;gap:12px;padding:10px 12px;text-align:left}.product-extras .extra-options label span img{flex:0 0 42px;width:42px;height:42px;margin:0}.product-extras .extra-options label span small{margin-left:auto;text-align:right}}
.product-modal-image{box-sizing:border-box}.product-modal-image img{display:block;width:auto;height:auto;max-width:100%;max-height:min(510px,calc(100dvh - 180px));object-fit:contain;object-position:center}@media(max-width:760px){.product-modal-image{height:auto;min-height:0;aspect-ratio:4/3;padding:16px 42px}.product-modal-image img{width:100%;height:100%;max-height:100%;object-fit:contain}}@media(max-width:360px){.product-modal-image{padding-inline:30px}}
@media(max-width:760px){.config-progress{padding-right:64px}.close-product{-webkit-appearance:none;appearance:none;display:grid;place-items:center;position:absolute;top:50%;right:10px;z-index:6;width:40px;height:40px;padding:0;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:linear-gradient(145deg,#843b98,#581968);box-shadow:0 7px 18px rgba(61,18,71,.3);transform:translateY(-50%);transition:transform .18s ease,box-shadow .18s ease}.close-product svg{display:block;width:19px;height:19px;overflow:visible;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round}.close-product:hover,.close-product:active,.close-product:focus{background:linear-gradient(145deg,#713083,#481153);transform:translateY(-50%) scale(.95);box-shadow:0 4px 11px rgba(61,18,71,.26)}.close-product:focus-visible{outline:3px solid #f48107;outline-offset:2px}}

/* Fermeture stable de la fiche produit : croix dessinée en CSS, indépendante des polices et de Safari. */
.config-progress{position:relative;padding-right:82px}
.close-product{-webkit-appearance:none;appearance:none;display:block;position:absolute;top:50%;right:16px;z-index:12;width:42px;height:42px;padding:0;border:2px solid #fff;border-radius:50%;background:#67267a;color:#fff;box-shadow:0 7px 20px rgba(62,20,72,.32);transform:translateY(-50%);cursor:pointer;isolation:isolate}
.close-product svg{display:none!important}
.close-product:before,.close-product:after{content:"";position:absolute;z-index:1;left:50%;top:50%;width:20px;height:3px;border-radius:3px;background:#fff;transform-origin:center}
.close-product:before{transform:translate(-50%,-50%) rotate(45deg)}
.close-product:after{transform:translate(-50%,-50%) rotate(-45deg)}
.close-product:hover,.close-product:focus-visible{background:#4e155b;box-shadow:0 8px 24px rgba(62,20,72,.4);transform:translateY(-50%) scale(1.04)}
.close-product:focus-visible{outline:3px solid #f48107;outline-offset:3px}
@media(max-width:760px){.config-progress{padding-right:62px}.close-product{position:absolute;top:50%;right:9px;width:40px;height:40px;transform:translateY(-50%)}.close-product:hover,.close-product:focus-visible{transform:translateY(-50%) scale(1.02)}}
