/* 8kājis Veikals (katalogs) - scoped under body.veikals-page */
body.veikals-page{--navy:#1E2A5E;--teal:#1B9AAA;--teal-dark:#157f8c;--bg:#F2F8FC;--text:#1E2A5E;--muted:#4a5680;--border:#D8E3F0;--violet:#9b35bd;
  margin:0;font-family:'Nunito Sans',sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
body.veikals-page *{box-sizing:border-box}
.veikals-page .wrap{max-width:1280px;margin:0 auto;padding:0 32px}
.veikals-page img{display:block;max-width:100%}

.veikals-page .vk-header{background:var(--navy);color:#fff}
.veikals-page .topbar{display:flex;align-items:center;gap:28px;padding:16px 0}
.veikals-page .logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.veikals-page .logo img{width:46px;height:46px;object-fit:contain}
.veikals-page .logo b{font-size:25px;font-weight:800;letter-spacing:-.01em;color:#fff}
.veikals-page .logo b span{display:block;font-size:10px;font-weight:700;letter-spacing:.14em;color:#8EF6FF;text-transform:uppercase}
.veikals-page .search{flex:1;position:relative}
.veikals-page .search input{width:100%;border:none;background:rgba(255,255,255,.95);border-radius:999px;padding:13px 20px 13px 48px;font:600 16px 'Nunito Sans';color:var(--navy)}
.veikals-page .search svg{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:20px;height:20px}
.veikals-page .icons{display:flex;align-items:center;gap:14px}
.veikals-page .iconbtn{position:relative;width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.12)}
.veikals-page .iconbtn svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2}
.veikals-page .iconbtn.cart{background:var(--teal)}
.veikals-page .badge{position:absolute;top:-6px;right:-6px;background:#8EF6FF;color:var(--navy);font-size:12px;font-weight:800;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid var(--navy)}
.veikals-page .subbar{padding:0 0 16px}
.veikals-page .toggle{display:inline-flex;background:rgba(255,255,255,.12);border-radius:999px;padding:5px}
.veikals-page .toggle a{font-weight:700;font-size:15px;padding:11px 26px;border-radius:999px;text-decoration:none;color:#cdd6f0}
.veikals-page .toggle a.active{background:var(--teal);color:#fff}
.veikals-page .toggle a.bimini{color:#d9b8ff}

.veikals-page .hero{background:linear-gradient(100deg,#E3F1F7,#EAF4FB);border-bottom:1px solid var(--border)}
.veikals-page .hero .wrap{display:flex;align-items:center;justify-content:space-between;min-height:150px;padding:18px 32px}
.veikals-page .hero h1{font-size:34px;font-weight:800;letter-spacing:-.02em;color:var(--navy)}
.veikals-page .hero p{color:var(--muted);font-size:16px;margin-top:6px}
.veikals-page .hero img{width:120px;height:120px;object-fit:contain}

.veikals-page .fbar{display:none}

.veikals-page .main{display:grid;grid-template-columns:262px 1fr;gap:36px;padding:36px 0 56px}
.veikals-page .filters{background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px;align-self:start;box-shadow:0 6px 22px rgba(30,42,94,.06)}
.veikals-page .filters h3{font-size:19px;font-weight:800;margin-bottom:6px;color:var(--navy)}
.veikals-page .fgroup{padding:18px 0;border-bottom:1px solid #EAF1F8}
.veikals-page .fgroup:last-of-type{border-bottom:none}
.veikals-page .fgroup h4{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--teal-dark);margin-bottom:12px}
.veikals-page .check{display:flex;align-items:center;gap:10px;margin:9px 0;font-size:15px;color:var(--text)}
.veikals-page .check i{width:20px;height:20px;border:2px solid #B8C6DE;border-radius:6px;flex-shrink:0}
.veikals-page .check.on i{background:var(--teal);border-color:var(--teal);position:relative}
.veikals-page .check.on i::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.veikals-page .chips{display:flex;flex-wrap:wrap;gap:8px}
.veikals-page .chip{border:2px solid #CDE6EA;color:var(--teal-dark);font-weight:700;font-size:14px;padding:7px 14px;border-radius:999px}
.veikals-page .chip.on{background:var(--teal);color:#fff;border-color:var(--teal)}
.veikals-page .slider{height:6px;background:#DCE6F2;border-radius:999px;position:relative;margin:18px 4px}
.veikals-page .slider::before{content:"";position:absolute;left:10%;right:30%;top:0;bottom:0;background:var(--teal);border-radius:999px}
.veikals-page .knob{position:absolute;top:50%;width:18px;height:18px;background:#fff;border:3px solid var(--teal);border-radius:50%;transform:translate(-50%,-50%)}
.veikals-page .pricerow{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);font-weight:700}
.veikals-page .clearlink{color:var(--teal-dark);font-weight:700;font-size:14px;margin-top:14px;display:inline-block}

.veikals-page .resbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.veikals-page .resbar .count{font-weight:800;font-size:18px;color:var(--navy)}
.veikals-page .sort{border:2px solid var(--border);background:#fff;border-radius:999px;padding:10px 18px;font-weight:700;font-size:14px;color:var(--muted);display:flex;gap:8px;align-items:center}
.veikals-page .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.veikals-page .card{background:#fff;border:1px solid #E1EAF4;border-radius:16px;overflow:hidden;box-shadow:0 6px 22px rgba(30,42,94,.07);display:flex;flex-direction:column}
.veikals-page .card .ph{position:relative;background:linear-gradient(135deg,#EAF4FB,#E3F1F7);aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
.veikals-page .card .ph img{width:86%;height:86%;object-fit:contain;mix-blend-mode:multiply}
.veikals-page .agebadge{position:absolute;top:12px;left:12px;background:var(--teal);color:#fff;font-weight:800;font-size:13px;padding:5px 12px;border-radius:999px}
.veikals-page .card .body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.veikals-page .card .cat{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--teal-dark)}
.veikals-page .card .name{font-size:17px;font-weight:700;line-height:1.3;color:var(--navy)}
.veikals-page .card .price{font-size:22px;font-weight:800;color:var(--navy);margin-top:4px}
.veikals-page .card button{margin-top:12px;width:100%;background:var(--teal);color:#fff;border:none;border-radius:999px;padding:13px;font:800 15px 'Nunito Sans';cursor:pointer}
.veikals-page .card button:hover{background:var(--teal-dark)}

.veikals-page .pager{display:flex;gap:10px;justify-content:center;margin:40px 0 0}
.veikals-page .pager span{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:700;border:1px solid var(--border);background:#fff;color:var(--muted)}
.veikals-page .pager span.on{background:var(--teal);color:#fff;border-color:var(--teal)}

.veikals-page .vk-footer{background:var(--navy);color:#c6d0ec;padding:48px 0;margin-top:40px}
.veikals-page .vk-footer .wrap{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap}
.veikals-page .vk-footer b{color:#fff;font-size:18px;display:block;margin-bottom:12px}
.veikals-page .vk-footer p{font-size:14px;line-height:1.9;color:#a8b4d8}
.veikals-page .bnote{background:rgba(155,53,189,.25);border:1px solid rgba(169,124,255,.4);color:#e9d8ff;border-radius:12px;padding:14px 18px;font-size:13px;max-width:300px}
.veikals-page .bottomnav{display:none}

/* ---- mobile ---- */
@media (max-width:880px){
  body.veikals-page{padding-bottom:74px}
  .veikals-page .wrap{padding:0 16px}
  .veikals-page .topbar{gap:14px;padding:13px 16px}
  .veikals-page .search{order:3;flex-basis:100%}
  .veikals-page .icons .iconbtn:first-child{display:none}
  .veikals-page .logo b span{display:none}
  .veikals-page .subbar .toggle{display:flex;width:100%}
  .veikals-page .subbar .toggle a{flex:1;text-align:center;padding:10px;font-size:14px}
  .veikals-page .hero .wrap{min-height:auto;padding:16px}
  .veikals-page .hero h1{font-size:21px}.veikals-page .hero p{display:none}
  .veikals-page .hero img{width:64px;height:64px}
  .veikals-page .fbar{display:flex;gap:8px;overflow-x:auto;padding:16px 16px 6px}
  .veikals-page .fbar .fb{border:2px solid #CDE6EA;color:var(--teal-dark);font-weight:700;font-size:13px;padding:8px 14px;border-radius:999px;white-space:nowrap;display:flex;align-items:center;gap:6px}
  .veikals-page .fbar .fb.solid{background:var(--teal);color:#fff;border-color:var(--teal)}
  .veikals-page .main{grid-template-columns:1fr;gap:0;padding:6px 0 40px}
  .veikals-page .filters{display:none}
  .veikals-page .grid{grid-template-columns:1fr 1fr;gap:14px}
  .veikals-page .card .name{font-size:14px}.veikals-page .card .price{font-size:17px}
  .veikals-page .agebadge{font-size:11px;padding:3px 9px;top:9px;left:9px}
  .veikals-page .resbar .count{font-size:15px}
  .veikals-page .vk-footer{padding:32px 0}
  .veikals-page .vk-footer .wrap{gap:24px}
  .veikals-page .bottomnav{position:fixed;left:0;right:0;bottom:0;z-index:50;background:var(--navy);display:flex;justify-content:space-around;padding:9px 0 12px}
  .veikals-page .bn{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:700;color:#9aa6cc;text-decoration:none}
  .veikals-page .bn svg{width:24px;height:24px;stroke:#9aa6cc;fill:none;stroke-width:2}
  .veikals-page .bn.active{color:#8EF6FF}.veikals-page .bn.active svg{stroke:#8EF6FF}
}

/* functional catalog additions */
.veikals-page .card .ph{text-decoration:none;cursor:pointer}
.veikals-page .card .atc{margin-top:12px;width:100%;display:block;text-align:center;background:var(--teal);color:#fff;border:none;border-radius:999px;padding:13px;font:800 15px 'Nunito Sans';cursor:pointer;text-decoration:none}
.veikals-page .card .atc:hover{background:var(--teal-dark)}
.veikals-page .card .name{text-decoration:none}
.veikals-page .pager a{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:700;border:1px solid var(--border);background:#fff;color:var(--muted);text-decoration:none}
.veikals-page .pager a.on{background:var(--teal);color:#fff;border-color:var(--teal)}
.veikals-page .fbar a.fb{text-decoration:none}
.veikals-page a.logo{text-decoration:none}
@media(max-width:880px){.veikals-page .pager a{width:38px;height:38px}}
