.pzd-designer-bleed{width:100%;margin:0}.pzd-designer-app{--pink:#f72585;--black:#0b0b0d;--line:#e7e7e7;--smoke:#f6f6f7;--muted:#6d6d73;font-family:Inter,"Helvetica Neue",Arial,sans-serif;color:var(--black);background:#fff;min-height:72vh}.pzd-designer-app *{box-sizing:border-box}.pzd-designer-loading{min-height:55vh;display:grid;place-content:center;text-align:center;gap:12px}.pzd-designer-loading span{width:34px;height:34px;border:3px solid #ddd;border-top-color:var(--pink);border-radius:50%;animation:pzdspin .8s linear infinite;margin:auto}@keyframes pzdspin{to{transform:rotate(360deg)}}.pzd-designer-error{padding:24px;border:1px solid #f0b4b4;background:#fff5f5;border-radius:12px;margin:20px}.pzd-ds-flow{max-width:1280px;margin:auto;padding:clamp(28px,5vw,72px) clamp(18px,4vw,48px)}.pzd-ds-flow-head{display:flex;align-items:flex-start;gap:16px;margin-bottom:28px}.pzd-ds-flow-head h1{font-size:clamp(30px,4vw,56px);line-height:1;margin:0 0 10px;font-weight:900;letter-spacing:-.04em}.pzd-ds-flow-head p{margin:0;color:var(--muted);font-size:17px;max-width:760px}.pzd-ds-back,.pzd-ds-link{border:0;background:none;cursor:pointer;font:inherit}.pzd-ds-back{font-size:28px;padding:4px 8px}.pzd-ds-link{text-decoration:underline;text-underline-offset:3px;padding:0}.pzd-ds-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.pzd-ds-choice{border:1px solid var(--line);background:#fff;border-radius:20px;padding:32px;text-align:left;cursor:pointer;min-height:220px;transition:.2s transform,.2s box-shadow,.2s border-color}.pzd-ds-choice:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.08);border-color:#ccc}.pzd-ds-choice-primary{background:var(--black);color:#fff;text-align:center}.pzd-ds-choice-primary .pzd-ds-choice-icon{display:flex;align-items:center;justify-content:center;width:100%}.pzd-ds-choice-primary .pzd-ds-choice-icon svg{display:block;width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.pzd-ds-choice strong{display:block;font-size:26px;margin:18px 0 8px}.pzd-ds-choice small{font-size:15px;line-height:1.5;opacity:.72}.pzd-ds-choice-icon{font-size:36px}.pzd-ds-recent{margin-top:42px}.pzd-ds-recent h3{font-size:18px}.pzd-ds-recent-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.pzd-ds-recent-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer}.pzd-ds-recent-card img,.pzd-ds-placeholder{width:58px;height:58px;border-radius:10px;object-fit:cover;background:var(--smoke);display:grid;place-items:center}.pzd-ds-recent-card span span,.pzd-ds-recent-card>span:last-child{display:flex;flex-direction:column}.pzd-ds-recent-card small{color:var(--muted);margin-top:4px}.pzd-ds-products,.pzd-ds-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pzd-ds-product,.pzd-ds-color-card{border:1px solid var(--line);background:#fff;border-radius:18px;overflow:hidden;padding:0;cursor:pointer;text-align:left}.pzd-ds-product img,.pzd-ds-color-card img,.pzd-ds-product-blank,.pzd-ds-color-preview{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;background:var(--smoke)}.pzd-ds-product>span,.pzd-ds-color-card>span:last-child{padding:16px 18px;display:flex;align-items:center;gap:10px}.pzd-ds-product>span{flex-direction:column;align-items:flex-start}.pzd-ds-product strong,.pzd-ds-color-card strong{font-size:18px}.pzd-ds-product small{color:var(--muted);text-transform:capitalize}.pzd-ds-color-card.is-selected{outline:3px solid var(--pink);outline-offset:-3px}.pzd-ds-color-card i{width:18px;height:18px;border-radius:50%;border:1px solid rgba(0,0,0,.15)}.pzd-ds-flow-actions{margin-top:28px;display:flex;justify-content:flex-end}.pzd-ds-btn{border:1px solid #cfcfd4;background:#fff;color:var(--black);border-radius:999px;padding:12px 20px;font-weight:800;cursor:pointer}.pzd-ds-btn-primary{background:var(--pink);border-color:var(--pink);color:#fff}.pzd-ds-btn:disabled{opacity:.45;cursor:not-allowed}.pzd-ds-coming{max-width:700px;margin:40px auto;text-align:center;padding:46px;border:1px solid var(--line);border-radius:20px}.pzd-ds-coming>div{font-size:50px}.pzd-ds-editor{min-height:calc(100vh - 120px);background:#f4f4f5}.pzd-ds-editor-head{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:20}.pzd-ds-editor-head>div{display:flex;align-items:center;gap:16px}.pzd-ds-save-state{font-size:13px;color:#777}.pzd-ds-editor-grid{display:grid;grid-template-columns:230px minmax(420px,1fr) 300px;min-height:calc(100vh - 190px)}.pzd-ds-panel{background:#fff;padding:22px;border-right:1px solid var(--line)}.pzd-ds-tools{border-right:0;border-left:1px solid var(--line)}.pzd-ds-panel h3{font-size:16px;margin:0 0 14px}.pzd-ds-panel label,.pzd-ds-label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:13px;margin:0 0 18px}.pzd-ds-panel input[type=text],.pzd-ds-panel textarea,.pzd-ds-panel select{width:100%;padding:10px 12px;border:1px solid #d8d8dc;border-radius:10px;background:#fff;font:inherit}.pzd-ds-panel textarea{resize:vertical;min-height:86px;line-height:1.35}.pzd-ds-field-help{font-size:11px;line-height:1.35;color:var(--muted);font-weight:500}.pzd-ds-panel input[type=range]{width:100%}.pzd-ds-swatches{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}.pzd-ds-swatches button{width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #bbb;background:var(--swatch);cursor:pointer}.pzd-ds-swatches button.is-selected{box-shadow:0 0 0 3px var(--pink)}.pzd-ds-change{border:0;background:none;text-decoration:underline;cursor:pointer;padding:0;margin-bottom:30px}.pzd-ds-side-tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:10px;overflow:hidden}.pzd-ds-side-tabs button{padding:10px;border:0;background:#fff;cursor:pointer}.pzd-ds-side-tabs button.is-selected{background:var(--black);color:#fff}.pzd-ds-area-meta{font-size:12px;color:var(--muted)}.pzd-ds-canvas-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;min-width:0}.pzd-ds-stage{width:min(54.4vh,680px,100%);aspect-ratio:1080/1350;background:#fff;border-radius:18px;position:relative;overflow:hidden;box-shadow:0 15px 50px rgba(0,0,0,.08)}.pzd-ds-mockup{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.pzd-ds-mockup-empty{position:absolute;inset:0;display:grid;place-items:center;font-weight:900;color:#aaa;font-size:24px}.pzd-ds-print-area{position:absolute;border:2px dashed rgba(247,37,133,.65);background:rgba(247,37,133,.035);container-type:inline-size}.pzd-ds-hint{font-size:12px;color:#777;margin:12px 0 0;text-align:center}.pzd-ds-object{position:absolute;cursor:move;touch-action:none;transform-origin:center;user-select:none;display:flex;align-items:center;justify-content:center}.pzd-ds-object img{display:block;width:100%;height:auto;pointer-events:none}.pzd-ds-object span{display:block;width:100%;line-height:1.08;white-space:pre;overflow-wrap:normal;word-break:normal;overflow:hidden;padding:.08em .12em;pointer-events:none;box-sizing:border-box}.pzd-ds-object.is-selected{outline:2px solid var(--pink);outline-offset:4px}
.pzd-ds-object[data-text-box="1"]{min-height:1px}
.pzd-ds-text-edge-handle{position:absolute;z-index:8;display:block;touch-action:none;background:transparent}
.pzd-ds-text-edge-left,.pzd-ds-text-edge-right{top:0;bottom:0;width:14px;cursor:ew-resize}
.pzd-ds-text-edge-left{left:-7px}.pzd-ds-text-edge-right{right:-7px}
.pzd-ds-text-edge-top,.pzd-ds-text-edge-bottom{left:0;right:0;height:14px;cursor:ns-resize}
.pzd-ds-text-edge-top{top:-7px}.pzd-ds-text-edge-bottom{bottom:-7px}
.pzd-ds-text-edge-handle::after{content:'';position:absolute;background:var(--pink);border-radius:999px;opacity:0;transition:opacity .12s ease}
.pzd-ds-text-edge-left::after,.pzd-ds-text-edge-right::after{width:3px;height:24px;top:50%;transform:translateY(-50%)}
.pzd-ds-text-edge-left::after{left:5px}.pzd-ds-text-edge-right::after{right:5px}
.pzd-ds-text-edge-top::after,.pzd-ds-text-edge-bottom::after{height:3px;width:24px;left:50%;transform:translateX(-50%)}
.pzd-ds-text-edge-top::after{top:5px}.pzd-ds-text-edge-bottom::after{bottom:5px}
.pzd-ds-text-edge-handle:hover::after,.pzd-ds-object.is-text-box-resizing .pzd-ds-text-edge-handle::after{opacity:1}
.pzd-ds-range-label{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pzd-ds-range-label output{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:28px;padding:0 8px;border:1px solid #d8d8dc;border-radius:8px;background:#f7f7f8;color:#111;font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}
.pzd-ds-tool-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.pzd-ds-tool{border:1px solid var(--line);background:#fff;border-radius:12px;padding:18px 10px;font-size:24px;cursor:pointer}.pzd-ds-tool span{display:block;font-size:12px;font-weight:700;margin-top:6px}.pzd-ds-selection{border-top:1px solid var(--line);padding-top:20px}.pzd-ds-empty-selection{color:var(--muted);font-size:13px}.pzd-ds-empty-selection strong{color:var(--black)}.pzd-ds-delete{width:100%;border:1px solid #d66;color:#a00;background:#fff5f5;border-radius:10px;padding:10px;cursor:pointer}.pzd-ds-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:#111;color:#fff;border-radius:999px;padding:12px 18px;font-size:14px;opacity:0;pointer-events:none;transition:.2s;z-index:999999}.pzd-ds-toast.is-show{opacity:1;transform:translate(-50%,0)}.pzd-ds-toast.is-error{background:#a40000}
@media(max-width:1050px){.pzd-ds-editor-grid{grid-template-columns:190px 1fr 250px}.pzd-ds-panel{padding:16px}}
@media(max-width:782px){.pzd-ds-choice-grid,.pzd-ds-products,.pzd-ds-colors{grid-template-columns:1fr}.pzd-ds-recent-grid{grid-template-columns:1fr 1fr}.pzd-ds-editor-head{height:auto;min-height:64px;padding:10px 12px;gap:8px}.pzd-ds-editor-head>div{gap:8px}.pzd-ds-editor-head strong{display:none}.pzd-ds-editor-head .pzd-ds-btn{padding:9px 12px;font-size:12px}.pzd-ds-editor-grid{display:flex;flex-direction:column}.pzd-ds-left{order:1;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:10px}.pzd-ds-left h3,.pzd-ds-left .pzd-ds-change,.pzd-ds-left .pzd-ds-area-meta{display:none}.pzd-ds-left label,.pzd-ds-left .pzd-ds-label{margin:0}.pzd-ds-swatches{margin:0}.pzd-ds-side-tabs{grid-column:1/-1}.pzd-ds-canvas-wrap{order:2;padding:14px}.pzd-ds-stage{width:100%;max-width:640px}.pzd-ds-tools{order:3;border-left:0;border-top:1px solid var(--line)}.pzd-ds-tool-buttons{grid-template-columns:1fr 1fr}.pzd-ds-selection{min-height:120px}.pzd-ds-flow{padding:24px 16px}.pzd-ds-flow-head h1{font-size:34px}.pzd-ds-choice{min-height:170px;padding:24px}.pzd-ds-choice strong{font-size:22px}}

@media(max-width:782px){
  .pzd-ds-text-edge-left,.pzd-ds-text-edge-right{width:24px}
  .pzd-ds-text-edge-left{left:-12px}.pzd-ds-text-edge-right{right:-12px}
  .pzd-ds-text-edge-top,.pzd-ds-text-edge-bottom{height:24px}
  .pzd-ds-text-edge-top{top:-12px}.pzd-ds-text-edge-bottom{bottom:-12px}
  .pzd-ds-text-edge-handle::after{opacity:.72}
  .pzd-ds-text-edge-left::after,.pzd-ds-text-edge-right::after{height:22px}
  .pzd-ds-text-edge-top::after,.pzd-ds-text-edge-bottom::after{width:22px}
}
@media(max-width:480px){.pzd-ds-recent-grid{grid-template-columns:1fr}.pzd-ds-editor-head .pzd-ds-btn:first-of-type{display:none}.pzd-ds-save-state{display:none}}
@media(prefers-reduced-motion:reduce){.pzd-ds-choice,.pzd-ds-toast{transition:none}.pzd-designer-loading span{animation:none}}

.pzd-ds-secondary-action{width:100%;border:1px solid #cfcfd4;color:#111;background:#fff;border-radius:10px;padding:10px;cursor:pointer;margin:0 0 10px;font-weight:700}.pzd-ds-secondary-action:hover{border-color:#f72585;color:#f72585}


/* Aviso no bloqueante de borrador temporal */
.pzd-ds-modal-backdrop{position:fixed;inset:0;background:rgba(11,11,13,.48);backdrop-filter:blur(3px);display:grid;align-items:start;justify-items:center;overflow-y:auto;padding:var(--pzd-modal-top,120px) 18px 28px;z-index:2147482000;box-sizing:border-box}
.pzd-ds-modal{position:relative;width:min(560px,100%);background:#fff;border-radius:22px;padding:30px;box-shadow:0 28px 90px rgba(0,0,0,.24);box-sizing:border-box}
.pzd-ds-modal h2{font-size:clamp(28px,4vw,38px);line-height:1.02;margin:8px 0 12px;letter-spacing:-.035em}
.pzd-ds-modal>p{margin:0 0 20px;color:var(--muted);font-size:16px;line-height:1.55}
.pzd-ds-modal-icon{font-size:28px;color:var(--pink)}
.pzd-ds-modal-preview{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:14px;padding:10px 12px;margin:18px 0 24px}
.pzd-ds-modal-preview img,.pzd-ds-modal-preview>.pzd-ds-placeholder{width:62px;height:62px;object-fit:cover;border-radius:10px;flex:0 0 auto}
.pzd-ds-modal-preview>span:last-child{display:flex;flex-direction:column;min-width:0}
.pzd-ds-modal-preview small{color:var(--muted);margin-top:4px}
.pzd-ds-modal-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}
.pzd-ds-modal-actions .pzd-ds-btn{min-width:180px;border:1px solid #cfcfd4!important;background:#fff!important;color:#0b0b0d!important;text-align:center;box-shadow:none!important}
.pzd-ds-modal-actions .pzd-ds-btn:hover{border-color:#f72585!important;color:#f72585!important;background:#fff!important}
@media(max-width:520px){.pzd-ds-modal-backdrop{padding-left:12px;padding-right:12px}.pzd-ds-modal{padding:24px 18px}.pzd-ds-modal-actions{display:grid;grid-template-columns:1fr}.pzd-ds-modal-actions .pzd-ds-btn{width:100%}}

.pzd-ds-head-price{display:flex;flex-direction:column;align-items:flex-end;line-height:1.05;margin-right:2px}.pzd-ds-head-price small{font-size:10px;color:#777;font-weight:600}.pzd-ds-head-price strong{font-size:20px;letter-spacing:-.02em}.pzd-ds-price-card{border:1px solid var(--line);background:var(--smoke);border-radius:12px;padding:13px 14px;margin:0 0 22px;display:flex;flex-direction:column}.pzd-ds-price-card>span{font-size:11px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}.pzd-ds-price-card>strong{font-size:25px;line-height:1.05;margin:3px 0}.pzd-ds-price-card>small{font-size:11px;color:var(--muted)}@media(max-width:782px){.pzd-ds-head-price{margin-left:auto}.pzd-ds-head-price small{display:none}.pzd-ds-head-price strong{font-size:17px}.pzd-ds-price-card{grid-column:1/-1;margin:0;padding:10px 12px}.pzd-ds-price-card>strong{font-size:21px}}@media(max-width:480px){.pzd-ds-head-price{display:none}}
.pzd-ds-modal-preview-images{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.pzd-ds-modal-preview-images img,.pzd-ds-modal-preview-images>.pzd-ds-placeholder{width:62px;height:78px;object-fit:cover;border-radius:10px;background:var(--smoke)}

/* Selector final de cantidades y tallas */
.pzd-ds-quantity-backdrop{position:fixed;inset:0;z-index:2147483647;background:rgba(11,11,13,.52);backdrop-filter:blur(3px);display:grid;place-items:center;padding:22px;overflow:auto}
.pzd-ds-quantity-modal{width:min(620px,100%);max-height:min(820px,calc(100vh - 44px));overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 100px rgba(0,0,0,.28);color:#0b0b0d}
.pzd-ds-quantity-main,.pzd-ds-quantity-guide{min-height:100%;background:#fff}
.pzd-ds-quantity-head{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:22px 26px 16px;background:#fff;border-bottom:1px solid #e7e7e7}
.pzd-ds-quantity-head h2{font-size:28px;line-height:1.1;margin:0;font-weight:900;letter-spacing:-.025em}
.pzd-ds-quantity-guide .pzd-ds-quantity-head{grid-template-columns:auto 1fr auto}.pzd-ds-quantity-guide .pzd-ds-quantity-head h2{text-align:center;font-size:20px}
.pzd-ds-modal-close,.pzd-ds-guide-back{border:0;background:transparent;color:#444;cursor:pointer;font:inherit}.pzd-ds-modal-close{font-size:32px;line-height:1;padding:0 2px}.pzd-ds-guide-back{font-weight:700;padding:4px 0}
.pzd-ds-size-guide-link{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border:0;border-bottom:1px solid #e7e7e7;background:#fff;padding:16px 26px;text-align:left;font:inherit;cursor:pointer}.pzd-ds-size-guide-link span{font-weight:700}.pzd-ds-size-guide-link b{font-size:24px;font-weight:400;color:#777}
.pzd-ds-size-rows{padding:0 26px}.pzd-ds-size-row{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:64px;border-bottom:1px solid #ececee}.pzd-ds-size-row>strong{font-size:17px}
.pzd-ds-qty-stepper{display:grid;grid-template-columns:46px 68px 46px;height:44px;border:1px solid #d8d8dc;border-radius:9px;overflow:hidden;background:#fff}.pzd-ds-qty-stepper button{border:0;background:#fff;font-size:22px;cursor:pointer;color:#555}.pzd-ds-qty-stepper button:last-child{background:#f72585;color:#fff}.pzd-ds-qty-stepper span{display:grid;place-items:center;border-left:1px solid #e7e7e7;border-right:1px solid #e7e7e7;font-weight:800}
.pzd-ds-quantity-summary{padding:18px 26px 8px;display:grid;gap:8px}.pzd-ds-quantity-summary-row{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.pzd-ds-quantity-summary-row>span{font-size:15px;color:#444}.pzd-ds-quantity-summary-row>strong{font-size:18px;letter-spacing:-.02em}.pzd-ds-quantity-total-row{margin-top:3px;padding-top:10px;border-top:1px solid #ececee}.pzd-ds-quantity-total-row>span{font-size:28px;color:#111}.pzd-ds-quantity-total-row>strong{font-size:30px}.pzd-ds-summary-price{display:flex;align-items:baseline;justify-content:flex-end;gap:9px;flex-wrap:wrap}.pzd-ds-summary-price del{color:#8a8a8f;font-size:.72em;font-weight:600;text-decoration-thickness:1.5px}.pzd-ds-summary-price b{font:inherit;color:#111}.pzd-ds-quantity-incentive,.pzd-ds-free-shipping{margin:3px 0 0;font-size:13px;line-height:1.35}.pzd-ds-quantity-incentive{color:#666}.pzd-ds-free-shipping{color:#111;font-weight:800}.pzd-ds-quantity-count-row>strong{font-size:16px}
.pzd-ds-quantity-submit{display:block;width:calc(100% - 52px);margin:20px 26px 26px;border:0;border-radius:12px;background:#f72585;color:#fff;padding:16px 20px;font-size:18px;font-weight:900;cursor:pointer}.pzd-ds-quantity-submit:disabled{opacity:.42;cursor:not-allowed}
.pzd-ds-size-guide-html{padding:22px 30px 34px;line-height:1.5}.pzd-ds-size-guide-html img{max-width:100%;height:auto}.pzd-ds-size-guide-html table{width:100%;border-collapse:collapse;margin:18px 0}.pzd-ds-size-guide-html th,.pzd-ds-size-guide-html td{padding:10px;border:1px solid #ddd;text-align:center}.pzd-ds-size-guide-html iframe{max-width:100%}
@media(max-width:782px){.pzd-ds-quantity-backdrop{place-items:end center;padding:0}.pzd-ds-quantity-modal{width:100%;max-height:88vh;border-radius:22px 22px 0 0}.pzd-ds-quantity-head{padding:18px 20px 14px}.pzd-ds-quantity-head h2{font-size:24px}.pzd-ds-size-guide-link{padding:15px 20px}.pzd-ds-size-rows{padding:0 20px}.pzd-ds-quantity-summary{padding:16px 20px 6px}.pzd-ds-quantity-submit{width:calc(100% - 40px);margin:18px 20px 22px}.pzd-ds-size-guide-html{padding:18px 20px 30px}.pzd-ds-editor-head [data-action="cart"]{white-space:nowrap}}
@media(max-width:520px){.pzd-ds-editor-head [data-action="cart"]{font-size:11px;padding:9px 10px}.pzd-ds-qty-stepper{grid-template-columns:42px 54px 42px}.pzd-ds-quantity-total-row>span{font-size:24px}.pzd-ds-quantity-total-row>strong{font-size:26px}.pzd-ds-quantity-summary-row{gap:12px}.pzd-ds-summary-price{gap:6px}}
.pzd-ds-cart-icon{width:20px;height:20px;display:inline-block;vertical-align:-4px;margin-right:7px}.pzd-ds-quantity-submit .pzd-ds-cart-icon{width:22px;height:22px;vertical-align:-5px}.pzd-ds-editor-head [data-action="cart"]{display:inline-flex;align-items:center;justify-content:center}

/* Previsualización local antes de subir una foto */
html.pzd-ds-photo-open,body.pzd-ds-photo-open{overflow:hidden!important;overscroll-behavior:none!important;touch-action:none}
.pzd-ds-photo-backdrop{position:fixed;inset:0;z-index:2147483000;background:rgba(11,11,13,.68);backdrop-filter:blur(4px);display:grid;place-items:center;padding:clamp(12px,3vw,34px);box-sizing:border-box;overflow:hidden}
.pzd-ds-photo-modal{position:relative;width:min(92vw,940px);height:min(90vh,940px);max-width:940px;max-height:940px;background:#fff;border-radius:24px;box-shadow:0 36px 120px rgba(0,0,0,.34);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;color:#0b0b0d;touch-action:auto}
.pzd-ds-photo-head{padding:18px 22px 14px;border-bottom:1px solid #ececee;background:#fff}.pzd-ds-photo-head>div{display:flex;flex-direction:column;gap:3px}.pzd-ds-photo-head strong{font-size:22px;line-height:1.1}.pzd-ds-photo-head span{font-size:13px;color:#6d6d73}
.pzd-ds-photo-stage{min-height:0;display:grid;place-items:center;padding:18px;background:#f4f4f6;overflow:hidden}.pzd-ds-photo-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 8px 34px rgba(0,0,0,.12);background-color:#eefcf0;background-image:linear-gradient(45deg,#d8f5dc 25%,transparent 25%),linear-gradient(-45deg,#d8f5dc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d8f5dc 75%),linear-gradient(-45deg,transparent 75%,#d8f5dc 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0}
.pzd-ds-photo-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;padding:16px 20px 20px;border-top:1px solid #ececee;background:#fff}.pzd-ds-photo-actions .pzd-ds-btn{min-height:48px;border-radius:12px;font-weight:900}.pzd-ds-photo-add{background:#f72585!important;color:#fff!important;border-color:#f72585!important}.pzd-ds-photo-bg{background:#111!important;color:#fff!important;border-color:#111!important}.pzd-ds-photo-cancel{background:#fff!important;color:#333!important;border:1px solid #d6d6da!important}
.pzd-ds-photo-bg:disabled,.pzd-ds-photo-bg.is-unavailable{background:#dedee2!important;color:#8b8b92!important;border-color:#dedee2!important;cursor:not-allowed!important;box-shadow:none!important;opacity:1!important;transform:none!important}.pzd-ds-photo-bg:disabled:hover,.pzd-ds-photo-bg.is-unavailable:hover{background:#dedee2!important;color:#8b8b92!important;border-color:#dedee2!important;transform:none!important}
.pzd-ds-photo-processing[hidden]{display:none!important}.pzd-ds-photo-processing{position:absolute;inset:0;z-index:5;background:rgba(255,255,255,.96);display:grid;place-items:center;padding:24px;touch-action:none;overscroll-behavior:none}.pzd-ds-photo-processing-card{width:min(440px,90%);text-align:center}.pzd-ds-photo-processing-card strong{display:block;font-size:24px;line-height:1.15;margin:14px 0 8px}.pzd-ds-photo-processing-card p{margin:0 auto 20px;max-width:360px;color:#666;line-height:1.45}.pzd-ds-photo-processing-card>b{display:block;font-size:18px;margin-top:9px}.pzd-ds-photo-spinner{width:44px;height:44px;margin:auto;border:4px solid #ececf0;border-top-color:#f72585;border-radius:50%;animation:pzdPhotoSpin .8s linear infinite}.pzd-ds-photo-progress{height:10px;background:#e8e8ec;border-radius:999px;overflow:hidden}.pzd-ds-photo-progress span{display:block;height:100%;width:0;background:#f72585;transition:width .18s ease}
@keyframes pzdPhotoSpin{to{transform:rotate(360deg)}}
@media(max-width:782px){.pzd-ds-photo-backdrop{padding:12px}.pzd-ds-photo-modal{width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:none;max-height:none;border-radius:20px}.pzd-ds-photo-head{padding:14px 16px 11px}.pzd-ds-photo-head strong{font-size:20px}.pzd-ds-photo-stage{padding:10px}.pzd-ds-photo-actions{padding:12px;grid-template-columns:1fr;gap:8px}.pzd-ds-photo-actions .pzd-ds-btn{min-height:46px}.pzd-ds-photo-processing{padding:18px}.pzd-ds-photo-processing-card strong{font-size:21px}.pzd-ds-photo-processing-card p{font-size:14px}}

/* 0.3.4 · Controles directos y límites del área de personalización */
.pzd-ds-print-area{overflow:visible}
.pzd-ds-object{max-width:100%;max-height:100%}
.pzd-ds-object-handle{position:absolute;z-index:6;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:2px solid #fff;box-shadow:0 2px 9px rgba(0,0,0,.2);font-weight:900;line-height:1;cursor:pointer;touch-action:none;user-select:none;transform:rotate(var(--pzd-counter-rotation,0deg));padding:0}
.pzd-ds-object-handle-delete{top:-18px;right:-18px;background:#fff;color:#ef3340;font-size:25px;font-weight:500}
.pzd-ds-object-handle-resize{left:-18px;bottom:-18px;background:#fff;color:#356dcc;font-size:14px;letter-spacing:-3px}
.pzd-ds-object-handle-rotate{right:-18px;bottom:-18px;background:#fff;color:#356dcc;font-size:21px;font-weight:700}
.pzd-ds-rotation-bubble[hidden]{display:none!important}.pzd-ds-rotation-bubble{position:absolute;z-index:7;left:50%;top:-54px;transform:translateX(-50%) rotate(var(--pzd-counter-rotation,0deg));background:#111;color:#fff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;white-space:nowrap;pointer-events:none;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.pzd-ds-text-color-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.pzd-ds-text-color{width:25px;height:25px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #aaa;background:var(--text-color);cursor:pointer;padding:0}
.pzd-ds-text-color.is-selected{box-shadow:0 0 0 3px var(--pink)}
.pzd-ds-text-color-row input[type=color]{width:32px;height:32px;min-width:32px;border:1px solid #bbb;border-radius:8px;padding:2px;background:#fff;cursor:pointer}

/* La foto seleccionada siempre debe caber completa en la ventana de revisión. */
.pzd-ds-photo-stage{position:relative;min-width:0;min-height:0}
.pzd-ds-photo-stage img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;box-shadow:none}

@media(max-width:782px){
  .pzd-ds-object-handle{width:34px;height:34px}
  .pzd-ds-object-handle-delete{top:-20px;right:-20px}
  .pzd-ds-object-handle-resize{left:-20px;bottom:-20px}
  .pzd-ds-object-handle-rotate{right:-20px;bottom:-20px}
}


/* 0.3.5 · Rendimiento del lienzo */
.pzd-ds-object{contain:layout style;backface-visibility:hidden}
.pzd-ds-object.is-interacting{will-change:transform,translate,width;z-index:5}
.pzd-ds-object.is-image-loading::before{content:'';position:absolute;inset:20%;border-radius:12px;background:rgba(0,0,0,.035);pointer-events:none}
.pzd-ds-object img{image-rendering:auto}
@media(max-width:782px){.pzd-ds-object.is-interacting{will-change:transform,translate}}

/* v0.3.7 - editor no destructivo de máscara para quitar fondo */
.pzd-ds-photo-stage canvas[data-photo-mask-editor]{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 8px 34px rgba(0,0,0,.12);background-color:#eefcf0;background-image:linear-gradient(45deg,#d8f5dc 25%,transparent 25%),linear-gradient(-45deg,#d8f5dc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d8f5dc 75%),linear-gradient(-45deg,transparent 75%,#d8f5dc 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0;touch-action:none;cursor:crosshair}
.pzd-ds-photo-mask-tools{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:12px;padding:10px 20px;border-top:1px solid #ececee;background:#fff}
.pzd-ds-photo-mask-tools[hidden]{display:none!important}
.pzd-ds-photo-mask-modes{display:flex;gap:7px}
.pzd-ds-photo-mask-mode,.pzd-ds-photo-mask-reset{border:1px solid #d8d8dc;background:#fff;color:#0b0b0d;border-radius:10px;min-height:38px;padding:8px 12px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.pzd-ds-photo-mask-mode.is-selected{background:#0b0b0d;color:#fff;border-color:#0b0b0d}
.pzd-ds-photo-mask-reset{white-space:nowrap}
.pzd-ds-photo-brush{display:grid;grid-template-columns:auto minmax(90px,1fr) 54px;align-items:center;gap:9px;font-size:12px;font-weight:800;color:#34343a}
.pzd-ds-photo-brush input{width:100%}
.pzd-ds-photo-brush b{text-align:right;font-size:11px;color:#6d6d73}
.pzd-ds-photo-mask-help{grid-column:1/-1;font-size:11px;color:#6d6d73;margin-top:-5px}
@media(max-width:782px){
  .pzd-ds-photo-stage canvas[data-photo-mask-editor]{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;box-shadow:none}
  .pzd-ds-photo-mask-tools{grid-template-columns:1fr;padding:9px 12px;gap:8px}
  .pzd-ds-photo-mask-modes{display:grid;grid-template-columns:1fr 1fr}
  .pzd-ds-photo-mask-mode,.pzd-ds-photo-mask-reset{min-height:42px}
  .pzd-ds-photo-brush{grid-template-columns:auto minmax(0,1fr) 48px}
  .pzd-ds-photo-mask-help{margin-top:-2px;text-align:center}
}
.pzd-ds-photo-stage img[hidden],.pzd-ds-photo-stage canvas[data-photo-mask-editor][hidden]{display:none!important}
@media(max-width:782px){
  .pzd-ds-photo-stage canvas[data-photo-mask-editor]{width:auto;height:auto;max-width:100%;max-height:100%;box-shadow:none}
}

/* 0.3.8 · Inicio simplificado + quitafondos ligero + modal móvil */
.pzd-ds-choice-disabled{position:relative;opacity:.42;cursor:not-allowed!important;filter:grayscale(.15);background:#f5f5f6;color:#777}
.pzd-ds-choice-disabled:hover{transform:none!important;box-shadow:none!important;border-color:var(--line)!important}
.pzd-ds-choice-soon{position:absolute;top:16px;right:16px;padding:6px 9px;border-radius:999px;background:#e9e9ec;color:#666;font-size:11px;font-weight:900;letter-spacing:.02em;text-transform:uppercase}
.pzd-ds-photo-modal{grid-template-rows:auto minmax(0,1fr) auto auto}
.pzd-ds-photo-stage{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}
.pzd-ds-photo-stage img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center}
@media(max-width:782px){
  .pzd-ds-photo-backdrop{padding:8px}
  .pzd-ds-photo-modal{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:18px;grid-template-rows:auto minmax(150px,1fr) auto auto}
  .pzd-ds-photo-head{padding:10px 14px 9px}
  .pzd-ds-photo-head strong{font-size:18px}
  .pzd-ds-photo-head span{font-size:12px}
  .pzd-ds-photo-stage{padding:8px}
  .pzd-ds-photo-actions{grid-template-columns:1fr 1fr;padding:8px;gap:7px}
  .pzd-ds-photo-actions .pzd-ds-btn{min-height:42px;padding:9px 8px;font-size:13px}
  .pzd-ds-photo-cancel{grid-column:1/-1;min-height:38px!important}
  .pzd-ds-photo-mask-tools{padding:7px 8px;gap:6px}
  .pzd-ds-photo-mask-mode,.pzd-ds-photo-mask-reset{min-height:38px}
  .pzd-ds-photo-mask-help{font-size:10px}
}


/* 0.3.9 · Compactación del editor móvil */
.pzd-ds-price-copy{display:flex;flex-direction:column;min-width:0}
.pzd-ds-price-copy>span{font-size:11px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.pzd-ds-price-value-row{display:flex;align-items:baseline;gap:8px;min-width:0}
.pzd-ds-price-value-row>strong{font-size:25px;line-height:1.05;margin:3px 0;white-space:nowrap}
.pzd-ds-price-copy>small[data-price-tier]{font-size:11px;color:var(--muted)}
.pzd-ds-vat-note{display:inline;font-size:10px;color:var(--muted);font-weight:600;white-space:nowrap}.pzd-ds-mobile-cart{display:none}

@media(max-width:782px){
  /* El precio y el CTA viven juntos en el panel; la cabecera queda limpia. */
  .pzd-ds-editor-head .pzd-ds-head-price,
  .pzd-ds-editor-head [data-action="cart"]{display:none!important}

  /* Color usa todo el ancho, evitando una columna alta de muestras. */
  .pzd-ds-left{display:grid;grid-template-columns:1fr;gap:9px;padding:14px 12px}
  .pzd-ds-left>.pzd-ds-label{grid-column:1;margin:0 0 2px;font-size:15px}
  .pzd-ds-left>.pzd-ds-swatches{grid-column:1;width:100%;display:grid;grid-template-columns:repeat(auto-fit,30px);justify-content:space-between;align-items:center;gap:11px 8px;margin:0 0 3px}
  .pzd-ds-left>.pzd-ds-swatches button{width:30px;height:30px}

  /* Precio + IVA + Cantidad y tallas en una única tarjeta compacta. */
  .pzd-ds-price-card{grid-column:1!important;margin:0!important;padding:12px 13px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border-radius:14px}
  .pzd-ds-price-copy{min-width:0}
  .pzd-ds-price-copy>span{font-size:11px}
  .pzd-ds-price-value-row{gap:7px;flex-wrap:wrap}
  .pzd-ds-price-value-row>strong{font-size:25px;margin:3px 0 1px}
  .pzd-ds-vat-note{display:inline;font-size:10px;color:var(--muted);font-weight:600;white-space:nowrap}
  .pzd-ds-mobile-cart{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:46px;padding:11px 15px;font-size:13px;border-radius:999px}
  .pzd-ds-mobile-cart .pzd-ds-cart-icon{width:19px;height:19px;margin-right:6px}

  /* Frente/Espalda sigue ocupando una fila completa. */
  .pzd-ds-side-tabs{grid-column:1;width:100%;margin-top:1px}

  /* El mockup aprovecha prácticamente todo el ancho físico del teléfono. */
  .pzd-ds-canvas-wrap{padding:8px 4px 12px!important;width:100%;max-width:none}
  .pzd-ds-stage{width:100%!important;max-width:none!important;border-radius:14px}
  .pzd-ds-hint{padding:0 8px}
}

@media(max-width:380px){
  .pzd-ds-price-card{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:10px!important}
  .pzd-ds-price-value-row>strong{font-size:23px}
  .pzd-ds-mobile-cart{padding:10px 11px;font-size:11px;min-height:43px}
  .pzd-ds-mobile-cart .pzd-ds-cart-icon{width:17px;height:17px;margin-right:5px}
  .pzd-ds-left>.pzd-ds-swatches{gap:10px 6px}
}

/* 0.3.10 · Selección de fondo, recorte y edición directa de imágenes */
.pzd-ds-photo-modal{grid-template-rows:auto minmax(0,1fr) auto auto auto}
.pzd-ds-photo-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
.pzd-ds-photo-crop{background:#fff!important;color:#111!important;border:1px solid #bfc0c5!important}
.pzd-ds-photo-stage canvas[data-photo-crop-editor]{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:12px;box-shadow:none;background-color:#eefcf0;background-image:linear-gradient(45deg,#d8f5dc 25%,transparent 25%),linear-gradient(-45deg,#d8f5dc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d8f5dc 75%),linear-gradient(-45deg,transparent 75%,#d8f5dc 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0}
.pzd-ds-photo-stage canvas[data-photo-crop-editor][hidden]{display:none!important}
.pzd-ds-bg-pick-hint{position:absolute;left:50%;top:16px;transform:translateX(-50%);z-index:4;max-width:calc(100% - 32px);padding:9px 14px;border-radius:999px;background:rgba(17,17,17,.9);color:#fff;font-size:13px;font-weight:900;text-align:center;pointer-events:none;box-shadow:0 4px 18px rgba(0,0,0,.18)}
.pzd-ds-bg-pick-hint[hidden]{display:none!important}
.pzd-ds-photo-stage img[data-photo-preview]{touch-action:none}

.pzd-ds-crop-layer{position:absolute;z-index:3;touch-action:none;user-select:none}
.pzd-ds-crop-layer[hidden]{display:none!important}
.pzd-ds-crop-layer::before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.44);pointer-events:none}
.pzd-ds-crop-box{position:absolute;box-sizing:border-box;border:2px solid #fff;box-shadow:0 0 0 9999px rgba(0,0,0,.02);cursor:move;touch-action:none}
.pzd-ds-crop-box::before{content:'';position:absolute;inset:0;background:transparent;box-shadow:0 0 0 9999px rgba(0,0,0,.42);pointer-events:none}
.pzd-ds-crop-grid{position:absolute;display:block;background:rgba(255,255,255,.62);pointer-events:none}
.pzd-ds-crop-grid-v1,.pzd-ds-crop-grid-v2{top:0;bottom:0;width:1px}.pzd-ds-crop-grid-v1{left:33.333%}.pzd-ds-crop-grid-v2{left:66.666%}
.pzd-ds-crop-grid-h1,.pzd-ds-crop-grid-h2{left:0;right:0;height:1px}.pzd-ds-crop-grid-h1{top:33.333%}.pzd-ds-crop-grid-h2{top:66.666%}
.pzd-ds-crop-handle{position:absolute;z-index:2;width:20px;height:20px;padding:0;border:0;background:transparent;touch-action:none;cursor:pointer}
.pzd-ds-crop-handle::before{content:'';position:absolute;background:#fff;border-radius:2px}
.pzd-ds-crop-handle-n,.pzd-ds-crop-handle-s{left:50%;margin-left:-18px;width:36px}.pzd-ds-crop-handle-n{top:-10px}.pzd-ds-crop-handle-s{bottom:-10px}
.pzd-ds-crop-handle-n::before,.pzd-ds-crop-handle-s::before{left:5px;right:5px;top:9px;height:3px}
.pzd-ds-crop-handle-w,.pzd-ds-crop-handle-e{top:50%;margin-top:-18px;height:36px}.pzd-ds-crop-handle-w{left:-10px}.pzd-ds-crop-handle-e{right:-10px}
.pzd-ds-crop-handle-w::before,.pzd-ds-crop-handle-e::before{top:5px;bottom:5px;left:9px;width:3px}
.pzd-ds-crop-handle-nw{left:-10px;top:-10px}.pzd-ds-crop-handle-ne{right:-10px;top:-10px}.pzd-ds-crop-handle-se{right:-10px;bottom:-10px}.pzd-ds-crop-handle-sw{left:-10px;bottom:-10px}
.pzd-ds-crop-handle-nw::before,.pzd-ds-crop-handle-ne::before,.pzd-ds-crop-handle-se::before,.pzd-ds-crop-handle-sw::before{inset:4px;border:3px solid #fff;background:transparent;border-radius:2px}
.pzd-ds-crop-handle-nw::before{border-right:0;border-bottom:0}.pzd-ds-crop-handle-ne::before{border-left:0;border-bottom:0}.pzd-ds-crop-handle-se::before{border-left:0;border-top:0}.pzd-ds-crop-handle-sw::before{border-right:0;border-top:0}
.pzd-ds-photo-crop-tools{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 20px;border-top:1px solid #ececee;background:#fff}
.pzd-ds-photo-crop-tools[hidden]{display:none!important}
.pzd-ds-photo-crop-tools>span{text-align:center;font-size:12px;color:#666}
.pzd-ds-photo-crop-cancel,.pzd-ds-photo-crop-apply{min-height:38px;padding:8px 14px;border-radius:10px;font:inherit;font-size:13px;font-weight:900;cursor:pointer}
.pzd-ds-photo-crop-cancel{background:#fff;border:1px solid #d4d4d8;color:#333}.pzd-ds-photo-crop-apply{background:#111;border:1px solid #111;color:#fff}

/* Los cuatro comandos de esquina se reducen ~30%, manteniendo un área táctil invisible más amplia. */
.pzd-ds-object-handle{width:21px;height:21px;border-width:1.5px}
.pzd-ds-object-handle::after{content:'';position:absolute;inset:-6px;border-radius:50%}
.pzd-ds-object-handle-edit{top:-13px;left:-13px;background:#fff;color:#111;font-size:14px;font-weight:800}
.pzd-ds-object-handle-delete{top:-13px;right:-13px;font-size:18px}
.pzd-ds-object-handle-resize{left:-13px;bottom:-13px;font-size:10px;letter-spacing:-2px}
.pzd-ds-object-handle-rotate{right:-13px;bottom:-13px;font-size:15px}

@media(max-width:782px){
  .pzd-ds-photo-modal{grid-template-rows:auto minmax(140px,1fr) auto auto auto}
  .pzd-ds-photo-actions{grid-template-columns:1fr 1fr;padding:8px;gap:7px}
  .pzd-ds-photo-cancel{grid-column:auto!important}
  .pzd-ds-photo-crop-tools{grid-template-columns:auto 1fr auto;padding:8px;gap:7px}
  .pzd-ds-photo-crop-tools>span{font-size:10px;line-height:1.2}
  .pzd-ds-photo-crop-cancel,.pzd-ds-photo-crop-apply{min-height:38px;padding:7px 9px;font-size:12px}
  .pzd-ds-bg-pick-hint{top:10px;font-size:12px;padding:8px 11px}
  .pzd-ds-object-handle{width:24px;height:24px}
  .pzd-ds-object-handle::after{inset:-7px}
  .pzd-ds-object-handle-edit{top:-14px;left:-14px;font-size:15px}
  .pzd-ds-object-handle-delete{top:-14px;right:-14px;font-size:20px}
  .pzd-ds-object-handle-resize{left:-14px;bottom:-14px;font-size:11px}
  .pzd-ds-object-handle-rotate{right:-14px;bottom:-14px;font-size:16px}
}
/* Ajuste del sombreado: sólo se oscurece el área exterior al marco de recorte. */
.pzd-ds-crop-layer{overflow:hidden}
.pzd-ds-crop-layer::before{display:none}
.pzd-ds-crop-box{box-shadow:none}
.pzd-ds-crop-box::before{box-shadow:0 0 0 9999px rgba(0,0,0,.46)}

/* 0.3.11 · Vista HD bajo demanda + reapertura del asset editado */
.pzd-ds-view-button{position:absolute;z-index:12;top:12px;right:12px;display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 13px;border:1px solid rgba(0,0,0,.14);border-radius:999px;background:rgba(255,255,255,.94);color:#111;box-shadow:0 4px 18px rgba(0,0,0,.12);font:inherit;font-size:13px;font-weight:900;cursor:pointer;backdrop-filter:blur(5px)}
.pzd-ds-view-button svg{width:19px;height:19px;flex:0 0 auto}.pzd-ds-view-button:hover{border-color:var(--pink);color:var(--pink)}
html.pzd-ds-hd-open,body.pzd-ds-hd-open{overflow:hidden!important}
.pzd-ds-hd-backdrop{--pink:#f72585;position:fixed;inset:0;z-index:1000002;background:rgba(11,11,13,.72);backdrop-filter:blur(5px);display:grid;place-items:center;padding:18px}
.pzd-ds-hd-modal{width:min(96vw,1100px);height:min(94dvh,1040px);min-height:520px;background:#fff;border-radius:22px;box-shadow:0 28px 100px rgba(0,0,0,.38);overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr);color:#111}
.pzd-ds-hd-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;border-bottom:1px solid #e8e8eb;background:#fff}.pzd-ds-hd-head>div{min-width:0;display:flex;flex-direction:column;gap:3px}.pzd-ds-hd-head strong{display:flex;align-items:center;gap:8px;font-size:18px}.pzd-ds-hd-head strong svg{width:22px;height:22px}.pzd-ds-hd-head span{font-size:12px;color:#707078}.pzd-ds-hd-close{width:38px;height:38px;flex:0 0 auto;border:1px solid #ddd;border-radius:50%;background:#fff;color:#111;font-size:26px;line-height:1;cursor:pointer}.pzd-ds-hd-close:hover{border-color:#111}
.pzd-ds-hd-tabs{display:flex;justify-content:center;gap:0;padding:10px 16px;background:#f7f7f8;border-bottom:1px solid #e8e8eb}.pzd-ds-hd-tabs button{min-width:130px;padding:10px 20px;border:1px solid #d7d7db;background:#fff;color:#111;font:inherit;font-weight:800;cursor:pointer}.pzd-ds-hd-tabs button:first-child{border-radius:11px 0 0 11px}.pzd-ds-hd-tabs button:last-child{border-radius:0 11px 11px 0}.pzd-ds-hd-tabs button:only-child{border-radius:11px}.pzd-ds-hd-tabs button+button{margin-left:-1px}.pzd-ds-hd-tabs button.is-selected{position:relative;z-index:1;background:#111;color:#fff;border-color:#111}
.pzd-ds-hd-body{position:relative;min-width:0;min-height:0;overflow:auto;background:#ededf0;padding:16px;display:grid;place-items:center}.pzd-ds-hd-stage-host{width:100%;min-height:100%;display:grid;place-items:center}.pzd-ds-hd-stage{width:min(72vh,780px,100%)!important;max-width:100%!important;flex:0 0 auto;border-radius:16px;box-shadow:0 12px 44px rgba(0,0,0,.14)}
.pzd-ds-hd-print-area{border:0!important;background:transparent!important}.pzd-ds-hd-object{cursor:default!important;touch-action:auto!important;pointer-events:none}.pzd-ds-hd-object img{image-rendering:auto}.pzd-ds-hd-loading{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;background:rgba(244,244,246,.88);backdrop-filter:blur(3px);text-align:center}.pzd-ds-hd-loading[hidden]{display:none!important}.pzd-ds-hd-spinner{width:38px;height:38px;border:3px solid #d0d0d5;border-top-color:var(--pink);border-radius:50%;animation:pzdspin .8s linear infinite}.pzd-ds-hd-loading strong{font-size:16px}.pzd-ds-hd-progress{width:min(360px,78vw);height:8px;border-radius:999px;background:#d9d9de;overflow:hidden}.pzd-ds-hd-progress span{display:block;width:0;height:100%;border-radius:inherit;background:var(--pink);transition:width .16s ease}.pzd-ds-hd-loading b{font-size:14px}.pzd-ds-hd-loading.is-complete .pzd-ds-hd-spinner{animation:none;border-color:var(--pink)}
@media(max-width:782px){
  .pzd-ds-view-button{top:8px;right:8px;min-height:35px;padding:7px 11px;font-size:12px;gap:6px}.pzd-ds-view-button svg{width:18px;height:18px}
  .pzd-ds-hd-backdrop{padding:6px}.pzd-ds-hd-modal{width:calc(100vw - 12px);height:calc(100dvh - 12px);min-height:0;border-radius:17px}.pzd-ds-hd-head{padding:11px 13px}.pzd-ds-hd-head strong{font-size:15px}.pzd-ds-hd-head span{font-size:10px;line-height:1.25}.pzd-ds-hd-close{width:34px;height:34px;font-size:23px}.pzd-ds-hd-tabs{padding:8px 10px}.pzd-ds-hd-tabs button{min-width:112px;padding:9px 15px;font-size:13px}.pzd-ds-hd-body{padding:8px}.pzd-ds-hd-stage{width:min(100%,calc((100dvh - 155px)*.8))!important;border-radius:12px}.pzd-ds-hd-loading{padding:16px}.pzd-ds-hd-loading strong{font-size:14px}.pzd-ds-hd-progress{width:min(320px,80vw)}
}
@media(prefers-reduced-motion:reduce){.pzd-ds-hd-spinner{animation:none}.pzd-ds-hd-progress span{transition:none}}


/* 0.3.12 · Vista HD real: canvas de alta resolución generado sólo bajo demanda. */
.pzd-ds-hd-tabs{justify-content:space-between;align-items:center;gap:14px}
.pzd-ds-hd-side-buttons{display:flex;justify-content:center;min-width:0}
.pzd-ds-hd-side-buttons button+button{margin-left:-1px}
.pzd-ds-hd-meta{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;color:#666;font-size:11px;font-weight:800}
.pzd-ds-hd-meta span{white-space:nowrap}
.pzd-ds-hd-meta button{min-width:0!important;margin:0!important;padding:7px 11px!important;border-radius:999px!important;background:#fff!important;color:#111!important;border:1px solid #d7d7db!important;font-size:11px!important;line-height:1!important}
.pzd-ds-hd-meta button:hover{border-color:#111!important}
.pzd-ds-hd-stage-host{overflow:visible}
.pzd-ds-hd-render{display:block;width:min(72vh,780px,100%);height:auto;max-width:100%;flex:0 0 auto;border-radius:16px;box-shadow:0 12px 44px rgba(0,0,0,.14);background:#fff;image-rendering:auto}
.pzd-ds-hd-render.is-actual{width:auto!important;max-width:none!important;height:auto!important;border-radius:0}
@media(max-width:782px){
  .pzd-ds-hd-tabs{gap:8px;padding:7px 8px}
  .pzd-ds-hd-side-buttons{flex:1 1 auto}
  .pzd-ds-hd-side-buttons button{min-width:82px;padding:8px 11px;font-size:12px}
  .pzd-ds-hd-meta{flex:0 0 auto;gap:5px;font-size:9px}
  .pzd-ds-hd-meta span{max-width:118px;overflow:hidden;text-overflow:ellipsis}
  .pzd-ds-hd-meta button{padding:6px 8px!important;font-size:10px!important}
  .pzd-ds-hd-render{width:min(100%,calc((100dvh - 165px)*.81));border-radius:12px}
}

/* 0.3.14 · Interacción estable y límites basados en contenido visible */
.pzd-ds-object{max-width:none;max-height:none}
.pzd-ds-object.is-selected{outline:0!important}
.pzd-ds-content-hit,.pzd-ds-content-frame{position:absolute;box-sizing:border-box;transform:none}
.pzd-ds-content-hit{z-index:2;pointer-events:none}
.pzd-ds-content-frame{z-index:4;pointer-events:none;border:0 solid transparent}
.pzd-ds-object.is-selected>.pzd-ds-content-frame{outline:2px solid var(--pink);outline-offset:4px}
.pzd-ds-content-frame>.pzd-ds-object-handle{pointer-events:auto}
.pzd-ds-object:not(.is-selected)>.pzd-ds-content-frame>.pzd-ds-object-handle,
.pzd-ds-object:not(.is-selected)>.pzd-ds-text-edge-handle{display:none!important}
.pzd-ds-object-handle[hidden]{display:none!important}

/* Los tiradores de caja de texto son puntos centrales compactos. El borde completo
   se detecta por coordenadas en escritorio/móvil sin superponer cuatro bandas táctiles. */
.pzd-ds-text-edge-handle{z-index:9;width:18px!important;height:18px!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;border-radius:999px;pointer-events:auto}
.pzd-ds-text-edge-left{left:-9px!important;top:50%!important;transform:translateY(-50%);cursor:ew-resize}
.pzd-ds-text-edge-right{right:-9px!important;top:50%!important;transform:translateY(-50%);cursor:ew-resize}
.pzd-ds-text-edge-top{top:-9px!important;left:50%!important;transform:translateX(-50%);cursor:ns-resize}
.pzd-ds-text-edge-bottom{bottom:-9px!important;left:50%!important;transform:translateX(-50%);cursor:ns-resize}
.pzd-ds-text-edge-handle::after{opacity:.8!important;inset:5px!important;width:auto!important;height:auto!important;transform:none!important;background:var(--pink);border-radius:50%}
.pzd-ds-object.is-interacting>.pzd-ds-content-frame{outline-color:var(--pink)}

@media(max-width:782px){
  .pzd-ds-text-edge-handle{width:22px!important;height:22px!important}
  .pzd-ds-text-edge-left{left:-11px!important}.pzd-ds-text-edge-right{right:-11px!important}
  .pzd-ds-text-edge-top{top:-11px!important}.pzd-ds-text-edge-bottom{bottom:-11px!important}
  .pzd-ds-text-edge-handle::after{inset:6px!important}
}

/* Hit-testing real: la caja técnica no intercepta clicks. Sólo contenido visible,
   bordes de texto y controles reciben puntero; así la transparencia deja pasar al objeto inferior. */
.pzd-ds-object{pointer-events:none!important}
.pzd-ds-content-hit{pointer-events:auto!important;background:transparent;cursor:move}
.pzd-ds-object-handle,.pzd-ds-text-edge-handle{pointer-events:auto!important}
.pzd-ds-text-edge-handle{z-index:9;border-radius:0;background:transparent!important}
.pzd-ds-text-edge-left,.pzd-ds-text-edge-right{top:0!important;bottom:0!important;width:7px!important;height:auto!important;transform:none!important}
.pzd-ds-text-edge-left{left:-3.5px!important}.pzd-ds-text-edge-right{right:-3.5px!important}
.pzd-ds-text-edge-top,.pzd-ds-text-edge-bottom{left:0!important;right:0!important;height:7px!important;width:auto!important;transform:none!important}
.pzd-ds-text-edge-top{top:-3.5px!important}.pzd-ds-text-edge-bottom{bottom:-3.5px!important}
.pzd-ds-text-edge-handle::after{content:'';position:absolute;opacity:.8!important;background:var(--pink);border-radius:999px}
.pzd-ds-text-edge-left::after,.pzd-ds-text-edge-right::after{width:4px!important;height:20px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important}
.pzd-ds-text-edge-left::after{left:1.5px!important;right:auto!important}.pzd-ds-text-edge-right::after{right:1.5px!important;left:auto!important}
.pzd-ds-text-edge-top::after,.pzd-ds-text-edge-bottom::after{height:4px!important;width:20px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}
.pzd-ds-text-edge-top::after{top:1.5px!important;bottom:auto!important}.pzd-ds-text-edge-bottom::after{bottom:1.5px!important;top:auto!important}
@media(max-width:782px){
  .pzd-ds-text-edge-left,.pzd-ds-text-edge-right{width:9px!important}
  .pzd-ds-text-edge-left{left:-4.5px!important}.pzd-ds-text-edge-right{right:-4.5px!important}
  .pzd-ds-text-edge-top,.pzd-ds-text-edge-bottom{height:9px!important}
  .pzd-ds-text-edge-top{top:-4.5px!important}.pzd-ds-text-edge-bottom{bottom:-4.5px!important}
  .pzd-ds-text-edge-left::after,.pzd-ds-text-edge-right::after{height:24px!important}
  .pzd-ds-text-edge-top::after,.pzd-ds-text-edge-bottom::after{width:24px!important}
}
/* El alto de la caja no recorta ni reescala la tipografía: sólo define el área editable. */
.pzd-ds-object[data-text-box="1"]>span{overflow:visible;flex-shrink:0}


/* 0.3.15 · Separación visual de caja de texto e hitbox real.
   La caja rosa visible corresponde al área editable del texto; la hitbox de glifos
   permanece totalmente invisible y se usa sólo para interacción/límites. */
.pzd-ds-object[data-text-box="1"]>.pzd-ds-content-hit{background:transparent!important;outline:0!important;border:0!important;box-shadow:none!important}
.pzd-ds-object[data-text-box="1"].is-selected>.pzd-ds-content-frame{outline:2px solid var(--pink);outline-offset:0}


/* 0.3.16 · Modal de texto, reutilizando la ergonomía del modal de imagen */
.pzd-ds-text-modal{grid-template-rows:auto minmax(0,1fr) auto;}
.pzd-ds-text-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.pzd-ds-text-close{border:0;background:transparent;color:#666;font-size:34px;line-height:1;cursor:pointer;padding:0 2px}
.pzd-ds-text-body{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:14px;padding:16px 18px 18px;min-height:0;overflow:hidden}
.pzd-ds-text-live-card{border:1px solid var(--line);border-radius:18px;background:#fafafa;padding:14px}
.pzd-ds-text-live-preview{display:grid;place-items:center;min-height:120px;border-radius:14px;background:#fff;border:1px dashed #ddd;padding:18px;text-align:center;overflow:hidden}
.pzd-ds-text-live-preview span{display:block;max-width:100%;font-size:clamp(28px,5vw,46px);font-weight:700;line-height:1.1;word-break:normal;overflow-wrap:normal}
.pzd-ds-text-entry{display:grid;gap:6px}
.pzd-ds-text-entry>span,.pzd-ds-text-color-compact>span{font-weight:700;color:#222}
.pzd-ds-text-entry textarea{width:100%;resize:none;border:1px solid var(--line);border-radius:14px;padding:14px 16px;font:inherit;min-height:100px;box-sizing:border-box}
.pzd-ds-text-entry small{justify-self:end;color:var(--muted)}
.pzd-ds-text-color-compact{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}
.pzd-ds-text-color-scroller{display:flex;gap:8px;overflow:auto;padding-bottom:2px}
.pzd-ds-text-color-compact input[type="color"]{width:38px;height:38px;border-radius:999px;border:1px solid var(--line);padding:0;background:#fff}
.pzd-ds-text-font-list{display:grid;gap:10px;overflow:auto;padding-right:2px}
.pzd-ds-text-font-item{display:grid;gap:4px;align-items:center;border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px 16px;text-align:center;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .1s ease}
.pzd-ds-text-font-item:hover{border-color:#cfcfcf}
.pzd-ds-text-font-item.is-selected{border-color:var(--pink);box-shadow:0 0 0 2px rgba(240,0,120,.12)}
.pzd-ds-text-font-sample{display:block;font-size:clamp(22px,4vw,32px);font-weight:700;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pzd-ds-text-font-item small{color:#888;font-size:12px}
.pzd-ds-text-actions{grid-template-columns:1fr 1fr}
.pzd-ds-text-edit-hint{display:grid;gap:8px;margin-bottom:10px}
@media(max-width:782px){
  .pzd-ds-text-modal{height:calc(100dvh - 24px)}
  .pzd-ds-text-body{padding:12px 14px 14px;gap:12px}
  .pzd-ds-text-live-preview{min-height:92px;padding:14px}
  .pzd-ds-text-live-preview span{font-size:clamp(24px,7vw,34px)}
  .pzd-ds-text-entry textarea{min-height:88px}
  .pzd-ds-text-font-item{padding:12px 14px}
  .pzd-ds-text-font-sample{font-size:clamp(20px,7vw,28px)}
}


/* 0.3.17 · Correcciones de modal de texto y scroll */
.pzd-ds-text-modal{grid-template-rows:auto minmax(0,1fr) auto!important}
.pzd-ds-text-body{
  display:block!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:16px 18px 24px!important;
  scrollbar-gutter:stable;
}
.pzd-ds-text-body>*+*{margin-top:14px}
.pzd-ds-text-font-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px!important;
  overflow:visible!important;
  padding:0!important;
}
.pzd-ds-text-font-item{min-width:0;overflow:hidden}
.pzd-ds-text-font-sample{min-width:0;width:100%;display:block}
.pzd-ds-text-live-preview{transition:background-color .15s ease,border-color .15s ease}
.pzd-ds-text-modal.is-light-text .pzd-ds-text-live-preview,
.pzd-ds-text-modal.is-light-text .pzd-ds-text-font-item{background:#d7d9dc;border-color:#c2c5c9}
.pzd-ds-text-color-compact{grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;min-width:0}
.pzd-ds-text-color-scroller{display:flex!important;align-items:center;gap:9px!important;overflow:visible!important;min-width:0;padding:3px!important;flex-wrap:nowrap}
.pzd-ds-text-color-scroller .pzd-ds-text-color{
  box-sizing:border-box!important;
  flex:0 0 28px!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  max-width:28px!important;
  max-height:28px!important;
  aspect-ratio:1/1!important;
  border-radius:50%!important;
}
.pzd-ds-text-color-compact input[type="color"]{
  -webkit-appearance:none;appearance:none;
  box-sizing:border-box;
  flex:0 0 34px!important;
  width:34px!important;height:34px!important;min-width:34px!important;
  border-radius:50%!important;border:1px solid #aaa!important;padding:2px!important;overflow:hidden;background:#fff!important;cursor:pointer;
}
.pzd-ds-text-color-compact input[type="color"]::-webkit-color-swatch-wrapper{padding:0}
.pzd-ds-text-color-compact input[type="color"]::-webkit-color-swatch{border:0;border-radius:50%}
.pzd-ds-text-color-compact input[type="color"]::-moz-color-swatch{border:0;border-radius:50%}
.pzd-ds-text-actions{grid-template-columns:1fr 1fr!important}
@media(max-width:782px){
  .pzd-ds-text-modal{height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important}
  .pzd-ds-text-body{padding:12px 14px 20px!important}
  .pzd-ds-text-body>*+*{margin-top:12px}
  .pzd-ds-text-font-list{grid-template-columns:1fr!important}
  .pzd-ds-text-entry textarea{min-height:100px!important;max-height:none!important}
  .pzd-ds-text-color-compact{grid-template-columns:auto minmax(0,1fr) auto!important}
  .pzd-ds-text-color-scroller{gap:7px!important;justify-content:flex-start}
  .pzd-ds-text-color-scroller .pzd-ds-text-color{flex-basis:26px!important;width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;max-width:26px!important;max-height:26px!important}
  .pzd-ds-text-color-compact input[type="color"]{width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px!important}
}
@media(max-width:390px){
  .pzd-ds-text-color-compact{gap:7px!important}
  .pzd-ds-text-color-scroller{gap:5px!important}
  .pzd-ds-text-color-scroller .pzd-ds-text-color{flex-basis:24px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important}
}


/* 0.3.18 · Ajustes del editor de texto */
.pzd-ds-text-body{background:rgba(179,179,179,.12)}
.pzd-ds-text-live-card{background:rgba(179,179,179,.3)!important;border:1px solid rgba(0,0,0,.12)!important;padding:14px!important}
.pzd-ds-text-live-preview{background:rgba(179,179,179,.3)!important;border:1px dashed rgba(0,0,0,.14)!important;min-height:180px!important;align-items:stretch!important}
.pzd-ds-text-live-editor{display:block;min-height:150px;outline:none;border:0;background:transparent;width:100%;padding:12px 14px;text-align:center;font-size:clamp(30px,5vw,50px);font-weight:700;line-height:1.08;word-break:normal;overflow-wrap:normal;color:#111;overflow-x:auto}
.pzd-ds-text-counter{display:block;text-align:right;margin-top:8px;color:#555}
.pzd-ds-text-section-title,.pzd-ds-text-color-compact>span{font-size:13px;font-weight:700;color:#333;letter-spacing:.02em}
.pzd-ds-text-font-section{display:grid;gap:8px}
.pzd-ds-text-font-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;overflow:visible!important}
.pzd-ds-text-font-item{background:rgba(179,179,179,.3)!important;border:1px solid rgba(0,0,0,.12)!important;min-height:96px;align-content:center}
.pzd-ds-text-font-sample{white-space:pre-wrap!important;overflow:hidden;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}
.pzd-ds-text-color-scroller{display:flex;align-items:center;gap:10px;min-width:0}
.pzd-ds-text-color{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;flex:0 0 34px!important;border-radius:999px!important}
.pzd-ds-text-color-custom{position:relative;width:42px;height:42px;min-width:42px;display:grid;place-items:center;border:1px solid rgba(0,0,0,.16);border-radius:10px;background:linear-gradient(135deg,#fff 0%,#ececec 100%);overflow:hidden;cursor:pointer}
.pzd-ds-text-color-custom input[type='color']{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.pzd-ds-text-color-custom span{font-size:20px;line-height:1}
.pzd-ds-text-entry{display:none!important}
@media(max-width:782px){
  .pzd-ds-text-body{padding:12px 14px 14px!important;overflow:auto!important}
  .pzd-ds-text-live-preview{min-height:240px!important}
  .pzd-ds-text-live-editor{min-height:210px;font-size:clamp(28px,8vw,48px)}
  .pzd-ds-text-font-list{grid-template-columns:1fr!important}
  .pzd-ds-text-color{width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px!important}
  .pzd-ds-text-color-custom{width:40px;height:40px;min-width:40px}
}


/* 0.3.19 · interacción móvil, selector directo y autoajuste de textos largos */
.pzd-ds-object-handle-edit{touch-action:manipulation!important}
.pzd-ds-text-color-custom{appearance:none;-webkit-appearance:none;padding:0;touch-action:manipulation}
.pzd-ds-text-color-native{position:fixed!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;left:-10000px!important;top:-10000px!important}


/* 0.3.22 · selección, controles de arrastre y guías de centrado */
.pzd-ds-center-guide{position:absolute;z-index:4;pointer-events:none;border-color:#2387f2;opacity:.95}
.pzd-ds-center-guide[hidden]{display:none!important}
.pzd-ds-center-guide-vertical{top:0;bottom:0;left:50%;border-left:1.5px dashed #2387f2;transform:translateX(-.75px)}
.pzd-ds-center-guide-horizontal{left:0;right:0;top:50%;border-top:1.5px dashed #2387f2;transform:translateY(-.75px)}
.pzd-ds-object.is-dragging>.pzd-ds-content-frame>.pzd-ds-object-handle{opacity:.30;transition:opacity .08s linear}
.pzd-ds-object.is-dragging>.pzd-ds-text-edge-handle{opacity:.45;transition:opacity .08s linear}

/* 0.3.23 · Curva de texto + alineación y capas */
.pzd-ds-curved-text{position:absolute;inset:0;pointer-events:none;overflow:visible;z-index:1}
.pzd-ds-object .pzd-ds-curve-glyph{position:absolute!important;display:block!important;width:auto!important;max-width:none!important;height:auto!important;padding:0!important;margin:0!important;overflow:visible!important;white-space:pre!important;line-height:1!important;pointer-events:none!important;transform-origin:center center;box-sizing:content-box}
.pzd-ds-curve-control{margin-top:-2px!important}
.pzd-ds-curve-control input[type="range"]{accent-color:var(--pink)}
.pzd-ds-object-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:2px 0 16px}
.pzd-ds-object-actions button{min-width:0;border:1px solid transparent;background:#fff;border-radius:10px;padding:8px 3px 7px;color:#333;cursor:pointer;display:grid;place-items:center;gap:4px;line-height:1.05}
.pzd-ds-object-actions button:hover{background:#f7f7f8;border-color:#e2e2e6}
.pzd-ds-object-actions button:disabled{opacity:.32;cursor:not-allowed;background:#fff}
.pzd-ds-object-actions button>span{font-size:22px;font-weight:500;line-height:1;color:#555;width:auto;padding:0;overflow:visible}
.pzd-ds-object-actions button>small{font-size:10px;color:#666;font-weight:650;text-align:center;line-height:1.12}
@media(max-width:782px){
  .pzd-ds-object-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:12px}
  .pzd-ds-object-actions button{padding:7px 2px 6px}
  .pzd-ds-object-actions button>span{font-size:21px}
  .pzd-ds-object-actions button>small{font-size:9.5px}
}


/* 0.3.24 · Curva tipográfica nativa con SVG textPath */
svg.pzd-ds-curved-text{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1}
svg.pzd-ds-curved-text text{paint-order:normal;text-rendering:geometricPrecision;font-kerning:normal;font-variant-ligatures:common-ligatures contextual}


/* 0.3.25 · Curva de texto y selección estable */
.pzd-ds-curve-hint{display:block;margin-top:6px;font-size:10px;line-height:1.35;color:var(--muted);font-weight:500}


/* 0.3.26 · Editor hexadecimal propio + compactación móvil */
.pzd-ds-mobile-add{display:none}
.pzd-ds-color-editor{position:absolute;inset:0;z-index:30;background:#fff;display:grid;grid-template-rows:auto minmax(0,1fr);color:#222}
.pzd-ds-color-editor[hidden]{display:none!important}
.pzd-ds-color-editor-head{height:66px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:0 18px}
.pzd-ds-color-editor-head button{border:0;background:transparent;font:inherit;font-size:15px;cursor:pointer;padding:8px 4px;color:#222}
.pzd-ds-color-editor-head strong{font-size:18px}
.pzd-ds-color-editor-body{padding:24px;overflow:auto;display:grid;align-content:start;gap:24px}
.pzd-ds-color-editor-body>p{margin:0;color:#666;font-size:15px;line-height:1.45}
.pzd-ds-color-hex-row{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:16px}
.pzd-ds-color-current{width:48px;height:48px;border-radius:50%;border:1px solid rgba(0,0,0,.16);box-shadow:0 1px 4px rgba(0,0,0,.08)}
.pzd-ds-color-hex-row label{display:grid;grid-template-columns:auto minmax(120px,180px);align-items:center;justify-content:start;gap:16px;font-weight:500;margin:0}
.pzd-ds-color-hex-row label>span{font-size:14px;color:#444}
.pzd-ds-color-hex-row input{height:46px;border:1px solid #d6d6da;border-radius:8px;padding:0 14px;font:600 16px/1 monospace;text-transform:uppercase;background:#fff}
.pzd-ds-color-sv{--hue:0;position:relative;width:100%;aspect-ratio:1.75/1;min-height:220px;border-radius:10px;cursor:crosshair;touch-action:none;overflow:hidden;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,hsl(var(--hue) 100% 50%));box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.pzd-ds-color-sv-cursor{position:absolute;width:18px;height:18px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #222,0 2px 5px rgba(0,0,0,.28);transform:translate(-50%,-50%);pointer-events:none}
.pzd-ds-color-hue-wrap{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;margin:0!important;font-weight:600!important}
.pzd-ds-color-hue-wrap input{appearance:none;-webkit-appearance:none;height:16px;border-radius:999px;background:linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);outline:none}
.pzd-ds-color-hue-wrap input::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;border-radius:50%;background:#fff;border:2px solid #fff;box-shadow:0 0 0 1px #555;cursor:pointer}
.pzd-ds-color-hue-wrap input::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid #fff;box-shadow:0 0 0 1px #555;cursor:pointer}
.pzd-ds-text-color-custom{border-radius:9px!important}
.pzd-ds-text-color-native{display:none!important}

@media(max-width:782px){
  .pzd-ds-canvas-wrap{background:#fff!important;padding-bottom:0!important}
  .pzd-ds-hint{display:none!important}
  .pzd-ds-mobile-add{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;width:100%;padding:10px 8px 9px;background:#fff;border-top:1px solid #eee}
  .pzd-ds-mobile-add>strong{font-size:16px;margin:0 4px 0 2px}
  .pzd-ds-mobile-add>button{min-height:42px;border:1px solid #dadade;border-radius:12px;background:#fff;color:#111;font:700 13px/1 Inter,"Helvetica Neue",Arial,sans-serif;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px}
  .pzd-ds-mobile-add>button>span{font-size:18px;font-weight:800;line-height:1}
  .pzd-ds-tools{padding:8px 10px 12px!important;border-top:1px solid #eee!important;background:#fff}
  .pzd-ds-tools>h3,.pzd-ds-tools>.pzd-ds-tool-buttons{display:none!important}
  .pzd-ds-selection{border-top:0!important;padding-top:0!important;min-height:0!important}
  .pzd-ds-selection>h3{display:none!important}
  .pzd-ds-text-edit-hint{margin-bottom:6px!important;gap:4px!important}
  .pzd-ds-text-edit-hint .pzd-ds-field-help{display:none!important}
  .pzd-ds-panel label,.pzd-ds-label{margin-bottom:10px!important}
  .pzd-ds-font-size-control,.pzd-ds-curve-control{gap:4px!important}
  .pzd-ds-object-actions{margin:0 0 8px!important}
  .pzd-ds-delete{padding:8px!important;margin-top:2px}
  .pzd-ds-empty-selection{display:none!important}
  .pzd-ds-color-editor-head{height:58px;padding:0 14px;gap:10px}
  .pzd-ds-color-editor-head strong{font-size:17px}
  .pzd-ds-color-editor-body{padding:18px 16px 24px;gap:20px}
  .pzd-ds-color-editor-body>p{font-size:14px}
  .pzd-ds-color-hex-row{grid-template-columns:44px minmax(0,1fr);gap:12px}
  .pzd-ds-color-current{width:44px;height:44px}
  .pzd-ds-color-hex-row label{grid-template-columns:auto minmax(110px,1fr);gap:10px}
  .pzd-ds-color-hex-row input{height:42px;font-size:15px;padding:0 10px;min-width:0}
  .pzd-ds-color-sv{min-height:250px;aspect-ratio:auto;height:min(42vh,340px)}
}


/* 0.3.27 · Editor de color compacto en escritorio */
@media (min-width:783px){
  .pzd-ds-color-editor-body{
    width:min(100%,720px);
    margin:0 auto;
    padding:20px 24px 24px;
    gap:18px;
    overflow:hidden;
    align-content:start;
  }
  .pzd-ds-color-editor-body>p{
    font-size:14px;
    line-height:1.35;
  }
  .pzd-ds-color-hex-row{
    grid-template-columns:44px minmax(0,1fr);
    gap:14px;
  }
  .pzd-ds-color-current{
    width:44px;
    height:44px;
  }
  .pzd-ds-color-hex-row label{
    grid-template-columns:auto 170px;
    gap:14px;
  }
  .pzd-ds-color-hex-row input{
    height:42px;
    font-size:15px;
  }
  .pzd-ds-color-sv{
    width:100%;
    height:clamp(250px,34vh,330px);
    min-height:0;
    aspect-ratio:auto;
  }
  .pzd-ds-color-hue-wrap{
    grid-template-columns:52px minmax(0,1fr);
    gap:12px;
  }
}


/* 0.3.28 · Orden y ergonomía del editor hexadecimal */
.pzd-ds-color-editor-head{
  grid-template-columns:minmax(0,1fr) auto!important;
}
.pzd-ds-color-editor-head strong{justify-self:start}
.pzd-ds-color-editor-accept{
  justify-self:end;
  min-width:92px;
  padding:9px 16px!important;
  border:1px solid #d7d7dc!important;
  border-radius:10px;
  background:#fff!important;
  font-weight:800!important;
}
.pzd-ds-color-editor-accept:hover{border-color:#bbb!important;background:#fafafa!important}
.pzd-ds-color-editor-body>p{display:none!important}
.pzd-ds-color-hue-wrap{order:1}
.pzd-ds-color-sv{order:2}
.pzd-ds-color-hex-row{order:3}

@media(max-width:782px){
  .pzd-ds-color-editor{z-index:60!important}
  .pzd-ds-color-editor-head{height:56px!important;padding:0 12px!important}
  .pzd-ds-color-editor-head strong{font-size:17px!important}
  .pzd-ds-color-editor-accept{min-width:82px;padding:8px 12px!important;font-size:14px!important}
  .pzd-ds-color-editor-body{padding:14px 14px 18px!important;gap:14px!important}
  .pzd-ds-color-hue-wrap{grid-template-columns:42px minmax(0,1fr)!important;gap:9px!important}
  .pzd-ds-color-hue-wrap input{height:14px!important}
  .pzd-ds-color-sv{height:min(39vh,300px)!important;min-height:210px!important}
  .pzd-ds-color-hex-row{grid-template-columns:34px minmax(0,1fr)!important;gap:9px!important}
  .pzd-ds-color-current{width:34px!important;height:34px!important}
  .pzd-ds-color-hex-row label{grid-template-columns:auto minmax(86px,128px)!important;gap:8px!important}
  .pzd-ds-color-hex-row label>span{font-size:12px!important}
  .pzd-ds-color-hex-row input{height:36px!important;font-size:13px!important;padding:0 8px!important;border-radius:7px!important}
}


/* 0.3.29 · Curva consistente con hitbox + límites de imagen + reset */
.pzd-ds-curve-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px;align-items:center;width:100%}
.pzd-ds-curve-row input[type=range]{min-width:0;width:100%}
.pzd-ds-curve-reset{width:34px;height:34px;border:1px solid #d8d8dc;border-radius:999px;background:#fff;color:#444;display:grid;place-items:center;font-size:20px;line-height:1;cursor:pointer;padding:0}
.pzd-ds-curve-reset:hover{background:#f5f5f6;border-color:#bfc0c5}
@media(max-width:782px){.pzd-ds-curve-row{grid-template-columns:minmax(0,1fr) 32px;gap:6px}.pzd-ds-curve-reset{width:32px;height:32px;font-size:19px}}

/* 0.3.30 · Rotación precisa, protección táctil y alineación de texto */
.pzd-ds-stage,.pzd-ds-mockup,.pzd-ds-stage img{
  -webkit-touch-callout:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
}
.pzd-ds-text-edit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;margin:0 0 12px}
.pzd-ds-edit-text-button{margin:0!important;height:100%;min-height:42px}
.pzd-ds-text-align-actions{display:grid;grid-template-columns:repeat(4,34px);gap:4px;align-items:center}
.pzd-ds-text-align-actions button{width:34px;height:42px;border:1px solid #d8d8dc;border-radius:9px;background:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.pzd-ds-text-align-actions button:hover{border-color:#aaa;background:#f7f7f8}
.pzd-ds-text-align-actions button.is-selected{border-color:var(--pink);box-shadow:0 0 0 1px var(--pink);background:#fff7fb}
.pzd-ds-align-icon{width:17px;height:14px;display:flex!important;flex-direction:column;justify-content:space-between;padding:0!important;overflow:visible!important}
.pzd-ds-align-icon i{display:block;height:2px;background:#555;border-radius:2px}
.pzd-ds-align-icon i:nth-child(2){width:12px}
.pzd-ds-align-icon.is-left{align-items:flex-start}.pzd-ds-align-icon.is-center{align-items:center}.pzd-ds-align-icon.is-right{align-items:flex-end}
.pzd-ds-align-icon.is-justify i{width:17px!important}
.pzd-ds-rotation-control{margin-bottom:14px!important}
@media(max-width:782px){
  .pzd-ds-text-edit-row{grid-template-columns:minmax(120px,1fr) auto;gap:6px;margin-bottom:9px}
  .pzd-ds-text-align-actions{grid-template-columns:repeat(4,31px);gap:3px}
  .pzd-ds-text-align-actions button{width:31px;height:38px;border-radius:8px}
  .pzd-ds-align-icon{width:15px;height:13px}
  .pzd-ds-align-icon.is-justify i{width:15px!important}
}


/* 0.3.31 · Alineación de texto simplificada y compacta */
.pzd-ds-text-edit-row{display:flex!important;align-items:stretch!important;gap:8px!important;margin:0 0 12px!important;min-width:0}
.pzd-ds-edit-text-button{flex:1 1 auto!important;min-width:0!important;width:auto!important;min-height:42px!important;height:42px!important;white-space:nowrap!important;padding:8px 12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;line-height:1.1!important}
.pzd-ds-edit-text-button span{display:inline!important;white-space:nowrap!important}
.pzd-ds-text-align-actions{display:flex!important;flex:0 0 auto!important;gap:5px!important;align-items:center!important;white-space:nowrap!important}
.pzd-ds-text-align-actions button{width:42px!important;height:42px!important;min-width:42px!important;border-radius:9px!important;padding:0!important;display:grid!important;place-items:center!important}
.pzd-ds-align-icon{width:20px!important;height:16px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;padding:0!important}
.pzd-ds-align-icon i{display:block!important;height:2px!important;background:#777!important;border-radius:2px!important}
.pzd-ds-align-icon i:nth-child(odd){width:20px!important}
.pzd-ds-align-icon i:nth-child(even){width:13px!important}
.pzd-ds-align-icon.is-left{align-items:flex-start!important}
.pzd-ds-align-icon.is-center{align-items:center!important}
.pzd-ds-align-icon.is-right{align-items:flex-end!important}
.pzd-ds-text-align-actions button.is-selected .pzd-ds-align-icon i{background:var(--pink)!important}
@media(max-width:782px){
  .pzd-ds-text-edit-row{gap:6px!important;margin-bottom:8px!important}
  .pzd-ds-edit-text-button{height:38px!important;min-height:38px!important;padding:7px 9px!important;font-size:13px!important}
  .pzd-ds-text-align-actions{gap:4px!important}
  .pzd-ds-text-align-actions button{width:38px!important;height:38px!important;min-width:38px!important;border-radius:8px!important}
  .pzd-ds-align-icon{width:18px!important;height:14px!important}
  .pzd-ds-align-icon i:nth-child(odd){width:18px!important}
  .pzd-ds-align-icon i:nth-child(even){width:12px!important}
}


/* 0.3.32 · CTA Comprar, botón Editar texto compacto y Vista HD segura */
.pzd-ds-cart-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;line-height:1!important}
.pzd-ds-cart-cta .pzd-ds-cart-icon{flex:0 0 auto;margin-right:0!important}
.pzd-ds-cart-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;text-align:left!important;line-height:1.05!important}
.pzd-ds-cart-copy strong{font:inherit;font-weight:900;line-height:1!important}
.pzd-ds-cart-copy small{font-size:10px;font-weight:600;line-height:1.1;opacity:.88;white-space:nowrap}

/* Escritorio: garantizar que Editar texto quepa junto a las tres alineaciones */
@media(min-width:783px){
  .pzd-ds-text-edit-row{gap:6px!important}
  .pzd-ds-edit-text-button{flex:1 1 0!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:6px 7px!important;gap:4px!important;font-size:12px!important;letter-spacing:-.01em!important;overflow:hidden!important}
  .pzd-ds-edit-pencil{flex:0 0 auto;font-size:13px!important;line-height:1!important}
  .pzd-ds-edit-text-label{display:block!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;font-size:12px!important;line-height:1!important}
  .pzd-ds-text-align-actions{gap:4px!important}
  .pzd-ds-text-align-actions button{width:38px!important;height:40px!important;min-width:38px!important}
  .pzd-ds-align-icon{width:18px!important;height:14px!important}
  .pzd-ds-align-icon i:nth-child(odd){width:18px!important}
  .pzd-ds-align-icon i:nth-child(even){width:12px!important}
}

/* Vista HD: debe quedar por encima de headers sticky/fixed de la web */
html.pzd-ds-hd-open,body.pzd-ds-hd-open{overflow:hidden!important}
.pzd-ds-hd-backdrop{z-index:2147483600!important;box-sizing:border-box!important;align-items:center!important;justify-items:center!important;padding:max(12px,env(safe-area-inset-top)) 18px max(12px,env(safe-area-inset-bottom))!important}
.pzd-ds-hd-modal{max-height:calc(100dvh - max(24px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;height:min(92dvh,1040px)!important;position:relative!important}
.pzd-ds-hd-body{overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable both-edges;display:block!important;padding:16px!important}
.pzd-ds-hd-stage-host{display:flex!important;align-items:flex-start!important;justify-content:center!important;min-width:100%!important;min-height:100%!important;width:100%!important;box-sizing:border-box!important}
.pzd-ds-hd-render{display:block!important;margin:0 auto!important;flex:0 0 auto!important}
.pzd-ds-hd-body.is-actual{place-items:unset!important}
.pzd-ds-hd-stage-host.is-actual{display:block!important;width:max-content!important;min-width:100%!important;min-height:100%!important}
.pzd-ds-hd-stage-host.is-actual .pzd-ds-hd-render{margin:0!important;width:auto!important;max-width:none!important;height:auto!important;min-width:0!important;border-radius:0!important}
@media(max-width:782px){
  .pzd-ds-cart-copy small{font-size:9px}
  .pzd-ds-hd-backdrop{padding:max(6px,env(safe-area-inset-top)) 6px max(6px,env(safe-area-inset-bottom))!important}
  .pzd-ds-hd-modal{height:calc(100dvh - max(12px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;max-height:calc(100dvh - max(12px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important}
  .pzd-ds-hd-body{padding:8px!important}
}


/* 0.3.33 · Vista HD contenida + lupa real bajo demanda */
.pzd-ds-hd-modal{grid-template-rows:auto auto minmax(0,1fr)!important}
.pzd-ds-hd-head>div{max-width:calc(100% - 54px)}
.pzd-ds-hd-head span{font-size:12px!important;line-height:1.35!important;color:#555!important}
.pzd-ds-hd-tabs{position:relative!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:12px!important;background:#fff!important;padding:10px 16px!important}
.pzd-ds-hd-side-buttons{grid-column:2!important;justify-self:center!important;display:flex!important}
.pzd-ds-hd-buy{grid-column:3!important;justify-self:end!important;min-width:156px!important;border-radius:13px!important;padding:8px 14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
.pzd-ds-hd-buy .pzd-ds-cart-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;line-height:1.05!important}
.pzd-ds-hd-buy .pzd-ds-cart-copy strong{font-size:14px!important}
.pzd-ds-hd-buy .pzd-ds-cart-copy small{font-size:10px!important;font-weight:600!important;opacity:.88!important;margin-top:3px!important}
.pzd-ds-hd-body{position:relative!important;overflow:hidden!important;background:#fff!important;padding:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:0!important;overscroll-behavior:none!important;scrollbar-gutter:auto!important}
.pzd-ds-hd-stage-host{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;box-sizing:border-box!important}
.pzd-ds-hd-render{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;margin:0!important;flex:0 1 auto!important;border-radius:16px!important;box-shadow:none!important;background:#fff!important;image-rendering:auto!important;touch-action:none!important;-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important}
.pzd-ds-hd-lens{position:absolute;z-index:35;width:280px;height:280px;border-radius:18px;border:3px solid #fff;box-shadow:0 16px 50px rgba(0,0,0,.28),0 0 0 1px rgba(0,0,0,.18);background:#fff;pointer-events:none;image-rendering:pixelated}
.pzd-ds-hd-lens[hidden]{display:none!important}
.pzd-ds-hd-loading{background:rgba(255,255,255,.9)!important}
@media(max-width:782px){
  .pzd-ds-hd-head{padding:10px 12px!important}
  .pzd-ds-hd-head span{font-size:10px!important;line-height:1.3!important}
  .pzd-ds-hd-tabs{grid-template-columns:1fr auto 1fr!important;padding:7px 8px!important;gap:6px!important}
  .pzd-ds-hd-side-buttons button{min-width:76px!important;padding:8px 9px!important;font-size:12px!important}
  .pzd-ds-hd-buy{min-width:104px!important;padding:7px 9px!important;gap:5px!important}
  .pzd-ds-hd-buy .pzd-ds-cart-icon{width:16px!important;height:16px!important}
  .pzd-ds-hd-buy .pzd-ds-cart-copy strong{font-size:12px!important}
  .pzd-ds-hd-buy .pzd-ds-cart-copy small{font-size:8px!important}
  .pzd-ds-hd-body{padding:6px!important}
  .pzd-ds-hd-render{border-radius:12px!important}
  .pzd-ds-hd-lens{width:220px;height:220px;border-radius:16px}
}

/* 0.3.34 · Área de estampado compacta, CTA limpio y Vista HD sin zoom */
.pzd-ds-buy-stack{display:flex;flex-direction:column;align-items:center;gap:4px;line-height:1}
.pzd-ds-buy-stack>small{font-size:10px;line-height:1.15;color:var(--muted);font-weight:600;white-space:nowrap;text-align:center}
.pzd-ds-buy-stack .pzd-ds-cart-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important}
.pzd-ds-buy-stack .pzd-ds-cart-cta strong{font:inherit;font-weight:900;line-height:1!important}
.pzd-ds-buy-stack-head{align-items:center}
.pzd-ds-buy-stack-head>small{font-size:9px}

/* El CTA de la tarjeta de precio queda en escritorio; en móvil se traslada debajo del mockup. */
.pzd-ds-mobile-buy{display:flex}
.pzd-ds-main-buy-mobile{display:none}

/* Controles de zona por breakpoint */
.pzd-ds-mobile-area-info,.pzd-ds-side-tabs-mobile{display:none}
.pzd-ds-stage-toolbar{width:min(65vh,780px,100%);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:0 0 8px;min-width:0}
.pzd-ds-side-tabs-desktop{grid-column:2;justify-self:center;width:auto;min-width:220px}
.pzd-ds-desktop-area-info{grid-column:1;grid-row:1;justify-self:start;font-size:12px;color:var(--muted);white-space:nowrap}
.pzd-ds-desktop-area-info strong{color:#333;font-weight:800}

/* Más superficie útil del lienzo en escritorio. */
@media(min-width:783px){
  .pzd-ds-canvas-wrap{justify-content:flex-start!important;padding-top:14px!important;padding-bottom:18px!important}
  .pzd-ds-stage{width:min(65vh,780px,100%)!important;max-width:100%!important}
  .pzd-ds-left>.pzd-ds-side-tabs-mobile,.pzd-ds-left>.pzd-ds-mobile-area-info{display:none!important}
  .pzd-ds-price-card{margin-bottom:14px!important}
}

@media(max-width:782px){
  .pzd-ds-buy-stack-head{display:none!important}
  .pzd-ds-mobile-buy{display:none!important}
  .pzd-ds-main-buy-mobile{display:flex!important;margin:8px auto 2px;align-items:center}
  .pzd-ds-main-buy-mobile .pzd-ds-cart-cta{min-width:150px;padding:10px 17px!important}
  .pzd-ds-main-buy-mobile>small{font-size:10px}
  .pzd-ds-stage-toolbar{display:none!important}
  .pzd-ds-mobile-area-info{display:block!important;grid-column:1/-1;text-align:center;font-size:11px;color:#666;margin:0;padding:2px 4px 0;line-height:1.2}
  .pzd-ds-mobile-area-info strong{color:#333;font-weight:800}
  .pzd-ds-side-tabs-mobile{display:grid!important;grid-column:1/-1;width:min(100%,360px)!important;justify-self:center!important;margin:0 auto 1px!important}
  .pzd-ds-left{padding-bottom:8px!important}
  .pzd-ds-price-card{margin-bottom:0!important}
  .pzd-ds-canvas-wrap{padding-top:3px!important}
  .pzd-ds-stage{margin-top:0!important}
}

/* Vista HD: sin zoom ni scroll; imagen completa sobre fondo blanco. */
.pzd-ds-hd-lens{display:none!important}
.pzd-ds-hd-modal{grid-template-rows:auto auto minmax(0,1fr)!important}
.pzd-ds-hd-head span{font-size:12px!important;line-height:1.35!important;color:#555!important}
.pzd-ds-hd-tabs{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;background:#fff!important;gap:12px!important;padding:8px 16px!important}
.pzd-ds-hd-side-buttons{grid-column:2!important;justify-self:center!important}
.pzd-ds-hd-buy-stack{grid-column:3!important;justify-self:end!important;display:flex!important}
.pzd-ds-hd-buy-stack-mobile{display:none!important}
.pzd-ds-hd-buy{min-width:138px!important;border-radius:999px!important;padding:9px 15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important}
.pzd-ds-hd-buy-stack>small{font-size:10px}
.pzd-ds-hd-body{overflow:hidden!important;background:#fff!important;padding:6px 10px 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:0!important}
.pzd-ds-hd-stage-host{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.pzd-ds-hd-render{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;margin:0!important;border-radius:14px!important;box-shadow:none!important;background:#fff!important;touch-action:auto!important}

@media(max-width:782px){
  .pzd-ds-hd-modal{grid-template-rows:auto auto minmax(0,1fr) auto!important}
  .pzd-ds-hd-head{padding:9px 11px!important}
  .pzd-ds-hd-head span{font-size:10px!important;line-height:1.25!important}
  .pzd-ds-hd-tabs{grid-template-columns:1fr!important;padding:5px 8px!important;min-height:0!important}
  .pzd-ds-hd-side-buttons{grid-column:1!important;justify-self:center!important}
  .pzd-ds-hd-side-buttons button{min-width:92px!important;padding:7px 11px!important}
  .pzd-ds-hd-buy-stack{display:none!important}
  .pzd-ds-hd-buy-stack-mobile{display:flex!important;align-items:center!important;padding:7px 10px max(8px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eee}
  .pzd-ds-hd-buy-stack-mobile .pzd-ds-hd-buy{min-width:160px!important;padding:9px 17px!important}
  .pzd-ds-hd-body{padding:0 5px 3px!important;align-items:flex-start!important}
  .pzd-ds-hd-stage-host{align-items:flex-start!important}
  .pzd-ds-hd-render{max-height:100%!important;border-radius:10px!important}
}


/* 0.3.35 · Producto visible y CTA Comprar sin leyendas secundarias */
.pzd-ds-product-title{font-size:16px;font-weight:800;margin:0 0 14px;line-height:1.25}
.pzd-ds-product-title strong{font-weight:900}
.pzd-ds-buy-stack{gap:0}
.pzd-ds-buy-stack>small{display:none!important}
.pzd-ds-price-card{display:block!important}
@media(max-width:782px){
  .pzd-ds-product-title{display:block!important;grid-column:1/-1;margin:0 0 2px;font-size:14px;padding:0 1px}
  .pzd-ds-left>.pzd-ds-product-title{order:-2}
  .pzd-ds-left>.pzd-ds-label{order:-1}
}


/* 0.3.36 · Ajustes de layout del editor */
.pzd-ds-canvas-wrap{background:#fff!important}
.pzd-ds-stage-toolbar{display:flex!important;justify-content:center!important;align-items:center!important;width:min(65vh,780px,100%)!important;margin:0 0 8px!important}
.pzd-ds-side-tabs-desktop{width:auto!important;min-width:260px!important;margin:0 auto!important}
.pzd-ds-desktop-area-info{display:none!important}
.pzd-ds-desktop-print-info{font-size:12px;color:var(--muted);white-space:nowrap;margin:-4px 0 18px;padding:0 1px}
.pzd-ds-desktop-print-info strong{color:#333;font-weight:800}
.pzd-ds-save-btn{display:inline-flex;align-items:center;gap:8px}
.pzd-ds-save-icon{width:17px;height:17px;flex:0 0 17px}
@media(max-width:782px){
  .pzd-ds-desktop-print-info{display:none!important}
  .pzd-ds-stage-toolbar{display:none!important}
  .pzd-ds-save-btn span{display:none}
  .pzd-ds-save-btn{padding:9px 11px!important}
  .pzd-ds-save-icon{width:18px;height:18px}
}


/* 0.3.37 · CTA Comprar integrado en Precio unitario en móvil */
.pzd-ds-mobile-cart{display:none!important}
@media(max-width:782px){
  .pzd-ds-price-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:12px!important;
    padding:12px 12px 12px 14px!important;
    min-height:88px;
  }
  .pzd-ds-price-copy{justify-content:center;min-width:0}
  .pzd-ds-price-copy>span{font-size:10px!important;letter-spacing:.045em}
  .pzd-ds-price-value-row{display:flex;align-items:baseline;gap:6px!important;flex-wrap:nowrap!important}
  .pzd-ds-price-value-row>strong{font-size:24px!important;line-height:1!important;margin:4px 0 3px!important}
  .pzd-ds-vat-note{font-size:9px!important}
  .pzd-ds-price-copy>small[data-price-tier]{font-size:10px!important;line-height:1.2}
  .pzd-ds-mobile-cart{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    min-width:118px!important;
    min-height:48px!important;
    padding:10px 14px!important;
    border-radius:999px!important;
    white-space:nowrap!important;
    font-size:14px!important;
    line-height:1!important;
    align-self:center!important;
  }
  .pzd-ds-mobile-cart .pzd-ds-cart-icon{width:18px!important;height:18px!important;margin:0!important;flex:0 0 18px}
  .pzd-ds-mobile-cart strong{font-size:14px!important;line-height:1!important}
  .pzd-ds-main-buy-mobile{display:none!important}
}
@media(max-width:390px){
  .pzd-ds-price-card{column-gap:8px!important;padding:10px 9px 10px 11px!important}
  .pzd-ds-price-value-row>strong{font-size:22px!important}
  .pzd-ds-vat-note{font-size:8px!important}
  .pzd-ds-mobile-cart{min-width:104px!important;min-height:44px!important;padding:9px 11px!important;font-size:12px!important;gap:5px!important}
  .pzd-ds-mobile-cart strong{font-size:12px!important}
  .pzd-ds-mobile-cart .pzd-ds-cart-icon{width:16px!important;height:16px!important;flex-basis:16px}
}


/* 0.3.39 · Modal de compra por encima de header/admin bar y sin scroll de fondo */
html.pzd-ds-quantity-open,body.pzd-ds-quantity-open{overflow:hidden!important;overscroll-behavior:none!important}
.pzd-ds-quantity-backdrop{top:0!important;right:0!important;bottom:0!important;left:0!important;isolation:isolate}
body.admin-bar .pzd-ds-quantity-backdrop{top:0!important}


/* 0.3.43 · Escala dinámica de precio unitario por cantidad */
.pzd-ds-price-breaks{
  margin-top:11px;
  padding-top:9px;
  border-top:1px solid rgba(0,0,0,.08);
}
.pzd-ds-price-breaks-title{
  margin:0 0 8px;
  color:#555;
  font-size:10px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
}
.pzd-ds-price-breaks-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
}
.pzd-ds-price-break{
  min-width:0;
  text-align:center;
  padding:0 6px;
  line-height:1.1;
}
.pzd-ds-price-break+.pzd-ds-price-break{border-left:1px solid rgba(0,0,0,.08)}
.pzd-ds-price-break span{
  display:block;
  margin-bottom:4px;
  color:var(--muted);
  font-size:9px;
  font-weight:700;
  white-space:nowrap;
}
.pzd-ds-price-break strong{
  display:block;
  color:#111;
  font-size:12px;
  font-weight:800;
  letter-spacing:-.015em;
  white-space:nowrap;
}
@media(max-width:782px){
  .pzd-ds-price-breaks{
    grid-column:1/-1;
    width:100%;
    margin-top:9px;
    padding-top:8px;
  }
  .pzd-ds-price-breaks-title{font-size:9px;margin-bottom:7px}
  .pzd-ds-price-break{padding:0 5px}
  .pzd-ds-price-break span{font-size:9px}
  .pzd-ds-price-break strong{font-size:11px}
}
@media(max-width:390px){
  .pzd-ds-price-break{padding:0 3px}
  .pzd-ds-price-breaks-title{font-size:8px}
  .pzd-ds-price-break span{font-size:8px}
  .pzd-ds-price-break strong{font-size:10px}
}


/* 0.3.45 · Precio por cantidad más legible en móvil + color directo en controles de texto */
@media(max-width:782px){
  .pzd-ds-price-breaks-title{
    font-size:12px!important;
    line-height:1.25!important;
    margin-bottom:9px!important;
    color:#444!important;
  }
}
@media(max-width:390px){
  .pzd-ds-price-breaks-title{font-size:11px!important}
}
.pzd-ds-inline-text-color-control{
  display:grid;
  gap:8px;
  margin-top:8px;
}
.pzd-ds-inline-text-color-row{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
}
.pzd-ds-inline-text-color-row .pzd-ds-text-color{
  width:29px!important;
  height:29px!important;
  min-width:29px!important;
  min-height:29px!important;
  flex:0 0 29px!important;
}
.pzd-ds-inline-color-custom{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  border-radius:9px!important;
}
.pzd-ds-inline-color-backdrop{
  position:fixed;
  inset:0;
  z-index:2147483647;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(11,11,13,.52);
  backdrop-filter:blur(3px);
}
.pzd-ds-inline-color-dialog{
  width:min(720px,100%);
  max-height:calc(100dvh - 40px);
  overflow:hidden;
  border-radius:22px;
  background:#fff;
  box-shadow:0 30px 100px rgba(0,0,0,.28);
}
.pzd-ds-inline-color-dialog .pzd-ds-color-editor-body{overflow:auto}
@media(max-width:782px){
  .pzd-ds-inline-text-color-control{margin-top:5px;gap:6px}
  .pzd-ds-inline-text-color-row{gap:8px;flex-wrap:nowrap}
  .pzd-ds-inline-text-color-row .pzd-ds-text-color{
    width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;flex-basis:27px!important;
  }
  .pzd-ds-inline-color-custom{width:34px!important;height:34px!important;min-width:34px!important}
  .pzd-ds-inline-color-backdrop{padding:12px;place-items:center}
  .pzd-ds-inline-color-dialog{width:100%;max-height:calc(100dvh - 24px);border-radius:18px}
}


/* 0.3.50 · En móvil los bordes de texto ya no son bandas táctiles completas.
   Sólo las agarraderas centrales visibles redimensionan; el resto prioriza mover. */
@media(max-width:782px){
  .pzd-ds-text-edge-left,
  .pzd-ds-text-edge-right{
    top:50%!important;
    bottom:auto!important;
    width:12px!important;
    height:32px!important;
    transform:translateY(-50%)!important;
  }
  .pzd-ds-text-edge-left{left:-6px!important}
  .pzd-ds-text-edge-right{right:-6px!important}

  .pzd-ds-text-edge-top,
  .pzd-ds-text-edge-bottom{
    left:50%!important;
    right:auto!important;
    width:32px!important;
    height:12px!important;
    transform:translateX(-50%)!important;
  }
  .pzd-ds-text-edge-top{top:-6px!important}
  .pzd-ds-text-edge-bottom{bottom:-6px!important}

  .pzd-ds-text-edge-left::after,
  .pzd-ds-text-edge-right::after{
    width:4px!important;
    height:24px!important;
    top:50%!important;
    bottom:auto!important;
    transform:translateY(-50%)!important;
  }
  .pzd-ds-text-edge-left::after{left:4px!important;right:auto!important}
  .pzd-ds-text-edge-right::after{right:4px!important;left:auto!important}

  .pzd-ds-text-edge-top::after,
  .pzd-ds-text-edge-bottom::after{
    width:24px!important;
    height:4px!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
  }
  .pzd-ds-text-edge-top::after{top:4px!important;bottom:auto!important}
  .pzd-ds-text-edge-bottom::after{bottom:4px!important;top:auto!important}
}


/* 0.3.53 · Aviso de color + Cambiar prenda visible en móvil */
.pzd-ds-color-note{
  margin:-10px 0 12px;
  font-size:10px;
  line-height:1.35;
  color:var(--muted);
  font-weight:500;
}
@media(max-width:782px){
  .pzd-ds-left>.pzd-ds-color-note{
    display:block!important;
    grid-column:1/-1;
    order:0;
    margin:0 0 2px;
    padding:0 1px;
    font-size:10px;
    line-height:1.35;
    color:var(--muted);
  }
  .pzd-ds-left>.pzd-ds-change{
    display:inline-block!important;
    grid-column:1/-1;
    justify-self:start;
    margin:3px 0 5px!important;
    padding:0 1px!important;
    font-size:13px;
    line-height:1.25;
    order:2;
  }
  .pzd-ds-left>.pzd-ds-swatches{order:1;}
  .pzd-ds-left>.pzd-ds-price-card{order:3;}
  .pzd-ds-left>.pzd-ds-mobile-area-info{order:4;}
  .pzd-ds-left>.pzd-ds-side-tabs-mobile{order:5;}
}


/* 0.3.57 · Modal Cantidad y tallas compacto, sin scroll en vista principal */
.pzd-ds-quantity-backdrop{
  padding:12px!important;
  overflow:hidden!important;
}
.pzd-ds-quantity-modal{
  width:min(680px,100%)!important;
  max-height:calc(100dvh - 24px)!important;
  overflow:hidden!important;
  border-radius:20px!important;
}
.pzd-ds-quantity-main{
  display:grid;
  grid-template-rows:auto auto auto auto auto;
  min-height:0!important;
  max-height:calc(100dvh - 24px);
  overflow:hidden!important;
}
.pzd-ds-quantity-guide{
  max-height:calc(100dvh - 24px);
  overflow:auto!important;
  overscroll-behavior:contain;
}
.pzd-ds-quantity-head{
  position:relative!important;
  padding:14px 18px 11px!important;
  gap:8px!important;
}
.pzd-ds-quantity-head h2{
  font-size:24px!important;
  line-height:1.05!important;
}
.pzd-ds-modal-close{
  font-size:27px!important;
}
.pzd-ds-size-guide-link{
  padding:9px 18px!important;
  gap:8px!important;
  min-height:40px;
}
.pzd-ds-size-guide-link b{font-size:20px!important}
.pzd-ds-size-rows{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 18px;
  padding:0 18px!important;
  min-height:0;
}
.pzd-ds-size-row{
  min-height:49px!important;
  gap:10px!important;
}
.pzd-ds-size-row>strong{font-size:15px!important}
.pzd-ds-qty-stepper{
  grid-template-columns:38px 48px 38px!important;
  height:36px!important;
  border-radius:8px!important;
}
.pzd-ds-qty-stepper button{font-size:19px!important}
.pzd-ds-qty-stepper span{font-size:14px!important}
.pzd-ds-quantity-summary{
  padding:10px 18px 5px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px 18px!important;
  border-top:1px solid #ececee;
}
.pzd-ds-quantity-summary-row{
  gap:8px!important;
  min-width:0;
}
.pzd-ds-quantity-summary-row>span{font-size:13px!important}
.pzd-ds-quantity-summary-row>strong{font-size:15px!important}
.pzd-ds-quantity-count-row{grid-column:1}
.pzd-ds-quantity-summary-row:not(.pzd-ds-quantity-count-row):not(.pzd-ds-quantity-total-row){grid-column:2}
.pzd-ds-quantity-total-row{
  grid-column:1 / -1;
  margin-top:1px!important;
  padding-top:6px!important;
}
.pzd-ds-quantity-total-row>span{font-size:20px!important;font-weight:800}
.pzd-ds-quantity-total-row>strong{font-size:22px!important}
.pzd-ds-summary-price{gap:5px!important;flex-wrap:nowrap!important}
.pzd-ds-quantity-incentive,.pzd-ds-free-shipping{
  grid-column:1 / -1;
  margin:0!important;
  font-size:11.5px!important;
  line-height:1.25!important;
}
.pzd-ds-quantity-submit{
  width:calc(100% - 36px)!important;
  margin:8px 18px 14px!important;
  padding:11px 16px!important;
  min-height:42px;
  border-radius:10px!important;
  font-size:16px!important;
}
.pzd-ds-quantity-submit .pzd-ds-cart-icon{width:18px!important;height:18px!important}

@media(max-width:782px){
  .pzd-ds-quantity-backdrop{
    place-items:end center!important;
    padding:0!important;
  }
  .pzd-ds-quantity-modal{
    width:100%!important;
    max-height:calc(100dvh - 6px)!important;
    border-radius:18px 18px 0 0!important;
  }
  .pzd-ds-quantity-main{max-height:calc(100dvh - 6px)!important}
  .pzd-ds-quantity-guide{max-height:calc(100dvh - 6px)!important}
  .pzd-ds-quantity-head{padding:10px 14px 8px!important}
  .pzd-ds-quantity-head h2{font-size:21px!important}
  .pzd-ds-modal-close{font-size:25px!important}
  .pzd-ds-size-guide-link{padding:7px 14px!important;min-height:35px;font-size:14px!important}
  .pzd-ds-size-rows{
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:0 14px!important;
  }
  .pzd-ds-size-row{min-height:42px!important}
  .pzd-ds-size-row>strong{font-size:14px!important}
  .pzd-ds-qty-stepper{
    grid-template-columns:36px 46px 36px!important;
    height:33px!important;
  }
  .pzd-ds-qty-stepper button{font-size:18px!important}
  .pzd-ds-quantity-summary{
    padding:7px 14px 4px!important;
    gap:3px 12px!important;
  }
  .pzd-ds-quantity-summary-row>span{font-size:12px!important}
  .pzd-ds-quantity-summary-row>strong{font-size:14px!important}
  .pzd-ds-quantity-total-row{padding-top:4px!important}
  .pzd-ds-quantity-total-row>span{font-size:18px!important}
  .pzd-ds-quantity-total-row>strong{font-size:20px!important}
  .pzd-ds-quantity-incentive,.pzd-ds-free-shipping{font-size:10.5px!important}
  .pzd-ds-quantity-submit{
    width:calc(100% - 28px)!important;
    margin:6px 14px 10px!important;
    padding:9px 14px!important;
    min-height:39px;
    font-size:15px!important;
  }
  .pzd-ds-size-guide-html{padding:14px 16px 24px!important}
}

/* Teléfonos de poca altura: preservar todo el modal principal sin scroll. */
@media(max-width:782px) and (max-height:700px){
  .pzd-ds-quantity-head{padding:7px 12px 6px!important}
  .pzd-ds-quantity-head h2{font-size:19px!important}
  .pzd-ds-size-guide-link{padding:5px 12px!important;min-height:31px;font-size:13px!important}
  .pzd-ds-size-rows{padding:0 12px!important}
  .pzd-ds-size-row{min-height:37px!important}
  .pzd-ds-qty-stepper{grid-template-columns:33px 43px 33px!important;height:30px!important}
  .pzd-ds-quantity-summary{padding:5px 12px 3px!important}
  .pzd-ds-quantity-incentive,.pzd-ds-free-shipping{font-size:10px!important}
  .pzd-ds-quantity-submit{width:calc(100% - 24px)!important;margin:4px 12px 7px!important;min-height:36px;padding:7px 12px!important}
}


/* 0.3.58 · Cantidad/tallas: una sola columna, guía como vista real y modal móvil centrado */
.pzd-ds-quantity-main[hidden],
.pzd-ds-quantity-guide[hidden]{display:none!important}

@media(min-width:783px){
  .pzd-ds-quantity-modal{
    width:min(520px,100%)!important;
    max-height:calc(100dvh - 32px)!important;
  }
  .pzd-ds-quantity-main{
    max-height:calc(100dvh - 32px)!important;
  }
  .pzd-ds-quantity-guide{
    max-height:calc(100dvh - 32px)!important;
  }
  .pzd-ds-size-rows{
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:0 18px!important;
  }
  .pzd-ds-size-row{
    min-height:45px!important;
  }
  .pzd-ds-size-row>strong{font-size:14px!important}
  .pzd-ds-qty-stepper{
    grid-template-columns:36px 46px 36px!important;
    height:34px!important;
  }
  .pzd-ds-qty-stepper button{font-size:18px!important}
  .pzd-ds-qty-stepper span{font-size:13px!important}
  .pzd-ds-quantity-summary{
    grid-template-columns:1fr 1fr!important;
    padding:8px 18px 5px!important;
  }
  .pzd-ds-quantity-submit{
    width:calc(100% - 36px)!important;
    margin:7px 18px 13px!important;
  }
}

@media(max-width:782px){
  .pzd-ds-quantity-backdrop{
    place-items:center!important;
    padding:8px!important;
  }
  .pzd-ds-quantity-modal{
    width:min(100%,700px)!important;
    max-height:calc(100dvh - 16px)!important;
    border-radius:20px!important;
  }
  .pzd-ds-quantity-main,
  .pzd-ds-quantity-guide{
    max-height:calc(100dvh - 16px)!important;
  }
}

/* 0.3.65 · Quitafondos en dos pasadas. */
.pzd-ds-photo-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.pzd-ds-photo-result{flex:0 0 auto;border:1px solid #dadbe0;border-radius:10px;padding:7px 10px;font-size:12px;font-weight:800;color:#555;background:#fafafa}
.pzd-ds-photo-mask-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:782px){
  .pzd-ds-photo-head{gap:8px}.pzd-ds-photo-result{font-size:11px;padding:6px 8px}
  .pzd-ds-photo-mask-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
}

/* 0.3.72 · Flujo de imagen por etapas: principal, recorte, quitafondos y pincel. */
.pzd-ds-photo-modal{grid-template-rows:auto minmax(0,1fr) auto auto!important}
.pzd-ds-photo-head{display:block!important}
.pzd-ds-photo-actions,
.pzd-ds-photo-subactions,
.pzd-ds-photo-crop-tools{border-top:1px solid #ececee;background:#fff}
.pzd-ds-photo-actions[hidden],
.pzd-ds-photo-subactions[hidden],
.pzd-ds-photo-crop-tools[hidden],
.pzd-ds-photo-mask-tools[hidden]{display:none!important}
.pzd-ds-photo-actions{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:10px;padding:16px 20px 20px}
.pzd-ds-photo-subactions{display:grid;gap:10px;padding:16px 20px 20px}
.pzd-ds-photo-bg-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
.pzd-ds-photo-bg-result-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.pzd-ds-photo-brush-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.pzd-ds-photo-actions .pzd-ds-btn,
.pzd-ds-photo-subactions .pzd-ds-btn,
.pzd-ds-photo-crop-tools button,
.pzd-ds-photo-mask-mode,
.pzd-ds-photo-mask-reset{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.pzd-ds-photo-actions svg,
.pzd-ds-photo-subactions svg,
.pzd-ds-photo-crop-tools svg,
.pzd-ds-photo-mask-tools svg{width:20px;height:20px;flex:0 0 auto}
.pzd-ds-photo-bg{background:#fff!important;color:#111!important;border:1px solid #bfc0c5!important}
.pzd-ds-photo-bg:hover,.pzd-ds-photo-crop:hover{border-color:#8f9096!important;background:#fafafa!important}
.pzd-ds-photo-danger,
.pzd-ds-photo-cancel,
.pzd-ds-photo-crop-cancel{background:#e53935!important;color:#fff!important;border-color:#e53935!important}
.pzd-ds-photo-danger:hover,
.pzd-ds-photo-cancel:hover,
.pzd-ds-photo-crop-cancel:hover{background:#c62828!important;border-color:#c62828!important;color:#fff!important}
.pzd-ds-photo-confirm{background:#f72585!important;color:#fff!important;border-color:#f72585!important}
.pzd-ds-photo-confirm:hover{background:#df176f!important;border-color:#df176f!important}
.pzd-ds-photo-ai{background:#fff!important;color:#111!important;border:1px solid #bfc0c5!important}
.pzd-ds-photo-ai.is-unavailable,.pzd-ds-photo-ai:disabled{background:#dedee2!important;color:#8b8b92!important;border-color:#dedee2!important;cursor:not-allowed!important;opacity:1!important;box-shadow:none!important;transform:none!important}
.pzd-ds-photo-crop-tools{grid-template-columns:1fr 1fr!important;gap:10px;padding:12px 20px 16px}
.pzd-ds-photo-crop-cancel,.pzd-ds-photo-crop-apply{min-height:46px;border-radius:12px;font-size:14px}
.pzd-ds-photo-crop-apply{background:#111!important;border-color:#111!important;color:#fff!important}
.pzd-ds-photo-mask-tools{grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:12px;padding:10px 20px;border-top:1px solid #ececee;background:#fff}
.pzd-ds-photo-mask-mode,.pzd-ds-photo-mask-reset{min-height:40px}
.pzd-ds-photo-mask-mode.is-selected{background:#0b0b0d!important;color:#fff!important;border-color:#0b0b0d!important}
.pzd-ds-photo-mask-reset:disabled{background:#f0f0f2!important;color:#aaa!important;border-color:#e0e0e3!important;cursor:not-allowed!important;opacity:1!important}
.pzd-ds-photo-stage canvas[data-photo-mask-editor]{cursor:default!important}
.pzd-ds-photo-stage canvas[data-photo-mask-editor].is-brush-active{cursor:crosshair!important}
.pzd-ds-photo-mask-help{grid-column:1/-1}

@media(max-width:782px){
  .pzd-ds-photo-modal{grid-template-rows:auto minmax(120px,1fr) auto auto!important}
  .pzd-ds-photo-actions,
  .pzd-ds-photo-subactions{padding:8px!important;gap:7px!important}
  .pzd-ds-photo-actions{grid-template-columns:1fr 1fr!important}
  .pzd-ds-photo-bg-actions{grid-template-columns:1fr 1fr}
  .pzd-ds-photo-bg-result-actions{grid-template-columns:1fr 1fr}
  .pzd-ds-photo-bg-result-actions [data-photo-bg-result-cancel]{grid-column:1/-1}
  .pzd-ds-photo-brush-actions{grid-template-columns:1fr 1fr}
  .pzd-ds-photo-actions .pzd-ds-btn,
  .pzd-ds-photo-subactions .pzd-ds-btn{min-height:44px!important;padding:9px 8px!important;font-size:13px!important}
  .pzd-ds-photo-crop-tools{grid-template-columns:1fr 1fr!important;padding:8px!important;gap:7px!important}
  .pzd-ds-photo-crop-cancel,.pzd-ds-photo-crop-apply{min-height:42px;padding:8px 9px;font-size:12px}
  .pzd-ds-photo-mask-tools{grid-template-columns:1fr!important;padding:8px!important;gap:7px!important}
  .pzd-ds-photo-mask-modes{display:grid!important;grid-template-columns:1fr 1fr!important}
  .pzd-ds-photo-mask-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .pzd-ds-photo-mask-help{text-align:center;margin-top:0!important}
}


/* 0.3.76 · La transparencia se visualiza sobre un fondo verde sólido tipo chroma para detectar mejor halos y semitransparencias. */
.pzd-ds-photo-stage img[data-photo-preview],
.pzd-ds-photo-stage canvas[data-photo-mask-editor],
.pzd-ds-photo-stage canvas[data-photo-crop-editor]{
  background-color:#00C853!important;
  background-image:none!important;
  background-size:auto!important;
  background-position:initial!important;
}
.pzd-ds-photo-picker-modal{grid-template-rows:auto minmax(0,1fr) auto!important}
.pzd-ds-photo-picker-stage{padding:clamp(18px,4vw,42px)!important}
.pzd-ds-photo-picker-target{
  width:min(620px,88%);height:min(430px,68vh);min-height:260px;
  border:2px dashed #b8b8be;border-radius:18px;background:#fff;color:#202026;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  font:inherit;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.pzd-ds-photo-picker-target:hover,.pzd-ds-photo-picker-target:focus-visible{border-color:#f72585;background:#fff8fc;outline:none}
.pzd-ds-photo-picker-target:active{transform:scale(.995)}
.pzd-ds-photo-picker-target svg{width:58px;height:58px;color:#f72585}
.pzd-ds-photo-picker-target strong{font-size:20px;line-height:1.15}

.pzd-ds-photo-picker-actions{
  padding:16px 24px 18px;border-top:1px solid #e5e5e9;background:#fff;display:flex;justify-content:flex-end;
}
.pzd-ds-photo-picker-cancel{
  min-width:220px;min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:10px;
}
.pzd-ds-photo-picker-cancel svg{width:20px;height:20px;flex:0 0 auto}
@media(max-width:782px){
  .pzd-ds-photo-picker-actions{padding:10px 14px 14px}
  .pzd-ds-photo-picker-cancel{width:100%;min-width:0;min-height:48px}
}

/* Los tiradores conservan una marca visual pequeña, pero en móvil reciben un área táctil amplia. */
.pzd-ds-crop-box,.pzd-ds-crop-handle{touch-action:none!important;-webkit-user-select:none!important;user-select:none!important}
@media(max-width:782px){
  .pzd-ds-photo-picker-stage{padding:14px!important}
  .pzd-ds-photo-picker-target{width:94%;height:min(420px,62vh);min-height:220px;border-radius:16px}
  .pzd-ds-photo-picker-target svg{width:52px;height:52px}
  .pzd-ds-crop-handle{width:34px!important;height:34px!important}
  .pzd-ds-crop-handle-n,.pzd-ds-crop-handle-s{left:50%!important;margin-left:-32px!important;width:64px!important;height:34px!important}
  .pzd-ds-crop-handle-n{top:-17px!important}.pzd-ds-crop-handle-s{bottom:-17px!important}
  .pzd-ds-crop-handle-n::before,.pzd-ds-crop-handle-s::before{left:9px!important;right:9px!important;top:15px!important;height:3px!important}
  .pzd-ds-crop-handle-w,.pzd-ds-crop-handle-e{top:50%!important;margin-top:-32px!important;width:34px!important;height:64px!important}
  .pzd-ds-crop-handle-w{left:-17px!important}.pzd-ds-crop-handle-e{right:-17px!important}
  .pzd-ds-crop-handle-w::before,.pzd-ds-crop-handle-e::before{top:9px!important;bottom:9px!important;left:15px!important;width:3px!important}
  .pzd-ds-crop-handle-nw{left:-17px!important;top:-17px!important}.pzd-ds-crop-handle-ne{right:-17px!important;top:-17px!important}.pzd-ds-crop-handle-se{right:-17px!important;bottom:-17px!important}.pzd-ds-crop-handle-sw{left:-17px!important;bottom:-17px!important}
  .pzd-ds-crop-handle-nw::before,.pzd-ds-crop-handle-ne::before,.pzd-ds-crop-handle-se::before,.pzd-ds-crop-handle-sw::before{inset:7px!important}
}

/* 0.3.79 · Resultado 1 con ISNet natural y Resultado 2 con heurística tipo La Tostadora. */
.pzd-ds-photo-result-switch{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  align-items:center;
}
.pzd-ds-photo-result-switch>span{
  grid-column:1/-1;
  margin-top:-1px;
  text-align:center;
  color:#6d6d73;
  font-size:11px;
  line-height:1.25;
}
.pzd-ds-photo-result-option{
  min-height:42px;
  border:1px solid #c9c9cf;
  border-radius:12px;
  background:#fff;
  color:#111;
  font:inherit;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
  padding:8px 6px;
  white-space:normal;
  line-height:1.15;
}
.pzd-ds-photo-result-option:hover{background:#fafafa;border-color:#9a9aa1}
.pzd-ds-photo-result-option.is-selected{
  background:#f72585;
  color:#fff;
  border-color:#f72585;
}
.pzd-ds-photo-result-option:focus-visible{outline:3px solid rgba(247,37,133,.22);outline-offset:2px}
.pzd-ds-photo-solid-control{
  grid-column:1/-1;display:grid;gap:7px;padding:7px 11px;min-width:0;
  border:1px solid #e7e7eb;border-radius:10px;background:#fafafa;
  font-size:12px;font-weight:750;color:#27272b;
}
.pzd-ds-photo-solid-control[hidden]{display:none!important}
.pzd-ds-photo-solid-row{display:grid;gap:3px;min-width:0;margin:0}
.pzd-ds-photo-solid-row+.pzd-ds-photo-solid-row{border-top:1px solid #e7e7eb;padding-top:7px}
.pzd-ds-photo-solid-row>span,.pzd-ds-photo-solid-control small{display:flex;justify-content:space-between;gap:10px}
.pzd-ds-photo-solid-control b{color:#d21b70;white-space:nowrap}
.pzd-ds-photo-solid-control input{width:100%;min-width:0;height:24px;margin:0;accent-color:#f72585;cursor:pointer}
.pzd-ds-photo-solid-control input:focus-visible{outline:2px solid #d21b70;outline-offset:2px}
.pzd-ds-photo-solid-control small{font-size:10px;font-weight:600;color:#64646c}
@media(max-width:782px){
  .pzd-ds-photo-result-switch{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .pzd-ds-photo-result-option{min-height:42px;font-size:11px;padding:6px 3px}
  .pzd-ds-photo-result-switch>span{font-size:10px}
  .pzd-ds-photo-solid-control{padding:7px 9px;font-size:11px}
}
@media(max-height:600px){
  .pzd-ds-photo-modal[data-photo-view="bg-result"]{grid-template-rows:auto minmax(72px,1fr) auto!important}
  .pzd-ds-photo-bg-result-actions{max-height:calc(100dvh - 200px);min-height:0;overflow-y:auto;overscroll-behavior:contain}
}


/* 0.3.80 · Ayuda interactiva para el Resultado 2 (heurística tipo La Tostadora). */
.pzd-ds-photo-stage{position:relative}
.pzd-ds-photo-fast-overlay[hidden]{display:none!important}
.pzd-ds-photo-fast-overlay{
  position:absolute;top:10px;left:10px;right:10px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;pointer-events:none;z-index:5;
}
.pzd-ds-photo-fast-hint{
  max-width:min(72%,340px);padding:9px 12px;border-radius:12px;background:rgba(17,17,17,.84);color:#fff;font-size:12px;font-weight:800;line-height:1.2;box-shadow:0 6px 18px rgba(0,0,0,.18);
}
.pzd-ds-photo-fast-undo{
  pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid rgba(17,17,17,.14);border-radius:999px;background:rgba(255,255,255,.96);color:#111;box-shadow:0 6px 18px rgba(0,0,0,.15);cursor:pointer;font:inherit;font-size:12px;font-weight:800;line-height:1;
}
.pzd-ds-photo-fast-undo svg{width:18px;height:18px;flex:0 0 auto}
.pzd-ds-photo-fast-undo span{display:inline}
.pzd-ds-photo-fast-undo[disabled]{opacity:.45;cursor:not-allowed}
@media(max-width:782px){
  .pzd-ds-photo-fast-overlay{top:8px;left:8px;right:8px;gap:8px}
  .pzd-ds-photo-fast-hint{max-width:calc(100% - 50px);padding:8px 10px;font-size:11px}
  .pzd-ds-photo-fast-undo{min-height:38px;padding:0 12px;font-size:11px}
}


/* 0.3.86 · Entrega estimada dentro de la tarjeta de precio */
.pzd-ds-delivery-estimate{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid rgba(0,0,0,.08);
  color:#222;
  font-size:12px;
  line-height:1.2;
}
.pzd-ds-delivery-estimate svg{width:17px;height:17px;flex:0 0 17px}
.pzd-ds-delivery-estimate strong{font-size:12px;font-weight:800;letter-spacing:-.01em}
@media(max-width:782px){
  .pzd-ds-delivery-estimate{margin-top:9px;padding-top:8px;font-size:11px}
  .pzd-ds-delivery-estimate svg{width:16px;height:16px;flex-basis:16px}
  .pzd-ds-delivery-estimate strong{font-size:11px}
}
@media(max-width:390px){
  .pzd-ds-delivery-estimate{gap:6px}
  .pzd-ds-delivery-estimate strong{font-size:10px}
}

/* En el pincel, dos verdes separan con claridad los píxeles transparentes.
   Las vistas IA y Por clics mantienen su fondo verde de contraste. */
.pzd-ds-photo-modal[data-photo-view="brush"] .pzd-ds-photo-stage canvas[data-photo-mask-editor]{
  background-color:#e5f9eb!important;
  background-image:
    linear-gradient(45deg,#87d4a5 25%,transparent 25%),
    linear-gradient(-45deg,#87d4a5 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,#87d4a5 75%),
    linear-gradient(-45deg,transparent 75%,#87d4a5 75%)!important;
  background-size:20px 20px!important;
  background-position:0 0,0 10px,10px -10px,-10px 0!important;
}

/* 0.3.97 · Tipografías públicas con carga progresiva y errores visibles. */
.pzd-ds-font-load-status{display:block;min-height:13px;font-size:10px;line-height:1.3;color:#64646c}
.pzd-ds-text-font-item.is-font-error .pzd-ds-font-load-status{color:#b32d2e}
.pzd-ds-font-feedback{display:block;margin-top:7px;color:#b32d2e;font-size:12px;line-height:1.35}
.pzd-ds-font-feedback[hidden]{display:none!important}


/* 0.3.98 · Política de imágenes dentro del selector de subida + etiqueta de entrega estimada. */
.pzd-ds-photo-picker-modal{grid-template-rows:minmax(0,1fr)!important}
.pzd-ds-photo-picker-main{
  min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;background:#fff;
}
.pzd-ds-photo-picker-main[hidden],.pzd-ds-photo-policy-view[hidden]{display:none!important}
.pzd-ds-image-policy-note{
  margin:0;padding:8px 24px 9px;text-align:center;color:#777;font-size:11px;line-height:1.35;background:#fff;
}
.pzd-ds-image-policy-note button{
  border:0;background:transparent;padding:0;color:#555;font:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer;
}
.pzd-ds-image-policy-note button:hover,.pzd-ds-image-policy-note button:focus-visible{color:#f72585;outline:none}
.pzd-ds-photo-policy-view{
  min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);background:#fff;
}
.pzd-ds-photo-policy-head{
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:18px 22px 14px;border-bottom:1px solid #e7e7eb;background:#fff;
}
.pzd-ds-photo-policy-head h2{margin:0;text-align:center;font-size:20px;line-height:1.1;font-weight:900}
.pzd-ds-photo-policy-head>span{width:48px}
.pzd-ds-photo-policy-html{
  min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px 28px 34px;line-height:1.55;color:#222;
}
.pzd-ds-photo-policy-html>:first-child{margin-top:0}
.pzd-ds-photo-policy-html>:last-child{margin-bottom:0}
.pzd-ds-photo-policy-html h1,.pzd-ds-photo-policy-html h2,.pzd-ds-photo-policy-html h3{line-height:1.15}
.pzd-ds-photo-policy-html img{max-width:100%;height:auto}
.pzd-ds-photo-policy-html a{color:#f72585}
.pzd-ds-delivery-prefix{font-size:12px;font-weight:600;color:inherit}
@media(max-width:782px){
  .pzd-ds-image-policy-note{padding:7px 14px 8px;font-size:10px}
  .pzd-ds-photo-policy-head{padding:14px 16px 11px;gap:8px}
  .pzd-ds-photo-policy-head h2{font-size:17px}
  .pzd-ds-photo-policy-head>span{width:38px}
  .pzd-ds-photo-policy-html{padding:16px 18px 28px;font-size:14px}
  .pzd-ds-delivery-prefix{font-size:11px}
}
@media(max-width:480px){.pzd-ds-delivery-prefix{font-size:10px}}

/* 0.3.101 · Flujo familia → prenda → editor y navegación de una pantalla por paso. */
.pzd-ds-flow-head.has-back{flex-direction:column;align-items:flex-start;gap:14px}
.pzd-ds-flow-head-copy{min-width:0}
.pzd-ds-flow-head.has-back .pzd-ds-flow-head-copy{width:100%}
.pzd-ds-back{width:42px;height:42px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--black);color:#fff;font-size:25px;line-height:1;font-weight:700;box-shadow:none;transition:transform .16s ease,opacity .16s ease}
.pzd-ds-back:hover{transform:translateY(-1px)}
.pzd-ds-back:focus-visible{outline:3px solid var(--pink);outline-offset:3px}
.pzd-ds-back span{display:block;transform:translateY(-1px)}
.pzd-ds-family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:980px}
.pzd-ds-family-choice{min-height:190px}
.pzd-ds-family-choice .pzd-ds-choice-icon svg{width:44px;height:44px}
.pzd-ds-family-choice strong{margin-bottom:0}
@media(max-width:782px){
  .pzd-ds-flow-head.has-back{gap:16px}
  .pzd-ds-flow-head.has-back .pzd-ds-flow-head-copy{text-align:center}
  .pzd-ds-flow-head.has-back .pzd-ds-flow-head-copy p{margin-left:auto;margin-right:auto}
  .pzd-ds-back{width:44px;height:44px;font-size:26px}
  .pzd-ds-family-grid{grid-template-columns:1fr;max-width:none}
  .pzd-ds-family-choice{min-height:164px}
}

/* 0.3.102 · Guardar diseño / cuenta / compartir */
.pzd-ds-save-backdrop{z-index:2147483100}
.pzd-ds-save-account-modal{
  width:min(590px,100%);
  max-height:calc(100dvh - var(--pzd-modal-top,120px) - 28px);
  overflow:auto;
  overscroll-behavior:contain;
  padding:30px 34px 32px;
  border-radius:18px;
}
.pzd-ds-save-close{
  position:absolute;top:10px;right:13px;width:38px;height:38px;border:0;background:transparent;
  color:#777;font-size:30px;line-height:1;cursor:pointer;display:grid;place-items:center;z-index:3
}
.pzd-ds-save-close:hover{color:#0b0b0d}
.pzd-ds-save-title{text-align:center;padding:0 22px}
.pzd-ds-save-title h2{font-size:24px!important;line-height:1.15!important;letter-spacing:-.025em!important;margin:0 0 6px!important;font-weight:900}
.pzd-ds-save-title p{margin:0 auto 18px;color:#4f4f55;font-size:16px;line-height:1.45;max-width:470px}
.pzd-ds-save-previews{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:390px;margin:18px auto 18px}
.pzd-ds-save-previews>div{aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:#f4f4f5;display:grid;place-items:center;color:#8a8a90;font-weight:800}
.pzd-ds-save-previews img{display:block;width:100%;height:100%;object-fit:cover}
.pzd-ds-save-account-modal form{max-width:430px;margin:0 auto}
.pzd-ds-save-field{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;font-size:13px;font-weight:800;color:#333}
.pzd-ds-save-field input{
  width:100%;min-height:52px;border:1px solid #d7d7dc;border-radius:8px;background:#fff;color:#111;
  padding:0 14px;font:inherit;font-size:16px;font-weight:500;outline:none
}
.pzd-ds-save-field input:focus{border-color:#111;box-shadow:0 0 0 2px rgba(11,11,13,.08)}
.pzd-ds-save-marketing{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:9px!important;margin:13px 0 16px!important;font-size:13px!important;font-weight:500!important;line-height:1.35;color:#333}
.pzd-ds-save-marketing input{width:17px;height:17px;flex:0 0 17px;margin:1px 0 0;accent-color:#0b0b0d}
.pzd-ds-save-error{margin:0 0 12px;padding:10px 12px;border:1px solid #f2b8b5;border-radius:8px;background:#fff5f4;color:#b42318;font-size:13px;line-height:1.35}
.pzd-ds-save-submit{
  width:100%;min-height:52px;border-radius:8px!important;border-color:#0b0b0d!important;background:#0b0b0d!important;
  color:#fff!important;font-size:16px!important;box-shadow:none!important
}
.pzd-ds-save-submit:hover{background:#242426!important;border-color:#242426!important;color:#fff!important}
.pzd-ds-save-legal{margin:10px 0 8px;text-align:center;color:#666;font-size:11.5px;line-height:1.45}
.pzd-ds-save-legal a{color:#444;text-decoration:underline;text-underline-offset:2px}
.pzd-ds-save-login-link{
  display:block;width:100%;border:0;background:transparent;color:#333;padding:7px 0 0;cursor:pointer;text-align:center;font:inherit;font-size:13px
}
.pzd-ds-save-login-link strong{text-decoration:underline;text-underline-offset:2px}
.pzd-ds-save-inline-back{border:0;background:#0b0b0d;color:#fff;border-radius:999px;width:38px;height:38px;display:grid;place-items:center;cursor:pointer;font-size:0;margin:0 0 10px}
.pzd-ds-save-inline-back::before{content:'←';font-size:20px;line-height:1}
.pzd-ds-save-lost{display:block;text-align:center;margin:12px 0 0;color:#555;font-size:13px;text-decoration:underline;text-underline-offset:2px}
.pzd-ds-save-success-icon{width:42px;height:42px;border:2px solid #16a34a;border-radius:50%;display:grid;place-items:center;color:#16a34a;font-size:24px;font-weight:900;margin:0 auto 14px}
.pzd-ds-share-block{max-width:430px;margin:22px auto 0}
.pzd-ds-share-block>strong{display:block;margin:0 0 9px;font-size:15px}
.pzd-ds-share-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch}
.pzd-ds-share-row input{min-width:0;height:48px;border:1px solid #d7d7dc;border-right:0;border-radius:8px 0 0 8px;padding:0 12px;font-size:14px;background:#fff;color:#333}
.pzd-ds-share-row .pzd-ds-btn{height:48px;border-radius:0 8px 8px 0!important;background:#0b0b0d!important;border-color:#0b0b0d!important;color:#fff!important;padding:0 18px!important}
.pzd-ds-share-actions{display:flex;justify-content:center;gap:10px;margin-top:12px}
.pzd-ds-share-whatsapp{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border:1px solid #d7d7dc;border-radius:999px;color:#111;text-decoration:none;font-size:13px;font-weight:800}
.pzd-ds-share-whatsapp:hover{border-color:#0b0b0d;color:#0b0b0d}
.pzd-ds-save-account-link{display:block;max-width:430px;margin:18px auto 0;text-align:center;color:#111;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){
  .pzd-ds-save-backdrop{padding:var(--pzd-modal-top,92px) 10px 14px}
  .pzd-ds-save-account-modal{max-height:calc(100dvh - var(--pzd-modal-top,92px) - 14px);padding:26px 18px 24px;border-radius:15px}
  .pzd-ds-save-title{padding:0 16px}
  .pzd-ds-save-title h2{font-size:22px!important}
  .pzd-ds-save-title p{font-size:14px}
  .pzd-ds-save-previews{max-width:330px;gap:8px;margin-top:14px}
  .pzd-ds-save-field input{min-height:50px}
  .pzd-ds-save-submit{min-height:50px}
}


/* 0.3.106 · Guardar diseño en posición comercial correcta + Vista HD */
.pzd-ds-mobile-save-btn{display:none!important}
@media(max-width:782px){
  /* El guardado móvil vive exactamente entre la tarjeta gris y el área de estampado. */
  .pzd-ds-editor-head .pzd-ds-save-btn{display:none!important}
  .pzd-ds-left>.pzd-ds-price-card{order:3!important}
  .pzd-ds-left>.pzd-ds-mobile-save-btn{
    display:inline-flex!important;
    grid-column:1/-1!important;
    order:4!important;
    width:100%!important;
    min-height:48px!important;
    margin:2px 0 1px!important;
    padding:10px 16px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    border:1px solid #0b0b0d!important;
    border-radius:10px!important;
    background:#0b0b0d!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:800!important;
    line-height:1!important;
    box-shadow:none!important;
  }
  .pzd-ds-left>.pzd-ds-mobile-area-info{order:5!important;margin-top:2px!important}
  .pzd-ds-left>.pzd-ds-side-tabs-mobile{order:6!important}
  .pzd-ds-mobile-save-btn:hover,
  .pzd-ds-mobile-save-btn:focus{
    background:#242426!important;
    border-color:#242426!important;
    color:#fff!important;
  }
  .pzd-ds-mobile-save-btn .pzd-ds-save-icon{
    width:19px!important;
    height:19px!important;
    flex:0 0 19px!important;
  }
}

/* Vista HD · escritorio: Guardar a la izquierda, lados centrados, Comprar a la derecha. */
.pzd-ds-hd-save-stack{grid-column:1!important;justify-self:start!important;display:flex!important}
.pzd-ds-hd-save{
  min-height:40px!important;
  padding:8px 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid #0b0b0d!important;
  border-radius:999px!important;
  background:#0b0b0d!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.pzd-ds-hd-save .pzd-ds-save-icon{width:17px!important;height:17px!important;flex:0 0 17px!important}
.pzd-ds-hd-actions-mobile{display:none!important}

@media(max-width:782px){
  /* En móvil los botones van debajo de la imagen HD, no encima de ella. */
  .pzd-ds-hd-save-stack{display:none!important}
  .pzd-ds-hd-actions-mobile{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
    align-items:center!important;
    padding:8px 10px max(9px,env(safe-area-inset-bottom))!important;
    background:#fff!important;
    border-top:1px solid #eee!important;
  }
  .pzd-ds-hd-actions-mobile .pzd-ds-hd-save,
  .pzd-ds-hd-actions-mobile .pzd-ds-hd-buy{
    width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    margin:0!important;
    padding:9px 10px!important;
    border-radius:999px!important;
    font-size:12px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    white-space:nowrap!important;
  }
  .pzd-ds-hd-actions-mobile .pzd-ds-save-icon,
  .pzd-ds-hd-actions-mobile .pzd-ds-cart-icon{width:17px!important;height:17px!important;flex:0 0 17px!important;margin:0!important}
}
@media(max-width:360px){
  .pzd-ds-hd-actions-mobile{gap:6px!important;padding-left:7px!important;padding-right:7px!important}
  .pzd-ds-hd-actions-mobile .pzd-ds-hd-save,
  .pzd-ds-hd-actions-mobile .pzd-ds-hd-buy{font-size:11px!important;padding-left:7px!important;padding-right:7px!important}
}
