:root{
  --bg:#0b0614;
  --card:#12082a;
  --card2:#0f0a1f;
  --text:#f5f3ff;
  --muted:rgba(245,243,255,.72);
  --line:rgba(255,255,255,.12);
  --accent:#7c3aed;
  --accent2:#a78bfa;
  --danger:#ef4444;
  --ok:#22c55e;
  --shadow:0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  /* vienas vientisas fonas per visą puslapį */
  background:radial-gradient(900px 500px at 30% 0%, rgba(124,58,237,.18), transparent 55%),
             radial-gradient(800px 500px at 80% 20%, rgba(167,139,250,.12), transparent 55%),
             var(--bg);
  background-attachment: fixed;
  color:var(--text);
}

a{color:var(--text);text-decoration:none}
a:hover{opacity:.9}

.container{
  max-width:1180px;
  margin:0 auto;
  padding:86px 16px 90px;
}

.topbar{
  position:fixed; top:0; left:0; right:0; z-index:999;
  backdrop-filter: blur(10px);
  background:rgba(11,6,20,.72);
  border-bottom:1px solid rgba(124,58,237,.25);
}
.topbar__inner{
  max-width:1180px;
  margin:0 auto;
  padding:12px 16px;
  display:flex;align-items:center;justify-content:space-between;
}
.brand{display:flex;gap:10px;align-items:center;font-weight:900;letter-spacing:.2px}
.brand__logo{
  display:inline-grid;place-items:center;
  width:34px;height:34px;border-radius:10px;
  background:rgba(124,58,237,.22);
  border:1px solid rgba(124,58,237,.35);
  box-shadow:0 0 0 4px rgba(124,58,237,.08);
}
.brand__text{font-size:16px}

.siteTitleWrap{padding:10px 0 2px}
.siteTitle{font-size:22px;font-weight:950;letter-spacing:.2px}

.mini{display:flex;gap:14px;align-items:center;font-weight:650}
.mini a{color:rgba(245,243,255,.9);font-size:14px}
.mini__admin{opacity:.65}

.section-title{
  margin:18px 0 10px;
  font-size:16px;
  font-weight:900;
  letter-spacing:.3px;
}
.section-title.center{text-align:center}

.top-offers{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-bottom:14px;
}
@media (min-width: 900px){
  .top-offers{grid-template-columns:repeat(4,1fr)}
}

