/* prekes */
.scr-prekes .pk-acts{display:flex;gap:8px;flex-wrap:wrap}
.scr-prekes .pk-list{display:flex;flex-direction:column;gap:12px}
.scr-prekes .pk-fl .pk-s{flex:1 1 240px;min-width:0}
.scr-prekes .pk-fl .select{max-width:100%}
.scr-prekes .pk-cnt{margin-left:auto}
.scr-prekes .pk-tw{overflow-x:auto}
.scr-prekes .pk-tbl,.scr-prekes .pk-pt,.scr-prekes .pk-st{width:100%;border-collapse:collapse}
.scr-prekes .pk-tbl tbody tr{height:64px}
.scr-prekes .pk-tbl td{height:64px}
.scr-prekes .pk-im{width:60px}
.scr-prekes .pk-im img,.scr-prekes .pk-card img{border-radius:6px;object-fit:cover;background:var(--soft);display:block}
.scr-prekes .pk-nm{min-width:240px;max-width:360px;white-space:normal!important}
.scr-prekes .pk-nm .nm{text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3}
.scr-prekes .pk-nm .nm:hover{text-decoration:underline}
.scr-prekes .pk-tbl td{font-size:14px}
.scr-prekes .pk-tbl td:nth-child(4){white-space:normal;min-width:120px}
.scr-prekes .pk-tbl td.n{white-space:nowrap}
.scr-prekes .pk-none{padding:16px 6px}
.scr-prekes .dot{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block}
.scr-prekes .pk-chs{display:flex;gap:4px;flex-wrap:wrap}
.scr-prekes .pk-ch{display:inline-block;padding:1px 8px;border-radius:6px;background:#EFE9F0;color:var(--navy);font-size:12px;font-weight:650;line-height:1.6}
.scr-prekes .pk-ch.s{background:#F5F1F6;color:#4D4452;font-weight:600}
.scr-prekes .pk-noimg{display:grid;place-items:center;background:var(--soft);border-radius:6px;color:var(--muted)}
.scr-prekes .pk-noimg.big{width:220px;height:220px}
.scr-prekes .pk-cards{display:none}
.scr-prekes .pk-card{display:flex;gap:12px;padding:12px;border:1px solid var(--line);border-radius:var(--r);background:#fff;color:var(--ink);text-decoration:none;min-height:56px}
.scr-prekes .pk-card>img,.scr-prekes .pk-card>.pk-noimg{flex:none}
.scr-prekes .pk-cb{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.scr-prekes .pk-cb>b{font-weight:600;color:#1E1522;line-height:1.3}
.scr-prekes .pk-cr{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
@media (hover:hover){.scr-prekes .pk-card:hover{background:var(--soft)}}

.scr-prekes .pk-back{display:inline-flex;align-items:center;gap:4px;min-height:32px;color:var(--navy);text-decoration:none;font-size:var(--fs-s);font-weight:600}
.scr-prekes .pk-ro{margin-top:-4px}
.scr-prekes .pk-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
.scr-prekes .pk-main,.scr-prekes .pk-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.scr-prekes .pk-top{display:flex;gap:20px;align-items:flex-start}
.scr-prekes .pk-ph{display:flex;flex-direction:column;gap:6px;flex:none;align-items:center}
.scr-prekes .pk-ph img{border-radius:var(--r);object-fit:cover;background:var(--soft);border:1px solid var(--line);max-width:100%;height:auto}
.scr-prekes .pk-desc{flex:1;min-width:0}
.scr-prekes .pk-desc p{margin:0 0 8px}
.scr-prekes .pk-ul{margin:6px 0 0;padding-left:20px}
.scr-prekes .pk-ul li{margin:2px 0}
.scr-prekes .pk-pt td,.scr-prekes .pk-pt th{padding:6px}
.scr-prekes .pk-pt tbody tr{cursor:default}
.scr-prekes .pk-pt td{height:auto;min-height:56px;padding:8px 6px}
.scr-prekes .pk-pt tr.off td{color:#6B6472;background:var(--soft)}
.scr-prekes .pk-pt tr.off .sub{color:#6B6472}
.scr-prekes .pk-pi{width:130px;text-align:right}
.scr-prekes .pk-note{margin-top:10px}
.scr-prekes .pk-gap{margin-top:18px}
.scr-prekes .pk-cks{display:flex;gap:8px;flex-wrap:wrap}
.scr-prekes .pk-ck{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}
.scr-prekes .pk-ck input{width:20px;height:20px;accent-color:var(--navy);flex:none}
.scr-prekes .pk-ck:has(input:disabled){background:var(--soft);cursor:default}
.scr-prekes .pk-st td{height:44px}
.scr-prekes .pk-st tbody tr{cursor:default}
.scr-prekes .pk-st tr.tot td{border-bottom:0;border-top:2px solid var(--line)}
.scr-prekes .pk-mon{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}
.scr-prekes .pk-mon div{background:var(--soft);border-radius:8px;padding:10px 4px;display:flex;flex-direction:column}
.scr-prekes .pk-mon b{font-size:var(--fs-k);color:var(--navy);line-height:1.1}
.scr-prekes .pk-mon span{font-size:var(--fs-s);color:var(--muted)}

/* langai (modal-bg dedamas į body, todėl klasė scr-prekes ant paties modal-bg) */
.modal-bg.scr-prekes .pk-f{display:flex;flex-direction:column;gap:6px}
.modal-bg.scr-prekes .pk-f label,.modal-bg.scr-prekes .pk-l{font-weight:600;color:#1E1522;font-size:var(--fs-s)}
.modal-bg.scr-prekes .pk-cks{display:flex;gap:8px;flex-wrap:wrap}
.modal-bg.scr-prekes .pk-ck{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.modal-bg.scr-prekes .pk-ck input{width:20px;height:20px;accent-color:var(--navy)}
.modal-bg.scr-prekes .pk-url{display:flex;gap:8px}
.modal-bg.scr-prekes .pk-url .input{flex:1;min-width:0}
.modal-bg.scr-prekes .pk-ex{align-self:flex-start;min-height:44px;border:0;background:none;color:var(--navy);font-weight:600;padding:0;text-decoration:underline}
.modal-bg.scr-prekes .pk-prev{display:flex;flex-direction:column;gap:12px}
.modal-bg.scr-prekes .pk-err{color:var(--bad-t)}
.modal-bg.scr-prekes footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid var(--line)}

@media (max-width:1099px){
  .scr-prekes .pk-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:899px){
  .scr-prekes .pk-tw:has(.pk-tbl){display:none}
  .scr-prekes .pk-cards{display:flex;flex-direction:column;gap:10px}
  .scr-prekes .pk-cnt{margin-left:0;width:100%}
  .scr-prekes .pk-fl .select,.scr-prekes .pk-fl .pk-s{flex:1 1 100%;width:100%}
  .scr-prekes .pk-acts{width:100%}
  .scr-prekes .pk-acts .btn{flex:1 1 100%}
  .scr-prekes .pk-top{flex-direction:column;align-items:stretch}
  .scr-prekes .pk-ph{align-self:center}
  /* kainų lentelė -> kortelės */
  .scr-prekes .pk-pt thead{display:none}
  .scr-prekes .pk-pt,.scr-prekes .pk-pt tbody,.scr-prekes .pk-pt tr,.scr-prekes .pk-pt td{display:block;width:100%}
  .scr-prekes .pk-pt tr{border:1px solid var(--line);border-radius:var(--r);padding:6px 10px;margin-bottom:10px}
  .scr-prekes .pk-pt td{display:flex;justify-content:space-between;align-items:center;gap:10px;border:0;padding:6px 0;text-align:right}
  .scr-prekes .pk-pt td::before{content:attr(data-l);color:var(--muted);font-size:var(--fs-s);text-align:left;flex:none}
  .scr-prekes .pk-pt td:first-child{text-align:left}
  .scr-prekes .pk-pt td:first-child::before{content:none}
  .scr-prekes .pk-pi{width:140px}
  .scr-prekes .pk-ck{flex:1 1 calc(50% - 8px)}
}
