.custom-pantone-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #dfe6f1;border-radius:18px;background:#fff;color:#15213c;box-shadow:0 24px 80px #111d3a40;font:14px/1.5 "Segoe UI",Arial,sans-serif;overflow:auto;overscroll-behavior:contain;z-index:100010}
.custom-pantone-dialog::backdrop{background:#101a36a8}
.custom-pantone-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 12px}
.custom-pantone-dialog h2{margin:0;font:700 22px/1.3 "Segoe UI",Arial,sans-serif;color:#111d3a;text-align:left}
.custom-pantone-context{margin:5px 0 0;color:#65738b}
.custom-pantone-close{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:#eef2f7;color:#15213c;font:26px/1 Arial;cursor:pointer}
.custom-pantone-slots{display:flex;gap:10px;padding:0 22px 16px}
.custom-pantone-slots button{display:flex;align-items:center;gap:8px;flex:1;padding:10px;border:1px solid #dce4f0;border-radius:10px;background:#fff;color:#15213c;text-align:left;cursor:pointer}
.custom-pantone-slots button[aria-pressed=true]{border-color:#01adee;box-shadow:0 0 0 2px #01adee22}
.custom-pantone-slots i{flex:none;width:26px;height:26px;border:1px solid #cdd5df;border-radius:6px}
.custom-pantone-search-label{display:block;margin:0 22px 14px;font-weight:600}
.custom-pantone-search{box-sizing:border-box;display:block;width:100%;height:42px;margin:6px 0 0;padding:8px 12px;border:1px solid #cdd8e8;border-radius:9px;background:#fff;color:#15213c;font:16px "Segoe UI",Arial,sans-serif}
.custom-pantone-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;max-height:36dvh;min-height:100px;margin:0 22px;padding:3px 3px 10px;overflow:auto;scrollbar-width:thin}
.custom-pantone-swatch{display:flex;flex-direction:column;gap:5px;min-width:0;padding:5px;border:1px solid #dce4f0;border-radius:8px;background:#fff;color:#25324a;font:11px/1.3 "Segoe UI",Arial,sans-serif;cursor:pointer}
.custom-pantone-swatch i{display:block;width:100%;height:38px;border:1px solid #00000012;border-radius:5px;box-sizing:border-box}
.custom-pantone-swatch[aria-pressed=true]{border-color:#01adee;box-shadow:0 0 0 2px #01adee33}
.custom-pantone-empty{margin:12px 22px}
.custom-pantone-footer{display:flex;align-items:center;gap:16px;padding:16px 22px 20px;border-top:1px solid #edf1f7}
.custom-pantone-footer p{flex:1;margin:0;font-size:12px;color:#65738b}
.custom-pantone-save{padding:11px 17px;border:0;border-radius:10px;background:#010066;color:#fff;font-weight:700;cursor:pointer}
.custom-pantone-save:disabled{opacity:.4;cursor:default}
.custom-pantone-dialog button:focus-visible,.custom-pantone-search:focus-visible{outline:3px solid #01adee;outline-offset:2px}
.flow-guide #product-attributes .custom-pantone-selection{box-sizing:border-box;flex:0 0 auto;width:100%;min-width:0;padding:0 4px 8px}
.flow-guide #product-attributes .custom-pantone-edit{display:block;box-sizing:border-box;width:100%!important;max-width:none!important;min-height:36px;height:auto;margin:0;padding:8px 12px;border:1px solid #b7e4f6;border-radius:9px;background:#f0faff;color:#010066;font:600 13px/1.4 "Segoe UI",Arial,sans-serif;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.custom-pantone-selection[hidden],.custom-pantone-edit[hidden],.custom-pantone-dialog [hidden]{display:none!important}
#product-attributes .flow-step:is(.bag-colour-step,.wristband-colour-step,.photo-options-step) label.custom-pantone-option:not(:has(input.option-input:disabled)){opacity:1;cursor:pointer}
@media(max-width:600px){.custom-pantone-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-inline:14px}.custom-pantone-head,.custom-pantone-footer{padding-inline:14px}.custom-pantone-search-label{margin-inline:14px}.custom-pantone-slots{padding-inline:14px}.custom-pantone-footer{align-items:stretch;flex-direction:column;gap:10px}.custom-pantone-slots button{font-size:12px}}
