.cp-products-head{display:flex;gap:18px;justify-content:space-between;align-items:start}.cp-products-head h2{font-size:23px;margin:0 0 8px}.cp-products-head>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.cp-products-toolbar{display:flex;gap:12px;margin:20px 0 12px}.cp-products-toolbar input{flex:1;min-width:100px}.cp-products-toolbar input,.cp-products-toolbar select{padding:12px;border-radius:10px;border:1px solid var(--ba-border,#dce4eb);background:var(--ba-surface,#fff);color:inherit}.cp-products-bulk{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.cp-products-bulk span{margin-right:auto}.cp-product-row{display:flex;align-items:center;gap:12px;border:1px solid var(--ba-border,#dce4eb);border-radius:14px;padding:14px;margin:12px 0;background:var(--ba-surface,#fff)}.cp-product-open{display:flex;align-items:center;gap:16px;flex:1;min-width:0;text-align:left;background:none;border:0;color:inherit;cursor:pointer}.cp-product-open img,.cp-product-placeholder{width:78px;height:78px;object-fit:contain;border-radius:10px;background:#f6f8fa;flex-shrink:0}.cp-product-open span{display:grid;gap:6px}.cp-product-open strong{font-size:15px;overflow-wrap:anywhere}.cp-product-open small{opacity:.7}.cp-product-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;max-width:200px}.cp-product-actions span{width:100%;font-size:12px}.cp-product-empty{padding:40px;text-align:center;border:1px dashed #b5c8d8;border-radius:14px;margin-top:20px}.cat-modal:has([data-pane="gestion"].on) .cat-ed-preview{display:none}.cat-modal:has([data-pane="gestion"].on) .cat-ed-pane[data-pane="gestion"]{grid-column:2 / -1}
.cp-editor-producto{box-sizing:border-box;width:min(1240px,96vw);height:min(900px,94dvh);padding:0;border:1px solid var(--ba-border,#dce4eb);border-radius:20px;background:var(--ba-surface,#fff);color:var(--ba-text,#182b3a);overflow:hidden}.cp-editor-producto::backdrop{background:#102638b0}.cp-editor-producto[open]{display:flex;flex-direction:column}.cp-editor-producto header,.cp-editor-producto footer{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;gap:16px;flex-shrink:0;background:var(--ba-surface,#fff)}.cp-editor-producto header{border-bottom:1px solid var(--ba-border,#dce4eb)}.cp-editor-producto header small{letter-spacing:1.3px;font-size:10px;color:#188e89;font-weight:800}.cp-editor-producto h2{margin:4px 0;font-size:23px}.cp-editor-producto header button{border:0;background:none;color:inherit;font-size:28px;cursor:pointer}.cp-editor-producto footer{border-top:1px solid var(--ba-border,#dce4eb)}.cp-editor-producto footer p{font-size:13px;max-width:70%;margin:0}.cp-product-editor-grid{display:grid;grid-template-columns:1fr 1fr;overflow:auto;min-height:0;flex:1}.cp-product-fields{padding:22px;min-width:0}.cp-product-fields label{display:grid;gap:8px;margin-bottom:15px;font-weight:600;font-size:13px}.cp-product-fields input:not([type=checkbox]),.cp-product-fields textarea,.cp-product-fields select,.cp-product-preview select{width:100%;box-sizing:border-box;padding:11px;border:1px solid var(--ba-border,#dce4eb);border-radius:10px;background:var(--ba-surface,#fff);color:inherit;font:inherit}.cp-product-fields input[readonly]{opacity:.6}.cp-product-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cp-product-preview{background:var(--ba-bg,#eef3f6);padding:22px;min-width:0}.cp-product-preview-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.cp-product-preview select{width:auto}.cp-product-preview>p,.cp-product-note{font-size:12px;opacity:.75;line-height:1.6}.cp-live-product{background:#fff;color:#203143;border:1px solid #e3e9ee;border-radius:18px;overflow:hidden;max-width:370px;margin:0 auto;box-shadow:0 12px 35px #152b4510}.cp-live-image{aspect-ratio:1;position:relative;overflow:hidden;background:#fff;display:grid;place-items:center}.cp-live-image img{width:100%;height:100%;object-fit:contain;display:block}.cp-live-tag{position:absolute;left:14px;top:14px;background:#133f3a;color:#fff;padding:6px 10px;border-radius:30px;font-size:12px}.cp-live-tag:empty{display:none}.cp-live-copy{padding:22px;display:grid;gap:10px}.cp-live-copy h2{font-size:23px}.cp-live-copy>strong{font-size:22px}.cp-live-copy small{color:#748391;text-transform:uppercase;letter-spacing:1px;font-size:10px}.cp-live-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px}.cp-live-copy button{border:0;border-radius:10px;background:#157f78;color:#fff;padding:13px}.cp-live-copy>span{font-size:12px}.cp-product-photos-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.cp-product-photos-head label{margin:0;cursor:pointer}.cp-product-photos{display:flex;gap:10px;flex-wrap:wrap}.cp-product-photos>div{width:95px;padding:5px;border:2px solid transparent;border-radius:12px;background:var(--ba-bg,#eef3f6)}.cp-product-photos>div.selected{border-color:#158a83}.cp-product-photos button{border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;padding:4px}.cp-product-photos>div>button{display:grid;width:100%;font-size:10px;gap:5px}.cp-product-photos img{width:80px;height:80px;object-fit:contain}.cp-product-photos>div>div{display:flex;justify-content:space-between}.cp-product-adjust{padding:16px;margin:14px 0;background:var(--ba-bg,#eef3f6);border-radius:12px}.cp-product-adjust[hidden]{display:none}.cp-product-check{display:flex!important;gap:10px!important;align-items:center;margin-top:20px}.cp-product-check input{width:18px;height:18px}#cpePreview[data-vista=tarjeta] .cp-live-product{max-width:260px}#cpePreview[data-vista=tarjeta] .cp-live-description{display:none}#cpePreview[data-vista=escritorio] .cp-live-product{max-width:100%;display:grid;grid-template-columns:1fr 1fr}#cpePreview[data-vista=escritorio] .cp-live-copy{padding:16px}
@media(max-width:760px){.cp-products-head{flex-direction:column}.cp-products-toolbar{flex-wrap:wrap}.cp-product-row{flex-wrap:wrap}.cp-product-actions{max-width:none;width:100%;padding-left:30px}.cp-product-actions span{width:auto;margin-right:auto}.cp-product-editor-grid{grid-template-columns:1fr}.cp-editor-producto{width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;border-radius:0}.cp-editor-producto header,.cp-editor-producto footer{padding:12px 16px}.cp-editor-producto footer p{max-width:55%}.cp-product-preview{padding:16px}.cat-modal:has([data-pane="gestion"].on) .cat-ed-pane[data-pane="gestion"]{grid-column:1}}
.cat-modal:has([data-pane="gestion"].on) .cat-ed-prev{display:none}.cat-modal:has([data-pane="gestion"].on) .cat-ed{grid-template-columns:minmax(0,1fr)}.cat-modal .cat-ed-tab{white-space:normal!important}.cat-modal:has([data-pane="gestion"].on) .cat-ed-side{grid-template-columns:165px minmax(0,1fr)}@media(max-width:760px){.cat-modal:has([data-pane="gestion"].on) .cat-ed-side{grid-template-columns:minmax(0,1fr)}}
#cpProdBuscar{width:auto!important;min-width:220px!important;flex:1 1 60%}#cpProdModo{width:auto!important;max-width:280px;flex:0 1 260px}.cp-product-row input[data-elegir]{appearance:auto!important;width:18px!important;height:18px!important;min-width:18px!important;background:none!important;border:initial!important;border-radius:0!important}.cp-product-row input[data-elegir]::before,.cp-product-row input[data-elegir]::after{display:none!important}.cat-modal:has([data-pane="gestion"].on) #guardarTodoCatalogo,.cat-modal:has([data-pane="gestion"].on) #guardarConfigCatalogo,.cat-modal:has([data-pane="gestion"].on) #cpUndo,.cat-modal:has([data-pane="gestion"].on) #cpReset{display:none}@media(max-width:760px){#cpProdBuscar{min-width:0!important;width:100%!important;flex-basis:100%}#cpProdModo{max-width:none;flex:1}}
.cp-editor-producto{margin:auto!important}.cp-product-editor-grid{overflow:hidden}.cp-product-fields,.cp-product-preview{overflow-y:auto}#cpeAlternar{display:none}#cpeEncuadrePreview{width:220px;max-width:100%;margin:0 auto 18px;border-radius:10px;border:1px solid #d5e2e1}#cpeEncuadrePreview img{width:100%;height:100%}@media(max-width:760px){#cpeAlternar{display:inline-block;font-size:12px!important;padding:8px!important;vertical-align:middle}.cp-editor-producto header h2{font-size:19px}.cp-product-preview{display:none}.cp-mostrar-preview .cp-product-fields{display:none}.cp-mostrar-preview .cp-product-preview{display:block}.cp-product-fields,.cp-product-preview{height:100%;box-sizing:border-box}#cpeEncuadrePreview{width:200px}}