.topcard{
  position:relative;
  border-radius:16px;
  padding:12px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(124,58,237,.55);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.topcard::before{
  content:'';
  position:absolute; inset:-2px;
  border-radius:18px;
  background:conic-gradient(from 120deg, rgba(124,58,237,.0), rgba(124,58,237,.85), rgba(167,139,250,.6), rgba(124,58,237,.0));
  filter:blur(10px);
  opacity:.35;
  animation:pulse 3.2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{opacity:.26; transform:scale(1)}
  50%{opacity:.42; transform:scale(1.01)}
}
.topcard__inner{position:relative; display:flex; gap:10px; align-items:flex-start}
.topcard__img{width:104px;height:78px;border-radius:14px;object-fit:cover;background:transparent;border:1px solid rgba(255,255,255,.12)}
.topcard__txt{min-width:0; padding-right:86px}
.topcard__title{font-weight:900; font-size:15px; line-height:1.2}
.topcard__bottom{margin-top:8px; display:flex; align-items:flex-end; justify-content:flex-start; gap:10px; flex-wrap:wrap}
.topcard__product{color:rgba(245,243,255,.85); font-size:13px; line-height:1.2; font-weight:700}
.topcard__price{font-weight:950; font-size:14px}
.topcard__btn{position:absolute; right:12px; bottom:12px; padding:8px 10px; border-radius:12px; border:1px solid rgba(124,58,237,.55); background:rgba(124,58,237,.16); font-weight:800}

.topcard.abB{padding:0}
.topcard.abB .topcard__inner{position:relative; display:flex; gap:10px; align-items:flex-start}
.topcard.abB .topcard__img{width:104px;height:78px;border-radius:14px;object-fit:cover;background:transparent;border:1px solid rgba(255,255,255,.12)}

.layout{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:14px;
  align-items:start;
}

.filters{
  position:sticky; top:72px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(124,58,237,.22);
  border-radius:16px;
  padding:12px;
}
.filters h3{margin:0 0 10px;font-size:15px;letter-spacing:.3px}
.fgroup{border-top:1px solid rgba(255,255,255,.09); padding-top:10px; margin-top:10px}
.fhead{display:flex;align-items:center;justify-content:space-between; cursor:pointer; user-select:none}
.fhead b{font-size:13px}
.fhead span{opacity:.7}
.fbody{max-height:0; overflow:hidden; transition:max-height .25s ease}
.fbody.open{max-height:420px}
.flist{display:flex;flex-wrap:wrap; gap:8px; margin-top:10px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(18,8,42,.55);
  font-size:13px;
}
.pill input{accent-color:var(--accent)}
.range{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px}
select, .filters input[type="number"]{
  width:100%;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:#12082a;
  color:var(--text);
}

.filters input[type="text"]{
  width:100%;
  padding:14px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:#12082a;
  color:var(--text);
  font-size:14px;
}

.btn{
  display:block;
  width:100%;
  margin-top:10px;
  padding:11px 12px;
  border-radius:12px;
  border:0;
  background:var(--accent);
  color:white;
  font-weight:900;
  cursor:pointer;
  text-align:center;
}
.btn.secondary{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14)}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.22);
  position:relative;
}
.card__img{width:100%; height:150px; object-fit:cover; background:rgba(255,255,255,.02); display:block; object-position:center}
.card__body{padding:12px 12px 18px; display:flex; flex-direction:column; min-height:165px}
.card__title{font-weight:900; font-size:14px; margin:0 0 6px; line-height:1.2}
.card__desc{color:var(--muted); font-size:13px; margin:0 0 10px; line-height:1.35}
.card__row{display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:6px}
.price{font-weight:950; color:#fff}
.badge{font-size:12px; color:rgba(245,243,255,.9); padding:6px 8px; border-radius:999px; border:1px solid rgba(124,58,237,.35); background:rgba(124,58,237,.14)}

/* Live search dropdown */
.liveSearchBox{
  margin-top:8px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  overflow:hidden;
  background:rgba(18,8,42,.92);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  max-height:320px;
  overflow-y:auto;
}
.liveSearchItem{
  display:block;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:rgba(245,243,255,.92);
}
.liveSearchItem:last-child{border-bottom:0}
.liveSearchItem:hover{background:rgba(255,255,255,.06)}

.quick{
  position:absolute; inset:0;
  background:rgba(0,0,0,.90);
  display:none;
  padding:12px;
}
.card:hover .quick{display:block}
.quick__title{font-weight:950; margin:0 0 8px}
.quick__list{margin:0; padding-left:18px; color:rgba(245,243,255,.9); font-size:13px; line-height:1.45}
.quick__hint{margin-top:10px; color:rgba(245,243,255,.75); font-size:12px}

.iBtn{
  position:absolute;
  right:10px; top:10px;
  width:32px;height:32px;border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(124,58,237,.18);
  color:#fff;
  display:none;
  font-weight:950;
}

.pagination{
  display:flex; gap:8px; justify-content:center; margin:16px 0 6px;
}
.page{
  padding:8px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
}
.page.active{border-color:rgba(124,58,237,.55); background:rgba(124,58,237,.16); font-weight:900}

.footer{
  border-top:1px solid rgba(124,58,237,.22);
  background:rgba(11,6,20,.92);
}

.footer__inner{
  max-width:1180px; margin:0 auto;
  padding:10px 16px;
  display:flex; gap:10px; align-items:center; justify-content:center;
  color:rgba(245,243,255,.82); font-size:13px;
}
.footer .sep{opacity:.5}
.footer .muted{opacity:.7}

@media (min-width: 900px){
  .footer{position:fixed; left:0; right:0; bottom:0; z-index:40}
}

.mobile-filters-btn{
  position:fixed;
  right:16px; bottom:16px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(124,58,237,.55);
  background:rgba(124,58,237,.22);
  color:#fff;
  font-weight:950;
  box-shadow:var(--shadow);
  display:none;
  z-index:60;
}

.drawer{
  position:fixed; inset:0;
  background:rgba(0,0,0,.5);
  display:none;
  z-index:70;
}
.drawer.open{display:block}
.drawer__panel{
  position:absolute; right:0; top:0; bottom:0;
  width:min(92vw, 380px);
  background:#0f0a1f;
  border-left:1px solid rgba(124,58,237,.35);
  padding:14px;
  overflow:auto;
}
.drawer__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.drawer__head b{font-size:14px}
.drawer__close{border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.06); color:#fff; border-radius:12px; padding:8px 10px; cursor:pointer}

.modal{
  position:fixed; inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center; justify-content:center;
  z-index:80;
}
.modal.open{display:flex}
.modal__card{
  width:min(92vw, 420px);
  background:#0f0a1f;
  border:1px solid rgba(124,58,237,.35);
  border-radius:16px;
  padding:14px;
  box-shadow:var(--shadow);
}
.modal__card h4{margin:0 0 8px}
.modal__card ul{margin:0; padding-left:18px; color:rgba(245,243,255,.9)}
.modal__hint{margin-top:10px; color:rgba(245,243,255,.75); font-size:12px}

.toasts{
  position:fixed;
  left:12px; bottom:72px;
  z-index:90;
  display:flex;
  flex-direction:column-reverse;
  gap:10px;
}
.toast{
  width:min(360px, 92vw);
  background:rgba(15,10,31,.92);
  border:1px solid rgba(124,58,237,.35);
  border-radius:16px;
  padding:10px;
  display:flex; gap:10px; align-items:center;
  box-shadow:var(--shadow);
}
.toast img{width:44px;height:44px;border-radius:12px;object-fit:cover;border:1px solid rgba(255,255,255,.14)}
.toast b{display:block}
.toast span{display:block;color:rgba(245,243,255,.78);font-size:12px;margin-top:2px}

@media (max-width: 980px){
  .layout{grid-template-columns:1fr}
  .filters{display:none}
  .grid{grid-template-columns: repeat(2, 1fr)}
  .mobile-filters-btn{display:block}
  .iBtn{display:inline-grid; place-items:center}
  .card:hover .quick{display:none}
}

@media (max-width: 520px){
  .grid{grid-template-columns:1fr}
  .card__img{height:200px}
}


/* Product page image */
.product__img{width:100%;height:420px;object-fit:contain;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.12);border-radius:16px;display:block}
@media (max-width:720px){.product__img{height:340px}}


