/* Trykfolie – Designeditor */
html.tfe-lock,html.tfe-lock body{overflow:hidden!important}
.tfe{position:fixed;inset:0;z-index:100000;background:#eceef1;display:none;flex-direction:column;font-family:var(--tf-font,Montserrat,system-ui,sans-serif);color:#151515;font-size:14px;line-height:1.4}
.tfe.on{display:flex}
.tfe *{box-sizing:border-box}
.tfe button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;margin:0}
.tfe button:disabled{opacity:.35;cursor:default}
.tfe button:not(.tf-btn),.tfe button:not(.tf-btn):hover,.tfe button:not(.tf-btn):focus{background:none;border:0;box-shadow:none;color:inherit;text-transform:none;letter-spacing:normal;min-height:0;line-height:1.2;border-radius:6px}
.tfe button:focus-visible{outline:2px solid #29abe2;outline-offset:1px}
.tfe canvas{display:block;max-width:none}
.tfe .tfe-b{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 6px;font-size:11.5px!important}
.tfe .tfe-b:hover:not(:disabled){background:#f3f3f5}
.tfe .tfe-b.on,.tfe .tfe-b.on:hover,.tfe .tfe-seg button.on{background:#fff0f7;color:#e6007e}
.tfe .tfe-seg button.on{background:#e6007e!important;color:#fff!important}
.tfe .tfe-b.ic{width:36px;height:36px;padding:0}
.tfe .tfe-ibar .tfe-b.ic{border:1px solid #e4e4e4}
.tfe .tfe-sw button{border:1px solid rgba(0,0,0,.18);border-radius:50%;padding:0;width:24px;height:24px}
.tfe .tfe-pop button{width:44px;height:44px;display:flex;align-items:center;justify-content:center}
.tfe .tfe-pop button:hover{background:#fff0f7;color:#e6007e}
.tfe-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#fff;border-bottom:1px solid #e4e4e4;flex:none}
.tfe-tt{display:flex;flex-direction:column;min-width:0}
.tfe-tt b{font-size:16px}
.tfe-size{font-size:12px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tfe-acts{display:flex;align-items:center;gap:4px}
.tfe-sep{width:1px;height:24px;background:#e4e4e4;margin:0 6px}
.tfe-zl{font-size:12px;min-width:42px;text-align:center;color:#555}
.tfe-b{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;border-radius:6px;font-size:11.5px!important;line-height:1.2}
.tfe-b:hover:not(:disabled){background:#f3f3f5}
.tfe-b.ic{width:36px;height:36px;padding:0;justify-content:center}
.tfe-b.ic span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.tfe-b.on{color:#e6007e;background:#fff0f7}
.tfe .tfe-save{padding:10px 18px;margin-left:4px;white-space:nowrap;text-transform:none;letter-spacing:0}
.tfe-body{flex:1;display:flex;min-height:0;position:relative}
.tfe-tools{width:92px;flex:none;background:#fff;border-right:1px solid #e4e4e4;display:flex;flex-direction:column;gap:4px;padding:10px 6px;position:relative;z-index:3}
.tfe-tools .tfe-b{width:100%;padding:10px 4px;text-align:center}
.tfe-stage{flex:1;overflow:auto;display:flex;align-items:safe center;justify-content:safe center;padding:28px;min-width:0}
.tfe-art{position:relative;flex:none;box-shadow:0 2px 18px rgba(0,0,0,.14);background:#fff;margin:auto}
.tfe-art.tfe-clear{background:repeating-conic-gradient(#e6e6e6 0 25%,#fff 0 50%) 0 0/16px 16px}
.tfe-art .canvas-container{position:relative}
.tfe-safe{position:absolute;border:1px dashed rgba(230,0,126,.7);pointer-events:none;z-index:2}
.tfe-noguides .tfe-safe{display:none}
.tfe-cl{position:absolute;pointer-events:none;display:none;z-index:2;background:#29abe2}
.tfe-cl.on{display:block}
.tfe-clv{left:50%;top:0;bottom:0;width:1px}
.tfe-clh{top:50%;left:0;right:0;height:1px}
.tfe-props{width:300px;flex:none;background:#fff;border-left:1px solid #e4e4e4;overflow:auto;padding:16px;transition:box-shadow .3s}
.tfe-props.flash{box-shadow:inset 0 0 0 2px #e6007e}
.tfe-props h5{margin:0 0 8px;font-size:14px;font-weight:700}
.tfe-ph{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.tfe-ph h5{margin:0}
.tfe-muted{color:#666;font-size:13px;margin:0 0 12px}
.tfe-row{margin:12px 0}
.tfe-row>label{display:block;font-size:12px;font-weight:600;color:#555;margin-bottom:6px}
.tfe-row select,.tfe-row input[type=number],.tfe-ta{width:100%;border:1px solid #d6d6d6;border-radius:4px;padding:8px 10px;font:inherit;font-size:14px;background:#fff}
.tfe-ta{resize:vertical;min-height:56px}
.tfe-row input[type=range]{width:100%;accent-color:#e6007e;margin-top:8px}
.tfe-sw{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.tfe-sw button{width:24px;height:24px;border-radius:50%;border:1px solid rgba(0,0,0,.18)!important;padding:0}
.tfe-sw button.on{box-shadow:0 0 0 2px #fff,0 0 0 4px #e6007e}
.tfe-cp{width:24px;height:24px;border-radius:50%;overflow:hidden;position:relative;background:conic-gradient(red,#ff0,lime,cyan,blue,#f0f,red);border:1px solid rgba(0,0,0,.18);cursor:pointer}
.tfe-cp input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
.tfe-link{font-size:12.5px!important;text-decoration:underline;color:#555!important;padding:6px 0!important;margin-top:4px!important}
.tfe-ibar{display:flex;flex-wrap:wrap;gap:4px;margin:10px 0}
.tfe-ibar .tfe-b.ic{border:1px solid #e4e4e4}
.tfe-ibar .tfe-b.tg{font-size:15px!important}
.tfe-size2{font-size:12.5px;color:#555;margin-top:8px}
.tfe-dpi{font-size:13px;padding:8px 10px;border-radius:4px;margin:6px 0}
.tfe-dpi.ok{background:#eaf6ee;color:#1a7f37}
.tfe-dpi.bad{background:#fdecee;color:#d0021b}
.tfe-tips{background:#f5f5f6;border-radius:6px;padding:12px 14px;font-size:12.5px;margin-top:16px}
.tfe-tips ol{margin:6px 0 0;padding-left:18px}
.tfe-tips li{margin:3px 0}
.tfe-foot{flex:none;display:flex;justify-content:space-between;gap:12px;padding:7px 16px;background:#fff;border-top:1px solid #e4e4e4;font-size:12px;color:#666}
.tfe-warn{color:#d0021b;font-weight:600}
.tfe-pop{position:absolute;background:#fff;border:1px solid #e4e4e4;border-radius:8px;box-shadow:0 6px 24px rgba(0,0,0,.14);padding:6px;display:flex;gap:4px;z-index:10}
.tfe-pop button{width:44px;height:44px;border-radius:6px;display:flex;align-items:center;justify-content:center}
.tfe-pop button:hover{background:#fff0f7;color:#e6007e}
.tfe-busy{position:absolute;inset:0;background:rgba(255,255,255,.75);display:none;align-items:center;justify-content:center;z-index:20}
.tfe.busy .tfe-busy{display:flex}
.tfe-busy div{display:flex;flex-direction:column;align-items:center;gap:12px}
.tfe-busy i{width:34px;height:34px;border:3px solid #f0c2da;border-top-color:#e6007e;border-radius:50%;animation:tfe-spin .8s linear infinite}
@keyframes tfe-spin{to{transform:rotate(360deg)}}
.tfe-done{display:none}
.tfe-seg{display:flex;border:1px solid #d6d6d6;border-radius:4px;overflow:hidden}
.tfe-seg button{flex:1;padding:8px!important;font-size:13px!important}
.tfe-seg button.on{background:#e6007e;color:#fff!important}
/* product page bits */
.tf-design.tf-d4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tf-edthumb{display:flex;gap:12px;align-items:center;margin-top:8px}
.tf-edthumb img{max-width:120px;max-height:90px;border:1px solid #e4e4e4;border-radius:4px;background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0 0/10px 10px}
.tf-edthumb button{text-decoration:underline;font-size:12.5px;background:none;border:0;padding:0;cursor:pointer;color:inherit}
@media (max-width:760px){
  .tf-design.tf-d4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tfe-top{padding:8px 10px;gap:6px}
  .tfe-tt b{font-size:14px}
  .tfe-acts .tfe-sep,.tfe-acts [data-a=zin],.tfe-acts [data-a=zout],.tfe-zl{display:none}
  .tfe .tfe-save{padding:9px 12px;font-size:13px}
  .tfe-body{flex-direction:column}
  .tfe-tools{order:3;width:auto;flex-direction:row;justify-content:space-around;border-right:0;border-top:1px solid #e4e4e4;padding:4px}
  .tfe-tools .tfe-b{width:auto;flex:1;padding:6px 2px;font-size:10.5px!important}
  .tfe-stage{padding:12px}
  .tfe-props{position:absolute;left:0;right:0;bottom:58px;z-index:4;width:auto;border-left:0;border-top:1px solid #e4e4e4;box-shadow:0 -6px 20px rgba(0,0,0,.12);max-height:46%;padding:12px 14px;display:none}
  .tfe.tfe-sel .tfe-props,.tfe.tfe-showdoc .tfe-props{display:block}
  .tfe-done{display:inline-block}
  .tfe-foot{display:none}
}
