/* Sort row + „Pirklio malonė“ above the shop grid (inc/shop-facets.php sm_v3_sortbar, js/v3.js). */
body.v3 .v3-shoptools{flex-direction:column;align-items:stretch}
@media (min-width:701px){
  html body.v3 .v3-shoptools{display:block}
  html body.v3 .v3-shoptools .v3-fbar{flex-wrap:nowrap;margin:0 0 14px}
}
.v3-sortbar{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;width:100%}
.v3-sortbar__label{font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#9C6158;margin-left:6px}
.v3-sortbar__opts{display:flex;gap:8px;flex-wrap:wrap}
.v3-sortbar__opt,.v3-sortbar__sale{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #E3CFC8;background:#fff;color:#5A3A34;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.v3-sortbar__opt:hover,.v3-sortbar__sale:hover{border-color:#9C6158}
.v3-sortbar__opt.is-on{background:#5A3A34;border-color:#5A3A34;color:#fff}
.v3-sortbar__sale{border-color:#9C6158;color:#9C6158;margin-right:6px}
.v3-sortbar__sale small{font-size:12px;font-weight:700;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#F6EEEF;color:#9C6158;display:inline-flex;align-items:center;justify-content:center}
.v3-sortbar__pct{width:22px;height:22px;border-radius:50%;background:#9C6158;color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.v3-sortbar__sale.is-on{background:#9C6158;color:#fff}
.v3-sortbar__sale.is-on .v3-sortbar__pct{background:#fff;color:#9C6158}
.v3-sortbar__sale.is-on small{background:#fff;color:#9C6158}
.v3-sortbar [hidden]{display:none!important}
@media (max-width:760px){
  .v3-sortbar{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px;padding:2px 16px 4px;scroll-padding:0 16px}
  .v3-sortbar::-webkit-scrollbar{display:none}
  .v3-sortbar__opts{flex-wrap:nowrap}
  .v3-sortbar__label{display:none}
  .v3-sortbar__opt,.v3-sortbar__sale{font-size:14px;padding:0 14px}
}
html[data-theme="dark"] .v3-sortbar__opt{background:#36231F;border-color:#5a3f39;color:#F5E9E4}
html[data-theme="dark"] .v3-sortbar__opt.is-on{background:#EBCBBE;border-color:#EBCBBE;color:#2B1A17}
html[data-theme="dark"] .v3-sortbar__sale{background:#36231F;border-color:#EBCBBE;color:#EBCBBE}
html[data-theme="dark"] .v3-sortbar__sale small{background:#432C27;color:#EBCBBE}
html[data-theme="dark"] .v3-sortbar__sale.is-on{background:#EBCBBE;color:#2B1A17}
html[data-theme="dark"] .v3-sortbar__label{color:#EBCBBE}