/* Live search positioning */
.filters form{position:relative}
.liveSearchBox{position:relative; z-index:999;}


/* TOP blocks as cards with aura */
.top-offers{margin-bottom:14px}
.topglow{
  position:relative;
  border-color:rgba(124,58,237,.55) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  overflow:hidden;
}
.topglow::before{
  content:'';
  position:absolute; inset:-2px;
  border-radius:18px;
  background:conic-gradient(from 120deg, rgba(124,58,237,.0), rgba(124,58,237,.85), rgba(167,139,250,.6), rgba(124,58,237,.0));
  filter:blur(10px);
  opacity:.35;
  animation:pulse 3.2s ease-in-out infinite;
  pointer-events:none;
}
.topglow::after{
  content:'';
  position:absolute; inset:0;
  background:radial-gradient(600px 200px at 10% 0%, rgba(167,139,250,.18), rgba(0,0,0,0));
  pointer-events:none;
}
.topglow__kicker{
  font-size:12px;
  font-weight:900;
  color:rgba(245,243,255,.9);
  margin:0 0 6px;
  letter-spacing:.2px;
  text-transform:uppercase;
  opacity:.95;
}
.topglow__img{background:rgba(255,255,255,.02)}


/* TOP blokų antraštė (TOP dienos / savaitės / mėnesio pasiūlymas) – centruota, subtiliai "auksinė" */
.topglow__kicker.center{
  width:100%;
  text-align:center;
  margin:0 0 8px;
  display:block;

  /* "pill" */
  padding:5px 9px;
  border-radius:999px;
  border:1px solid rgba(234,179,8,.55);
  background:rgba(234,179,8,.08);
  color:rgba(253,230,138,.95);
  box-shadow:0 0 0 3px rgba(234,179,8,.08);
  text-shadow:0 1px 10px rgba(234,179,8,.18);
  letter-spacing:.35px;
  text-transform:uppercase;
  font-weight:950;
  font-size:11px;

  /* center the pill itself */
  width:fit-content;
  margin-left:auto;
  margin-right:auto;
}

/* TOP kortelėse prekės pavadinimas ir aprašymas lieka kairėje */
.topglow .card__title,
.topglow .topdesc{
  text-align:left !important;
}



/* TOP blokai: kaina apačioje kairėje, "Žiūrėti" apačioje dešinėje – nepriklausomai nuo aprašymo ilgio */
.topglow{
  display:flex;
  flex-direction:column;
}
.topglow .card__img{
  flex:0 0 auto;
}
.topglow .card__body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:180px;
}
.topglow .card__row{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
/* TOP blokai: sluoksniai (kad kaina/mygtukas nedingtų po aura) */
.topglow{position:relative}
.topglow::before, .topglow::after{z-index:0}
.topglow .card__img, .topglow .card__body{position:relative; z-index:1}


/* Nuotraukos žymės (Kam / Proga) ant kortelės */
.card{position:relative}
.imgMeta{
  position:absolute;
  left:10px;
  top:10px;
  display:flex;
  flex-direction:column;
  gap:6px;
  pointer-events:none;
}
.imgTag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 8px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(8,6,14,.55);
  color:rgba(245,243,255,.95);
  backdrop-filter: blur(6px);
}
.imgTag b{opacity:.9;font-weight:900}


