.wpm{display:grid;grid-template-columns:minmax(260px,1fr) minmax(240px,1fr);gap:32px;max-width:1000px;margin:32px auto;font-family:inherit}.wpm *{box-sizing:border-box}.wpm-controls{padding:24px;background:#f5f6f8;border-radius:16px;align-self:start}.wpm label{display:block;margin:18px 0 8px;font-weight:600}.wpm select,.wpm input[type=file]{display:block;width:100%;margin-top:8px;max-width:100%}.wpm select{padding:12px;background:white;border:1px solid #ddd;border-radius:8px}.wpm-colors{display:flex;gap:24px;flex-wrap:wrap}.wpm input[type=color]{display:block;width:72px;height:44px;margin-top:8px;border:1px solid #ccc;border-radius:6px;padding:3px}.wpm button{display:block;border:0;border-radius:8px;background:#111;color:white;padding:14px 20px;cursor:pointer;width:100%;font-weight:700;margin-top:16px}.wpm button:disabled{opacity:.45;cursor:not-allowed}.wpm .wpm-check{font-size:14px;font-weight:400;display:flex;gap:10px;align-items:flex-start}.wpm-check input{margin-top:4px;flex-shrink:0}.wpm-preview{text-align:center}.wpm canvas{width:100%;max-width:420px;height:auto;border:1px solid #eee;border-radius:8px}.wpm p{font-size:14px;line-height:1.5}.wpm-status{min-height:24px;font-weight:600}.wpm button:focus-visible,.wpm input:focus-visible,.wpm select:focus-visible{outline:3px solid #009fe3;outline-offset:3px}@media(max-width:650px){.wpm{grid-template-columns:1fr;gap:20px}.wpm-controls{padding:20px}.wpm canvas{max-width:340px}}

.wpm select[data-field="model"]{appearance:auto!important;-webkit-appearance:menulist!important;height:auto!important;min-height:48px!important;line-height:24px!important;color:#172b35!important;-webkit-text-fill-color:#172b35!important;font-size:16px!important;text-indent:0!important;padding:10px 12px!important;background:#fff!important;opacity:1!important}.wpm select option{color:#172b35;background:#fff}.wpm input[type=range]{display:block;width:100%;margin:12px 0;accent-color:#087c83}.wpm output{float:right;font-weight:400}.wpm button[data-action=shuffle]{background:#fff;color:#172b35;border:1px solid #bccbd0}

.wpm canvas[hidden],.wpm [data-role=camera][hidden]{display:none!important}.wpm canvas[data-role=gl]{height:590px;width:100%;max-width:100%;background:#fff;touch-action:none}.wpm-view-tabs,.wpm-camera{display:flex;gap:8px;flex-wrap:wrap}.wpm-view-tabs button,.wpm-camera button{flex:1;width:auto;padding:10px;margin:0 0 12px;font-size:13px}.wpm-view-tabs button[aria-pressed=false]{background:#e8ecee;color:#172b35}@media(max-width:650px){.wpm canvas[data-role=gl]{height:480px}}

.wpm-product #shop-sidebar,.wpm-product .product-gallery,.wpm-product .woocommerce-product-gallery{display:none!important}.wpm-product .product-main .product-info,.wpm-product .product-main .summary{width:100%!important;max-width:100%!important;flex-basis:100%!important}.wpm-product #main .shop-container,.wpm-product .shop-container>.row>.col.large-9{max-width:100%!important;flex-basis:100%!important}.wpm-product .wpm{max-width:1120px;grid-template-columns:minmax(260px,380px) minmax(300px,1fr)}.wpm-product .wpm-preview{grid-column:2;grid-row:1}.wpm-product .wpm-controls{grid-column:1;grid-row:1}.wpm [hidden]{display:none!important}@media(max-width:650px){.wpm-product .wpm{grid-template-columns:1fr}.wpm-product .wpm-preview{grid-column:1;grid-row:1}.wpm-product .wpm-controls{grid-column:1;grid-row:2}}

.wpm-head-crop{padding:16px;margin:18px 0;border:2px solid #087c83;border-radius:12px;background:#fff}.wpm .wpm-crop-canvas{display:block;width:100%;max-width:100%;height:auto;touch-action:none;border-radius:4px;background-color:#eee;background-image:conic-gradient(#ddd 25%,#fff 0 50%,#ddd 0 75%,#fff 0);background-size:18px 18px}.wpm-crop-ranges{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.wpm-crop-ranges label{font-size:12px}.wpm-crop-ranges output{font-size:12px}.wpm button[data-action=use-full],.wpm button[data-action=edit-head]{background:#fff;color:#172b35;border:1px solid #b5c7cb}

.wpm-brush-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wpm-brush-tools button{margin-top:8px;padding:10px;font-size:13px}.wpm-brush-tools button[aria-pressed=false]{background:#e7edef;color:#172b35}.wpm-brush-tools button[aria-pressed=true]{background:#087c83;color:#fff}
