/* Easy Studio R1.7.52 — commerce dialog. Scoped to its independent dialog. */
.esc-dialog{
  --esc-bg:#fff;--esc-soft:#f6f7f9;--esc-ink:#252831;--esc-muted:#737984;
  --esc-line:#e2e5eb;--esc-accent:#174ff5;--esc-accent-soft:#eef2ff;
  --esc-success:#287b56;--esc-error:#a33333;
  position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 32px));
  max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);padding:0;
  border:1px solid var(--esc-line);border-radius:14px;background:var(--esc-bg);
  color:var(--esc-ink);box-shadow:0 18px 64px rgba(13,14,17,.17);
  font-family:Manrope,Inter,system-ui,sans-serif;font-size:14px;line-height:1.6;
  box-sizing:border-box;overflow:hidden;color-scheme:light;
}
.esc-dialog[open]{display:flex;flex-direction:column}
.esc-dialog::backdrop{background:rgba(13,14,17,.14);backdrop-filter:none;-webkit-backdrop-filter:none}
.esc-dialog *{box-sizing:border-box}
.esc-dialog [hidden]{display:none!important}
.esc-dialog button,.esc-dialog input,.esc-dialog select{font:inherit;letter-spacing:normal}
.esc-dialog button{cursor:pointer}
.esc-dialog button:disabled,.esc-dialog input:disabled,.esc-dialog select:disabled{cursor:wait;opacity:.55}
.esc-dialog :focus-visible{outline:2px solid var(--esc-accent);outline-offset:3px}
.esc-dialog h2,.esc-dialog h3,.esc-dialog p{margin:0}
.esc-dialog #escTitle:focus{outline:none}
.esc-dialog h2{font-size:20px;line-height:1.4;font-weight:550;letter-spacing:-.025em;margin-top:8px}
.esc-dialog h3{font-size:17px;font-weight:550;line-height:1.4;letter-spacing:-.015em}
.esc-dialog strong{font-weight:600}
.esc-dialog small{font-size:12px;line-height:1.6}
.esc-head{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 28px 22px;border-bottom:1px solid var(--esc-line)}
.esc-eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:10px;font-weight:600;letter-spacing:.12em;color:var(--esc-muted);line-height:1.6}
.esc-demo{padding:3px 7px;border:1px solid var(--esc-line);border-radius:4px;font-size:10px;letter-spacing:0;font-weight:500;color:var(--esc-muted);background:var(--esc-soft)}
.esc-dialog .esc-close{flex:0 0 32px;width:32px;min-height:32px;padding:0;font-family:system-ui,sans-serif;font-size:23px;font-weight:300;line-height:1;border:0;background:transparent;color:var(--esc-muted);border-radius:6px}
.esc-dialog .esc-close:hover{background:var(--esc-soft);color:var(--esc-ink)}
.esc-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 28px 28px;scrollbar-width:thin}
.esc-body>p+*,.esc-body>.esc-notice+*,.esc-body>.esc-included+*{margin-top:18px}
.esc-body>p+p{margin-top:10px}
.esc-project{font-size:12px;color:var(--esc-muted);overflow-wrap:anywhere;margin-bottom:18px}
.esc-foot{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:18px 28px;border-top:1px solid var(--esc-line);background:var(--esc-bg)}
.esc-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 15px;border:1px solid var(--esc-line);border-radius:7px;background:var(--esc-bg);color:var(--esc-ink);font-size:13px;line-height:1.4;font-weight:500;text-align:center;text-decoration:none;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}
.esc-button:hover{background:var(--esc-soft);border-color:#bfc6d2}
.esc-button.esc-primary{background:var(--esc-accent);border-color:var(--esc-accent);color:#fff}
.esc-button.esc-primary:hover{background:#1342d0;border-color:#1342d0}
.esc-button.esc-link{min-height:36px;padding:6px 0;border-color:transparent;background:transparent;color:var(--esc-accent);text-align:left;justify-content:flex-start;font-size:13px}
.esc-button.esc-link:hover{text-decoration:underline;text-underline-offset:3px}
.esc-muted{color:var(--esc-muted);font-size:13px}
.esc-rule{font-size:12px}
.esc-notice,.esc-error{padding:12px 14px;border-radius:7px;background:var(--esc-soft);border:1px solid var(--esc-line);font-size:13px;overflow-wrap:anywhere}
.esc-error{margin-bottom:18px;background:#fff5f4;border-color:#eecbc6;color:var(--esc-error)}
.esc-included{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;padding:14px 16px;border:1px solid var(--esc-line);border-radius:8px;background:var(--esc-soft);font-size:13px}
.esc-included span{color:var(--esc-muted)}
.esc-included small{flex-basis:100%;color:var(--esc-muted)}
.esc-price-list{border:1px solid var(--esc-line);border-radius:8px;overflow:hidden;margin:18px 0}
.esc-price-list>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 16px;font-size:13px}
.esc-price-list>div+div{border-top:1px solid var(--esc-line)}
.esc-price-list strong{flex-shrink:0;white-space:nowrap}
.esc-price-list .esc-total{background:var(--esc-soft);font-size:14px}
.esc-ftp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:18px 0}
.esc-ftp-fields label{display:grid;gap:7px;font-size:13px;color:var(--esc-ink)}
.esc-ftp-fields input{width:100%;min-height:42px;border:1px solid var(--esc-line);border-radius:8px;padding:9px 11px;background:#fff;color:var(--esc-ink)}
@media(max-width:560px){.esc-ftp-fields{grid-template-columns:1fr}}
.esc-total strong{font-size:20px;letter-spacing:-.025em;font-weight:550}
.esc-total strong small{font-size:12px;font-weight:500;letter-spacing:0}
.esc-price-list .esc-balance{font-size:12px;color:var(--esc-muted)}
.esc-link-row{margin-top:12px}
.esc-options{display:grid;gap:10px;margin-bottom:18px}
.esc-button.esc-option{justify-content:space-between;text-align:left;padding:16px;font-size:14px;min-height:54px}
.esc-button.esc-option::after{content:'\2192';font-size:17px;line-height:1;color:var(--esc-muted)}
.esc-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.esc-plan{display:flex;flex-direction:column;align-items:flex-start;gap:15px;padding:18px 15px;border:1px solid var(--esc-line);border-radius:9px;background:var(--esc-bg);min-width:0}
.esc-plan>span{font-size:10px;letter-spacing:.09em;color:var(--esc-muted)}
.esc-plan>h3{font-size:21px;letter-spacing:-.025em;font-weight:500}
.esc-plan>h3 small{font-size:12px}
.esc-plan>p{font-size:12px;color:var(--esc-muted);line-height:1.8}
.esc-plan>small{font-size:11px;color:var(--esc-muted)}
.esc-plan>.esc-button{width:100%;margin-top:auto;font-size:12px;padding:9px 10px;min-height:44px}
.esc-cart-line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 16px;margin-bottom:18px;border:1px solid var(--esc-line);border-radius:8px}
.esc-cart-line>span{color:var(--esc-muted);font-size:12px}
.esc-history{margin-top:26px;padding-top:20px;border-top:1px solid var(--esc-line)}
.esc-history h3{font-size:13px;font-weight:600;margin-bottom:12px}
.esc-success-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--esc-line);border-radius:50%;background:var(--esc-soft);color:var(--esc-success);font-size:21px;margin:0 0 18px}
.esc-dialog[aria-busy=true] .esc-head::after{content:'';position:absolute;top:0;left:0;width:100%;height:2px;background:linear-gradient(90deg,transparent,var(--esc-accent),transparent);animation:esc-busy 1.4s ease-in-out infinite}
@keyframes esc-busy{0%,100%{opacity:.25}50%{opacity:1}}
body.studio-theme-night .esc-dialog{--esc-bg:#202126;--esc-soft:#292b32;--esc-ink:#eeedf0;--esc-muted:#a4a7b0;--esc-line:#3a3d47;--esc-accent:#7d9fff;--esc-accent-soft:#303b5b;--esc-success:#80d5a9;--esc-error:#ffb5ad;color-scheme:dark;box-shadow:0 18px 64px rgba(0,0,0,.3)}
body.studio-theme-night .esc-button.esc-primary{background:#285ef6;border-color:#285ef6;color:#fff}
body.studio-theme-night .esc-button.esc-primary:hover{background:#3469ff;border-color:#3469ff}
body.studio-theme-night .esc-button:hover{border-color:#687182}
body.studio-theme-night .esc-error{background:#40292a;border-color:#684043}
@media(max-width:620px){
  .esc-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:11px}
  .esc-head{padding:20px 18px 18px;gap:12px}
  .esc-dialog h2{font-size:18px}
  .esc-body{padding:20px 18px 22px}
  .esc-foot{padding:14px 18px;gap:8px}
  .esc-foot .esc-button{flex:1 1 auto;max-width:100%;font-size:12px;padding:10px 12px}
  .esc-plans{grid-template-columns:1fr;gap:10px}
  .esc-plan{padding:17px;gap:10px}
  .esc-plan>h3{font-size:20px}
  .esc-plan>.esc-button{margin-top:4px}
  .esc-price-list>div{gap:12px;padding:12px;font-size:12px;align-items:flex-start}
  .esc-price-list .esc-total{align-items:center}
  .esc-price-list strong{font-size:12px}
  .esc-total strong{font-size:20px}
  .esc-eyebrow{gap:7px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){.esc-dialog *{animation:none!important;transition:none!important}}

/* R1.7.28: one delivery choice before either independent action. */
.esc-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.esc-dialog .esc-delivery{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px 20px;border:1px solid var(--esc-line);border-radius:9px;background:var(--esc-bg);color:var(--esc-ink);text-align:left;min-width:0}
.esc-dialog .esc-delivery:hover{border-color:var(--esc-accent);background:var(--esc-soft)}
.esc-delivery strong{font-size:21px;font-weight:550;letter-spacing:-.02em}
.esc-delivery>span:not(.esc-delivery-icon){font-size:13px;color:var(--esc-muted)}
.esc-delivery small{font-size:12px;margin-top:auto;color:var(--esc-muted)}
.esc-delivery .esc-delivery-icon{font-size:25px;line-height:1;color:var(--esc-accent);margin-bottom:8px}
@media(max-width:620px){.esc-delivery-grid{grid-template-columns:1fr}.esc-dialog .esc-delivery{padding:18px;gap:8px}}