/* Greitos info atskyrimas: Kam/Proga atskirai nuo pristatymo info */
.quick__list .metaLine{
  padding-bottom:6px;
  margin-bottom:2px;
}
.quick__list .divider{
  list-style:none;
  height:1px;
  margin:6px 0;
  background:rgba(255,255,255,.14);
  padding:0 !important;
}
.quick__list .infoLine{
  opacity:.92;
}
.quick__list b{
  display:inline-block;
  min-width:52px;
  color:rgba(253,230,138,.95); /* švelniai auksinis akcentas */
}

/* TOP blokų tinklelis */
.top-offers.grid{margin-bottom:14px}

/* Prekės puslapio meta (Kategorija / Kam / Proga) */
.metaBox{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  border-radius:14px;
  padding:10px 12px;
}
.metaRow{display:flex; gap:10px; padding:6px 0}
.metaRow + .metaRow{border-top:1px solid rgba(255,255,255,.08)}
.metaLbl{min-width:90px; font-weight:900; color:rgba(253,230,138,.95)}
.metaVal{color:rgba(245,243,255,.95)}


/* TOP blokų tinklelis – kaip "Populiaru dabar" (3 blokai vienoje eilėje) */
.top-offers{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:12px;
}
@media (max-width: 860px){
  .top-offers{grid-template-columns:repeat(2,1fr) !important;}
}
@media (max-width: 520px){
  .top-offers{grid-template-columns:1fr !important;}
}


/* TOP quick sluoksniai */
.topglow .quick{z-index:3}


/* Greita informacija – visiškai izoliuotas sluoksnis */
.quick{
  background: #0b0914; /* kietas fonas, be persišvietimo */
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 5;
}

/* Aura ir turinys po quick – užrakinti */
.card:hover .card__body,
.card:hover .card__img{
  filter: none !important;
}

/* Rodyti tik užvedus / atidarius */
.card:hover .quick,
.quick.open{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


/* Populiaru dabar: nerodyti Proga/Kam ant nuotraukos */
.popNow .imgMeta{display:none !important;}


/* Populiaru dabar kortelės – kaip TOP (bet be aurų ir be TOP antraštės) */
.popcard{
  display:flex;
  flex-direction:column;
}
.popcard .card__img{flex:0 0 auto;}
.popcard .card__body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:180px;
  position:relative;
}
.popcard .card__row{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}


/* Greita informacija – dengia tik tekstinę dalį */
.card__body{position:relative;}
.card__body > .quick{
  position:absolute;
  inset:0;
  background:#0b0914;
  border-radius:14px;
  padding:12px;
  opacity:0;
  pointer-events:none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index:6;
}
.card:hover .card__body > .quick,
.card__body > .quick.open{
  opacity:1;
  pointer-events:auto;
  transform: translateY(0);
}


/* Gyva paieška (siūlymai) */
.searchWrap{position:relative}
.suggest{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 8px);
  background:#0b0914;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  overflow:hidden;
  z-index:90;
  box-shadow:0 14px 40px rgba(0,0,0,.45);
}
.suggest a{
  display:flex;
  gap:10px;
  padding:10px;
  text-decoration:none;
  color:rgba(245,243,255,.96);
  border-top:1px solid rgba(255,255,255,.06);
}
.suggest a:first-child{border-top:none}
.suggest a:hover{background:rgba(255,255,255,.04)}
.suggest img{
  width:44px;height:44px;border-radius:10px;object-fit:cover;
  border:1px solid rgba(255,255,255,.12);
  flex:0 0 auto;
}
.suggest .sTitle{font-weight:900; line-height:1.2}
.suggest .sDesc{opacity:.85; font-size:12px; line-height:1.25; margin-top:2px}
.suggest .sPrice{margin-left:auto; font-weight:950; color:rgba(253,230,138,.95)}


.siteLogo{
  height:36px;
  width:auto;
  display:block;
}

.stickerbar{position:sticky;top:0;z-index:70;background:rgba(11,6,20,.75);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.08)}
.stickerbar__inner{max-width:1100px;margin:0 auto;padding:8px 16px}
.stickers{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.sticker{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;border:1px solid rgba(124,58,237,.35);background:rgba(124,58,237,.12);color:rgba(245,243,255,.92);font-size:12px;font-weight:800;letter-spacing:.2px}
.sticker--logo{padding:4px 8px}
.sticker--logo img{height:16px;width:auto;display:block}
