/* =========================================================
   WopaDeal — naujas pagrindinio puslapio dizainas.
   Kraunamas paskutinis (index.php apačioje), todėl perrašo
   senus inline ir mobile-home.css stilius. PHP logika nekeista.
   ========================================================= */
:root{
  --wd-ink:#0F1A14; --wd-ink-2:#2A352E; --wd-muted:#4D5A51; --wd-line:#E4E8E1;
  --wd-bg:#F5F6F2; --wd-surface:#fff; --wd-green:#0B7A3B; --wd-green-d:#08602E;
  --wd-mint:#E6F4EB; --wd-dark:#0E2A1B; --wd-dark-2:#163A26; --wd-lime:#5EE08E;
  --green:var(--wd-green); --green-2:var(--wd-green-d); --green-soft:var(--wd-mint);
  --ink:var(--wd-ink); --muted:var(--wd-muted); --line:var(--wd-line); --bg:var(--wd-bg);
}
body{font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--wd-ink);}
.wd-ico{display:block;flex-shrink:0;}

/* Animacijos ir „blizgučiai“ išjungiami */
.sg2-cat-section,.sg2-banner-slider,.sg2-block{animation:none!important;}

/* ---------- HERO ---------- */
.sg2-search-scene{background:var(--wd-dark)!important;border:0!important;border-radius:20px;margin:6px 0 4px;padding:44px 0 32px;}
.sg2-search-scene::before,.sg2-search-scene::after{display:none!important;}
.sg2-search-scene:has(.wd-cat-picker[open]){overflow:visible;}
.sg2-hero{padding:0 32px!important;background:transparent!important;}
.sg2-hero::before{display:none!important;}
.sg2-hero-inner{text-align:left!important;max-width:none!important;}
.sg2-hero-title{font-family:inherit!important;font-size:44px!important;font-weight:800!important;line-height:1.08!important;letter-spacing:-.035em!important;color:#fff!important;margin:0 0 24px!important;max-width:760px;}
.sg2-hero-title em{color:var(--wd-lime)!important;}
.sg2-search{padding:0 32px!important;background:transparent!important;border:0!important;}

/* Paieškos forma — balta kortelė su atskirais laukais */
.sg2-search-inner{
  max-width:none!important;background:#fff!important;border:0!important;border-radius:16px!important;
  box-shadow:none!important;padding:8px!important;gap:8px!important;
}
.sg2-search-inner:focus-within{box-shadow:0 0 0 3px rgba(94,224,142,.45)!important;}
.wd-cat-picker{flex:0 0 190px!important;background:var(--wd-bg)!important;border-radius:10px!important;}
.wd-cat-picker summary{min-height:56px!important;font-size:15px!important;font-weight:600!important;color:var(--wd-ink)!important;padding:0 14px!important;}
.wd-cat-picker summary span[aria-hidden]{color:var(--wd-muted);}
.wd-cat-options{border-color:var(--wd-line)!important;border-radius:12px!important;box-shadow:0 16px 40px rgba(15,26,20,.16)!important;}
.wd-cat-options input{accent-color:var(--wd-green)!important;}
.wd-cat-apply{background:var(--wd-green)!important;border-radius:10px!important;}
.wd-cat-clear{background:var(--wd-bg)!important;border-radius:10px!important;}

.sg2-q-wrap{background:var(--wd-bg)!important;border-radius:10px!important;}
.sg2-q{height:56px!important;font-size:16px!important;padding:0 16px!important;background:transparent!important;color:var(--wd-ink)!important;}
.sg2-q::placeholder{color:#6B776F!important;}

.sg2-city-picker{flex:0 0 180px!important;min-width:180px!important;max-width:180px!important;}
.sg2-city-trigger{
  height:56px!important;min-width:0!important;max-width:none!important;border:0!important;border-radius:10px!important;
  background:var(--wd-bg)!important;font-size:15px!important;font-weight:600!important;color:var(--wd-ink)!important;padding:0 14px!important;
}
.sg2-city-trigger svg{width:18px!important;height:18px!important;color:var(--wd-muted);}

.wd-type-filter{
  flex:0 0 160px!important;width:160px!important;height:56px;border:0!important;border-radius:10px!important;
  background-color:var(--wd-bg)!important;font-size:15px!important;font-weight:600;color:var(--wd-ink)!important;padding:0 12px!important;
}

.sg2-go{
  flex:0 0 140px!important;width:140px!important;min-width:140px!important;max-width:140px!important;
  height:56px!important;border-radius:10px!important;background:var(--wd-green)!important;font-size:16px!important;font-weight:700!important;
}
.sg2-go:hover{background:var(--wd-green-d)!important;}
.sg2-go svg{width:20px!important;height:20px!important;}

.sg2-suggest__thumb{color:var(--wd-muted);}
.sg2-suggest__item:hover,.sg2-suggest__item.is-active{background:var(--wd-mint)!important;}
.sg2-suggest__type--sup{background:var(--wd-mint)!important;color:var(--wd-green)!important;}

/* Išsaugota paieška / trumpiniai po paieška (tamsiame fone) */
.sg2-search-scene .wd-search-actions{max-width:none!important;padding:0;margin-top:12px!important;}
.sg2-search-scene .wd-save-search,.sg2-search-scene .wd-search-status{color:#C3D6CA!important;font-size:13px!important;}
.sg2-search-scene .wd-save-search:hover{color:#fff!important;}
.sg2-search-scene .wd-add-search{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.2)!important;}

/* ---------- PUSLAPIO TINKLELIS ---------- */
.sg2-page{padding:24px 0 8px!important;gap:24px!important;max-width:none!important;grid-template-columns:minmax(0,1fr) 300px!important;}
.sg2-page>div:first-child{gap:20px!important;}

/* ---------- KATEGORIJOS ---------- */
.sg2-cat-section{border:0!important;background:transparent!important;border-radius:0!important;}
.sg2-cat-section>.sg2-sec-head{padding:0 0 14px!important;border:0!important;background:transparent!important;}
.sg2-sec-title{font-family:inherit!important;font-weight:800!important;letter-spacing:-.02em!important;color:var(--wd-ink)!important;}
.sg2-cat-section>.sg2-sec-head .sg2-sec-title{font-size:22px!important;}
.sg2-sec-more{color:var(--wd-green)!important;font-weight:700!important;}

.sg2-favorites{background:#fff!important;border:1px solid var(--wd-line)!important;border-radius:14px;margin-bottom:12px;padding:12px 14px!important;}
.sg2-favorites__title{color:var(--wd-ink)!important;font-weight:700!important;}
.sg2-favorites__icon{background:#FCE8EF!important;color:#B4235A!important;border-radius:9px!important;}
.sg2-favorites__hint{color:var(--wd-muted)!important;font-weight:500;}
.wd-favorites-toggle{color:var(--wd-ink)!important;}

.sg2-cat-grid--full{padding:0!important;gap:12px!important;border:0!important;}
.sg2-cat-grid--full .sg2-cat-group,
.sg2-cat-grid--full .sg2-cat-group:nth-child(n){
  --cat-bg:#fff; --cat-border:var(--wd-line); --cat-accent:var(--wd-ink);
  background:#fff!important;border:1px solid var(--wd-line)!important;border-radius:14px!important;
  transition:border-color .15s,box-shadow .15s;
}
.sg2-cat-grid--full .sg2-cat-group:hover,.sg2-cat-grid--full .sg2-cat-group.is-open{border-color:#B9D9C4!important;box-shadow:0 6px 18px rgba(15,26,20,.06);}
.sg2-cat-group-title{min-height:72px!important;padding:14px!important;gap:12px!important;font-size:15px!important;}
.sg2-cat-icon{
  width:44px!important;height:44px!important;border-radius:12px!important;border:0!important;
  background:var(--wd-mint)!important;color:var(--wd-green)!important;font-size:0!important;transform:none!important;
}
.sg2-cat-icon .wd-ico{width:22px;height:22px;}
.sg2-cat-toggle{color:var(--wd-ink)!important;font-weight:700!important;font-size:15px!important;line-height:1.25;}
.sg2-cat-chevron{color:var(--wd-muted);display:flex;}
.sg2-cat-group.is-open .sg2-cat-chevron{transform:rotate(180deg);}
.sg2-cat-subs{background:#fff!important;border-top:1px solid var(--wd-line)!important;border-radius:0 0 14px 14px;}
.sg2-cat-all{color:var(--wd-green)!important;}
.sg2-cat-sub-link{color:var(--wd-ink-2)!important;border-top-color:#F0F2EC!important;}
.sg2-cat-sub-link:hover{color:var(--wd-green)!important;background:transparent!important;}

/* Prekyvietė — tamsi kortelė */
.sg2-cat-market,.sg2-cat-grid--full .sg2-cat-market{
  background:var(--wd-dark)!important;border:1px solid var(--wd-dark)!important;color:#fff!important;border-radius:14px!important;
}
.sg2-cat-market:hover{background:var(--wd-dark-2)!important;}
.sg2-cat-market-inner{min-height:72px!important;padding:14px!important;gap:12px!important;font-size:15px!important;font-weight:700!important;}
.sg2-cat-market .sg2-cat-icon{background:rgba(255,255,255,.1)!important;color:var(--wd-lime)!important;}
.sg2-cat-market-arrow{color:var(--wd-lime);display:flex;}

/* ---------- BANERIS ---------- */
.sg2-banner-slider{height:120px!important;border-radius:18px!important;border:0!important;box-shadow:none!important;background:var(--wd-mint)!important;}
.sg2-banner-slide,.sg2-banner-slide:nth-child(n){background:var(--wd-mint)!important;color:var(--wd-ink)!important;padding:20px 28px!important;}
.sg2-banner-slide.has-image{background-color:transparent!important;padding:0!important;}
.sg2-banner-slide:not(.has-image)::before{display:none!important;}
.sg2-banner-kicker{color:var(--wd-green)!important;font-size:12px!important;font-weight:800!important;letter-spacing:.06em!important;}
.sg2-banner-title{font-family:inherit!important;color:var(--wd-ink)!important;font-size:24px!important;font-weight:800!important;letter-spacing:-.025em!important;}
.sg2-banner-title em{color:var(--wd-green)!important;text-shadow:none!important;}
.sg2-banner-sub{color:var(--wd-muted)!important;font-weight:500!important;}
.sg2-banner-art{background:#fff!important;border:0!important;box-shadow:none!important;color:var(--wd-green);width:64px!important;height:64px!important;border-radius:16px!important;}
.sg2-banner-action{background:var(--wd-ink)!important;box-shadow:none!important;font-weight:700!important;border-radius:10px!important;padding:13px 20px!important;}
.sg2-banner-dots button{background:#9CCBAE!important;box-shadow:none!important;}
.sg2-banner-dots button.is-active{background:var(--wd-green)!important;}

/* ---------- NAUJAUSI SKELBIMAI ---------- */
.wd-latest,.sg2-block{border:1px solid var(--wd-line)!important;border-radius:18px!important;background:#fff!important;}
.wd-latest h2{font-family:inherit;font-weight:800!important;letter-spacing:-.02em;color:var(--wd-ink);border-bottom-color:#EEF1EB!important;}
.wd-latest-card{border-bottom-color:#EEF1EB!important;}
.wd-latest-card:hover{background:#FAFBF8;}
.wd-latest-image{background:var(--wd-bg)!important;color:var(--wd-muted);border-radius:12px!important;}
.wd-latest-info b{color:var(--wd-green)!important;}
.wd-latest-empty{color:var(--wd-muted)!important;}
.wd-kind{font-weight:700;}
.wd-kind--sup{background:var(--wd-mint)!important;color:var(--wd-green)!important;}
.wd-latest-links a{border:1px solid var(--wd-line);background:#fff!important;color:var(--wd-ink-2)!important;border-radius:10px!important;}
.wd-latest-links a:hover{border-color:#B9D9C4;color:var(--wd-green)!important;}
.wd-shortcut-tabs button,.wd-shortcut-tabs .wd-shortcut-listings,
.wd-shortcut-toggle--searches,.wd-shortcut-toggle--favorites{
  background:#fff!important;color:var(--wd-ink-2)!important;border:1px solid var(--wd-line)!important;
}
.wd-shortcut-tabs button[aria-expanded=true]{border-color:var(--wd-green)!important;color:var(--wd-green)!important;box-shadow:none!important;}

/* Seni skelbimų blokai (jei rodomi) */
.sg2-sec-head--rich{background:#fff!important;border-bottom-color:#EEF1EB!important;}
.sg2-sec-icon,.sg2-sec-icon--sell,.sg2-sec-icon--sup,.sg2-sec-icon--job{background:var(--wd-mint)!important;border:0!important;color:var(--wd-green)!important;box-shadow:none!important;transform:none!important;}
.sg2-sec-more--sell,.sg2-sec-more--sup{background:#fff!important;border:1px solid var(--wd-line)!important;color:var(--wd-green)!important;}
.sg2-lcard__thumb,.sg2-lrow__thumb{background:var(--wd-bg)!important;color:var(--wd-muted);border-color:var(--wd-line)!important;}
.sg2-lcard__price,.sg2-lrow__price{color:var(--wd-green)!important;}
.sg2-lcard__city{display:flex;align-items:center;gap:4px;}
.sg2-lcard__top,.sg2-lrow__top{background:#B45309!important;}
.sg2-lrow__cat{background:var(--wd-mint)!important;color:var(--wd-green)!important;border-color:transparent!important;}

/* ---------- ŠONINĖ JUOSTA ---------- */
.sg2-aside{gap:16px!important;}
.sg2-new-cta{background:var(--wd-green)!important;box-shadow:none!important;border-radius:18px!important;padding:22px!important;align-items:flex-start!important;text-align:left!important;gap:8px!important;transform:none!important;}
.sg2-new-cta::before,.sg2-new-cta::after{display:none!important;}
.sg2-new-cta__title{font-family:inherit!important;font-size:21px!important;font-weight:800!important;}
.sg2-new-cta__title em{background:none!important;-webkit-text-fill-color:#fff!important;color:#fff!important;}
.sg2-new-cta__title em::after{display:none!important;}
.sg2-new-cta__sub{color:#DDF2E4!important;font-size:14px!important;font-weight:500!important;}
.sg2-new-cta__btn{width:100%;min-height:48px;margin-top:8px!important;border-radius:10px!important;color:var(--wd-ink)!important;font-size:15px!important;font-weight:700!important;box-shadow:none!important;}
.sg2-new-cta__btn:hover{background:#F0F7F2!important;}

.sg2-sbox,.sg2-shop-mini{border:1px solid var(--wd-line)!important;border-radius:18px!important;box-shadow:none!important;}
.sg2-sbox__head{border-bottom-color:#EEF1EB!important;}
.sg2-sbox__body>a[href="/profile.php#superad"]{border:1.5px dashed #CBD3C8!important;background:#FAFBF8!important;color:var(--wd-muted)!important;}
.sg2-sbox__body a[href="/profile.php#superad"]{color:var(--wd-green)!important;}
.sg2-sbox__body div>a[href="/profile.php#superad"]{border:0!important;background:none!important;padding:0!important;box-shadow:none!important;}
.promo-dots .dot.active{background:var(--wd-green)!important;}
.sg2-shop-mini__head strong{color:var(--wd-ink)!important;font-size:14px!important;}
.sg2-shop-mini__head a{color:var(--wd-green)!important;font-size:12px!important;}
.sg2-shop-mini__info b{color:var(--wd-ink)!important;font-size:14px;}
.sg2-shop-mini__image{background:var(--wd-bg)!important;color:var(--wd-muted);display:flex!important;align-items:center;justify-content:center;line-height:1!important;}
.sg2-shop-mini__image--missing::after{content:''!important;background:center/26px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D5A51' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");}
.sg2-shop-mini__stage button{background:var(--wd-bg)!important;color:var(--wd-ink)!important;}
.sg2-aside>.wd-latest-links{border-radius:18px!important;border-color:var(--wd-line)!important;}
.sg2-promo-label::before{content:''!important;}

/* =========================================================
   PLANŠETĖ
   ========================================================= */
@media (max-width:1080px){
  .sg2-page{grid-template-columns:minmax(0,1fr)!important;}
  .sg2-hero-title{font-size:36px!important;}
}
@media (max-width:900px){
  .sg2-search-inner{flex-wrap:wrap!important;background:#fff!important;}
  .wd-cat-picker,.sg2-city-picker,.wd-type-filter{flex:1 1 calc(33% - 8px)!important;max-width:none!important;min-width:0!important;width:auto!important;}
  .sg2-q-wrap{order:-1!important;flex:1 1 100%!important;width:100%!important;border:0!important;height:auto!important;}
  .sg2-go{flex:1 1 100%!important;width:100%!important;max-width:none!important;}
  .sg2-city-trigger{border:0!important;}
}

/* =========================================================
   TELEFONAS
   ========================================================= */
@media (max-width:640px){
  .sg2-search-scene{border-radius:0;margin:0;padding:24px 0 20px;}
  .sg2-hero{padding:0 16px!important;}
  .sg2-hero-title{font-size:27px!important;line-height:1.12!important;margin-bottom:16px!important;}
  .sg2-search{padding:0 16px!important;}

  .sg2-search-inner.wd-compact-form{padding:6px!important;gap:6px!important;grid-template-columns:minmax(0,1fr) 52px!important;border-radius:14px!important;}
  .wd-compact-form .sg2-q-wrap{border:0!important;height:52px!important;border-radius:10px!important;background:var(--wd-bg)!important;}
  .wd-compact-form .sg2-q{height:52px!important;font-size:16px!important;}
  .wd-compact-form .sg2-go{width:52px!important;min-width:52px!important;max-width:52px!important;height:52px!important;border-radius:10px!important;}
  .wd-compact-form .wd-filter-toggle{
    min-height:44px;border:0!important;border-radius:10px!important;background:#fff!important;color:var(--wd-ink-2)!important;
    font-weight:600!important;text-align:left;padding:10px 12px!important;display:flex!important;align-items:center;gap:8px;
  }
  .wd-compact-form .wd-filter-toggle::before{content:'';width:18px;height:18px;flex:0 0 18px;background:center/18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D5A51' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E");}
  .wd-compact-form.wd-filters-open .wd-cat-picker,
  .wd-compact-form.wd-filters-open .wd-type-filter,
  .wd-compact-form .sg2-city-trigger{border:0!important;background:var(--wd-bg)!important;border-radius:10px!important;}
  .wd-compact-form.wd-filters-open .wd-cat-picker{flex:none!important;}
  .wd-compact-form.wd-filters-open .sg2-city-picker{flex:none!important;width:100%!important;}
  .wd-compact-form .sg2-city-trigger{height:48px!important;}
  .wd-compact-form.wd-filters-open .wd-type-filter{height:48px!important;flex:none!important;}
  .wd-cat-options{background:#fff;}

  .wd-mobile-add{background:var(--wd-lime)!important;color:var(--wd-dark)!important;font-weight:800!important;min-height:48px!important;border-radius:12px!important;margin-top:10px!important;font-size:15px!important;}
  .sg2-search-scene .wd-search-actions{justify-content:flex-start!important;}

  .sg2-page{padding:20px 12px 0!important;gap:20px!important;}
  .sg2-page>div:first-child{gap:16px!important;}

  /* Kategorijos: 2 stulpeliai, ikona viršuje */
  .wd-categories-ready>.sg2-sec-head{padding:0!important;}
  .wd-category-toggle{border:1px solid var(--wd-line)!important;border-radius:14px!important;min-height:52px!important;font-weight:700!important;}
  .sg2-cat-section>.sg2-sec-head{padding:0 0 12px!important;}
  .sg2-cat-section>.sg2-sec-head>.sg2-sec-title{font-size:19px!important;}
  .sg2-cat-grid--full{gap:8px!important;padding:0!important;}
  .sg2-cat-group-title,.sg2-cat-market-inner{min-height:60px!important;padding:10px!important;gap:10px!important;font-size:14px!important;}
  .sg2-cat-icon{width:38px!important;height:38px!important;border-radius:10px!important;}
  .sg2-cat-icon .wd-ico{width:20px;height:20px;}
  .sg2-cat-toggle{font-size:14px!important;}
  .sg2-cat-chevron .wd-ico{width:16px;height:16px;}
  .sg2-cat-subs{padding:0 12px 10px!important;background:#fff!important;}

  .sg2-favorites{margin-bottom:10px;}

  .wd-latest{border-radius:16px!important;}
  .wd-latest h2{font-size:17px!important;}
  .wd-latest-links{gap:8px!important;}
  .wd-latest-links a{flex:1 1 auto;justify-content:center;min-height:44px!important;font-size:12px!important;}

  .sg2-banner-slider{height:118px!important;border-radius:16px!important;}
  .sg2-banner-slide,.sg2-banner-slide:nth-child(n){padding:16px!important;}
  .sg2-banner-title{font-size:18px!important;}
  .sg2-banner-art{width:44px!important;height:44px!important;border-radius:12px!important;}
  .sg2-banner-art .wd-ico{width:22px;height:22px;}

  .sg2-aside{max-width:none!important;width:100%!important;}
  .sg2-shop-mini-mobile{width:100%!important;max-width:none!important;}
  .sg2-shop-mini{border-radius:16px!important;}
}

/* Miesto mygtuko tekstas lygiuojamas kairėje */
.sg2-city-trigger{justify-content:flex-start!important;}
.sg2-city-trigger [data-pkvalue]{flex:1 1 auto;text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

/* =========================================================
   TELEFONAS — kompaktiškesnis viršus ir mažiau tuščių tarpų
   ========================================================= */
@media (max-width:640px){
  .sg2-search-scene{padding:16px 0 14px!important;}
  .sg2-hero-title{font-size:22px!important;line-height:1.15!important;margin-bottom:12px!important;}
  .sg2-search-inner.wd-compact-form{padding:5px!important;}
  .wd-compact-form .sg2-q-wrap,.wd-compact-form .sg2-q{height:48px!important;}
  .wd-compact-form .sg2-go{width:48px!important;min-width:48px!important;max-width:48px!important;height:48px!important;}
  .wd-compact-form .wd-filter-toggle{min-height:40px!important;padding:6px 10px!important;}
  .sg2-search-scene .wd-search-actions{margin-top:6px!important;}
  .sg2-search-scene .wd-save-search{min-height:32px!important;}
  .wd-mobile-add{min-height:44px!important;margin-top:8px!important;}
  .sg2-page{padding-top:16px!important;}

  /* Tuščias „Naujausi skelbimai“ */
  .wd-latest-empty{padding:12px 16px 2px!important;}
  .wd-latest-links{padding:8px 16px 14px!important;}
  .wd-latest>.wd-shortcuts{padding:0 16px 14px!important;margin:0!important;}

  /* Apačia: mažesnis tarpas iki footer */
  .main.container{padding-bottom:0!important;}
  .sg2-page{padding-bottom:0!important;}
}
.sg2-sbox__body>div:last-child a{border:0!important;outline:0!important;background:none!important;padding:0!important;}

/* Keep the original list, with larger listing photos. */
.wd-latest .wd-latest-card{display:flex!important;flex-direction:row;align-items:center;gap:18px;padding:18px!important;min-width:0;}
.wd-latest .wd-latest-image{flex:0 0 156px!important;width:156px!important;height:117px!important;border-radius:12px!important;overflow:hidden;}
.wd-latest .wd-latest-image img{display:block;width:100%;height:100%;object-fit:cover!important;object-position:center;}
.wd-latest .wd-latest-info{flex:1;min-width:0;gap:7px;}
.wd-latest .wd-latest-info strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere;}
.wd-latest .wd-latest-info b{font-size:17px;}
@media(max-width:640px){.wd-latest .wd-latest-card{gap:12px;padding:14px!important;}.wd-latest .wd-latest-image{flex-basis:112px!important;width:112px!important;height:84px!important;}.wd-latest .wd-latest-info strong{font-size:14px;}.wd-latest .wd-latest-info b{font-size:16px;}}

/* Promoted listings: warm highlight across the entire row. */
.wd-latest .wd-latest-card.is-top{
 background:linear-gradient(110deg,#FFF0D7 0%,#FFF8EB 100%)!important;
 box-shadow:inset 5px 0 0 #E99521;
 border-bottom-color:#F0D7AE!important;
 transition:background .18s ease,box-shadow .18s ease;
}
.wd-latest .wd-latest-card.is-top:hover{
 background:linear-gradient(110deg,#FFE5BA 0%,#FFF1D9 100%)!important;
 box-shadow:inset 5px 0 0 #D98310;
}
.wd-latest .wd-latest-card.is-top .wd-latest-image{box-shadow:0 0 0 1px #E9C58D;}
.wd-latest .wd-latest-card.is-top .wd-latest-info strong>span{
 background:#A95C00!important;color:#FFF!important;padding:4px 8px!important;
 border-radius:6px!important;font-size:11px!important;letter-spacing:.03em;
}

/* Tvarka ir paieška nustatoma CSS, kad kraunant puslapį (kol dar neveikia JS) nebūtų šokinėjimo */
.sg2-page>div:first-child>.wd-latest{order:1;}
.sg2-page>div:first-child>.sg2-cat-section,.sg2-page>div:first-child>.sg2-banner-slider{order:0;}
@media(max-width:640px){
  .sg2-page>div:first-child>.sg2-banner-slider,.sg2-page>div:first-child>.sg2-shop-mini-mobile{order:10;}
  .wd-js .sg2-search-inner:not(.wd-compact-form){display:grid!important;grid-template-columns:minmax(0,1fr) 48px;gap:6px!important;padding:5px!important;}
  .wd-js .sg2-search-inner:not(.wd-compact-form)>.wd-cat-picker,
  .wd-js .sg2-search-inner:not(.wd-compact-form)>.sg2-city-picker,
  .wd-js .sg2-search-inner:not(.wd-compact-form)>.wd-type-filter{display:none!important;}
  .wd-js .sg2-search-inner:not(.wd-compact-form)>.sg2-q-wrap{order:0!important;width:auto!important;height:48px!important;border:0!important;}
  .wd-js .sg2-search-inner:not(.wd-compact-form)>.sg2-go{order:0!important;width:48px!important;min-width:48px!important;max-width:48px!important;height:48px!important;padding:0!important;}
  .wd-js .sg2-search-inner:not(.wd-compact-form)>.sg2-go span{display:none!important;}
}

/* Compact phone search: one row; filters are explicitly opened. */
@media(max-width:767px){
 .sg2-search-scene{padding:18px 0 16px!important;}
 .sg2-hero-title{margin-bottom:14px!important;}
 .sg2-search-inner.wd-compact-form{display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px!important;align-items:center!important;gap:6px!important;padding:5px!important;background:#fff!important;border:0!important;border-radius:14px!important;}
 .wd-compact-form .sg2-q-wrap{grid-column:1!important;grid-row:1;order:0!important;min-width:0!important;width:auto!important;height:46px!important;border:0!important;background:var(--wd-bg,#f4f6f2)!important;border-radius:10px!important;}
 .wd-compact-form .sg2-q{height:46px!important;padding:0 10px!important;font-size:16px!important;}
 .wd-compact-form .sg2-go{grid-column:2!important;grid-row:1;order:0!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:46px!important;padding:0!important;border-radius:10px!important;}
 .wd-compact-form .sg2-go span{display:none!important;}
 .wd-compact-form .wd-filter-toggle{grid-column:3!important;grid-row:1;order:0!important;display:flex!important;justify-content:center!important;align-items:center!important;position:relative;min-height:46px!important;width:44px!important;padding:0!important;gap:0!important;border:0!important;border-radius:10px!important;font-size:0!important;background:#edf5ef!important;}
 .wd-compact-form .wd-filter-toggle::before{content:'';display:block;width:20px;height:20px;flex:0 0 20px;background:center/20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166c3d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E");}
 .wd-compact-form .wd-filter-toggle:not([data-filter-count="0"])::after{content:attr(data-filter-count);position:absolute;right:1px;top:1px;min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:#11753e;color:#fff;font:700 10px/15px sans-serif;}
 .wd-compact-form .wd-filter-toggle[aria-expanded="true"]{box-shadow:inset 0 0 0 2px #168447;}
 .wd-compact-form:not(.wd-filters-open)>.wd-cat-picker,.wd-compact-form:not(.wd-filters-open)>.sg2-city-picker,.wd-compact-form:not(.wd-filters-open)>.wd-type-filter{display:none!important;}
 .wd-compact-form.wd-filters-open>.wd-cat-picker,.wd-compact-form.wd-filters-open>.sg2-city-picker,.wd-compact-form.wd-filters-open>.wd-type-filter{display:block!important;grid-column:1/-1!important;grid-row:auto;order:2!important;width:100%!important;min-width:0!important;max-width:none!important;}
 .wd-compact-form.wd-filters-open>.sg2-city-picker{order:3!important;}
 .wd-compact-form.wd-filters-open>.wd-type-filter{order:4!important;height:46px!important;}
 .wd-compact-form .sg2-city-trigger{width:100%!important;min-width:0!important;max-width:none!important;}
 .wd-mobile-add,#sg2MobileListingCTA,.sg2-aside>.sg2-new-cta{display:none!important;}
 .sg2-search-scene .wd-search-actions[hidden]{display:none!important;}
 .wd-compact-form .sg2-suggest{right:-100px!important;}
}
/* Category hierarchy and a bounded city dialog with always-visible actions. */
.wd-filter-group{border-bottom:1px solid #e3ebe5;}
.wd-cat-options .wd-filter-group>summary{min-height:48px;padding:10px 12px;font-weight:750;}
.wd-filter-group[open]>summary{background:#edf7ef;color:#146c3b;}
.wd-filter-sublist{padding:0 6px 8px 14px;}
.wd-filter-sublist label{font-weight:500;}
.wd-filter-sublist .wd-filter-all{font-weight:700;color:#146c3b;}
.wd-cat-done,.wd-filter-done{min-height:44px;padding:10px 16px;border:0;border-radius:10px;background:#11773e;color:#fff;font:inherit;font-size:14px;font-weight:700;line-height:1.2;cursor:pointer;}
.wd-cat-done{width:100%;margin-top:6px;position:sticky;bottom:0;}
.wd-filter-done{display:none;}
@media(max-width:767px){.wd-compact-form.wd-filters-open>.wd-filter-done{display:block;grid-column:1/-1;order:5!important;}.wd-cat-options{max-height:42dvh!important;overflow:auto!important;}.wd-filter-group summary{font-size:15px!important;}}
body.wd-city-open{overflow:hidden;}
.wd-city-dialog{position:fixed;inset:0;margin:auto!important;width:min(480px,calc(100vw - 24px));height:min(650px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);max-width:calc(100vw - 24px);padding:0;border:1px solid #dce6df;border-radius:20px;background:#fff;color:#183426;box-shadow:0 20px 70px #0004;overflow:hidden;}
.wd-city-dialog[open]{display:flex;flex-direction:column;}
.wd-city-dialog::backdrop{background:#061b12a8;backdrop-filter:blur(3px);}
.wd-city-heading{display:flex;align-items:center;justify-content:space-between;flex:none;padding:14px 16px;border-bottom:1px solid #e4ebe5;gap:12px;}
.wd-city-heading h2{margin:0;font-size:20px;}
.wd-city-x{width:40px;height:40px;border:0;border-radius:50%;font-size:28px;background:#edf5ef;color:#19452b;cursor:pointer;}
.wd-city-content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;}
.wd-city-dialog .pk-search{width:calc(100% - 24px);height:44px;min-height:44px;margin:12px 12px 6px;}
.wd-city-selected{margin:0;padding:4px 14px 10px;font-size:13px;color:#456752;max-height:66px;overflow:auto;flex:none;}
.wd-city-dialog .pk-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px 12px;}
.wd-city-dialog .pk-item{min-height:44px;padding:10px 8px;font-size:15px;font-weight:500;gap:12px;}
.wd-city-dialog .pk-item[hidden]{display:none!important;}
.wd-city-dialog input[type=checkbox]{width:20px;height:20px;accent-color:#11773e;flex:none;}
.wd-city-dialog .pk-actions{flex:none;display:flex;flex-direction:column;align-items:stretch;padding:12px 14px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e0e9e3;gap:8px;}
.wd-city-dialog .rowbtns{display:flex;gap:10px;}
.wd-city-dialog .pk-actions button{min-height:44px;justify-content:center;font-size:15px;border-radius:10px;}
.wd-city-dialog .pk-clear{flex:1;}.wd-city-dialog .pk-close{flex:2;background:#11773e;color:#fff;border:0;}
.wd-city-dialog .pk-hint{font-size:12px;text-align:center;}
.wd-city-error{margin:0;padding:8px 14px;color:#ac2424;font-size:13px;flex:none;}
.wd-city-dialog .pk-item{display:flex;align-items:center;cursor:pointer;border-radius:9px;}
.wd-city-dialog .pk-item:has(input:checked){background:#edf7ef;}
.wd-city-dialog .pk-search{border:1px solid #d9e4dc;border-radius:10px;padding:0 12px;background:#f8fbf8;font:inherit;outline:none;}
.wd-city-dialog .pk-search:focus{border-color:#168447;box-shadow:0 0 0 2px #16844720;}
.wd-city-dialog button{font-family:inherit;cursor:pointer;}
.wd-city-dialog .pk-clear{background:#eef4ef;color:#234f34;border:1px solid #dce7df;}

/* Category actions occupy their own space and never cover the scroll list. */
.wd-cat-options{display:flex!important;flex-direction:column;overflow:hidden!important;padding:0!important;max-height:min(480px,65dvh)!important;}
.wd-cat-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px;scroll-padding-bottom:12px;}
.wd-cat-footer{flex:0 0 auto;display:flex;gap:8px;align-items:stretch;padding:10px;background:#fff;border-top:1px solid #dce7df;}
.wd-cat-footer .wd-cat-clear,.wd-cat-footer .wd-cat-done{position:static!important;margin:0!important;flex:1;min-width:0;width:auto!important;min-height:44px;font:inherit;font-size:13px;font-weight:700;}
@media(max-width:767px){.wd-compact-form .wd-cat-options{max-height:48dvh!important;overflow:hidden!important;}.wd-cat-scroll{padding-bottom:12px;}.wd-cat-footer .wd-cat-clear{flex:1;}.wd-cat-footer .wd-cat-done{flex:1.2;}}

/* Reserve the lower rows so Apply stays above the phone navigation. */
@media(max-width:767px){
 .wd-compact-form .wd-cat-options{max-height:var(--wd-category-height, min(30dvh,230px))!important;}
 .sg2-search-scene:has(.wd-filters-open) .sg2-hero-title{font-size:19px!important;line-height:1.2!important;margin-bottom:10px!important;}
 .sg2-search-scene:has(.wd-filters-open){padding-top:12px!important;padding-bottom:12px!important;}
 .wd-compact-form.wd-filters-open>.sg2-city-picker .sg2-city-trigger,.wd-compact-form.wd-filters-open>.wd-type-filter{height:44px!important;min-height:44px!important;}
 .wd-compact-form .wd-cat-footer{padding:8px;}
 .wd-filter-done{scroll-margin-bottom:90px;}
}

/* Visible listing-type label and clear field boundaries. */
.sg2-search-inner>.wd-type-label{display:flex;align-items:center;font-size:12px;font-weight:700;padding:0 8px;color:#254b33}
.sg2-search-inner :is(.sg2-city-trigger,.wd-type-filter,.sg2-q),.sg2-search-inner>.wd-cat-picker>summary{border:1px solid #8aab96!important;background-color:#fff!important}
@media(max-width:767px){
 .sg2-search-inner>.wd-type-label{display:none!important}
 .sg2-search-inner.wd-compact-form.wd-filters-open>.wd-type-label{display:block!important;grid-column:1/-1!important;order:4!important;padding:2px 8px 0;font-size:12px}
}

/* Keep the editable search control inside its rounded wrapper, including focus. */
#sg2Form .sg2-q-wrap{min-width:0!important;border-radius:10px!important}
#sg2Form input#sg2Q,#sg2Form input#sg2Q:focus,#sg2Form input#sg2Q:focus-visible{display:block;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;border:0!important;border-radius:10px!important;outline:0!important;box-shadow:none!important;-webkit-appearance:none;appearance:none;background:#f4f6f2!important}
#sg2Form .sg2-q-wrap:focus-within{box-shadow:none!important}
#sg2Form input#sg2Q:focus-visible{box-shadow:inset 0 0 0 2px #168447!important}
#sg2Form:focus-within{box-shadow:none!important}
