.partnerwp-customer-products-entry{margin:1rem 0}.partnerwp-customer-products-open,.partnerwp-customer-products-submit{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:.85rem 1.25rem;border:1px solid var(--partnerwp-cp-primary,#473328);background:var(--partnerwp-cp-primary,#473328);color:var(--partnerwp-cp-primary-text,#fff);font:inherit;letter-spacing:.02em;cursor:pointer}.partnerwp-customer-products-open:disabled,.partnerwp-customer-products-submit:disabled{cursor:not-allowed;opacity:.55}.partnerwp-customer-products-unavailable{font-size:.9rem;margin:.5rem 0;color:var(--partnerwp-cp-muted,#684b3b)}.partnerwp-customer-products-modal[hidden]{display:none}.partnerwp-customer-products-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:clamp(.5rem,3vw,2rem)}.partnerwp-customer-products-backdrop{position:absolute;inset:0;background:color-mix(in srgb,var(--partnerwp-cp-backdrop,#17120f) 78%,transparent)}.partnerwp-customer-products-dialog{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:clamp(1.25rem,3vw,3rem);width:min(1080px,100%);max-height:min(90dvh,900px);overflow:auto;padding:clamp(1rem,3vw,2.75rem);background:var(--partnerwp-cp-surface,#f7f3ee);color:var(--partnerwp-cp-text,#30251f);box-shadow:0 24px 80px rgba(0,0,0,.25)}.partnerwp-customer-products-close{position:absolute;top:.5rem;right:.75rem;width:42px;height:42px;border:0;background:transparent;color:inherit;font-size:2rem;line-height:1;cursor:pointer}.partnerwp-customer-products-preview{align-self:center;overflow:hidden;background:var(--partnerwp-cp-preview,#e9e1d7)}.partnerwp-customer-products-canvas{display:block;width:100%;height:auto}.partnerwp-customer-products-controls{align-self:center;padding:1.75rem 0}.partnerwp-customer-products-controls h2{margin:0 2rem .8rem 0;font-family:Georgia,serif;font-weight:400;font-size:clamp(1.6rem,3vw,2.2rem)}.partnerwp-customer-products-controls>p{line-height:1.55}.partnerwp-customer-products-modes{display:flex;flex-wrap:wrap;gap:.75rem 1rem;margin:1.25rem 0;padding:.8rem 0;border:0;border-top:1px solid var(--partnerwp-cp-border,#d8cec4);border-bottom:1px solid var(--partnerwp-cp-border,#d8cec4)}.partnerwp-customer-products-modes legend{padding:0 .5rem 0 0;font-weight:600}.partnerwp-customer-products-name-field,.partnerwp-customer-products-logo-field{display:grid;gap:.45rem;margin:.9rem 0}.partnerwp-customer-products-name-field input[type=text],.partnerwp-customer-products-logo-field input[type=file]{width:100%;min-height:44px;padding:.55rem;border:1px solid var(--partnerwp-cp-field-border,#b8a99d);background:var(--partnerwp-cp-field-background,#fff);color:inherit}.partnerwp-customer-products-name-field span{justify-self:end;font-size:.8rem;color:var(--partnerwp-cp-muted,#6e625a)}.partnerwp-customer-products-logo-field input[type=range]{width:100%;accent-color:var(--partnerwp-cp-muted,#684b3b)}.partnerwp-customer-products-price{font-weight:600}.partnerwp-customer-products-status{min-height:1.5em;margin:.5rem 0;font-size:.9rem}.partnerwp-customer-products-status[data-error="1"]{color:#9c2f25}.partnerwp-customer-products-submit{width:100%;margin-top:.25rem}.partnerwp-customer-products-dialog :focus-visible,.partnerwp-customer-products-open:focus-visible{outline:3px solid var(--partnerwp-cp-focus,#a36f41);outline-offset:3px}
@media(max-width:760px){.partnerwp-customer-products-modal{padding:.5rem}.partnerwp-customer-products-dialog{display:block;max-height:94dvh;padding:1rem;overflow:auto}.partnerwp-customer-products-preview{margin:2rem 0 1rem}.partnerwp-customer-products-controls{padding:.5rem 0 1rem}.partnerwp-customer-products-controls h2{font-size:1.5rem}.partnerwp-customer-products-close{top:.35rem;right:.35rem;background:#f7f3ee}}
body.partnerwp-customer-products-modal-open{overflow:hidden}

.partnerwp-customer-products-dialog{font-family:var(--global-body-font-family,inherit)}.partnerwp-customer-products-controls h2{font-family:var(--global-heading-font-family,inherit)}.partnerwp-customer-products-dialog button,.partnerwp-customer-products-dialog input,.partnerwp-customer-products-dialog select,.partnerwp-customer-products-dialog textarea{font-family:var(--global-body-font-family,inherit)}

/* Keep the preview and every control visible without a vertical modal scrollbar. */
.partnerwp-customer-products-dialog{grid-template-rows:minmax(0,1fr);overflow:hidden}
.partnerwp-customer-products-controls{min-height:0;padding:.5rem 0;font-size:clamp(.84rem,.95vw,1rem);line-height:1.35}
.partnerwp-customer-products-controls h2{margin:0 2rem .4rem 0;font-size:clamp(1.35rem,2.35vw,2rem);line-height:1.08}
.partnerwp-customer-products-controls>p{margin:.35rem 0;line-height:1.35}
.partnerwp-customer-products-modes{gap:.45rem .85rem;margin:.65rem 0;padding:.45rem 0}
.partnerwp-customer-products-name-field,.partnerwp-customer-products-logo-field{gap:.3rem;margin:.55rem 0}
.partnerwp-customer-products-name-field input[type=text],.partnerwp-customer-products-logo-field input[type=file]{min-height:38px;padding:.4rem}
.partnerwp-customer-products-price,.partnerwp-customer-products-total{margin:.4rem 0}
.partnerwp-customer-products-status{min-height:0;margin:.25rem 0;line-height:1.25}
.partnerwp-customer-products-submit{min-height:44px;padding:.55rem .9rem;line-height:1.25}
@media(max-width:760px){.partnerwp-customer-products-dialog{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,22dvh) minmax(0,1fr);gap:.35rem;height:calc(100dvh - 1rem);max-height:none;padding:.75rem;overflow:hidden}.partnerwp-customer-products-preview{height:100%;min-height:0;margin:0;align-self:center}.partnerwp-customer-products-canvas{width:100%;height:100%;object-fit:contain}.partnerwp-customer-products-controls{min-height:0;padding:0;overflow:hidden;font-size:clamp(.82rem,2.7vw,.96rem)}.partnerwp-customer-products-controls h2{margin:0 2rem .25rem 0;font-size:clamp(1.25rem,5vw,1.5rem);line-height:1.05}.partnerwp-customer-products-controls>p{margin:.25rem 0;line-height:1.25}.partnerwp-customer-products-modes{gap:.3rem .75rem;margin:.4rem 0;padding:.35rem 0}.partnerwp-customer-products-name-field,.partnerwp-customer-products-logo-field{gap:.25rem;margin:.4rem 0}.partnerwp-customer-products-name-field input[type=text],.partnerwp-customer-products-logo-field input[type=file]{min-height:36px;padding:.35rem}.partnerwp-customer-products-price,.partnerwp-customer-products-total{margin:.3rem 0}.partnerwp-customer-products-submit{min-height:40px;padding:.45rem .7rem}}
@media(max-height:600px){.partnerwp-customer-products-dialog{gap:.75rem;padding:1rem}.partnerwp-customer-products-controls{padding:.2rem 0;font-size:.82rem}.partnerwp-customer-products-controls h2{margin-bottom:.25rem;font-size:1.3rem}.partnerwp-customer-products-controls>p{margin:.2rem 0}.partnerwp-customer-products-modes{margin:.35rem 0;padding:.25rem 0}.partnerwp-customer-products-name-field,.partnerwp-customer-products-logo-field{margin:.3rem 0}.partnerwp-customer-products-price,.partnerwp-customer-products-total{margin:.25rem 0}.partnerwp-customer-products-submit{min-height:38px}}

.partnerwp-customer-products-canvas{touch-action:none;cursor:default}.partnerwp-customer-products-logo-field [data-logo-size-value]{font-weight:600}.partnerwp-customer-products-logo-help{margin:0;font-size:.84rem;line-height:1.4;color:#6e625a}

/* Compact modal with a centered close control. */
.partnerwp-customer-products-dialog{gap:clamp(.65rem,1.8vw,1.25rem);width:min(960px,100%);padding:clamp(.75rem,2vw,1.5rem)}
.partnerwp-customer-products-close{display:grid;place-items:center;top:.45rem;right:.45rem;width:30px;height:30px;padding:0;border-radius:50%;font-size:1.35rem;line-height:1;background:rgba(247,243,238,.92)}
.partnerwp-customer-products-controls{padding:.45rem 0;font-size:clamp(.84rem,.95vw,.98rem);line-height:1.35}
.partnerwp-customer-products-controls h2{margin:0 2rem .4rem 0;font-size:clamp(1.35rem,2.2vw,1.9rem);line-height:1.08}
.partnerwp-customer-products-controls>p{margin:.35rem 0;line-height:1.35}
.partnerwp-customer-products-modes{gap:.45rem .85rem;margin:.55rem 0;padding:.4rem 0}
.partnerwp-customer-products-name-field,.partnerwp-customer-products-logo-field{gap:.3rem;margin:.5rem 0}
.partnerwp-customer-products-name-field input[type=text],.partnerwp-customer-products-logo-field input[type=file]{min-height:38px;padding:.4rem}
.partnerwp-customer-products-status{min-height:0;margin:.25rem 0;line-height:1.25}
.partnerwp-customer-products-submit{min-height:42px;padding:.5rem .8rem;line-height:1.25}
@media(max-width:760px){.partnerwp-customer-products-controls{overflow:hidden;font-size:clamp(.82rem,2.7vw,.94rem)}.partnerwp-customer-products-controls h2{font-size:clamp(1.2rem,5vw,1.45rem)}.partnerwp-customer-products-modes{gap:.3rem .7rem;margin:.35rem 0;padding:.3rem 0}.partnerwp-customer-products-name-field,.partnerwp-customer-products-logo-field{gap:.2rem;margin:.35rem 0}.partnerwp-customer-products-submit{min-height:38px;padding:.4rem .65rem}}
@media(max-height:560px){.partnerwp-customer-products-dialog{overflow-y:auto;padding:.65rem}.partnerwp-customer-products-controls{overflow:visible}}
