:root{--bg:#f7f8fc;--text:#17181d;--muted:#6d7280;--line:#e7e9ef;--purple:#6d4aff;--purple2:#8e75ff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}a{text-decoration:none;color:inherit}button,input,select{font:inherit}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1160px)/2));position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:21px}.brand span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;font-weight:900}.topbar nav{display:flex;align-items:center;gap:20px}.topbar nav button{border:0;background:none;cursor:pointer}.hero{max-width:930px;margin:auto;padding:82px 24px 52px;text-align:center}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:var(--purple)}.hero h1{font-size:clamp(48px,7vw,76px);line-height:.98;letter-spacing:-.055em;margin:12px 0 18px}.hero>p{font-size:19px;line-height:1.6;color:var(--muted);max-width:700px;margin:auto}.searchbox{margin-top:38px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px;box-shadow:0 18px 50px rgba(50,45,90,.09)}.tabs{display:flex;gap:6px;margin-bottom:12px}.tabs button{border:0;background:none;padding:9px 12px;border-radius:10px;font-weight:750;color:#757b88;cursor:pointer}.tabs button.active{background:#f0edff;color:var(--purple)}.pane{display:none}.pane.active{display:block}.searchline{display:flex;gap:10px}.searchline input{flex:1;min-width:0;padding:16px 17px;border:1px solid var(--line);border-radius:13px;background:#fff}.searchline button{border:0;border-radius:13px;padding:0 24px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;font-weight:800}.wrap{max-width:1160px;margin:auto;padding:44px 24px 80px}.section-title h2,.section-title h1{font-size:32px;letter-spacing:-.035em;margin:7px 0 22px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{position:relative;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.card-img{display:block;height:225px;background:#f0f1f5}.card-img img{width:100%;height:100%;object-fit:contain;padding:12px;background:#fff}.heart{position:absolute;right:12px;top:12px;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:20px;cursor:pointer}.heart.saved{color:#d63250;background:#fff0f4}.card-body{padding:16px}.price{color:var(--muted);font-size:13px}.price b{font-size:21px;color:var(--text)}.name{display:block;margin:8px 0 7px;font-weight:800}.card small{color:var(--muted)}.cta{display:block;margin-top:15px;color:var(--purple);font-weight:800;font-size:13px}.topsearch{max-width:760px;margin-bottom:40px}.product .crumb{font-size:12px;color:var(--muted);margin-bottom:20px}.product-hero{display:grid;grid-template-columns:1fr 1.15fr;gap:38px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px}.product-hero>img{width:100%;height:410px;object-fit:contain;border-radius:15px;background:#fff;padding:12px}.product-hero h1{font-size:36px;line-height:1.05;letter-spacing:-.04em}.product-hero p{color:var(--muted);line-height:1.6}.best{margin-top:25px}.best small{display:block;color:var(--muted)}.best b{display:block;font-size:33px;margin:3px 0}.best span{color:#13815d;font-weight:700}.offers-head{display:flex;justify-content:space-between;align-items:center;margin:42px 0 14px}.offers-head select{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}.offers{display:grid;gap:10px}.offer{display:grid;grid-template-columns:1fr 130px 210px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px}.offer small{display:block;color:var(--muted);margin-top:4px}.offer>a{text-align:center;background:#f0edff;color:var(--purple);padding:11px;border-radius:10px;font-size:13px;font-weight:800}.drawer{position:fixed;right:-420px;top:0;width:min(400px,92vw);height:100vh;background:#fff;z-index:60;padding:18px;transition:.2s;box-shadow:-20px 0 50px rgba(0,0,0,.16)}.drawer.open{right:0}.backdrop{display:none;position:fixed;inset:0;background:#0004;z-index:50}.backdrop.open{display:block}.drawer-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px}.wish{display:grid;grid-template-columns:58px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.wish img{width:58px;height:58px;border-radius:9px;object-fit:cover}.wish small{display:block;color:var(--muted)}.empty{text-align:center;color:var(--muted);padding:80px 20px}@media(max-width:820px){.grid{grid-template-columns:repeat(2,1fr)}.product-hero{grid-template-columns:1fr}.offer{grid-template-columns:1fr 100px}.offer>a{grid-column:1/-1;margin-top:8px}}@media(max-width:560px){.grid{grid-template-columns:1fr}.searchline{display:grid}.searchline button{min-height:52px}.topbar nav>a{display:none}.product-hero>img{height:300px}.offer{grid-template-columns:1fr}.hero{padding-top:50px}}

.search-layout{display:grid;grid-template-columns:245px 1fr;gap:24px}.filter-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px;height:max-content;position:sticky;top:90px}.filter-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.filter-title a{font-size:12px;color:var(--purple)}.filter-label{display:block;font-size:12px;font-weight:800;margin:18px 0 9px}.range-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.range-row input,.filter-panel select{width:100%;border:1px solid var(--line);border-radius:9px;padding:9px;background:#fff}.country-radio{display:flex;align-items:center;gap:7px;padding:5px 0;font-size:13px}.country-radio small{margin-left:auto;color:var(--muted)}.apply-filter{width:100%;margin-top:18px;border:0;border-radius:10px;padding:11px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;font-weight:800}.result-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.result-head h1{font-size:34px;margin:5px 0}.result-head>b{color:var(--muted)}.country-chips{display:flex;gap:7px;overflow:auto;padding:3px 0 18px}.country-chips a{white-space:nowrap;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 10px;font-size:12px}.country-chips a.active{background:#eeeaff;color:var(--purple);border-color:#c7bcff}.country-chips b{margin-left:3px}@media(max-width:900px){.search-layout{grid-template-columns:1fr}.filter-panel{position:static}.search-layout .grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.search-layout .grid{grid-template-columns:1fr}.result-head{align-items:flex-start}}

.market-select{border:1px solid var(--line);border-radius:12px;padding:0 12px;background:#fff;min-width:155px}.live-block{margin-top:12px}.live-head{display:flex;justify-content:space-between;align-items:end;margin:12px 0}.live-head h2{margin:5px 0 0}.cache-pill{background:#eaf8f1;color:#08774b;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.live-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.live-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.live-img{height:185px;background:#f5f6f9;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:12px}.live-img img{width:100%;height:100%;object-fit:contain}.live-body{padding:14px}.live-source{font-size:11px;color:var(--accent);font-weight:850;text-transform:uppercase}.live-card h3{font-size:14px;line-height:1.35;margin:7px 0;min-height:38px}.live-price{font-size:22px;font-weight:900}.live-delivery{font-size:11px;color:var(--muted);margin-top:5px}.live-foot{display:flex;justify-content:space-between;margin-top:12px;font-size:11px;color:var(--muted)}.live-foot a{color:var(--accent);font-weight:850}.notice{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px;color:var(--muted)}.notice.error{background:#fff3f3;border-color:#ffd1d1;color:#9f2525}.demo-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:30px 0 18px}.demo-divider:before,.demo-divider:after{content:"";height:1px;background:var(--line);flex:1}@media(max-width:950px){.live-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.live-grid{grid-template-columns:1fr}.market-select{min-height:48px}}

.match-pill{display:inline-block;margin-left:6px;padding:3px 6px;border-radius:999px;background:#eef8f3;color:#08774b;font-size:9px;font-weight:900;vertical-align:middle}.eur-price{font-size:13px;font-weight:800;color:var(--muted);margin-top:2px}

.source-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--muted)}.source-placeholder span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#ece8ff;color:var(--accent);font-weight:900}.source-placeholder small{max-width:150px;text-align:center}

.quality-pill{display:inline-block;margin-left:5px;padding:3px 6px;border-radius:999px;background:#eef3ff;color:#405080;font-size:9px;font-weight:900;vertical-align:middle}

.candidate-pill{display:inline-block;margin-left:5px;padding:3px 6px;border-radius:999px;background:#fff4df;color:#986000;font-size:9px;font-weight:900;vertical-align:middle}

.variant-line{font-size:11px;color:var(--muted);font-weight:750;margin-top:-2px;margin-bottom:6px}
.candidate-list{display:grid;gap:8px}.candidate-row{display:grid;grid-template-columns:1fr 150px 100px;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px}.candidate-row strong{display:block;font-size:12px}.candidate-row span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.candidate-meta{font-size:11px;color:var(--muted)}.candidate-row a{font-size:12px;color:var(--accent);font-weight:850;text-align:right}@media(max-width:700px){.candidate-row{grid-template-columns:1fr}.candidate-row a{text-align:left}}

.condition-pill{display:inline-block;padding:2px 6px;border-radius:999px;font-size:9px;font-weight:900;background:#fff4df;color:#986000}
.condition-used{background:#f3f3f3;color:#555}
.condition-refurbished{background:#eef3ff;color:#405080}
.condition-open_box{background:#fff4df;color:#986000}


/* v0.18.1 category navigation */
.category-nav{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.category-nav-inner{
  max-width:1160px;
  margin:0 auto;
  padding:0 24px;
  min-height:46px;
  display:flex;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  scrollbar-width:thin;
}
.category-nav-inner a{
  white-space:nowrap;
  padding:9px 12px;
  border-radius:10px;
  font-size:13px;
  font-weight:750;
  color:#363946;
}
.category-nav-inner a:hover{
  background:#f3f0ff;
  color:var(--purple);
}
.category-nav-inner a small{
  margin-left:4px;
  color:var(--muted);
  font-size:10px;
}
.category-nav-inner .category-all{
  background:#f0edff;
  color:var(--purple);
  font-weight:850;
}
@media(max-width:700px){
  .category-nav-inner{padding:0 14px}
  .category-nav-inner a{padding:8px 10px}
}

/* v0.19 category / SEO navigation */
.crumb a{color:var(--purple);font-weight:700}


/* v0.19.1 user cabinet */
.topbar nav a{font-weight:700}
.product-save{margin-top:16px}.product-save button,.auth-card button{
  border:0;border-radius:11px;padding:12px 16px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;font-weight:850;cursor:pointer
}
.cabinet-login-link{display:inline-block;margin-top:16px;color:var(--purple);font-weight:800;font-size:13px}
.cabinet-intro{max-width:720px;margin-bottom:24px}.cabinet-intro h1,.cabinet-head h1{font-size:40px;letter-spacing:-.04em;margin:8px 0}.cabinet-intro p,.cabinet-head p{color:var(--muted)}
.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.auth-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}.auth-card h2{margin-top:0}.auth-card label{display:block;font-size:12px;font-weight:800;margin:14px 0}.auth-card input{display:block;width:100%;margin-top:7px;padding:13px;border:1px solid var(--line);border-radius:10px}.auth-card button{width:100%;margin-top:8px}
.cabinet-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.ghost-button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 14px;cursor:pointer}
.saved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.saved-card{display:grid;grid-template-columns:150px 1fr;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.saved-image{height:190px;padding:14px;background:#fff}.saved-image img{width:100%;height:100%;object-fit:contain}.saved-main{padding:18px}.saved-name{font-weight:850;line-height:1.35}.saved-price{margin-top:10px;color:var(--muted)}.saved-price b{font-size:22px;color:var(--text)}.saved-main>small{display:block;color:var(--muted);margin-top:4px}.saved-actions{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-size:12px}.saved-actions>a{color:var(--purple);font-weight:850}.saved-actions button{border:0;background:none;color:var(--muted);cursor:pointer}
.price-sparkline{height:74px;margin-top:12px}.price-sparkline svg,.price-chart svg{width:100%;height:100%;overflow:visible}.price-sparkline polyline,.price-chart polyline{stroke:var(--purple);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.price-sparkline circle,.price-chart circle{fill:var(--purple)}.chart-label{font-size:11px;fill:var(--muted)}.chart-empty{font-size:12px;color:var(--muted)}
.history-hero{display:grid;grid-template-columns:240px 1fr;gap:30px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.history-hero img{width:100%;height:220px;object-fit:contain}.history-hero h1{font-size:36px;line-height:1.08;margin:8px 0}.history-card{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.history-card-head{display:flex;justify-content:space-between;align-items:center}.history-card-head h2{margin:0}.history-card-head span,.history-note{color:var(--muted);font-size:12px}.price-chart{height:310px;margin-top:18px}
@media(max-width:800px){.auth-grid,.saved-grid{grid-template-columns:1fr}.history-hero{grid-template-columns:1fr}.history-hero img{height:190px}.saved-card{grid-template-columns:110px 1fr}.saved-image{height:150px}}


/* v0.20 price alerts */
.alert-box{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.alert-create label,.product-alert-form label{display:block;font-size:11px;font-weight:800;color:var(--muted);margin-bottom:6px}
.alert-create>div,.product-alert-form>div{display:flex;align-items:center;gap:6px}
.alert-create input,.product-alert-form input{width:105px;border:1px solid var(--line);border-radius:9px;padding:9px}
.alert-create button,.product-alert-form button{border:0;border-radius:9px;padding:9px 11px;background:#efeaff;color:var(--purple);font-weight:850;cursor:pointer}
.alert-status{display:flex;justify-content:space-between;font-size:12px}.alert-status span{font-weight:800}.alert-status b{color:var(--purple)}
.alert-box>small{display:block;color:var(--muted);margin-top:5px}
.alert-actions{display:flex;gap:6px;margin-top:8px}.alert-actions form{margin:0}.alert-actions button{border:0;background:none;padding:0;color:var(--muted);font-size:11px;cursor:pointer}
.product-alert-form{margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#faf9ff;max-width:390px}
.alert-events{margin-bottom:24px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}.alert-events-head{display:flex;align-items:center;justify-content:space-between}.alert-events-head h2{margin:4px 0 10px}.alert-event-list{display:grid;gap:8px}.alert-event{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:11px 12px;border-radius:10px;background:#fafafa}.alert-event.unseen{background:#f2efff}.alert-event span{font-weight:800}.alert-event b{color:var(--purple)}.alert-event small{color:var(--muted)}


/* v0.22 admin dashboard */
.admin-dashboard{padding-top:28px;padding-bottom:60px}
.admin-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}
.admin-header h1{font-size:38px;letter-spacing:-.04em;margin:4px 0}.admin-header p{color:var(--muted);margin:0}
.admin-warning{background:#fff7dd;border:1px solid #f0d98b;border-radius:12px;padding:12px 14px;margin-bottom:16px;font-size:13px}
.admin-period{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;margin-bottom:16px}
.admin-period a,.admin-period button{border:0;border-radius:9px;padding:9px 12px;background:#f5f5f8;font-weight:800;color:#4b4c56;cursor:pointer}.admin-period a.active{background:#ece7ff;color:var(--purple)}
.admin-period input{border:1px solid var(--line);border-radius:9px;padding:8px;background:#fff}
.admin-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.admin-kpis article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px}.admin-kpis small,.admin-catalogue-strip small{display:block;color:var(--muted);font-weight:750}.admin-kpis b{display:inline-block;font-size:30px;margin-top:5px}.admin-kpis span{margin-left:8px;font-size:12px;color:var(--muted)}
.admin-catalogue-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:14px 0}.admin-catalogue-strip>div{background:#fafafa;padding:13px 15px}.admin-catalogue-strip b{font-size:18px}
.admin-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;margin-top:14px;overflow:hidden}.admin-panel-head h2{margin:4px 0 12px;font-size:20px}.admin-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.admin-chart{height:300px}.admin-chart svg{width:100%;height:100%;overflow:visible}.admin-gridline{stroke:#ececf1;stroke-width:1}.admin-line{stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.admin-line-0{stroke:var(--purple)}.admin-line-1{stroke:#6366f1}.admin-line-2{stroke:#111827}.admin-chart-legend{display:flex;gap:20px;color:var(--muted);font-size:12px;margin-top:4px}
.admin-table{border-top:1px solid var(--line)}.admin-tr{display:grid;grid-template-columns:minmax(0,1fr) 85px 90px 90px;gap:10px;align-items:center;padding:10px 4px;border-bottom:1px solid #f0f0f3;font-size:12px}.admin-tr-2{grid-template-columns:minmax(0,1fr) 80px}.admin-th{font-size:10px;text-transform:uppercase;color:var(--muted);font-weight:850}.admin-tr b{color:var(--purple)}.admin-tr a{font-weight:750;color:#2c2c35}.admin-empty{padding:18px 2px;color:var(--muted);font-size:13px}
.admin-login-wrap{min-height:70vh;display:grid;place-items:center}.admin-login-card{width:min(460px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px}.admin-login-card h1{margin:6px 0}.admin-login-card p{color:var(--muted)}.admin-login-card form{display:flex;gap:8px}.admin-login-card input{flex:1;border:1px solid var(--line);border-radius:10px;padding:12px}.admin-login-card button{border:0;border-radius:10px;padding:12px 16px;background:var(--purple);color:#fff;font-weight:850;cursor:pointer}
@media(max-width:900px){.admin-kpis{grid-template-columns:repeat(2,1fr)}.admin-catalogue-strip{grid-template-columns:repeat(2,1fr)}.admin-two{grid-template-columns:1fr}.admin-tr{grid-template-columns:minmax(0,1fr) 65px 70px 70px}.admin-chart{height:240px}}


/* v0.23.0 product videos */
.product-videos{max-width:1110px;margin:18px auto 28px}
.product-videos-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}
.product-videos-head h2{margin:4px 0 0;font-size:24px;letter-spacing:-.025em}
.product-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.product-video-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.product-video-embed{position:relative;aspect-ratio:16/9;background:#111}
.product-video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.product-video-meta{padding:12px 13px 14px;display:grid;gap:5px}
.product-video-meta b{font-size:13px;line-height:1.35}
.product-video-meta span{font-size:11px;color:var(--muted)}
@media(max-width:900px){
  .product-video-grid{grid-template-columns:1fr}
  .product-videos{margin-top:14px}
}

/* Header: brand left, main links center, account links right */
.topbar {
    position: relative;
}

.topbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}


/* ===== Pirma Kaina responsive header ===== */

.topbar {
    position: relative;
}

.topbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.mobile-menu-button,
.mobile-menu {
    display: none;
}

.mobile-menu-button {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 9px;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    background: #111;
    margin: 5px 0;
    border-radius: 2px;
}

@media (max-width: 760px) {

    .topbar-center,
    .topbar-right {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

    .mobile-menu {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        z-index: 1000;
        background: #fff;
        border: 1px solid #e2e4eb;
        border-radius: 16px;
        padding: 10px;
        box-shadow: 0 12px 32px rgba(0,0,0,.10);
    }

    body.mobile-menu-open .mobile-menu {
        display: flex;
        flex-direction: column;
    }

    .mobile-menu a {
        padding: 13px 14px;
        border-radius: 10px;
        text-decoration: none;
        color: #111;
        font-weight: 700;
    }

    .mobile-menu a:hover {
        background: #f4f1ff;
        color: #6d4aff;
    }
}


/* FIX: mobile menu must stay hidden on desktop */
.topbar .mobile-menu {
    display: none !important;
}

@media (max-width: 760px) {

    .topbar .topbar-center,
    .topbar .topbar-right {
        display: none !important;
    }

    .topbar .mobile-menu-button {
        display: block !important;
        margin-left: auto;
    }

    body.mobile-menu-open .topbar .mobile-menu {
        display: flex !important;
        flex-direction: column;
    }
}


/* Admin – naujų parduotuvių užklausų badge */
.shop-request-kpi .shop-request-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:max-content;
    padding:5px 10px;
    margin-top:4px;
    border-radius:999px;
    background:#f3efff;
    color:#6d4aff;
    font-size:14px;
    font-weight:800;
    line-height:1;
}

.shop-request-kpi .shop-request-badge::before{
    content:"●";
    margin-right:6px;
    font-size:9px;
}

.shop-request-kpi a{
    color:#6d4aff;
    font-weight:700;
    text-decoration:none;
}

.shop-request-kpi a:hover{
    text-decoration:underline;
}


/* Admin video papildymo statistika */
.video-status-panel{
    margin-top:22px;
}

.video-status-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
    margin-top:18px;
}

.video-status-grid > div{
    background:#fafafe;
    border:1px solid #ececf3;
    border-radius:14px;
    padding:14px;
}

.video-status-grid small{
    display:block;
    color:#737887;
    margin-bottom:6px;
}

.video-status-grid b{
    display:block;
    font-size:24px;
}

.video-progress-label{
    font-size:26px;
    font-weight:800;
    color:#7657ff;
}

.video-progress{
    height:12px;
    background:#ececf3;
    border-radius:999px;
    overflow:hidden;
    margin-top:20px;
}

.video-progress-bar{
    height:100%;
    background:#7657ff;
    border-radius:999px;
    transition:width .3s ease;
}

.video-progress-meta{
    display:flex;
    justify-content:space-between;
    gap:16px;
    margin-top:8px;
    font-size:13px;
    color:#667085;
}

@media(max-width:800px){
    .video-status-grid{
        grid-template-columns:1fr 1fr;
    }

    .video-progress-meta{
        flex-direction:column;
        gap:4px;
    }
}


/* =========================================================
   Pirma Kaina homepage redesign
   ========================================================= */

.home-search-hero {
    background:#fff;
    border-bottom:1px solid var(--line);
    padding:58px 24px 54px;
}

.home-search-inner {
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.home-search-inner h1 {
    margin:0;
    font-size:clamp(40px,6vw,62px);
    line-height:1.02;
    letter-spacing:-.05em;
}

.home-search-inner > p {
    margin:14px auto 28px;
    color:var(--muted);
    font-size:18px;
}

.home-main-search {
    max-width:820px;
    margin:0 auto;
}

.home-main-search form {
    display:flex;
    padding:7px;
    background:#fff;
    border:2px solid var(--purple);
    border-radius:16px;
    box-shadow:0 10px 32px rgba(50,45,90,.10);
}

.home-main-search input {
    flex:1;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    padding:14px 16px;
    font-size:17px;
}

.home-main-search button {
    border:0;
    border-radius:11px;
    padding:0 28px;
    background:var(--purple);
    color:#fff;
    font-weight:850;
    cursor:pointer;
}

.home-search-tools {
    margin-top:14px;
    display:flex;
    justify-content:center;
    gap:8px;
}

.home-search-tools button {
    border:0;
    background:transparent;
    color:var(--muted);
    font-size:12px;
    font-weight:750;
    cursor:pointer;
    padding:7px 10px;
}

.home-search-tools button:hover {
    color:var(--purple);
}

.home-extra-search {
    display:none;
    max-width:650px;
    margin:12px auto 0;
}

.home-extra-search.open {
    display:block;
}

.home-extra-search form {
    display:flex;
    gap:8px;
}

.home-extra-search input {
    flex:1;
    min-width:0;
    padding:12px;
    border:1px solid var(--line);
    border-radius:10px;
}

.home-extra-search button {
    border:0;
    border-radius:10px;
    padding:0 18px;
    background:#eeeaff;
    color:var(--purple);
    font-weight:800;
}

.home-section-head {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.home-section-head h2 {
    font-size:28px;
    margin:5px 0 0;
    letter-spacing:-.035em;
}

.home-section-head > a {
    color:var(--purple);
    font-weight:800;
    font-size:13px;
}

.home-categories {
    padding-top:38px;
    padding-bottom:25px;
}

.home-category-grid {
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:12px;
}

.home-category-card {
    min-height:155px;
    padding:18px 15px;
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid var(--line);
    border-radius:15px;
    transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.home-category-card:hover {
    border-color:#cfc5ff;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(30,30,60,.06);
}

.home-category-icon {
    font-size:30px;
    height:52px;
    display:flex;
    align-items:center;
}

.home-category-card strong {
    font-size:14px;
    line-height:1.3;
}

.home-category-card small {
    margin-top:auto;
    padding-top:12px;
    color:var(--purple);
    font-weight:750;
    font-size:11px;
}

.home-category-all {
    background:#f5f2ff;
}

.home-products {
    padding-top:25px;
}

.home-benefits {
    background:#fff;
    border-top:1px solid var(--line);
    margin-top:10px;
}

.home-benefit-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:50px;
    padding-top:45px;
    padding-bottom:45px;
}

.home-benefit-grid > div {
    display:grid;
    grid-template-columns:45px 1fr;
    column-gap:12px;
}

.home-benefit-grid b {
    grid-row:1/3;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:#f1edff;
    color:var(--purple);
    font-size:18px;
}

.home-benefit-grid strong {
    font-size:14px;
}

.home-benefit-grid span {
    margin-top:4px;
    color:var(--muted);
    font-size:12px;
    line-height:1.45;
}

@media (max-width:950px) {
    .home-category-grid {
        grid-template-columns:repeat(3,1fr);
    }
}

@media (max-width:600px) {
    .home-search-hero {
        padding:38px 16px 35px;
    }

    .home-search-inner h1 {
        font-size:38px;
    }

    .home-search-inner > p {
        font-size:15px;
    }

    .home-main-search form {
        padding:5px;
    }

    .home-main-search input {
        padding:12px 10px;
        font-size:15px;
    }

    .home-main-search button {
        padding:0 16px;
    }

    .home-search-tools {
        flex-wrap:wrap;
    }

    .home-extra-search form {
        display:grid;
    }

    .home-extra-search button {
        min-height:44px;
    }

    .home-category-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .home-category-card {
        min-height:135px;
    }

    .home-section-head {
        align-items:flex-start;
    }

    .home-benefit-grid {
        grid-template-columns:1fr;
        gap:25px;
    }
}



/* =========================================================
   Category page – price comparison layout
   ========================================================= */

.category-page{
    padding-top:30px;
}

.category-breadcrumb{
    display:flex;
    align-items:center;
    gap:7px;
    margin-bottom:24px;
    color:var(--muted);
    font-size:12px;
}

.category-breadcrumb a{
    color:var(--purple);
    font-weight:750;
}

.category-title-row{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:28px;
}

.category-title-row h1{
    margin:5px 0 7px;
    font-size:40px;
    line-height:1.05;
    letter-spacing:-.045em;
}

.category-title-row p{
    margin:0;
    color:var(--muted);
    font-size:14px;
}

.category-product-count{
    display:flex;
    align-items:baseline;
    gap:6px;
    white-space:nowrap;
}

.category-product-count b{
    font-size:27px;
}

.category-product-count span{
    color:var(--muted);
    font-size:13px;
}


/* main layout */

.category-layout{
    display:grid;
    grid-template-columns:245px minmax(0,1fr);
    gap:24px;
    align-items:start;
}


/* sidebar */

.category-sidebar{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    overflow:hidden;
    position:sticky;
    top:135px;
}

.category-filter-head{
    padding:17px 18px;
    border-bottom:1px solid var(--line);
    font-size:15px;
}

.category-filter-section{
    padding:17px 18px;
    border-bottom:1px solid var(--line);
}

.category-filter-section:last-child{
    border-bottom:0;
}

.category-filter-label{
    display:block;
    font-size:12px;
    font-weight:850;
    margin-bottom:10px;
}

.category-sort-link{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:8px 9px;
    margin:2px -9px;
    border-radius:9px;
    font-size:12px;
    color:#454754;
}

.category-sort-link:hover{
    background:#f6f4ff;
    color:var(--purple);
}

.category-sort-link.active{
    background:#f0edff;
    color:var(--purple);
    font-weight:800;
}

.category-price-preview{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
}

.category-price-preview input{
    width:100%;
    min-width:0;
    border:1px solid var(--line);
    border-radius:9px;
    padding:9px;
    background:#fafafa;
}

.category-filter-coming small{
    display:inline-block;
    margin-top:8px;
    padding:3px 6px;
    border-radius:999px;
    background:#f3f0ff;
    color:var(--purple);
    font-size:9px;
    font-weight:850;
}

.category-filter-placeholder{
    color:var(--muted);
    font-size:11px;
    line-height:1.45;
}


/* results */

.category-results{
    min-width:0;
}

.category-results-head{
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:14px;
}

.category-results-head>div:first-child{
    display:flex;
    align-items:baseline;
    gap:8px;
}

.category-results-head strong{
    font-size:18px;
}

.category-results-head span{
    color:var(--muted);
    font-size:12px;
}

.category-desktop-sort{
    display:flex;
    align-items:center;
    gap:9px;
}

.category-desktop-sort select{
    border:1px solid var(--line);
    background:#fff;
    border-radius:10px;
    padding:9px 34px 9px 11px;
    font-size:12px;
}

.category-product-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

/* category cards slightly denser than homepage */

.category-product-grid .card{
    border-radius:14px;
}

.category-product-grid .card-img{
    height:195px;
}

.category-product-grid .card-body{
    padding:14px;
}

.category-product-grid .name{
    font-size:13px;
    line-height:1.35;
}


/* mobile filter */

.category-toolbar-mobile{
    display:none;
}


/* tablet */

@media(max-width:1050px){

    .category-product-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}


/* mobile */

@media(max-width:760px){

    .category-page{
        padding-top:20px;
    }

    .category-title-row{
        align-items:flex-start;
    }

    .category-title-row h1{
        font-size:32px;
    }

    .category-product-count{
        display:none;
    }

    .category-layout{
        grid-template-columns:1fr;
    }

    .category-toolbar-mobile{
        display:block;
        margin-bottom:12px;
    }

    .category-toolbar-mobile button{
        width:100%;
        border:1px solid var(--line);
        background:#fff;
        border-radius:11px;
        padding:12px;
        font-weight:800;
        cursor:pointer;
    }

    .category-sidebar{
        display:none;
        position:static;
    }

    .category-sidebar.mobile-open{
        display:block;
    }

    .category-desktop-sort{
        display:none;
    }

    .category-results-head{
        min-height:auto;
    }

}


/* small phone */

@media(max-width:540px){

    .category-product-grid{
        grid-template-columns:1fr;
    }

}

/* Live category filters */

.category-filter-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.category-filter-head a{
    color:var(--purple);
    font-size:10px;
    font-weight:800;
}

.category-brand-list{
    max-height:280px;
    overflow:auto;
    padding-right:3px;
}

.category-brand-option{
    display:grid;
    grid-template-columns:18px 1fr auto;
    align-items:center;
    gap:7px;
    min-height:31px;
    cursor:pointer;
    font-size:12px;
}

.category-brand-option input{
    accent-color:#7657ff;
}

.category-brand-option small{
    color:var(--muted);
    font-size:10px;
}

.category-filter-submit{
    width:100%;
    border:0;
    border-radius:10px;
    padding:11px 14px;
    background:var(--purple);
    color:#fff;
    font-weight:850;
    cursor:pointer;
}

.category-filter-submit:hover{
    filter:brightness(.97);
}

.category-active-filters{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:-2px 0 14px;
}

.category-active-filters span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 9px;
    background:#f0edff;
    color:#5f43db;
    border-radius:999px;
    font-size:10px;
    font-weight:800;
}

.category-active-filters a{
    color:#5f43db;
    font-size:14px;
    line-height:1;
}


/* Category active filter chips */

.category-filter-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.category-chip-remove{
    width:18px;
    height:18px;
    padding:0;
    border:0;
    border-radius:50%;
    background:rgba(118,87,255,.12);
    color:#5f43db;
    display:grid;
    place-items:center;
    cursor:pointer;
    font-size:14px;
    line-height:1;
}

.category-chip-remove:hover{
    background:#7657ff;
    color:#fff;
}

.category-clear-all{
    border:0;
    background:transparent;
    color:#6f7280;
    padding:6px 8px;
    cursor:pointer;
    font-size:10px;
    font-weight:750;
}

.category-clear-all:hover{
    color:#7657ff;
    text-decoration:underline;
}


/* Category pagination */

.category-pagination-wrap{
    margin-top:28px;
    padding-top:20px;
    border-top:1px solid var(--line);
}

.category-pagination-info{
    margin-bottom:12px;
    color:var(--muted);
    font-size:11px;
}

.category-pagination{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
}

.category-pagination button{
    min-width:36px;
    height:36px;
    padding:0 11px;
    border:1px solid var(--line);
    border-radius:9px;
    background:#fff;
    color:#333;
    font-weight:750;
    cursor:pointer;
}

.category-pagination button:hover{
    border-color:#c9c0ff;
    color:var(--purple);
}

.category-pagination button.active{
    background:var(--purple);
    border-color:var(--purple);
    color:#fff;
}

.category-pagination-dots{
    padding:0 4px;
    color:var(--muted);
}

@media(max-width:600px){

    .category-pagination{
        justify-content:center;
    }

    .category-pagination-info{
        text-align:center;
    }

}


/* Category price range */

.category-price-filter{
    width:100%;
}

.category-price-range-labels{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-bottom:8px;
    color:var(--muted);
    font-size:10px;
    font-weight:700;
}

.category-price-sliders{
    position:relative;
    height:28px;
    margin:2px 2px 9px;
}

.category-price-sliders::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:13px;
    height:4px;
    border-radius:999px;
    background:#e8e5f5;
}

.category-price-sliders input[type="range"]{
    position:absolute;
    left:0;
    top:4px;
    width:100%;
    height:20px;
    margin:0;
    padding:0;
    background:transparent;
    pointer-events:none;
    appearance:none;
    -webkit-appearance:none;
}

.category-price-sliders input[type="range"]::-webkit-slider-thumb{
    width:18px;
    height:18px;
    border-radius:50%;
    border:3px solid #fff;
    background:var(--purple);
    box-shadow:0 1px 5px rgba(45,35,90,.30);
    pointer-events:auto;
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
}

.category-price-sliders input[type="range"]::-moz-range-thumb{
    width:14px;
    height:14px;
    border-radius:50%;
    border:3px solid #fff;
    background:var(--purple);
    box-shadow:0 1px 5px rgba(45,35,90,.30);
    pointer-events:auto;
    cursor:pointer;
}

.category-price-sliders input[type="range"]::-moz-range-track{
    background:transparent;
    border:0;
}


/* =========================================================
   Pirma Kaina — desktop header v3
   SAFE additive override
   ========================================================= */

@media (min-width: 901px) {

    .topbar {
        height: 76px;
        padding-left: max(24px, calc((100vw - 1280px) / 2));
        padding-right: max(24px, calc((100vw - 1280px) / 2));
        display: grid;
        grid-template-columns: 240px 1fr 300px;
        align-items: center;
        gap: 28px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .brand {
        justify-self: start;
        display: flex;
        align-items: center;
        gap: 11px;
        white-space: nowrap;
    }

    .brand span {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 20px;
    }

    .brand b {
        font-size: 22px;
        letter-spacing: -.02em;
    }

    .topbar-center {
        justify-self: center;
        display: flex;
        align-items: center;
        gap: 34px !important;
    }

    .topbar-center a {
        font-size: 14px;
        font-weight: 800;
    }

    .topbar-right {
        justify-self: end;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 26px !important;
    }

    .topbar-right a {
        font-size: 14px;
        font-weight: 800;
        white-space: nowrap;
    }

    .topbar a {
        transition: color .15s ease;
    }

    .topbar a:hover {
        color: var(--purple);
    }

    .category-nav {
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .category-nav-inner {
        max-width: 1280px;
        margin: 0 auto;
        min-height: 48px;
        padding: 0 24px;
        display: flex;
        align-items: center;
        gap: 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .category-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .category-nav-inner a {
        flex: 0 0 auto;
        padding: 9px 13px;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 750;
        white-space: nowrap;
    }

    .category-nav-inner a:hover {
        background: #f5f2ff;
        color: var(--purple);
    }

    .category-nav-inner .category-all {
        background: #f0edff;
        color: var(--purple);
        font-weight: 850;
    }

    .category-nav-inner a small {
        margin-left: 4px;
        font-size: 10px;
        font-weight: 600;
        color: var(--muted);
    }
}


/* =========================================================
   Header search – Idealo tipo paieška
   ========================================================= */

@media (min-width:901px){

    .topbar{
        grid-template-columns:220px minmax(420px,1fr) 290px;
        gap:26px;
    }

    .header-search-wrap{
        position:static !important;
        left:auto !important;
        transform:none !important;
        width:100%;
        max-width:none;
        justify-self:stretch;
    }

    .header-search{
        width:100%;
        height:48px;
        display:flex;
        align-items:center;
        overflow:hidden;
        background:#fff;
        border:2px solid #2d2e35;
        border-radius:10px;
        transition:border-color .15s ease, box-shadow .15s ease;
    }

    .header-search:focus-within{
        border-color:var(--purple);
        box-shadow:0 0 0 3px rgba(109,74,255,.10);
    }

    .header-search-icon{
        padding-left:15px;
        color:#686b75;
        font-size:20px;
        line-height:1;
    }

    .header-search input{
        flex:1;
        min-width:0;
        height:100%;
        border:0;
        outline:0;
        background:transparent;
        padding:0 13px;
        color:var(--text);
        font-size:15px;
    }

    .header-search input::placeholder{
        color:#818590;
    }

    .header-search button{
        align-self:stretch;
        border:0;
        padding:0 22px;
        background:var(--purple);
        color:#fff;
        font-weight:850;
        cursor:pointer;
    }

    .header-search button:hover{
        background:#5e3fe8;
    }

}


/* =========================================================
   Header action icons
   ========================================================= */

@media (min-width:901px){

    .header-actions{
        display:flex !important;
        align-items:center;
        justify-content:flex-end;
        gap:18px !important;
    }

    .header-action{
        min-width:58px;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:2px;
        color:#2c2d35;
        line-height:1;
    }

    .header-action-icon{
        height:24px;
        display:flex;
        align-items:center;
        justify-content:center;
        font-size:21px;
        line-height:1;
    }

    .header-action small{
        margin-top:3px;
        font-size:10px;
        font-weight:750;
        white-space:nowrap;
        color:#555966;
    }

    .header-action:hover,
    .header-action:hover small{
        color:var(--purple);
    }

    .category-shops-link{
        margin-left:auto;
        font-weight:850 !important;
    }

}


/* =========================================================
   Category filter accordion
   ========================================================= */

.filter-collapsible-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    cursor:pointer;
    user-select:none;
}

.filter-collapse-arrow{
    margin-left:auto;
    font-size:16px;
    font-weight:800;
    color:#89909d;
    transition:transform .15s ease;
}

.filter-collapsible-content{
    margin-top:12px;
}

.filter-collapsible.collapsed .filter-collapsible-content{
    display:none;
}

.filter-collapsible.collapsed .filter-collapsible-title{
    margin-bottom:0;
}


/* Header – Pardavėjams / Kainos */

@media(min-width:901px){

    .topbar{
        grid-template-columns:220px minmax(420px,1fr) 250px;
    }

    .header-simple-actions{
        display:flex !important;
        justify-content:flex-end;
        align-items:center;
        gap:12px !important;
    }

    .header-simple-link{
        min-width:104px;
        min-height:48px;
        padding:7px 13px;
        border-radius:10px;
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:flex-start;
        line-height:1.15;
        transition:.15s ease;
    }

    .header-simple-link strong{
        font-size:13px;
        font-weight:850;
    }

    .header-simple-link small{
        margin-top:3px;
        font-size:9px;
        color:#737887;
        white-space:nowrap;
    }

    .header-simple-link:hover{
        background:#f3f0ff;
        color:var(--purple);
    }

}


/* =========================================================
   Homepage Populiariausi carousel
   ========================================================= */

.home-popular-showcase{
    padding:36px 0 28px;
    background:#fff;
    border-bottom:1px solid var(--line);
}

.home-popular-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}

.home-popular-head h1{
    margin:3px 0 0;
    font-size:30px;
    line-height:1.1;
}

.home-popular-arrows{
    display:flex;
    gap:8px;
}

.home-popular-arrows button{
    width:42px;
    height:42px;
    border:1px solid var(--line);
    border-radius:50%;
    background:#fff;
    color:#191a20;
    font-size:20px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 3px 10px rgba(0,0,0,.05);
}

.home-popular-arrows button:hover{
    border-color:var(--purple);
    color:var(--purple);
}

.home-popular-track{
    display:flex;
    gap:14px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;
    padding:2px 2px 12px;
    scrollbar-width:none;
}

.home-popular-track::-webkit-scrollbar{
    display:none;
}

.home-popular-item{
    flex:0 0 250px;
    min-width:0;
    scroll-snap-align:start;
}

.home-popular-item > *{
    height:100%;
}

@media(max-width:700px){

    .home-popular-showcase{
        padding:24px 0;
    }

    .home-popular-head h1{
        font-size:25px;
    }

    .home-popular-item{
        flex-basis:210px;
    }

}


/* Header simple actions */

@media(min-width:901px){

    .topbar{
        grid-template-columns:220px minmax(420px,1fr) 280px;
    }

    .header-simple-actions{
        display:flex !important;
        justify-content:flex-end;
        align-items:center;
        gap:8px !important;
    }

    .header-simple-link{
        min-width:120px;
        min-height:48px;
        padding:7px 12px;
        border-radius:10px;
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        text-align:center;
    }

    .header-simple-link strong{
        font-size:13px;
        font-weight:850;
    }

    .header-simple-link small{
        margin-top:3px;
        font-size:9px;
        color:#757986;
        white-space:nowrap;
    }

    .header-simple-link:hover{
        background:#f3f0ff;
        color:var(--purple);
    }

}


/* Header tagline */

.header-search-wrap{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.header-tagline{
    margin-top:4px;
    padding-left:4px;
    font-size:10px;
    line-height:1.2;
    font-weight:600;
    color:#777c88;
    letter-spacing:.01em;
}

@media(max-width:900px){
    .header-tagline{
        display:none;
    }
}


/* =========================================================
   Guest wishlist + login popup
   ========================================================= */

.product-heart{
    position:absolute;
    top:12px;
    right:12px;
    width:38px;
    height:38px;
    border:1px solid #e4e6eb;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:21px;
    line-height:1;
    cursor:pointer;
    z-index:3;
}

.product-heart:hover{
    border-color:#ff7a00;
    color:#ff7a00;
}

.pk-login-popup{
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;
}

.pk-login-popup.open{
    display:flex;
    align-items:center;
    justify-content:center;
}

.pk-login-popup-backdrop{
    position:absolute;
    inset:0;
    background:rgba(20,22,30,.48);
}

.pk-login-popup-card{
    position:relative;
    z-index:2;
    width:min(420px,calc(100% - 32px));
    padding:32px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 24px 70px rgba(0,0,0,.22);
    text-align:center;
}

.pk-login-popup-close{
    position:absolute;
    top:12px;
    right:14px;
    border:0;
    background:none;
    font-size:26px;
    cursor:pointer;
}

.pk-login-popup-heart{
    font-size:42px;
    margin-bottom:10px;
    color:#ff7a00;
}

.pk-login-popup-card h3{
    margin:0 0 10px;
    font-size:24px;
}

.pk-login-popup-card p{
    margin:0 auto 22px;
    max-width:320px;
    color:#656b78;
    line-height:1.5;
}

.pk-login-popup-actions{
    display:flex;
    gap:10px;
}

.pk-login-popup-actions a{
    flex:1;
    padding:12px 16px;
    border-radius:9px;
    font-weight:800;
    text-align:center;
}

.pk-login-primary{
    background:var(--purple);
    color:#fff !important;
}

.pk-login-secondary{
    border:1px solid var(--purple);
    color:var(--purple) !important;
    background:#fff;
}

@media(max-width:520px){
    .pk-login-popup-actions{
        flex-direction:column;
    }
}


/* =========================================================
   Search / Visos kategorijos – modern filters
   ========================================================= */

.search-modern-sidebar{
    align-self:start;
}

.search-modern-sidebar select{
    width:100%;
    height:42px;
    border:1px solid #dfe2e9;
    border-radius:9px;
    background:#fff;
    padding:0 10px;
}

.search-modern-sidebar .category-brand-list{
    max-height:290px;
    overflow-y:auto;
}

.search-modern-sidebar .filter-collapsible-title{
    cursor:pointer;
    user-select:none;
}

.search-modern-sidebar .collapsed .filter-collapsible-content{
    display:none;
}


/* =========================================================
   Category mega menu
   ========================================================= */

.category-nav-shell{
    position:relative;
    background:#fff;
    border-bottom:1px solid var(--line);
    z-index:40;
}

.category-nav{
    border-bottom:0;
}

.category-nav-inner{
    overflow:hidden;
}

.category-nav-inner > a{
    flex:0 0 auto;
    white-space:nowrap;
}

.category-mega-toggle{
    border:0;
    cursor:pointer;
    font:inherit;
    white-space:nowrap;
}

.category-mega-chevron{
    margin-left:5px;
    font-size:11px;
}

.category-mega-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    border-top:1px solid #eceef3;
    border-bottom:1px solid #dfe2e8;
    box-shadow:0 18px 45px rgba(20,25,40,.12);
    z-index:500;
}

.category-mega-menu.open{
    display:block;
}

.category-mega-inner{
    width:min(1180px,calc(100% - 40px));
    margin:0 auto;
    padding:24px 0 30px;
}

.category-mega-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding-bottom:18px;
    margin-bottom:18px;
    border-bottom:1px solid #eceef3;
}

.category-mega-top strong{
    font-size:21px;
    font-weight:900;
}

.category-mega-top a{
    font-size:13px;
    font-weight:800;
    color:var(--purple);
}

.category-mega-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:32px 38px;
}

.category-mega-group h3{
    margin:0 0 11px;
    font-size:14px;
    font-weight:900;
}

.category-mega-group > a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:31px;
    padding:5px 7px;
    margin:0 -7px;
    border-radius:7px;
    font-size:13px;
}

.category-mega-group > a:hover{
    background:#f3f0ff;
    color:var(--purple);
}

.category-mega-group small{
    flex:0 0 auto;
    color:#9aa0ad;
    font-size:10px;
}

body.category-menu-open{
    overflow:hidden;
}

@media(max-width:900px){

    .category-mega-menu{
        position:fixed;
        top:0;
        bottom:0;
        overflow-y:auto;
    }

    .category-mega-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}

@media(max-width:560px){

    .category-mega-grid{
        grid-template-columns:1fr;
    }

}


/* =========================================================
   Header search autocomplete
   ========================================================= */

.header-search-wrap{
    position:relative;
}

.header-search-suggestions{
    position:absolute;
    top:calc(100% + 6px);
    left:0;
    right:0;
    z-index:1200;
    background:#fff;
    border:1px solid #dfe2e8;
    border-radius:12px;
    box-shadow:0 18px 45px rgba(20,25,40,.16);
    overflow:hidden;
}

.header-search-suggestions[hidden]{
    display:none;
}

.header-search-suggestion{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 12px;
    border-bottom:1px solid #eef0f4;
    color:inherit;
    text-decoration:none;
}

.header-search-suggestion:last-child{
    border-bottom:0;
}

.header-search-suggestion:hover,
.header-search-suggestion.active{
    background:#f6f4ff;
}

.header-search-suggestion img{
    width:46px;
    height:46px;
    object-fit:contain;
    flex:0 0 46px;
    background:#fff;
}

.header-search-suggestion-body{
    min-width:0;
    flex:1;
}

.header-search-suggestion-name{
    display:block;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.header-search-suggestion-meta{
    display:flex;
    gap:9px;
    margin-top:4px;
    font-size:10px;
    color:#7b808d;
}

.header-search-suggestion-price{
    margin-left:auto;
    flex:0 0 auto;
    font-size:13px;
    font-weight:900;
}

/* Autocomplete plotis = search baro plotis */

.header-search-wrap{
    position:relative;
}

.header-search{
    position:relative;
}

.header-search-suggestions{
    left:0;
    right:auto;
    width:100%;
    max-width:none;
}

.header-search-wrap .header-search-suggestions{
    width:100%;
}


.header-search{
    position:relative;
}

.header-search .header-search-suggestions{
    position:absolute;
    top:calc(100% + 6px);
    left:0;
    width:100%;
    right:auto;
}


/* FINAL autocomplete geometry override */

#headerSearchSuggestions{
    position:fixed !important;
    right:auto !important;
    margin:0 !important;
    max-width:none !important;
    box-sizing:border-box !important;
    z-index:5000 !important;
}


/* =========================================================
   Homepage all products
   ========================================================= */

.home-all-products{
    padding-top:42px;
    padding-bottom:60px;
}

.home-all-products .result-head h2{
    margin:4px 0 0;
    font-size:32px;
    line-height:1.1;
}

.home-all-products .category-brand-list{
    max-height:290px;
    overflow-y:auto;
}

.home-all-products .search-modern-sidebar select{
    width:100%;
    height:42px;
    padding:0 10px;
    border:1px solid #dfe2e9;
    border-radius:9px;
    background:#fff;
}

.home-filter-collapsible.collapsed .filter-collapsible-content{
    display:none;
}

.home-filter-collapsible .filter-collapsible-title{
    cursor:pointer;
    user-select:none;
}


/* Homepage Populiariausi – TOP 100 link */

.home-popular-actions{
  display:flex;
  align-items:center;
  gap:18px;
}

.home-popular-link{
  font-weight:700;
  color:#6c4cff;
  text-decoration:none;
  white-space:nowrap;
}

.home-popular-link:hover{
  text-decoration:underline;
}

@media (max-width:700px){
  .home-popular-actions{
    gap:10px;
  }

  .home-popular-link{
    font-size:14px;
  }
}


/* =========================================================
   Product card hover
   ========================================================= */

.card{
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  transform-origin:center center;
}

.card-img img{
  transition:transform .22s ease;
}

@media (hover:hover) and (pointer:fine){

  .card:hover{
    transform:translateY(-3px) scale(1.015);
    box-shadow:0 14px 34px rgba(25,30,45,.11);
    border-color:#d8dbe4;
    z-index:5;
  }

  .card:hover .card-img img{
    transform:scale(1.035);
  }

}



/* =========================================================
   Pirma Kaina — MOBILE UX FIX 2026-08-10
   ========================================================= */

@media (max-width:700px){

  /* ---------- HEADER ---------- */

  .topbar{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    align-items:center !important;
    gap:12px !important;
    padding:12px 16px !important;
  }

  .brand{
    grid-column:1 !important;
    grid-row:1 !important;
  }

  .mobile-menu-button{
    display:flex !important;
    grid-column:2 !important;
    grid-row:1 !important;
    position:relative !important;
    margin:0 !important;
  }

  .topbar-right{
    display:none !important;
  }


  /* ---------- MOBILE SEARCH ---------- */

  .topbar-center.header-search-wrap{
    display:block !important;
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  .header-search{
    display:flex !important;
    width:100% !important;
    height:46px !important;
  }

  .header-search input{
    display:block !important;
    min-width:0 !important;
    flex:1 1 auto !important;
    font-size:16px !important;
  }

  .header-search button{
    display:block !important;
    flex:0 0 auto !important;
    padding-left:16px !important;
    padding-right:16px !important;
  }


  /* ---------- BURGER MENU ---------- */

  .mobile-menu{
    display:none !important;
    position:absolute !important;
    top:100% !important;
    left:0 !important;
    right:0 !important;
    z-index:1000 !important;

    background:#fff !important;
    border-top:1px solid #eceef3 !important;
    border-bottom:1px solid #e2e4eb !important;
    box-shadow:0 14px 30px rgba(20,25,40,.10) !important;

    padding:8px 16px 14px !important;
  }

  body.mobile-menu-open .mobile-menu{
    display:flex !important;
    flex-direction:column !important;
  }

  .mobile-menu a{
    display:block !important;
    padding:14px 4px !important;
    border-bottom:1px solid #eef0f4 !important;
    color:#111 !important;
    text-decoration:none !important;
    font-weight:700 !important;
  }

  .mobile-menu a:last-child{
    border-bottom:0 !important;
  }


  /* ---------- CATEGORY HORIZONTAL SCROLL ---------- */

  .category-nav{
    overflow:hidden !important;
  }

  .category-nav-inner{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;

    -webkit-overflow-scrolling:touch;
    scroll-behavior:smooth;

    scrollbar-width:none;
    padding-right:20px !important;
  }

  .category-nav-inner::-webkit-scrollbar{
    display:none;
  }

  .category-nav-inner > a,
  .category-nav-inner > button{
    flex:0 0 auto !important;
    white-space:nowrap !important;
  }

  .category-all{
    position:sticky !important;
    left:0 !important;
    z-index:3 !important;
  }


  /* ---------- POPULIARIAUSI ---------- */

  .home-popular-showcase .wrap{
    padding-left:26px !important;
    padding-right:26px !important;
  }

  .home-popular-head{
    align-items:flex-end !important;
    gap:10px !important;
  }

  .home-popular-head h1{
    font-size:28px !important;
    line-height:1.1 !important;
  }

  .home-popular-actions{
    gap:8px !important;
  }

  .home-popular-link{
    font-size:13px !important;
    white-space:nowrap !important;
  }

  .home-popular-arrows{
    display:none !important;
  }

  .home-popular-track{
    display:flex !important;
    grid-template-columns:none !important;

    gap:14px !important;

    overflow-x:auto !important;
    overflow-y:visible !important;

    scroll-snap-type:x mandatory;
    scroll-padding-left:0;

    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .home-popular-track::-webkit-scrollbar{
    display:none;
  }

  .home-popular-item{
    flex:0 0 100% !important;
    width:100% !important;
    min-width:100% !important;

    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  .home-popular-item .card{
    width:100% !important;
    max-width:none !important;
  }


  /* ---------- ALL PRODUCTS HEADER ---------- */

  .home-all-products .search-results-head,
  .home-all-products .category-products-head{
    align-items:flex-start !important;
  }

  .home-all-products h1,
  .home-all-products h2{
    line-height:1.08 !important;
  }

}


/* labai maži telefonai */

@media (max-width:390px){

  .header-search button{
    padding-left:13px !important;
    padding-right:13px !important;
  }

  .home-popular-showcase .wrap{
    padding-left:18px !important;
    padding-right:18px !important;
  }

}


/* =========================================================
   HOMEPAGE MOBILE SEARCH + FILTERS
   ========================================================= */

.home-mobile-tools{
  display:none;
}


@media(max-width:900px){

  /* desktop sidebar mobiliame pradžioje paslėptas */

  .home-all-products .category-sidebar{
    display:none;
    position:static;
    top:auto;
    width:100%;
    margin:0 0 20px;
  }

  .home-all-products .category-sidebar.mobile-open{
    display:block;
  }


  /* mobili paieška + filtrai */

  .home-mobile-tools{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;
    margin:16px 0 20px;
  }


  .home-mobile-search{
    display:flex;
    align-items:center;
    min-width:0;
    height:48px;

    background:#fff;
    border:1px solid #dfe2e9;
    border-radius:13px;

    overflow:hidden;
  }


  .home-mobile-search-icon{
    flex:0 0 auto;
    padding-left:13px;
    color:#737887;
    font-size:20px;
  }


  .home-mobile-search input{
    flex:1 1 auto;
    min-width:0;
    height:100%;

    border:0;
    outline:0;
    background:transparent;

    padding:0 10px;

    font-size:16px;
    color:#17181d;
  }


  .home-mobile-search button{
    height:100%;
    flex:0 0 auto;

    border:0;
    padding:0 15px;

    background:#7657ff;
    color:#fff;

    font-size:13px;
    font-weight:800;
    cursor:pointer;
  }


  .home-mobile-filter-button{
    height:48px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;

    padding:0 15px;

    border:1px solid #dfe2e9;
    border-radius:13px;

    background:#fff;
    color:#17181d;

    font-weight:800;
    cursor:pointer;

    position:relative;
  }


  .home-mobile-filter-button.active{
    border-color:#7657ff;
    background:#f2efff;
    color:#6546ef;
  }


  .home-mobile-filter-button > span{
    font-size:18px;
  }


  .home-filter-active-dot{
    position:absolute;
    right:7px;
    top:7px;

    width:7px;
    height:7px;

    border-radius:50%;
    background:#7657ff;
  }


  /* atidaryti filtrai */

  .home-all-products .category-sidebar.mobile-open{
    border-radius:16px;
    margin-top:0;
    margin-bottom:22px;

    box-shadow:0 10px 30px rgba(30,35,60,.07);
  }


  .home-all-products .category-filter-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }


  .home-all-products .category-filter-submit{
    min-height:48px;
    font-size:15px;
  }

}


@media(max-width:560px){

  .home-all-products{
    padding-left:26px;
    padding-right:26px;
  }


  .home-mobile-tools{
    grid-template-columns:1fr;
    gap:9px;
  }


  .home-mobile-search{
    width:100%;
  }


  .home-mobile-filter-button{
    width:100%;
  }


  .home-all-products .result-head{
    display:flex;
    align-items:flex-start;
    gap:12px;
  }


  .home-all-products .result-head h2{
    font-size:30px;
  }


  .home-all-products .result-head > b{
    font-size:14px;
    line-height:1.35;
    text-align:right;
    max-width:90px;
  }

}


@media(max-width:390px){

  .home-all-products{
    padding-left:18px;
    padding-right:18px;
  }


  .home-mobile-search button{
    padding-left:12px;
    padding-right:12px;
  }

}


/* =========================================================
   HOME MOBILE — SEARCH + FILTERS BELOW POPULAR
   ========================================================= */

.home-mobile-product-controls{
  display:none;
}


@media(max-width:900px){

  .home-mobile-product-controls{
    display:block;
    background:#f7f8fc;
    border-top:1px solid #e7e9ef;
  }

  .home-mobile-product-controls-inner{
    max-width:1160px;
    margin:0 auto;
    padding:30px 26px 20px;
  }

  .home-mobile-search-title{
    margin-bottom:13px;
    font-size:20px;
    line-height:1.2;
    font-weight:850;
    color:#17181d;
  }


  /* SEARCH */

  .home-mobile-product-search{
    display:flex;
    align-items:center;
    width:100%;
    min-height:52px;

    border:1px solid #dfe2e9;
    border-radius:13px;
    background:#fff;

    overflow:hidden;
  }

  .home-mobile-product-search-icon{
    flex:0 0 auto;
    padding-left:15px;

    color:#707684;
    font-size:21px;
  }

  .home-mobile-product-search input{
    flex:1 1 auto;
    min-width:0;
    height:52px;

    border:0;
    outline:0;
    background:transparent;

    padding:0 12px;

    color:#17181d;
    font-size:16px;
  }

  .home-mobile-product-search button{
    flex:0 0 auto;
    align-self:stretch;

    min-width:92px;

    border:0;
    padding:0 17px;

    background:#6d4aff;
    color:#fff;

    font-weight:850;
    cursor:pointer;
  }


  /* FILTER BUTTON */

  .home-mobile-filter-toggle{
    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    width:100%;
    min-height:48px;

    margin-top:12px;
    padding:0 16px;

    border:1px solid #dfe2e9;
    border-radius:13px;

    background:#fff;
    color:#17181d;

    font-size:15px;
    font-weight:850;
    cursor:pointer;
  }

  .home-mobile-filter-icon{
    font-size:19px;
    line-height:1;
  }

  .home-mobile-filter-toggle.active{
    border-color:#7657ff;
    background:#f2efff;
    color:#6546ef;
  }

  .home-filter-active-dot{
    position:absolute;
    top:8px;
    right:9px;

    width:7px;
    height:7px;

    border-radius:50%;
    background:#7657ff;
  }


  /* HOME FILTER SIDEBAR */

  .home-all-products .category-sidebar{
    display:none !important;
    position:static !important;
    width:100% !important;
    top:auto !important;
    margin:0 0 22px !important;
  }

  .home-all-products .category-sidebar.mobile-open{
    display:block !important;
  }


  /* Visi produktai — po controls */

  .home-all-products{
    padding-top:22px !important;
  }

}


@media(max-width:560px){

  .home-mobile-product-controls-inner{
    padding-left:26px;
    padding-right:26px;
  }

  .home-mobile-product-search button{
    min-width:82px;
    padding-left:12px;
    padding-right:12px;
  }

  .home-mobile-search-title{
    font-size:19px;
  }

}


@media(max-width:390px){

  .home-mobile-product-controls-inner{
    padding-left:18px;
    padding-right:18px;
  }

}

/* Mobile: hide old header search bar */
@media (max-width:900px){
  .topbar-center.header-search-wrap{
    display:none !important;
  }

  .topbar{
    grid-template-rows:auto !important;
  }
}



/* =========================================================
   /PAIESKA MOBILE SEARCH + FILTERS
   ========================================================= */

.search-mobile-tools{
  display:none;
}

@media(max-width:900px){

  .search-wrap{
    padding-top:30px !important;
  }

  .search-mobile-tools{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin:18px 0 22px;
  }


  /* search */

  .search-mobile-search{
    display:flex;
    align-items:center;
    width:100%;
    min-height:52px;

    background:#fff;
    border:1px solid #dfe2e9;
    border-radius:13px;
    overflow:hidden;
  }

  .search-mobile-search-icon{
    flex:0 0 auto;
    padding-left:15px;
    color:#737887;
    font-size:20px;
  }

  .search-mobile-search input{
    flex:1 1 auto;
    min-width:0;
    height:52px;

    border:0;
    outline:0;
    background:transparent;

    padding:0 11px;

    font-size:16px;
    color:#17181d;
  }

  .search-mobile-search button{
    align-self:stretch;
    flex:0 0 auto;

    min-width:82px;
    border:0;
    padding:0 14px;

    background:#6d4aff;
    color:#fff;

    font-weight:850;
    cursor:pointer;
  }


  /* filter button */

  .search-mobile-filter-toggle{
    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    width:100%;
    min-height:48px;

    border:1px solid #dfe2e9;
    border-radius:13px;

    background:#fff;
    color:#17181d;

    font-size:15px;
    font-weight:850;
    cursor:pointer;
  }

  .search-mobile-filter-toggle.active{
    border-color:#7657ff;
    background:#f2efff;
    color:#6546ef;
  }

  .search-mobile-filter-dot{
    position:absolute;
    right:9px;
    top:8px;

    width:7px;
    height:7px;

    border-radius:50%;
    background:#7657ff;
  }


  /* esamas sidebar */

  .search-wrap .category-sidebar{
    display:none !important;
    position:static !important;
    width:100% !important;
    top:auto !important;
  }

  .search-wrap .category-sidebar.mobile-open{
    display:block !important;
    margin-bottom:20px;
  }

  .search-wrap .category-filter-submit{
    min-height:48px;
    font-size:15px;
  }

}


@media(max-width:560px){

  .search-wrap{
    padding-left:20px !important;
    padding-right:20px !important;
  }

  .search-wrap .result-head{
    align-items:flex-start !important;
    gap:12px;
  }

  .search-wrap .result-head h1{
    font-size:36px !important;
    line-height:1.05 !important;
  }

  .search-wrap .result-head > b{
    max-width:90px;
    text-align:right;
    line-height:1.3;
  }

}

/* Mobile: tighter spacing around homepage popular section */
@media (max-width:900px){

  .home-popular-showcase{
    padding-top:22px !important;
    padding-bottom:22px !important;
  }

  .home-popular-head{
    margin-bottom:14px !important;
  }

  .home-popular-track{
    margin-bottom:0 !important;
  }

  .home-popular-showcase + .home-mobile-product-controls{
    margin-top:0 !important;
  }

  .home-mobile-product-controls-inner{
    padding-top:20px !important;
  }

}

@media (max-width:560px){

  .home-popular-showcase{
    padding-top:8px !important;
    padding-bottom:8px !important;
  }

  .home-popular-head{
    margin-bottom:8px !important;
  }

  .home-mobile-product-controls-inner{
    padding-top:14px !important;
  }

}


/* Mobile: final spacing for homepage Populiariausi */
@media (max-width:560px){

  .home-popular-showcase{
    padding:0 !important;
  }

  .home-popular-showcase .wrap{
    max-width:1160px;
    margin:auto;
    padding:40px 33px 30px !important;
  }

}


/* =========================================================
   USER CABINET — MOBILE FIX
   ========================================================= */

@media (max-width:560px){

  .cabinet-head{
    display:block;
  }

  .cabinet-head h1,
  .cabinet-intro h1{
    font-size:32px;
    line-height:1.08;
  }

  .saved-grid{
    grid-template-columns:1fr !important;
    gap:14px;
  }

  .saved-card{
    display:block !important;
    width:100%;
    min-width:0;
    overflow:hidden;
  }

  .saved-image{
    width:100%;
    height:170px;
    padding:16px 18px 4px;
  }

  .saved-image img{
    width:100%;
    height:100%;
    object-fit:contain;
  }

  .saved-main{
    min-width:0;
    width:100%;
    padding:16px 18px 18px;
  }

  .saved-name{
    display:block;
    width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
    font-size:16px;
    line-height:1.3;
  }

  .saved-price{
    margin-top:10px;
  }

  .saved-price b{
    font-size:22px;
  }

  .price-sparkline{
    width:100%;
    height:70px;
    margin-top:10px;
    overflow:hidden;
  }

  .price-sparkline svg{
    display:block;
    width:100% !important;
    max-width:100% !important;
    height:100% !important;
    overflow:hidden !important;
  }

  .alert-box{
    width:100%;
    min-width:0;
    margin-top:12px;
  }

  .alert-create{
    width:100%;
  }

  .alert-create > div{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    align-items:center;
  }

  .alert-create input{
    width:100% !important;
    min-width:0;
    box-sizing:border-box;
  }

  .alert-create > div > span{
    display:none;
  }

  .alert-create button{
    width:auto;
    min-width:105px;
    white-space:nowrap;
  }

  .alert-status{
    gap:8px;
    flex-wrap:wrap;
  }

  .saved-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:flex-start;
    align-items:center;
  }

  .alert-events{
    padding:16px;
  }

  .alert-events-head{
    align-items:flex-start;
    gap:10px;
  }

  .alert-events-head h2{
    font-size:24px;
  }

  .ghost-button{
    max-width:135px;
    padding:9px 10px;
    line-height:1.2;
  }

  .alert-event{
    grid-template-columns:1fr auto !important;
    gap:6px 10px;
  }

  .alert-event span{
    min-width:0;
    overflow-wrap:anywhere;
  }

  .alert-event small{
    grid-column:1 / -1;
  }

}

/* =========================================================
   USER CABINET MOBILE — COMPACT CARD FIX
   ========================================================= */

@media (max-width:560px){

  .saved-card{
    display:grid !important;
    grid-template-columns:82px minmax(0,1fr) !important;
    width:100%;
    min-width:0;
    align-items:start;
    overflow:hidden;
  }

  .saved-image{
    width:82px !important;
    height:125px !important;
    padding:14px 6px 10px 12px !important;
    box-sizing:border-box;
  }

  .saved-image img{
    display:block;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    object-fit:contain !important;
  }

  .saved-main{
    width:auto !important;
    min-width:0 !important;
    padding:14px 12px 14px 8px !important;
    box-sizing:border-box;
    overflow:hidden;
  }

  .saved-name{
    display:block;
    width:100%;
    min-width:0;
    font-size:14px;
    line-height:1.25;
    overflow-wrap:anywhere;
  }

  .saved-price{
    margin-top:8px;
    font-size:13px;
  }

  .saved-price b{
    font-size:20px;
  }

  .saved-main > small{
    font-size:11px;
  }

  .price-sparkline{
    width:100%;
    max-width:100%;
    height:55px;
    overflow:hidden;
  }

  .price-sparkline svg{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
  }

  .alert-box{
    width:100%;
    min-width:0;
    overflow:hidden;
  }

  .alert-create > div{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:5px !important;
  }

  .alert-create input{
    width:100% !important;
    min-width:0 !important;
    padding:8px !important;
  }

  .alert-create button{
    min-width:0 !important;
    padding:8px 9px !important;
    font-size:12px;
  }

  .saved-actions{
    gap:6px;
    font-size:11px;
  }

}



/* =========================================================
   Pirma Kaina category browser v1
   ========================================================= */

@media (min-width:901px){

    .category-mega-menu{
        background:#f3f4f7;
        border-top:1px solid #e1e3e8;
        border-bottom:1px solid #d8dbe2;
        box-shadow:0 18px 45px rgba(20,25,40,.14);
    }

    .category-mega-inner.category-browser{
        width:min(1220px,calc(100% - 32px));
        height:650px;
        max-height:calc(100vh - 170px);
        margin:0 auto;
        padding:0;
        display:grid;
        grid-template-columns:270px minmax(0,1fr);
        background:#fff;
        overflow:hidden;
    }

    .category-browser-sidebar{
        background:#fff;
        border-right:1px solid #dfe2e8;
        overflow-y:auto;
    }

    .category-browser-parent{
        min-height:50px;
        display:flex;
        align-items:center;
        border-bottom:1px solid #eceef2;
        cursor:pointer;
        position:relative;
        transition:background .12s ease;
    }

    .category-browser-parent:hover,
    .category-browser-parent.active{
        background:#f3f0ff;
    }

    .category-browser-parent.active{
        box-shadow:inset 3px 0 0 var(--purple);
    }

    .category-browser-parent-link{
        flex:1;
        min-width:0;
        display:flex;
        align-items:center;
        gap:12px;
        padding:14px 12px 14px 17px;
        color:#20222a;
        font-size:14px;
        font-weight:750;
        text-decoration:none;
    }

    .category-browser-parent:hover .category-browser-parent-link,
    .category-browser-parent.active .category-browser-parent-link{
        color:var(--purple);
    }

    .category-browser-icon{
        width:22px;
        flex:0 0 22px;
        text-align:center;
        color:#686d78;
        font-size:15px;
    }

    .category-browser-arrow{
        flex:0 0 auto;
        padding-right:15px;
        color:#5d626d;
        font-size:25px;
        line-height:1;
    }

    .category-browser-content{
        background:#f4f5f8;
        overflow-y:auto;
        padding:24px 38px 38px;
    }

    .category-browser-panel{
        display:none;
    }

    .category-browser-panel.active{
        display:block;
    }

    .category-browser-heading{
        padding-bottom:17px;
        margin-bottom:17px;
        border-bottom:1px solid #dfe2e8;
    }

    .category-browser-heading a{
        color:#252832;
        font-size:20px;
        font-weight:900;
        text-decoration:none;
    }

    .category-browser-heading a:hover{
        color:var(--purple);
    }

    .category-browser-links{
        column-count:3;
        column-gap:50px;
    }

    .category-browser-links > a{
        display:flex;
        align-items:center;
        justify-content:space-between;
        break-inside:avoid;
        gap:10px;
        padding:7px 7px;
        margin:0 -7px 2px;
        border-radius:7px;
        color:#252832;
        font-size:13px;
        line-height:1.3;
        text-decoration:none;
    }

    .category-browser-links > a:hover{
        background:#ebe8ff;
        color:var(--purple);
    }

    .category-browser-links small{
        flex:0 0 auto;
        font-size:10px;
        color:#969ca8;
    }
}


@media (max-width:900px){

    .category-mega-inner.category-browser{
        width:100%;
        min-height:100%;
        margin:0;
        padding:0;
        display:block;
    }

    .category-browser-sidebar{
        background:#fff;
    }

    .category-browser-parent{
        min-height:52px;
        display:flex;
        align-items:center;
        border-bottom:1px solid #eceef2;
    }

    .category-browser-parent-link{
        flex:1;
        display:flex;
        align-items:center;
        gap:12px;
        padding:15px 18px;
        font-weight:750;
        text-decoration:none;
    }

    .category-browser-arrow{
        padding-right:18px;
        font-size:24px;
    }

    .category-browser-content{
        padding:18px;
        background:#f6f7f9;
    }

    .category-browser-panel{
        display:none;
    }

    .category-browser-panel.active{
        display:block;
    }

    .category-browser-heading{
        margin-bottom:15px;
    }

    .category-browser-heading a{
        font-size:18px;
        font-weight:900;
        text-decoration:none;
    }

    .category-browser-links{
        display:grid;
        grid-template-columns:1fr;
    }

    .category-browser-links a{
        padding:11px 4px;
        border-bottom:1px solid #eee;
        display:flex;
        justify-content:space-between;
        text-decoration:none;
    }
}


/* =========================================================
   Pirma Kaina – judanti kategorijų juosta
   ========================================================= */

@media (min-width:901px){

    .category-nav-inner{
        overflow:hidden !important;
        gap:10px !important;
    }

    .category-nav-inner .category-all{
        flex:0 0 auto;
        position:relative;
        z-index:3;
    }

    .category-ticker-viewport{
        flex:1 1 auto;
        min-width:0;
        overflow:hidden;
        position:relative;

        -webkit-mask-image:linear-gradient(
            to right,
            transparent 0,
            #000 18px,
            #000 calc(100% - 18px),
            transparent 100%
        );

        mask-image:linear-gradient(
            to right,
            transparent 0,
            #000 18px,
            #000 calc(100% - 18px),
            transparent 100%
        );
    }

    .category-ticker-track{
        display:flex;
        width:max-content;
        will-change:transform;
        animation:pkCategoryTicker 45s linear infinite;
    }

    .category-ticker-group{
        flex:0 0 auto;
        display:flex;
        align-items:center;
        gap:4px;
        padding-right:4px;
    }

    .category-ticker-group > a{
        flex:0 0 auto;
        white-space:nowrap;
    }

    .category-ticker-viewport:hover .category-ticker-track,
    .category-ticker-viewport:focus-within .category-ticker-track{
        animation-play-state:paused;
    }

    @keyframes pkCategoryTicker{
        from{
            transform:translateX(0);
        }
        to{
            transform:translateX(-50%);
        }
    }
}

/* Mobile – tik horizontalus swipe */
@media (max-width:900px){

    .category-nav-inner{
        overflow-x:auto !important;
    }

    .category-ticker-viewport{
        flex:0 0 auto;
        overflow:visible;
    }

    .category-ticker-track{
        display:block;
        width:auto;
        animation:none !important;
    }

    .category-ticker-group{
        display:flex;
        align-items:center;
        gap:4px;
    }

    .category-ticker-group[aria-hidden="true"]{
        display:none;
    }
}

@media (prefers-reduced-motion:reduce){
    .category-ticker-track{
        animation:none !important;
    }
}


/* =========================================================
   Pirma Kaina AI produkto paaiškinimas
   ========================================================= */

.product-ai-card{
    margin:28px 0;
    padding:24px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:20px;
}

.product-ai-head{
    margin-bottom:20px;
}

.product-ai-badge{
    display:inline-block;
    padding:6px 10px;
    border-radius:999px;
    background:#f1edff;
    color:var(--purple);
    font-size:11px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.product-ai-head h2{
    margin:10px 0 0;
    font-size:26px;
    letter-spacing:-.03em;
}

.product-ai-section{
    margin-top:20px;
}

.product-ai-section h3{
    margin:0 0 8px;
    font-size:17px;
}

.product-ai-section p{
    margin:0;
    line-height:1.65;
    color:#484852;
}

.product-ai-features{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px 24px;
    margin:0;
    padding-left:20px;
}

.product-ai-features li{
    line-height:1.45;
}

.product-ai-note{
    margin-top:20px;
    padding:14px 16px;
    border-radius:13px;
    background:#faf8ff;
    border:1px solid #ebe5ff;
}

.product-ai-note strong{
    display:block;
    margin-bottom:5px;
}

.product-ai-note p{
    margin:0;
    line-height:1.55;
}

.product-ai-sources{
    margin-top:18px;
    border-top:1px solid var(--line);
    padding-top:14px;
}

.product-ai-sources summary{
    cursor:pointer;
    font-size:13px;
    font-weight:800;
}

.product-ai-sources div{
    display:flex;
    flex-wrap:wrap;
    gap:8px 14px;
    margin-top:10px;
}

.product-ai-sources a{
    font-size:12px;
    color:var(--purple);
    font-weight:750;
}

.product-ai-disclaimer{
    display:block;
    margin-top:16px;
    color:var(--muted);
    line-height:1.45;
}

@media(max-width:700px){

    .product-ai-card{
        margin:20px 0;
        padding:18px;
        border-radius:16px;
    }

    .product-ai-head h2{
        font-size:22px;
    }

    .product-ai-features{
        grid-template-columns:1fr;
        gap:8px;
    }

}



/* =========================================================
   PRODUCT AI BLOCK — DESKTOP + MOBILE FIX
   ========================================================= */

/* Pats AI blokas nebeužima viso ekrano */
.product-ai-card{
    width:calc(100% - 32px);
    max-width:1180px;
    margin:32px auto;
    padding:24px 28px;
    box-sizing:border-box;
    overflow:hidden;
}

/* Ilgos nuorodos / tekstai negali išplėsti kortelės */
.product-ai-card,
.product-ai-card *{
    min-width:0;
}

.product-ai-card p,
.product-ai-card li,
.product-ai-card a{
    overflow-wrap:anywhere;
    word-break:normal;
}


/* ---------- VIRŠUS ---------- */

.product-ai-head{
    margin-bottom:22px;
}

.product-ai-head h2{
    margin:10px 0 0;
}


/* ---------- TURINYS ---------- */

/*
 Desktop'e Kas tai? ir Kam skirtas?
 rodomi kaip dvi tvarkingos turinio dalys.
 */

.product-ai-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:42px;
    row-gap:0;
}

.product-ai-head{
    grid-column:1 / -1;
}

/* pirmas paprastas AI section = Kas tai */
.product-ai-section{
    margin-top:0;
    margin-bottom:22px;
}

/*
 Pagrindinės savybės turi užimti visą plotį,
 nes jų sąrašas jau pats turi 2 stulpelius.
 */
.product-ai-section:has(.product-ai-features){
    grid-column:1 / -1;
}


/* ---------- SAVYBĖS ---------- */

.product-ai-features{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:42px;
    row-gap:10px;
    margin:0;
    padding-left:20px;
}

.product-ai-features li{
    padding-right:8px;
    line-height:1.5;
}


/* ---------- SVARBU ŽINOTI ---------- */

.product-ai-note{
    grid-column:1 / -1;
    margin:0 0 18px;
    padding:16px 18px;
    box-sizing:border-box;
}


/* ---------- ŠALTINIAI ---------- */

.product-ai-sources{
    grid-column:1 / -1;
    width:100%;
    box-sizing:border-box;
}

.product-ai-sources div{
    width:100%;
    box-sizing:border-box;
}

.product-ai-sources a{
    max-width:100%;
    overflow-wrap:anywhere;
}


/* ---------- DISCLAIMER ---------- */

.product-ai-disclaimer{
    grid-column:1 / -1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:900px){

    .product-ai-card{
        max-width:calc(100% - 28px);
        padding:22px;
        column-gap:26px;
    }

    .product-ai-features{
        column-gap:26px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:700px){

    html,
    body{
        max-width:100%;
        overflow-x:hidden;
    }

    .product-ai-card{
        display:block;

        width:calc(100% - 24px);
        max-width:none;

        margin:20px 12px;
        padding:16px;

        border-radius:16px;

        overflow:hidden;
        box-sizing:border-box;
    }

    .product-ai-head{
        margin-bottom:18px;
    }

    .product-ai-head h2{
        font-size:21px;
        line-height:1.2;
    }

    .product-ai-badge{
        font-size:10px;
        padding:5px 9px;
    }

    .product-ai-section{
        width:100%;
        margin:0 0 20px;
        box-sizing:border-box;
    }

    .product-ai-section h3{
        font-size:16px;
        margin-bottom:7px;
    }

    .product-ai-section p{
        width:100%;
        max-width:100%;
        font-size:14px;
        line-height:1.6;

        white-space:normal;
        overflow-wrap:anywhere;
    }


    /* savybės telefone tik vienu stulpeliu */

    .product-ai-features{
        display:block;
        width:100%;

        margin:0;
        padding-left:20px;

        box-sizing:border-box;
    }

    .product-ai-features li{
        width:auto;
        max-width:100%;

        margin:0 0 9px;
        padding:0;

        font-size:14px;
        line-height:1.5;

        white-space:normal;
        overflow-wrap:anywhere;
    }


    /* svarbi informacija */

    .product-ai-note{
        width:100%;
        max-width:100%;

        margin:4px 0 18px;
        padding:14px;

        box-sizing:border-box;
        border-radius:12px;
    }

    .product-ai-note p{
        font-size:13px;
        line-height:1.55;
        overflow-wrap:anywhere;
    }


    /* šaltiniai */

    .product-ai-sources{
        width:100%;
        max-width:100%;

        margin-top:12px;
        padding-top:12px;

        box-sizing:border-box;
        overflow:hidden;
    }

    .product-ai-sources div{
        display:block;
        width:100%;
    }

    .product-ai-sources a{
        display:block;

        width:100%;
        max-width:100%;

        margin:8px 0;

        font-size:12px;
        line-height:1.4;

        overflow-wrap:anywhere;
        word-break:break-word;
    }

    .product-ai-disclaimer{
        width:100%;
        max-width:100%;

        margin-top:14px;

        font-size:11px;
        line-height:1.5;

        overflow-wrap:anywhere;
    }

}


/* =========================================================
   PirmaKaina – L2 / L3 kategorijų medis mega meniu
   ========================================================= */

@media (min-width:901px){

    .category-browser-subgroup{
        break-inside:avoid;
        margin:0 0 18px;
    }

    .category-browser-subgroup-title{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
        padding:7px 7px;
        margin:0 -7px 5px;
        border-radius:7px;
        color:#252832;
        font-size:14px;
        font-weight:800;
        line-height:1.3;
        text-decoration:none;
    }

    .category-browser-subgroup-title:hover{
        background:#ebe8ff;
        color:var(--purple);
    }

    .category-browser-subgroup-links{
        display:flex;
        flex-direction:column;
        gap:1px;
        padding-left:10px;
    }

    .category-browser-subgroup-links > a{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
        padding:5px 7px;
        margin:0 -7px;
        border-radius:6px;
        color:#555b66;
        font-size:12px;
        line-height:1.3;
        text-decoration:none;
    }

    .category-browser-subgroup-links > a:hover{
        background:#f2f0ff;
        color:var(--purple);
    }
}

@media (max-width:900px){

    .category-browser-subgroup{
        margin:0 0 8px;
        border-bottom:1px solid #e5e7eb;
    }

    .category-browser-subgroup-title{
        display:flex;
        justify-content:space-between;
        gap:10px;
        padding:11px 4px;
        font-weight:800;
        text-decoration:none;
    }

    .category-browser-subgroup-links{
        padding:0 0 8px 14px;
    }

    .category-browser-subgroup-links > a{
        padding:8px 4px;
        border-bottom:0;
        font-size:13px;
        color:#555b66;
    }
}

/* PirmaKaina – L1 kategorijų ikonėlės */
.category-browser-icon{
    width:22px;
    height:22px;
    flex:0 0 22px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#606672;
}

.category-browser-icon svg{
    width:19px;
    height:19px;
    display:block;
}

.category-browser-parent:hover .category-browser-icon,
.category-browser-parent.active .category-browser-icon{
    color:var(--purple);
}

/* Admin merchant analytics */
.admin-merchants-row {
    grid-template-columns: 2fr repeat(5, 1fr);
}

/* Admin click price analytics */
.admin-price-row {
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

@media (max-width: 800px) {
    .admin-merchants-row {
        grid-template-columns: 1.5fr repeat(5, 1fr);
        min-width: 720px;
    }

    .admin-price-row {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        min-width: 600px;
    }
}

/* Admin SEO analytics */
.admin-seo-source-row {
    grid-template-columns: 1.7fr repeat(4, 1fr);
}

.admin-seo-landing-row {
    grid-template-columns: 3fr 1fr 1fr;
}

.admin-seo-landing-row a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 800px) {
    .admin-seo-source-row {
        grid-template-columns: 1.7fr repeat(4, 1fr);
        min-width: 650px;
    }

    .admin-seo-landing-row {
        grid-template-columns: 3fr 1fr 1fr;
        min-width: 600px;
    }
}


/* =========================================================
   Privacy / cookie consent
   ========================================================= */

.pk-consent[hidden],
.pk-consent-options[hidden] {
    display: none !important;
}

.pk-consent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dedee8;
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(0,0,0,.14);
    padding: 20px;
}

.pk-consent-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.pk-consent-main strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.pk-consent-main p {
    margin: 0;
    max-width: 690px;
    line-height: 1.5;
    color: #646477;
}

.pk-consent-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pk-consent button {
    cursor: pointer;
}

.pk-consent-primary {
    border: 0;
    border-radius: 10px;
    padding: 11px 17px;
    background: #6948ff;
    color: white;
    font-weight: 700;
}

.pk-consent-secondary {
    border: 1px solid #dedee8;
    border-radius: 10px;
    padding: 10px 16px;
    background: #fff;
    color: #17171d;
    font-weight: 600;
}

.pk-consent-link {
    border: 0;
    background: transparent;
    padding: 10px 8px;
    color: #6044ef;
    font-weight: 700;
}

.pk-consent-options {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #ececf2;
}

.pk-consent-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
}

.pk-consent-option strong,
.pk-consent-option small {
    display: block;
}

.pk-consent-option small {
    margin-top: 4px;
    color: #747486;
}

.pk-consent-option input[type="checkbox"] {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

.pk-consent-required {
    white-space: nowrap;
    color: #747486;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 800px) {

    .pk-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px;
    }

    .pk-consent-main {
        display: block;
    }

    .pk-consent-actions {
        margin-top: 16px;
    }

    .pk-consent-actions button {
        flex: 1 1 auto;
    }

}


/* =========================================================
   Recently viewed products
   ========================================================= */

.pk-recent-products[hidden] {
    display: none !important;
}

.pk-recent-products {
    margin-top: 28px;
    margin-bottom: 34px;
}

.pk-recent-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.pk-recent-head h2 {
    margin: 3px 0 0;
}

.pk-recent-clear {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    color: #686879;
    padding: 7px 0;
}

.pk-recent-clear:hover {
    color: #17171d;
}

.pk-recent-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 240px);
    gap: 16px;

    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;

    padding: 2px 2px 12px;
}

.pk-recent-card {
    min-width: 0;
    scroll-snap-align: start;
}

.pk-recent-track::-webkit-scrollbar {
    height: 7px;
}

.pk-recent-track::-webkit-scrollbar-thumb {
    background: #d7d7df;
    border-radius: 20px;
}

@media (max-width: 700px) {

    .pk-recent-products {
        margin-top: 20px;
        margin-bottom: 24px;
    }

    .pk-recent-head {
        align-items: center;
    }

    .pk-recent-head h2 {
        font-size: 22px;
    }

    .pk-recent-clear {
        font-size: 13px;
    }

    .pk-recent-track {
        grid-auto-columns: minmax(175px, 72vw);
        gap: 12px;
    }

}


/* =========================================================
   Homepage V2 discovery
   ========================================================= */

.home-section-subtitle {
    margin: 6px 0 0;
    color: #737384;
    font-size: 14px;
}

.home-discovery {
    margin-top: 26px;
    margin-bottom: 34px;
}

.home-discovery-block {
    margin-bottom: 34px;
}

.home-discovery-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.home-discovery-head h2 {
    margin: 3px 0 0;
}

.home-discovery-link {
    font-weight: 700;
    text-decoration: none;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.home-category-card {
    display: flex;
    flex-direction: column;
    gap: 5px;

    min-height: 126px;
    padding: 18px;

    text-decoration: none;
    color: inherit;

    background: #fff;
    border: 1px solid #e5e5ec;
    border-radius: 16px;

    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease;
}

.home-category-card:hover {
    transform: translateY(-2px);
    border-color: #d5d3e8;
    box-shadow: 0 10px 30px rgba(20,20,40,.07);
}

.home-category-icon {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 7px;
}

.home-category-card strong {
    font-size: 15px;
    line-height: 1.3;
}

.home-category-card small {
    color: #7a7a8b;
}

.home-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-search-chip {
    display: inline-flex;
    align-items: center;

    padding: 9px 14px;

    border: 1px solid #e3e3eb;
    border-radius: 999px;

    background: #fff;
    color: #353541;

    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.home-search-chip:hover {
    border-color: #cbc7f2;
    background: #f7f6ff;
}

@media (max-width: 1000px) {

    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 650px) {

    .home-discovery {
        margin-top: 20px;
        margin-bottom: 24px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-category-card {
        min-height: 108px;
        padding: 14px;
    }

    .home-category-icon {
        font-size: 24px;
    }

    .home-search-chips {
        gap: 8px;
    }

    .home-search-chip {
        padding: 8px 11px;
        font-size: 13px;
    }

}

/* Homepage V2 compact vertical rhythm */

.pk-recent-products {
    margin-top: 32px;
    margin-bottom: 40px;
}

.home-discovery {
    margin-top: 0;
    margin-bottom: 40px;
}

.home-discovery-block {
    margin-bottom: 0;
}

.home-popular-showcase {
    margin-top: 0;
    margin-bottom: 40px;
}

.home-trending-searches {
    margin-top: 0;
    margin-bottom: 42px;
}

.home-all-products {
    scroll-margin-top: 120px;
}

@media (max-width: 700px) {

    .pk-recent-products,
    .home-discovery,
    .home-popular-showcase,
    .home-trending-searches {
        margin-bottom: 28px;
    }

}

.home-category-select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dedee7;
    border-radius: 9px;
    background: #fff;
    font: inherit;
    color: #2d2d38;
    cursor: pointer;
}

.home-category-select:focus {
    outline: none;
    border-color: #6b4eff;
    box-shadow: 0 0 0 3px rgba(107,78,255,.08);
}

/* Homepage V2 tighter spacing */

.pk-recent-products {
    margin-top: 24px !important;
    margin-bottom: 28px !important;
}

.home-discovery {
    margin-top: 0 !important;
    margin-bottom: 28px !important;
}

.home-discovery-block {
    margin-bottom: 0 !important;
}

.home-popular-showcase {
    margin-top: 0 !important;
    margin-bottom: 28px !important;
}

.home-trending-searches {
    margin-top: 0 !important;
    margin-bottom: 30px !important;
}

.home-all-products {
    margin-top: 0 !important;
}

@media (max-width: 700px) {
    .pk-recent-products,
    .home-discovery,
    .home-popular-showcase,
    .home-trending-searches {
        margin-bottom: 22px !important;
    }
}


/* =========================================================
   HOMEPAGE V2 — FINAL SECTION SPACING
   Šitas blokas yra galutinis homepage tarpų autoritetas.
   ========================================================= */

/* Jūsų žiūrėtos prekės */
.pk-recent-products {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Populiarios kategorijos / Kiti dabar ieško */
.home-discovery {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home-discovery-block {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Populiariausi */
.home-popular-showcase {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Kiti dabar ieško */
.home-trending-searches {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Visos prekės */
.home-all-products {
    margin-top: 0 !important;
    padding-top: 20px !important;
}

/* Antraštės ir kortelių pradžia */
.pk-recent-head,
.home-discovery-head,
.home-popular-head {
    margin-bottom: 14px !important;
}


/* Mobilus */
@media (max-width:700px) {

    .pk-recent-products {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    }

    .home-discovery,
    .home-trending-searches {
        margin-bottom: 16px !important;
    }

    .home-popular-showcase {
        margin-bottom: 16px !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    .home-all-products {
        padding-top: 16px !important;
    }

}

/* Homepage category images */

.home-category-card {
    overflow: hidden;
    min-height: 245px !important;
}

.home-category-image {
    width: 100%;
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.home-category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

@media (max-width:700px) {

    .home-category-card {
        min-height: 190px !important;
    }

    .home-category-image {
        height: 95px;
        margin-bottom: 8px;
    }

}

/* =========================================================
   HOMEPAGE CATEGORY CARDS — FINAL OVERRIDE
   ========================================================= */

.home-category-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.home-category-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;

    min-height: 245px !important;
    padding: 14px 14px 16px !important;

    overflow: hidden !important;

    background: #fff !important;
    border: 1px solid #e5e5ec !important;
    border-radius: 16px !important;
}

.home-category-image {
    width: 100% !important;
    height: 135px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 0 12px 0 !important;
    overflow: hidden !important;
}

.home-category-image img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;
    object-fit: contain !important;
    object-position: center !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.home-category-card strong {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;

    font-size: 15px !important;
    line-height: 1.3 !important;
}

.home-category-card small {
    display: block !important;
    margin-top: auto !important;
    padding-top: 10px !important;

    color: #7a7a8b !important;
    font-size: 13px !important;
}

/* tablet */
@media (max-width: 1000px) {
    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* mobile */
@media (max-width: 700px) {
    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .home-category-card {
        min-height: 190px !important;
        padding: 12px !important;
    }

    .home-category-image {
        height: 95px !important;
        margin-bottom: 8px !important;
    }

    .home-category-card strong {
        font-size: 14px !important;
    }

    .home-category-card small {
        font-size: 12px !important;
        padding-top: 8px !important;
    }
}



/* =========================================================
   MOBILE: kategoriju meniu rodyti tik pagrindines kategorijas
   ========================================================= */

@media (max-width:900px){

  .category-mega-inner.category-browser{
    display:block !important;
  }

  .category-browser-sidebar{
    width:100% !important;
    max-width:none !important;
  }

  .category-browser-content{
    display:none !important;
  }

  .category-browser-parent{
    background:#fff !important;
    box-shadow:none !important;
  }

  .category-browser-parent.active{
    background:#fff !important;
    box-shadow:none !important;
  }

  .category-browser-parent:hover .category-browser-parent-link,
  .category-browser-parent.active .category-browser-parent-link{
    color:#20222a !important;
  }

}


/* =========================================================
   MOBILE HEADER FIX
   ========================================================= */

@media (max-width:900px){

  /* Rodyti pagrindine paieska mobile */
  .topbar{
    grid-template-rows:auto auto !important;
  }

  .topbar-center.header-search-wrap{
    display:block !important;
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    width:100% !important;
    max-width:none !important;
    margin:10px 0 0 !important;
  }

  .header-search{
    display:flex !important;
    width:100% !important;
    height:46px !important;
  }

  .header-search input{
    display:block !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    font-size:16px !important;
  }

  .header-search button{
    display:block !important;
    flex:0 0 auto !important;
  }

  /* Mobile kategoriju meniu: tik pagrindines kategorijos */
  .category-mega-inner.category-browser{
    display:block !important;
  }

  .category-browser-sidebar{
    width:100% !important;
    max-width:none !important;
  }

  .category-browser-content{
    display:none !important;
  }

}


/* =========================================================
   MOBILE HEADER: vieta paieskos juostai
   ========================================================= */

@media (max-width:900px){

  .topbar{
    height:auto !important;
    min-height:0 !important;
    padding-bottom:12px !important;
    overflow:visible !important;
  }

  .topbar-center.header-search-wrap{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;

    display:block !important;
    grid-column:1 / -1 !important;
    grid-row:2 !important;

    width:100% !important;
    margin:10px 0 0 !important;
  }

  .category-nav-shell{
    position:relative !important;
    top:auto !important;
  }

}


/* =========================================================
   MOBILE SEARCH: horizontal geometry fix
   ========================================================= */

@media (max-width:900px){

  .topbar-center.header-search-wrap{
    box-sizing:border-box !important;
    min-width:0 !important;
    width:auto !important;

    justify-self:stretch !important;
    align-self:auto !important;

    left:0 !important;
    right:0 !important;

    transform:none !important;
  }

  .topbar-center.header-search-wrap .header-search{
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;

    left:auto !important;
    right:auto !important;
    transform:none !important;
    margin:0 !important;
  }

  .topbar-center.header-search-wrap .header-search input{
    min-width:0 !important;
    width:auto !important;
  }

}


/* =========================================================
   MOBILE SEARCH: PirmaKaina styling
   ========================================================= */

@media (max-width:900px){

  .topbar-center.header-search-wrap .header-search{
    display:flex !important;
    align-items:stretch !important;

    height:44px !important;

    background:#fff !important;
    border:1px solid #ded9ff !important;
    border-radius:12px !important;

    overflow:hidden !important;

    box-shadow:
      0 1px 2px rgba(20,20,40,.04),
      0 4px 14px rgba(90,65,220,.05) !important;
  }

  .topbar-center.header-search-wrap .header-search:focus-within{
    border-color:#7657ff !important;

    box-shadow:
      0 0 0 3px rgba(118,87,255,.10),
      0 4px 16px rgba(90,65,220,.08) !important;
  }

  .topbar-center.header-search-wrap .header-search-icon{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    flex:0 0 38px !important;

    color:#7657ff !important;
    font-size:18px !important;
  }

  .topbar-center.header-search-wrap .header-search input{
    flex:1 1 auto !important;
    min-width:0 !important;

    height:100% !important;

    padding:0 8px 0 0 !important;

    border:0 !important;
    outline:0 !important;

    background:transparent !important;

    color:#22232a !important;
    font-size:14px !important;
  }

  .topbar-center.header-search-wrap .header-search input::placeholder{
    color:#8b8d98 !important;
    opacity:1 !important;
  }

  .topbar-center.header-search-wrap .header-search button{
    flex:0 0 auto !important;

    min-width:72px !important;
    height:100% !important;

    padding:0 14px !important;

    border:0 !important;
    border-left:1px solid rgba(255,255,255,.22) !important;

    background:#7657ff !important;
    color:#fff !important;

    font-size:13px !important;
    font-weight:800 !important;

    cursor:pointer !important;
  }

  .topbar-center.header-search-wrap .header-search button:active{
    background:#6747f5 !important;
  }

}


/* =========================================================
   MOBILE: sticky logo + search header
   ========================================================= */

@media (max-width:900px){

  .topbar{
    position:sticky !important;
    top:0 !important;
    z-index:4000 !important;

    background:#fff !important;

    box-shadow:
      0 1px 0 rgba(20,20,30,.07),
      0 4px 14px rgba(20,20,30,.04) !important;
  }

}


/* =========================================================
   MOBILE: fixed logo + search header
   ========================================================= */

@media (max-width:900px){

  .topbar{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;

    width:100% !important;
    max-width:none !important;

    z-index:5000 !important;

    background:#fff !important;

    box-shadow:
      0 1px 0 rgba(20,20,30,.07),
      0 4px 14px rgba(20,20,30,.06) !important;
  }

  .category-nav-shell{
    margin-top:112px !important;
  }

}


/* =========================================================
   MOBILE: fixed logo + search header
   ========================================================= */

@media (max-width:900px){

  .topbar{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;

    width:100% !important;
    max-width:none !important;

    z-index:5000 !important;

    background:#fff !important;

    box-shadow:
      0 1px 0 rgba(20,20,30,.07),
      0 4px 14px rgba(20,20,30,.06) !important;
  }

  .category-nav-shell{
    margin-top:112px !important;
  }

}


/* =========================================================
   MOBILE: fixed logo + search header
   ========================================================= */

@media (max-width:900px){

  .topbar{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;

    width:100% !important;
    max-width:none !important;

    z-index:5000 !important;

    background:#fff !important;

    box-shadow:
      0 1px 0 rgba(20,20,30,.07),
      0 4px 14px rgba(20,20,30,.06) !important;
  }

  .category-nav-shell{
    margin-top:112px !important;
  }

}


/* =========================================================
   MOBILE: tarpas tarp fixed header ir kategoriju juostos
   ========================================================= */

@media (max-width:900px){

  .category-nav-shell{
    margin-top:124px !important;
  }

}


/* =========================================================
   MOBILE: tarpas tarp fixed header ir kategoriju juostos
   ========================================================= */

@media (max-width:900px){

  .category-nav-shell{
    margin-top:134px !important;
  }

}


/* =========================================================
   MOBILE CATEGORY MENU: fixed header offset + close button
   ========================================================= */

.mobile-category-close{
  display:none;
}

@media (max-width:900px){

  .category-mega-menu{
    position:fixed !important;

    /* Fixed logo + search header aukstis */
    top:108px !important;
    bottom:0 !important;

    height:auto !important;
    max-height:calc(100vh - 108px) !important;
    max-height:calc(100dvh - 108px) !important;

    overflow-y:auto !important;
    overscroll-behavior:contain;
  }

  .category-mega-inner.category-browser{
    min-height:100% !important;
  }

  .mobile-category-close{
    position:sticky;
    top:0;
    z-index:20;

    display:flex !important;
    align-items:center;
    justify-content:space-between;

    width:100%;
    min-height:48px;
    padding:0 16px;

    border:0;
    border-bottom:1px solid #e8e9ee;

    background:#fff;
    color:#20222a;

    font-size:14px;
    font-weight:800;

    cursor:pointer;
  }

  .mobile-category-close b{
    display:flex;
    align-items:center;
    justify-content:center;

    width:30px;
    height:30px;

    font-size:25px;
    font-weight:400;
    line-height:1;
  }

}


/* =========================================================
   MOBILE CATEGORY MENU: lower below fixed header
   ========================================================= */

@media (max-width:900px){

  .category-mega-menu{
    top:124px !important;

    max-height:calc(100vh - 124px) !important;
    max-height:calc(100dvh - 124px) !important;
  }

}


/* =========================================================
   CATEGORY BUTTON ICON
   ========================================================= */

.category-mega-toggle{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
}

.category-menu-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.category-menu-icon svg{
  display:block;
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
}

.category-mega-chevron{
  margin-left:1px;
}



/* =========================================================
   SITE FOOTER
   ========================================================= */

.site-footer{
  margin-top:64px;
  background:#17191f;
  color:#fff;
}

.site-footer-inner{
  max-width:1160px;
  margin:0 auto;
  padding:54px 24px 24px;
}

.site-footer-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:60px;
  padding-bottom:42px;
}

.site-footer-column{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}

.site-footer-column h3{
  margin:0 0 10px;
  font-size:15px;
  color:#fff;
}

.site-footer-column a{
  color:#b7bcc7;
  font-size:14px;
  text-decoration:none;
  transition:color .15s ease;
}

.site-footer-column a:hover{
  color:#fff;
}

.site-footer-company{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;

  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.10);

  color:#989eaa;
  font-size:13px;
  line-height:1.7;
}

.site-footer-company > div:first-child{
  display:flex;
  flex-direction:column;
}

.site-footer-company strong{
  color:#fff;
  margin-bottom:4px;
}

.site-footer-company a{
  color:#c8bcff;
  text-decoration:none;
}

.site-footer-company a:hover{
  color:#fff;
}

.site-footer-copy{
  white-space:nowrap;
  color:#7f8590;
}


@media(max-width:760px){

  .site-footer{
    margin-top:42px;
  }

  .site-footer-inner{
    padding:40px 20px 22px;
  }

  .site-footer-grid{
    grid-template-columns:1fr 1fr;
    gap:32px 24px;
    padding-bottom:34px;
  }

  .site-footer-company{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }

}


@media(max-width:480px){

  .site-footer-grid{
    grid-template-columns:1fr;
  }

}


/* =========================================================
   FOOTER COMPACT 4-COLUMN LAYOUT
   ========================================================= */

.site-footer-inner{
  padding-top:38px !important;
  padding-bottom:18px !important;
}

.site-footer-grid{
  grid-template-columns:
    1fr
    1fr
    1fr
    1.45fr !important;

  gap:42px !important;
  padding-bottom:28px !important;
}

.site-footer-company-column{
  color:#989eaa;
  font-size:13px;
  line-height:1.65;
}

.site-footer-company-title{
  margin-bottom:9px;
  color:#d9dce3;
  font-size:14px;
  font-weight:500;
}

.site-footer-company-column span{
  display:block;
}

.site-footer-company-column a{
  color:#c8bcff;
}

.site-footer-bottom{
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.10);

  color:#7f8590;
  font-size:12px;
}


/* Sena rekvizitu eilute nebenaudojama */
.site-footer-company{
  display:none !important;
}


@media(max-width:900px){

  .site-footer-grid{
    grid-template-columns:1fr 1fr !important;
    gap:30px 28px !important;
  }

}


@media(max-width:520px){

  .site-footer-inner{
    padding-top:30px !important;
  }

  .site-footer-grid{
    grid-template-columns:1fr !important;
    gap:26px !important;
    padding-bottom:24px !important;
  }

}


/* =========================================================
   V2 OFFERS - visually merged with production offer list
   ========================================================= */

.v2-offers-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
}

.v2-offer {
    min-height: 88px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: minmax(260px, 1fr) 260px 290px;
    align-items: center;
    gap: 24px;

    padding: 18px 20px;

    background: #fff;
    border: 1px solid #e2e5ec;
    border-radius: 18px;
}

.v2-offer-shop {
    min-width: 0;
}

.v2-shop-name {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 18px;
    line-height: 1.2;
}

.v2-shop-name strong {
    font-size: 18px;
    font-weight: 700;
    color: #101828;
}

.v2-country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    min-width: 26px;

    font-size: 20px;
    line-height: 1;
}

.v2-cheapest-badge {
    display: inline-flex;
    align-items: center;

    padding: 4px 9px;
    border-radius: 999px;

    background: #e5f7ef;
    color: #087a57;

    font-size: 12px;
    font-weight: 700;
}

.v2-offer-details {
    margin-top: 6px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    color: #667085;
    font-size: 13px;
}

.v2-offer-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;

    white-space: nowrap;
}

.v2-offer-price strong {
    color: #101828;
    font-size: 22px;
    font-weight: 800;
}

.v2-regular-price {
    color: #7c8493;
    font-size: 14px;
    text-decoration: line-through;
}

.v2-offer-action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
}

.v2-offer-button {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 50px;
    padding: 0 20px;

    border-radius: 13px;

    background: #f0ecff;
    color: #6d43ff;

    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.v2-offer-button:hover {
    background: #e8e1ff;
}

.v2-offer-updated {
    color: #667085;
    font-size: 12px;
    text-align: center;
}


/* Tablet */
@media (max-width: 900px) {

    .v2-offer {
        grid-template-columns: 1fr auto;
    }

    .v2-offer-action {
        grid-column: 1 / -1;
    }

}


/* Mobile */
@media (max-width: 640px) {

    .v2-offers-list {
        gap: 10px;
    }

    .v2-offer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;

        min-height: 0;
        padding: 15px;

        border-radius: 15px;
    }

    .v2-offer-price strong {
        font-size: 21px;
    }

    .v2-offer-action {
        grid-column: auto;
    }

    .v2-offer-button {
        width: 100%;
        min-height: 46px;
    }

    .v2-offer-updated {
        text-align: left;
    }
}



/* =========================================================
   Unified production + V2 offer list
   ========================================================= */

.offer-country-flag {
    margin-right: 5px;
    font-size: 16px;
    line-height: 1;
    vertical-align: -1px;
}

.unified-cheapest-badge {
    display: inline-block;
    margin-left: 7px;
    padding: 3px 8px;

    border-radius: 999px;

    background: #e5f7ef;
    color: #087a57;

    font-size: 11px;
    font-weight: 700;
    vertical-align: 1px;
}

.unified-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.unified-regular-price {
    color: #7c8493;
    font-size: 13px;
    text-decoration: line-through;
}

.unified-offer-action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.unified-offer-action > a {
    text-align: center;
}

.unified-updated {
    margin-top: 3px;
    text-align: center;
    color: #667085;
    font-size: 11px;
}



/* =========================================================
   Unified offer list - PirmaKaina visual styling
   ========================================================= */

.offers {
    gap: 12px;
}

.offer {
    position: relative;

    border: 1px solid #e4e5ec;
    border-radius: 17px;

    background: #ffffff;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.offer:hover {
    border-color: #d8d1ff;
    box-shadow: 0 6px 18px rgba(60, 42, 120, 0.06);
}

.offer > div:first-child strong {
    display: flex;
    align-items: center;
    gap: 4px;

    font-weight: 700;
}

.unified-price b {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.unified-offer-action > a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 220px;
    min-height: 50px;

    padding: 0 20px;

    border-radius: 13px;

    background: #f0ecff;
    color: #6d43ff;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .15s ease,
        transform .15s ease;
}

.unified-offer-action > a:hover {
    background: #e7e0ff;
    transform: translateY(-1px);
}

.unified-updated {
    margin-top: 5px;
    color: #7b8190;
    font-size: 11px;
}

.unified-cheapest-badge {
    background: #e7f8f0;
    color: #08795a;

    font-size: 11px;
    font-weight: 700;

    padding: 4px 9px;
}

.offer-country-flag {
    display: inline-flex;
    width: 22px;
    margin-right: 3px;

    font-size: 16px;
}

@media (max-width: 700px) {

    .unified-offer-action > a {
        min-width: 0;
        width: 100%;
        min-height: 46px;
    }

    .unified-price b {
        font-size: 18px;
    }
}




/* =========================================================
   ADMIN CHART: clear series colors
   Lankytojai = green
   Perziuros  = blue
   Perejimai  = red
   ========================================================= */

.admin-chart .admin-line-0{
  stroke:#16a34a !important;
}

.admin-chart .admin-line-1{
  stroke:#2563eb !important;
}

.admin-chart .admin-line-2{
  stroke:#dc2626 !important;
}


.admin-chart-legend{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:22px;
}

.admin-chart-legend span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-weight:700;
}

.admin-chart-legend i{
  display:inline-block;

  width:9px;
  height:9px;

  border-radius:50%;
  flex:0 0 9px;
}


.admin-chart-legend .legend-visitors{
  color:#16a34a;
}

.admin-chart-legend .legend-visitors i{
  background:#16a34a;
}


.admin-chart-legend .legend-pageviews{
  color:#2563eb;
}

.admin-chart-legend .legend-pageviews i{
  background:#2563eb;
}


.admin-chart-legend .legend-clicks{
  color:#dc2626;
}

.admin-chart-legend .legend-clicks i{
  background:#dc2626;
}



/* =========================================================
   ADMIN CHART: point colors + legend spacing
   ========================================================= */

/* Daugiau vietos tarp grafiko datos ir legendos */
.admin-chart{
  height:280px !important;
  margin-bottom:20px !important;
}

.admin-chart-panel{
  padding-bottom:24px !important;
}

.admin-chart-legend{
  margin-top:12px !important;
  padding-bottom:2px !important;
}


/* Lankytojai = zalia */
.admin-chart .admin-chart-point-0,
.admin-chart .admin-chart-point-0:hover,
.admin-chart .admin-chart-point-0:focus{
  fill:#16a34a !important;
  stroke:#16a34a !important;
}


/* Perziuros = melyna */
.admin-chart .admin-chart-point-1,
.admin-chart .admin-chart-point-1:hover,
.admin-chart .admin-chart-point-1:focus{
  fill:#2563eb !important;
  stroke:#2563eb !important;
}


/* Perejimai = raudona */
.admin-chart .admin-chart-point-2,
.admin-chart .admin-chart-point-2:hover,
.admin-chart .admin-chart-point-2:focus{
  fill:#dc2626 !important;
  stroke:#dc2626 !important;
}


/* Hover metu taskas padideja, bet spalva nesikeicia */
.admin-chart .admin-chart-point{
  stroke-width:2 !important;
}

.admin-chart .admin-chart-point:hover,
.admin-chart .admin-chart-point:focus{
  stroke-width:3 !important;
}


/* Mobile */
@media(max-width:900px){

  .admin-chart{
    height:240px !important;
    margin-bottom:22px !important;
  }

  .admin-chart-legend{
    margin-top:14px !important;
    gap:14px !important;
  }

}


/* =========================================================
   ADMIN CHART: point colors + legend spacing
   ========================================================= */

/* Daugiau vietos tarp grafiko datos ir legendos */
.admin-chart{
  height:280px !important;
  margin-bottom:20px !important;
}

.admin-chart-panel{
  padding-bottom:24px !important;
}

.admin-chart-legend{
  margin-top:12px !important;
  padding-bottom:2px !important;
}


/* Lankytojai = zalia */
.admin-chart .admin-chart-point-0,
.admin-chart .admin-chart-point-0:hover,
.admin-chart .admin-chart-point-0:focus{
  fill:#16a34a !important;
  stroke:#16a34a !important;
}


/* Perziuros = melyna */
.admin-chart .admin-chart-point-1,
.admin-chart .admin-chart-point-1:hover,
.admin-chart .admin-chart-point-1:focus{
  fill:#2563eb !important;
  stroke:#2563eb !important;
}


/* Perejimai = raudona */
.admin-chart .admin-chart-point-2,
.admin-chart .admin-chart-point-2:hover,
.admin-chart .admin-chart-point-2:focus{
  fill:#dc2626 !important;
  stroke:#dc2626 !important;
}


/* Hover metu taskas padideja, bet spalva nesikeicia */
.admin-chart .admin-chart-point{
  stroke-width:2 !important;
}

.admin-chart .admin-chart-point:hover,
.admin-chart .admin-chart-point:focus{
  stroke-width:3 !important;
}


/* Mobile */
@media(max-width:900px){

  .admin-chart{
    height:240px !important;
    margin-bottom:22px !important;
  }

  .admin-chart-legend{
    margin-top:14px !important;
    gap:14px !important;
  }

}


/* =========================================================
   ADMIN CHART: more bottom space + tooltip visibility
   ========================================================= */

.admin-chart-panel{
  overflow:visible !important;
  padding-bottom:42px !important;
}

.admin-chart{
  height:310px !important;
  margin-bottom:34px !important;
  overflow:visible !important;
}

.admin-chart-stage{
  overflow:visible !important;
}

.admin-chart-stage svg{
  overflow:visible !important;
}

.admin-chart-legend{
  position:relative !important;
  margin-top:18px !important;
  padding-bottom:8px !important;
  clear:both !important;
}


/* Tooltip negali buti nukerpamas korteles */
.admin-chart-tooltip{
  z-index:100 !important;
}


/* Mobile */
@media(max-width:900px){

  .admin-chart-panel{
    padding-bottom:36px !important;
  }

  .admin-chart{
    height:260px !important;
    margin-bottom:38px !important;
  }

  .admin-chart-legend{
    margin-top:16px !important;
  }

}


/* =========================================================
   HEADER SEARCH: category ticker above autocomplete dropdown
   ========================================================= */

/* Autocomplete lieka virs puslapio turinio */
#headerSearchSuggestions{
  z-index:3000 !important;
}

/* Kategoriju juosta visada rodoma virs autocomplete */
.category-nav-shell{
  position:relative !important;
  z-index:3500 !important;
  background:#fff !important;
}

.category-nav-inner{
  position:relative !important;
  z-index:3501 !important;
}


/* Pats pagrindinis headeris lieka auksciausiai */
.topbar{
  z-index:4000 !important;
}



/* =========================================================
   CATEGORY TICKER: speed for selected 5 categories
   ========================================================= */

@media (min-width:901px){
  .category-ticker-track{
    animation-duration:20s !important;
  }
}

TICKER_SPEED=20Scat

/* =========================================================
   Similar products
   ========================================================= */

.similar-products{
  margin-top:42px;
  margin-bottom:42px;
}

.similar-products-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:18px;
}

.similar-products-head h2{
  margin:4px 0 0;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.025em;
}

.similar-products-track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:2px 2px 14px;
  scroll-snap-type:x mandatory;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}

.similar-product-card{
  flex:0 0 220px;
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  scroll-snap-align:start;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.similar-product-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}

.similar-product-image{
  height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:#fff;
}

.similar-product-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.similar-product-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:14px 15px 16px;
  border-top:1px solid var(--line);
}

.similar-product-name{
  font-size:14px;
  line-height:1.35;
  font-weight:700;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:57px;
}

.similar-product-price{
  margin-top:12px;
  font-size:19px;
  line-height:1.2;
  font-weight:800;
}

.similar-product-sellers{
  margin-top:5px;
  font-size:12px;
  color:var(--muted);
}

@media(max-width:820px){
  .similar-products{
    margin-top:32px;
  }

  .similar-products-head h2{
    font-size:24px;
  }

  .similar-product-card{
    flex-basis:190px;
  }

  .similar-product-image{
    height:155px;
  }
}

/* Similar products – horizontal page margins */
.similar-products{
  width:calc(100% - 64px);
  max-width:1480px;
  margin-left:auto;
  margin-right:auto;
}

@media(max-width:820px){
  .similar-products{
    width:calc(100% - 32px);
  }
}
