/* Pappitas — Plantillas de tienda (panel). Sin colores fijos: todo sale de las variables del tema. */
#tpl-gallery{margin-bottom:20px}
.tpl-gal2__h{display:flex;flex-direction:column;gap:4px;margin:4px 2px 18px}
.tpl-gal2__h b{font-size:22px;font-weight:800;letter-spacing:-.02em;color:var(--text-primary)}
.tpl-gal2__h span{font-size:14px;color:var(--text-muted)}
.tpl-grid2{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.tpl-c{display:flex;flex-direction:column;border-radius:26px;border:1.5px solid var(--border);background:var(--bg-card);overflow:hidden}
.tpl-c.is-on{border-color:var(--border)}
.tpl-ph{background:var(--bg-hover);padding:22px 0;display:flex;justify-content:center}
.tpl-ph__dev{position:relative;width:250px;height:520px;border-radius:38px;background:var(--bg-card);border:1px solid var(--border);padding:4px;flex:none;box-sizing:border-box}
.tpl-ph__in{position:relative;width:100%;height:100%;border-radius:34px;overflow:hidden;background:#fff;isolation:isolate;-webkit-mask-image:-webkit-radial-gradient(white,black);mask-image:radial-gradient(white,black)}
.tpl-ph__in iframe{position:absolute;left:0;top:0;width:390px;height:829px;border:0;transform:scale(.6154);transform-origin:0 0;pointer-events:none;background:#fff}
.tpl-ph__isl{display:none}
.tpl-vis{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding-top:12px;border-top:1px solid var(--border);cursor:pointer}
.tpl-vis>span{font-size:13.5px;font-weight:700;color:var(--text-secondary)}
.tpl-c__b{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px}
.tpl-c__t{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tpl-c__t b{font-size:18px;font-weight:800;letter-spacing:-.02em;color:var(--text-primary)}
.tpl-c__b>p{margin:0;font-size:13.5px;line-height:1.45;color:var(--text-muted)}
.tpl-c__b>p.tpl-c__note{color:var(--text-secondary);font-weight:600}
.tpl-pill{font-size:11.5px;font-weight:800;padding:4px 10px;border-radius:999px;background:var(--text-primary);color:var(--bg-card)}
.tpl-pill--ok{background:color-mix(in srgb,#22c55e 16%,transparent);color:#15803d}
.tpl-pill--off{background:var(--bg-hover);color:var(--text-muted)}
.tpl-c__acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.tpl-btn{height:42px;padding:0 18px;border-radius:999px;border:0;background:var(--text-primary);color:var(--bg-card);font:inherit;font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;-webkit-tap-highlight-color:transparent}
.tpl-btn--ghost{background:transparent;color:var(--text-primary);border:1.5px solid var(--border)}
.tpl-btn[disabled]{opacity:.45;cursor:default}
.tpl-prod{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding-top:12px;border-top:1px solid var(--border)}
.tpl-prod>span{font-size:13px;font-weight:700;color:var(--text-secondary)}
.tpl-prod .form-input{margin:0}
.tpl-prod .tpl-btn{align-self:flex-start}
@media (max-width:760px){.tpl-grid2{grid-template-columns:1fr}}

.tpl-ed{overflow:hidden;margin-bottom:20px}
.tpl-ed__top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:20px 24px;border-bottom:1px solid var(--border)}
.tpl-ed__top small{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}
.tpl-ed__top b{display:block;font-size:20px;font-weight:800;letter-spacing:-.02em;margin-top:2px}
.tpl-ed__acts{display:flex;gap:8px;flex-wrap:wrap}
.tpl-ed__btn{width:auto!important;height:40px;padding:0 16px!important;border-radius:999px!important;display:inline-flex;align-items:center;font-size:13.5px!important;text-decoration:none}
.tpl-ed__body{padding:8px 24px 4px;max-width:760px}
.tpl-sec{padding:16px 0;border-bottom:1px solid var(--border)}
.tpl-sec:last-child{border-bottom:0}
.tpl-sec--in{padding-top:4px}
.tpl-sec__h{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin-bottom:12px}
.tpl-sec__h small{font-weight:700;letter-spacing:0;margin-left:4px}
.tpl-f{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;min-width:0}
.tpl-f:last-child{margin-bottom:0}
.tpl-f>span{font-size:13px;font-weight:700;color:var(--text-secondary)}
.tpl-f .form-input{font-weight:700;font-size:15px}
.tpl-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tpl-img__row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tpl-img__prev{width:56px;height:56px;border-radius:50%;overflow:hidden;background:var(--bg-hover);display:grid;place-items:center;flex:none}
.tpl-img__prev img{width:100%;height:100%;object-fit:cover;display:block}
.tpl-img__prev--logo{border-radius:14px}.tpl-img__prev--logo img{object-fit:contain}
.tpl-img__prev em{font-style:normal;font-size:11px;color:var(--text-muted)}
.tpl-img__btn{width:auto!important;height:40px;padding:0 16px!important;border-radius:999px!important;margin:0!important;display:inline-flex;align-items:center;gap:6px;font-size:13.5px!important;cursor:pointer}
.tpl-x{border:0;background:transparent;font:inherit;font-size:13px;font-weight:700;color:var(--text-muted);cursor:pointer;padding:8px 4px}
.tpl-x:hover{color:var(--text-primary)}
.tpl-x--del{display:inline-flex;align-items:center;gap:6px;margin-top:4px;color:#dc2626}
.tpl-x--del .icon{width:15px;height:15px}
.tpl-color{display:inline-flex;align-items:center;gap:10px}
.tpl-color input{width:44px;height:44px;border:1.5px solid var(--border);border-radius:50%;padding:0;background:none;cursor:pointer;overflow:hidden}
.tpl-color input::-webkit-color-swatch-wrapper{padding:0}.tpl-color input::-webkit-color-swatch{border:0;border-radius:50%}
.tpl-color input::-moz-color-swatch{border:0;border-radius:50%}
.tpl-color b{font-size:14px;font-weight:800}
.tpl-sec--tg{padding:12px 0}
.tpl-tg{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;font-weight:700;cursor:pointer}
.tpl-li{display:flex;gap:12px;align-items:flex-start;padding:10px 0}
.tpl-li+.tpl-li{border-top:1px dashed var(--border)}
.tpl-li__n{flex:none;width:26px;height:26px;border-radius:50%;background:var(--bg-hover);display:grid;place-items:center;font-size:12px;font-weight:800;margin-top:26px}
.tpl-li__f{flex:1;min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.tpl-li__f .tpl-f{margin-bottom:0}
.tpl-sl{border:1.5px solid var(--border);border-radius:18px;margin-bottom:10px;overflow:hidden}
.tpl-sl.is-open{border-color:var(--text-primary)}
.tpl-sl__h{width:100%;display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px;border:0;background:transparent;font:inherit;color:var(--text-primary);cursor:pointer;text-align:left;-webkit-tap-highlight-color:transparent}
.tpl-sl__th{width:44px;height:44px;border-radius:50%;overflow:hidden;background:var(--bg-hover);flex:none}
.tpl-sl__th img{width:100%;height:100%;object-fit:cover;display:block}
.tpl-sl__h b{flex:1;min-width:0;font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpl-sl__chev{width:20px;height:20px;color:var(--text-muted);transition:transform .2s;flex:none}
.tpl-sl__chev svg{width:20px;height:20px}
.tpl-sl.is-open .tpl-sl__chev{transform:rotate(180deg)}
.tpl-sl__b{padding:6px 16px 16px}
.tpl-add{width:auto!important;height:42px;padding:0 18px!important;border-radius:999px!important;display:inline-flex;align-items:center;gap:6px}
.tpl-ed__save{position:sticky;bottom:0;display:flex;justify-content:flex-end;padding:14px 24px;border-top:1px solid var(--border);background:var(--bg-card)}
.tpl-ed__save .btn-primary{width:auto;padding:12px 28px;border-radius:999px}
@media (max-width:760px){
  .tpl-gal__body{padding:16px}
  .tpl-ed__top{padding:16px}
  .tpl-ed__body{padding:4px 16px}
  .tpl-2,.tpl-li__f{grid-template-columns:1fr}
  .tpl-li__f .tpl-f{margin-bottom:10px}
  .tpl-li__n{margin-top:0}
  .tpl-ed__save{padding:12px 16px}.tpl-ed__save .btn-primary{flex:1}
}
.tpl-ed .icon{width:16px;height:16px;flex:none}
.tpl-ed .btn-primary,.tpl-ed .btn-secondary{margin-top:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-width:0}
.tpl-hint{width:100%;display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:14px 16px;border-radius:20px;border:1.5px solid var(--border);background:var(--bg-card);font:inherit;color:var(--text-primary);text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tpl-hint:hover{border-color:var(--text-primary)}
.tpl-hint__dot{width:12px;height:12px;border-radius:50%;background:var(--brand-primary);flex:none}
.tpl-hint>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tpl-hint b{font-size:15px;font-weight:800}.tpl-hint small{font-size:13px;color:var(--text-muted)}
.tpl-hint__go{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 16px;border-radius:999px;background:var(--text-primary);color:var(--bg-card);font-size:13.5px;font-weight:700;white-space:nowrap;flex:none}
.tpl-hint__go svg{width:15px;height:15px}
@media (max-width:600px){.tpl-hint{flex-wrap:wrap}.tpl-hint__go{width:100%;justify-content:center}}
.tpl-pick{max-width:1100px;margin:8px auto 40px}
.tpl-pick__h{display:flex;flex-direction:column;gap:6px;margin:6px 2px 22px;text-align:center}
.tpl-pick__h b{font-size:clamp(26px,3vw,36px);font-weight:800;letter-spacing:-.03em;color:var(--text-primary)}
.tpl-pick__h span{font-size:15px;color:var(--text-muted)}
.tpl-pick .tpl-grid2{grid-template-columns:repeat(auto-fit,minmax(300px,360px));justify-content:center}
.tpl-pick{position:relative}
.tpl-pick__back{position:absolute;left:0;top:0;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--border);background:var(--bg-card);color:var(--text-primary);display:grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tpl-pick__back svg{width:18px;height:18px}
@media (max-width:760px){.tpl-pick__h{margin-top:54px}}

/* Tienda con plantilla: Portada = solo "Tu marca" (gana sobre la regla .pt-on de la Portada Bento) */
#store-section-page.store-section.tpl-on>:not(#tpl-editor){display:none!important}
#store-section-page.store-section.tpl-on>#tpl-editor#tpl-editor{display:block!important}
#store-section-page:not(.tpl-on)>#tpl-editor{display:none!important}

/* ── "Tu marca": editor corto a la izquierda + tienda en vivo a la derecha ── */
body.tpl-ws-on #pt-save-top{display:none!important}
.tpl-ed2{display:grid;grid-template-columns:minmax(0,1fr) 316px;gap:24px;align-items:start;margin-bottom:24px}
.tpl-pane{background:var(--bg-card);border:1px solid var(--border);border-radius:22px;overflow:hidden;min-width:0}
.tpl-pane__h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border)}
.tpl-pane__h small{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}
.tpl-pane__h b{display:block;font-size:18px;font-weight:800;letter-spacing:-.02em;color:var(--text-primary)}
.tpl-pane__acts{display:flex;gap:8px}
.tpl-pane__acts .tpl-btn{height:38px;padding:0 18px;font-size:13.5px}
.tpl-only-m{display:none!important}
.tpl-acc{border-bottom:1px solid var(--border)}
.tpl-acc:last-child{border-bottom:0}
.tpl-acc__h{display:flex;align-items:center;gap:10px;padding:0 14px 0 18px;min-height:58px}
.tpl-acc__b{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;background:none;padding:10px 0;font:inherit;text-align:left;cursor:pointer;color:var(--text-primary)}
.tpl-acc__b b{font-size:14.5px;font-weight:800}
.tpl-acc__b small{font-size:12.5px;color:var(--text-muted);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpl-acc__b[disabled],.tpl-acc__chev[disabled]{cursor:default}
.tpl-acc.is-off .tpl-acc__b b{color:var(--text-muted)}
.tpl-acc__sw{flex:none;margin:0}
.tpl-acc__chev{flex:none;width:32px;height:32px;border-radius:50%;border:0;background:var(--bg-hover);color:var(--text-secondary);display:grid;place-items:center;cursor:pointer;transition:transform .2s}
.tpl-acc__chev svg{width:16px;height:16px}
.tpl-acc__chev[disabled]{opacity:.35}
.tpl-acc.is-open .tpl-acc__chev{transform:rotate(180deg);background:var(--text-primary);color:var(--bg-card)}
.tpl-acc__body{padding:2px 18px 18px;display:flex;flex-direction:column;gap:12px}
.tpl-in{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0}
.tpl-in>span{font-size:12.5px;font-weight:700;color:var(--text-secondary)}
.tpl-in input{width:100%;height:44px;border:1.5px solid var(--border);border-radius:12px;background:var(--bg-card);color:var(--text-primary);font:inherit;font-size:15px;font-weight:700;padding:0 13px;box-sizing:border-box;outline:none;transition:border-color .15s}
.tpl-in input:focus{border-color:var(--text-primary)}
.tpl-in.is-nolbl>span{display:none}
.tpl-g2{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}
.tpl-g2--a{grid-template-columns:1fr 1.5fr}
.tpl-g1{display:grid;gap:10px;min-width:0}
.tpl-rows{display:flex;flex-direction:column;gap:10px}
.tpl-row{display:flex;align-items:flex-end;gap:10px}
.tpl-row>div{flex:1}
.tpl-row__n{flex:none;width:24px;height:44px;display:grid;place-items:center;font-size:12px;font-weight:800;color:var(--text-muted)}
.tpl-ph2{display:flex;align-items:center;gap:12px}
.tpl-ph2__img{flex:none;width:58px;height:58px;border-radius:50%;overflow:hidden;background:var(--bg-hover);display:grid;place-items:center;cursor:pointer;margin:0;color:var(--text-muted)}
.tpl-ph2__img--logo{border-radius:16px}
.tpl-ph2__img img{width:100%;height:100%;object-fit:cover;display:block}
.tpl-ph2__img--logo img{object-fit:contain}
.tpl-ph2__img .icon{width:18px;height:18px}
.tpl-ph2__t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tpl-ph2__t b{font-size:14px;font-weight:800;color:var(--text-primary)}
.tpl-ph2__t span{font-size:13px;color:var(--text-muted)}
.tpl-link{border:0;background:none;padding:0;margin:0;font:inherit;font-size:13px;font-weight:700;color:var(--text-primary);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tpl-link--del{align-self:flex-start;color:#dc2626}
.tpl-sw{flex:none;display:flex;align-items:center;gap:8px;margin:0;cursor:pointer;font-size:13px;font-weight:700;color:var(--text-secondary)}
.tpl-sw input{width:36px;height:36px;border:1.5px solid var(--border);border-radius:50%;padding:0;background:none;cursor:pointer;overflow:hidden}
.tpl-sw input::-webkit-color-swatch-wrapper{padding:0}.tpl-sw input::-webkit-color-swatch{border:0;border-radius:50%}
.tpl-ths{display:flex;gap:10px;flex-wrap:wrap}
.tpl-th{width:52px;height:52px;border-radius:50%;padding:0;border:2px solid transparent;background:var(--bg-hover);overflow:hidden;cursor:pointer;display:grid;place-items:center;outline:2px solid transparent;outline-offset:2px}
.tpl-th img{width:100%;height:100%;object-fit:cover;display:block}
.tpl-th i{font-style:normal;font-weight:800;color:var(--text-muted)}
.tpl-th.is-on{outline-color:var(--text-primary)}
.tpl-th--add{border:1.5px dashed var(--border);background:transparent;font-size:22px;font-weight:500;color:var(--text-muted)}
.tpl-slb{display:flex;flex-direction:column;gap:12px;padding-top:4px}
/* Vista previa en vivo */
.tpl-live{position:sticky;top:84px}
.tpl-live__bar{display:flex;align-items:center;gap:8px;margin:0 4px 10px}
.tpl-live__bar b{font-size:13px;font-weight:800;color:var(--text-secondary)}
.tpl-live__bar span{font-size:12px;color:var(--text-muted)}
.tpl-live__x{display:none}
.tpl-live__dev{width:316px;height:640px;border-radius:40px;border:1px solid var(--border);background:var(--bg-card);padding:4px;box-sizing:border-box}
.tpl-live__in{position:relative;width:100%;height:100%;border-radius:36px;overflow:hidden;background:#fff;isolation:isolate;-webkit-mask-image:-webkit-radial-gradient(white,black);mask-image:radial-gradient(white,black)}
.tpl-live__in iframe{position:absolute;left:0;top:0;width:390px;height:800px;border:0;transform:scale(.7897);transform-origin:0 0;background:#fff;opacity:0;pointer-events:none;transition:opacity .18s}
.tpl-live__in iframe.is-on{opacity:1;pointer-events:auto}
@media (max-width:1100px){
  .tpl-ed2{grid-template-columns:1fr}
  .tpl-only-m{display:inline-flex!important}
  .tpl-live{position:fixed;inset:0;z-index:1200;background:var(--bg-primary,var(--bg-card));display:none;flex-direction:column;padding:12px 12px 0}
  .tpl-live.is-open{display:flex}
  .tpl-live__bar{margin:0 4px 10px}
  .tpl-live__x{display:grid;place-items:center;margin-left:auto;width:38px;height:38px;border-radius:50%;border:0;background:var(--bg-hover);color:var(--text-primary);font-size:15px;cursor:pointer}
  .tpl-live__dev{flex:1;width:100%;height:auto;border-radius:24px 24px 0 0;padding:0;border:0}
  .tpl-live__in{border-radius:24px 24px 0 0}
  .tpl-live__in iframe{width:100%;height:100%;transform:none}
}
@media (max-width:560px){.tpl-g2{grid-template-columns:1fr}.tpl-acc__h{padding:0 12px 0 14px}.tpl-acc__body{padding:2px 14px 16px}.tpl-pane__h{padding:14px}}
.tpl-th{width:60px;height:60px}
.tpl-slact{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px}
.tpl-slact b{font-size:13px;font-weight:800;color:var(--text-secondary)}
.tpl-slact .tpl-link--del{margin-left:auto}
.tpl-pane__h b,.tpl-pane__acts .tpl-btn{white-space:nowrap}
@media (max-width:560px){.tpl-pane__acts .tpl-btn{padding:0 14px}}

/* v10 — lista de bloques en tarjetas con ícono pastel, fotos con botones claros, Guardar visible */
.tpl-pane{background:transparent;border:0;border-radius:0;overflow:visible}
.tpl-pane__h{padding:4px 2px 14px;border-bottom:0}
.tpl-pane__h b{font-size:22px}
.tpl-accs{display:flex;flex-direction:column;gap:10px}
.tpl-acc{border:1px solid var(--border);border-radius:20px;background:var(--bg-card);transition:border-color .2s}
.tpl-acc:last-child{border-bottom:1px solid var(--border)}
.tpl-acc.is-open{border-color:color-mix(in srgb,var(--c) 45%,var(--border))}
.tpl-acc__h{min-height:68px;padding:0 14px 0 14px;gap:12px}
.tpl-acc__ic{flex:none;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 14%,var(--bg-card));color:var(--c)}
.tpl-acc__ic svg{width:20px;height:20px}
.tpl-acc.is-off .tpl-acc__ic{background:var(--bg-hover);color:var(--text-muted)}
.tpl-acc__b b{font-size:15px}
.tpl-acc__chev{width:30px;height:30px;background:transparent;color:var(--text-muted)}
.tpl-acc.is-open .tpl-acc__chev{background:transparent;color:var(--text-primary)}
.tpl-acc__body{padding:4px 18px 18px 68px;gap:14px}
.tpl-link,.tpl-link--del{text-decoration:none!important}
/* Botón Guardar */
.tpl-save{height:44px;padding:0 22px;border-radius:999px;border:0;font:inherit;font-size:14.5px;font-weight:800;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;cursor:pointer;background:var(--bg-hover);color:var(--text-primary);transition:background .2s,transform .1s}
.tpl-save svg{width:16px;height:16px;color:var(--success,#16a34a)}
.tpl-save[disabled]{cursor:default}
.tpl-save.is-dirty{background:var(--brand-primary);color:var(--on-brand,#fff)}
.tpl-save.is-dirty:active{transform:scale(.97)}
/* Foto: vista + botones pastilla */
.tpl-pr{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.tpl-pr__img{flex:none;width:76px;height:76px;border-radius:50%;overflow:hidden;background:var(--bg-hover);display:grid;place-items:center;cursor:pointer;margin:0;color:var(--text-muted)}
.tpl-pr__img--logo{border-radius:20px}
.tpl-pr__img img{width:100%;height:100%;object-fit:cover;display:block}
.tpl-pr__img--logo img{object-fit:contain;padding:6px;box-sizing:border-box}
.tpl-pr__img svg{width:22px;height:22px}
.tpl-pr__acts{display:flex;gap:8px;flex-wrap:wrap}
.tpl-pb{height:38px;padding:0 16px;border-radius:999px;border:1.5px solid var(--border);background:var(--bg-card);color:var(--text-primary);font:inherit;font-size:13.5px;font-weight:700;display:inline-flex;align-items:center;gap:7px;cursor:pointer;margin:0;white-space:nowrap}
.tpl-pb svg{width:15px;height:15px}
.tpl-pb:hover{border-color:var(--text-primary)}
.tpl-pb--del{color:#dc2626}
.tpl-pb--del:hover{border-color:#dc2626}
.tpl-bx{display:flex;flex-direction:column;gap:8px;min-width:0}
.tpl-bx__l{font-size:12.5px;font-weight:700;color:var(--text-secondary)}
.tpl-g2--top{align-items:start}
.tpl-col{display:inline-flex;align-items:center;gap:12px;height:76px;margin:0;cursor:pointer}
.tpl-col input{width:52px;height:52px;border:1.5px solid var(--border);border-radius:50%;padding:0;background:none;cursor:pointer;overflow:hidden}
.tpl-col input::-webkit-color-swatch-wrapper{padding:0}.tpl-col input::-webkit-color-swatch{border:0;border-radius:50%}
.tpl-col b{font-size:14px;font-weight:800;color:var(--text-primary);letter-spacing:.02em}
.tpl-th{width:56px;height:56px}
@media (max-width:560px){.tpl-acc__body{padding:4px 14px 16px}.tpl-acc__h{min-height:62px;padding:0 10px 0 12px}.tpl-acc__ic{width:38px;height:38px;border-radius:12px}.tpl-pr__img{width:64px;height:64px}}
.tpl-th{width:68px;height:68px}
.tpl-ths{gap:12px}

/* v11 — íconos redondos de un solo color (se ven en claro y oscuro) y letras más legibles */
.tpl-acc__ic{border-radius:50%;background:var(--bg-hover);color:var(--text-primary)}
.tpl-acc.is-open{border-color:var(--text-primary)}
.tpl-acc.is-open .tpl-acc__ic{background:var(--text-primary);color:var(--bg-card)}
.tpl-acc.is-off .tpl-acc__ic{background:var(--bg-hover);color:var(--text-muted)}
.tpl-acc__b small{font-size:13.5px}
.tpl-in>span,.tpl-bx__l{font-size:13.5px}
.tpl-live__bar b{font-size:14px}
.tpl-pane__h small{font-size:12px}
@media (max-width:560px){.tpl-acc__b b{font-size:15.5px}.tpl-acc__b small{font-size:14px}.tpl-in input{font-size:16px}}
/* Compartir el enlace de la tienda (al lado de "Ver tienda") */
.st-share{display:inline-flex;align-items:center;gap:6px;margin-left:12px;padding:0;border:0;background:none;font:inherit;font-size:12.5px;font-weight:600;color:var(--brand-ink,var(--brand-primary));cursor:pointer;vertical-align:baseline}
.st-share svg{width:14px;height:14px}
#store-ws-cover-link[style*="display: none"]+.st-share,#store-ws-cover-link[style*="display:none"]+.st-share{display:none}
/* Vista previa más grande: las letras se leen igual que en el celular */
@media (min-width:1101px){
  .tpl-ed2{grid-template-columns:minmax(0,1fr) 360px}
  .tpl-live__dev{width:360px;height:720px}
  .tpl-live__in iframe{height:789px;transform:scale(.9026)}
}
/* v13 — tarjetas de diseño centradas; "Tienda master" ya no existe (las plantillas la reemplazan) */
.tpl-grid2{grid-template-columns:repeat(auto-fit,minmax(300px,440px));justify-content:center}
.tpl-c__b{align-items:center;text-align:center}
.tpl-c__t{justify-content:center}
.tpl-c__acts{justify-content:center}
.tpl-c .tpl-vis,.tpl-c .tpl-prod{align-self:stretch;text-align:left}
#store-master-btn-slot{display:none!important}
@media (max-width:760px){.tpl-grid2{grid-template-columns:1fr}}
/* MASTER → Plantillas */
.tpl-adm__h{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.tpl-adm__h h1{margin:0;font-size:26px;font-weight:800;letter-spacing:-.02em;color:var(--text-primary)}
.tpl-adm__h p{margin:2px 0 0;font-size:14.5px;color:var(--text-muted)}
.tpl-adm__load{padding:40px;text-align:center;color:var(--text-muted);font-size:15px}
.tpl-adm .tpl-pill{font-size:12.5px}
.tpl-adm .tpl-btn[disabled]{opacity:.4}
#tpl-admin-btn{display:inline-flex;align-items:center;gap:8px}
#tpl-admin-btn[style*="none"]{display:none!important}
