/* Owner 2026-11-26 (phone): round category pictures (real listing photos) in place of the
   "Visas kategorijas" bar; the categories live in the top-right menu (the side drawer is hidden on phones).
   Desktop is unchanged: the row is hidden from 768 px up. Burgundy brand, no green. */
.m-home-carousels{display:none}
@media (max-width:767.98px){
  .m-home-carousels{display:block;margin:6px 0 4px;min-width:0}
  /* round category pictures */
  .m-stories-row{display:flex;gap:12px;margin:0;padding:4px 2px 8px;list-style:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none}
  .m-stories-row::-webkit-scrollbar{display:none}
  .m-stories-row>li{flex:none;scroll-snap-align:start}
  .m-story{display:flex;flex-direction:column;align-items:center;gap:6px;width:74px;color:#2a1c23;text-decoration:none}
  .m-story-ring{display:grid;place-items:center;width:70px;height:70px;padding:2.5px;border-radius:50%;background:conic-gradient(from 210deg,#ffb347,#ff5f6d,#d81b60,#8a0e3d,#ff7a59,#ffb347)}
  .m-story-pic{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;overflow:hidden;background:#fff;border:2.5px solid #fff;color:#8a0e3d}
  .m-story-pic picture{display:block;width:100%;height:100%}.m-story-pic img{width:100%;height:100%;object-fit:cover;display:block}
  .m-story-pic svg{width:28px;height:28px}
  .m-story-all{background:linear-gradient(145deg,#fff1f5,#fbd9e5)}
  .m-story-name{max-width:100%;font-size:11.5px;font-weight:650;line-height:1.2;text-align:center;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .m-story:focus-visible{outline:none}.m-story:focus-visible .m-story-ring{outline:3px solid #8a0e3d;outline-offset:3px}
  /* the side category drawer → the top-right menu */
  .cat-drawer{display:none!important}
  .mobile-nav-label{margin:10px 0 4px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8a6a78}
  .mobile-nav-cats{display:grid;gap:2px;max-height:52vh;overflow-y:auto;overscroll-behavior:contain}
  .mobile-nav-cats a{display:flex;align-items:center;gap:10px;min-height:44px}
  .mobile-nav-cats svg{width:20px;height:20px;flex:none;color:#8a0e3d}
}
@media (min-width:768px){.mobile-nav-label,.mobile-nav-cats{display:none}}
@media (max-width:767.98px){
  .m-home-carousels{margin-top:12px}
  .mobile-nav .mobile-nav-cats a{color:#2a1c23;text-decoration:none;font-weight:600;padding:0 4px;border-radius:10px}
  .mobile-nav .mobile-nav-cats a:hover,.mobile-nav .mobile-nav-cats a:focus-visible{background:#fbeef3;color:#8a0e3d}
}
/* Owner 2026-11-26 (desktop home): one row — sort (left), Visi / Pārdod / Pērk / Atdod centred in their colours (as on the
   approved design copy), grid / list tools (right). The phone keeps its own intent row above the listings. */
.toolbar-intent{display:none}
@media (min-width:768px){
  html body .home-body .feed-intent,html body .catalog-results-head .feed-intent{display:none!important}
  html body .home-body>.feed-controls,html body#marketplace-home .home-body>.feed-controls{display:none!important} /* its only desktop content (the intent row) moved into the sort row */
  html body .results-toolbar:has(>.toolbar-intent){display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px 16px}
  .results-toolbar:has(>.toolbar-intent)>.catalog-sort{justify-self:start}
  .results-toolbar>.toolbar-intent{display:flex;justify-self:center}
  .results-toolbar:has(>.toolbar-intent)>:last-child{justify-self:end}
  html body .results-toolbar>.toolbar-intent .intent-nav{display:flex!important;gap:4px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
  html body .results-toolbar>.toolbar-intent .intent-option{--ic:#6b5a63;--tint:#f3eef0;--on:#3a2a31;display:inline-flex!important;align-items:center;gap:6px;min-height:38px;padding:4px 12px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#5f4b55!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important;text-decoration:none!important;transition:background .15s,color .15s}
  html body#marketplace-home .results-toolbar>.toolbar-intent .intent-option{--ic:#6b5a63;--tint:#f3eef0;--on:#3a2a31;display:inline-flex!important;align-items:center;gap:6px;min-height:38px;padding:4px 12px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#5f4b55!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important;text-decoration:none!important;transition:background .15s,color .15s}
  html body .results-toolbar>.toolbar-intent .intent-option::after{display:none!important}
  html body .results-toolbar>.toolbar-intent .intent-option .ic{display:inline-block!important;width:16px;height:16px;color:var(--ic)}
  html body .results-toolbar>.toolbar-intent .intent-sell{--ic:#c8102e;--tint:#fde8ec;--on:#b0002f}
  html body#marketplace-home .results-toolbar>.toolbar-intent .intent-sell{--ic:#c8102e;--tint:#fde8ec;--on:#b0002f}
  html body .results-toolbar>.toolbar-intent .intent-buy{--ic:#1a8f4e;--tint:#e6f5ec;--on:#12733f}
  html body#marketplace-home .results-toolbar>.toolbar-intent .intent-buy{--ic:#1a8f4e;--tint:#e6f5ec;--on:#12733f}
  html body .results-toolbar>.toolbar-intent .intent-give{--ic:#d19a00;--tint:#fff4cc;--on:#8a6100}
  html body#marketplace-home .results-toolbar>.toolbar-intent .intent-give{--ic:#d19a00;--tint:#fff4cc;--on:#8a6100}
  html body .results-toolbar>.toolbar-intent .intent-option:hover{background:var(--tint)!important;color:var(--on)!important}
  html body#marketplace-home .results-toolbar>.toolbar-intent .intent-option:hover{background:var(--tint)!important;color:var(--on)!important}
  html body .results-toolbar>.toolbar-intent .intent-option[aria-current]{background:var(--tint)!important;color:var(--on)!important;font-weight:750!important;box-shadow:inset 0 -2px 0 var(--ic)!important}
  html body#marketplace-home .results-toolbar>.toolbar-intent .intent-option[aria-current]{background:var(--tint)!important;color:var(--on)!important;font-weight:750!important;box-shadow:inset 0 -2px 0 var(--ic)!important}
  html body .results-toolbar>.toolbar-intent .intent-option:focus-visible{outline:2px solid var(--ic);outline-offset:2px}
}
@media (prefers-reduced-motion:reduce){.toolbar-intent .intent-option{transition:none}}
/* Owner 2026-11-26 (phone category pages): "← Atgriezties" + the opened category, every subcategory as a tile, and the
   filters folded behind the sliders button. Desktop unchanged. */
.m-cat-head,.tg-filter-toggle{display:none}
@media (max-width:767.98px){
  .m-cat-head{display:block;margin:4px 0 10px}
  .m-cat-bar{display:flex;align-items:center;gap:10px;min-width:0}
  .m-cat-back{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 12px 0 8px;border:1px solid #eadfe3;border-radius:12px;background:#fff;color:#8a0e3d;font-weight:700;font-size:14px;text-decoration:none;flex:none}
  .m-cat-back-ic{width:18px;height:18px;transform:rotate(90deg)}
  .m-cat-name{display:flex;align-items:center;gap:8px;min-width:0;margin:0;font-size:18px;font-weight:800;color:#1f1a1d;line-height:1.2}
  .m-cat-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .m-cat-name svg{width:24px;height:24px;flex:none}
  .m-subcats{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;margin-top:10px}
  .m-subcat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:76px;padding:8px 6px;border:1px solid #eadfe3;border-radius:14px;background:#fff;color:#2a1c23;font-size:12.5px;font-weight:650;line-height:1.2;text-align:center;text-decoration:none}
  .m-subcat svg{width:24px;height:24px}
  .m-subcat small{color:#8a6a78;font-weight:600;font-size:11px}
  .m-subcat[aria-current]{border-color:#8a0e3d;background:#fbeef3;color:#8a0e3d;box-shadow:inset 0 0 0 1px #8a0e3d}
  .m-subcat:focus-visible,.m-cat-back:focus-visible{outline:3px solid #8a0e3d;outline-offset:2px}
  /* the old drop-down of subcategories is replaced by the tiles above (brands stay) */
  .m-cat-head ~ .category-navigation + .subcategory-rows .subcategory-picker,.search-blueprint:has(.m-cat-head) .subcategory-picker{display:none!important}
  /* filters folded behind the sliders button */
  .tg-filter-toggle{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid #eadfe3;border-radius:12px;background:#fff;color:#3a2a31;cursor:pointer}
  .tg-filter-toggle .ic{width:22px;height:22px}
  .tg-filter-toggle[aria-expanded="true"]{border-color:#8a0e3d;color:#8a0e3d;background:#fbeef3}
  .tg-filter-count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#8a0e3d;color:#fff;font-size:11px;line-height:18px;text-align:center}
  .results-toolbar:has(>.tg-filter-toggle){display:flex!important;align-items:center;gap:8px}
  .results-toolbar>.tg-filter-toggle+.catalog-sort{margin-right:auto}
  .tg-filters[data-folded]{display:none!important}
  .tg-filters{margin:0 0 12px}
}
/* Owner 2026-11-26 (later): the category row on desktop too — in place of the category buttons, rounded-square pictures
   (as on the design copy) with arrows; phones keep round pictures and swipe. */
.m-stories{position:relative}
.m-stories-btn{display:none}
@media (min-width:768px){
  .m-home-carousels{display:block;margin:14px 0 6px;min-width:0}
  html body .future-home-main:has(>.m-home-carousels)>.category-navigation{display:none!important}
  .m-stories-row{display:flex;gap:14px;margin:0;padding:6px 4px 8px;scroll-padding-inline:4px;list-style:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none}
  .m-stories-row::-webkit-scrollbar{display:none}
  .m-stories-row>li{flex:none;scroll-snap-align:start}
  .m-story{display:flex;flex-direction:column;align-items:center;gap:7px;width:92px;color:#2a1c23;text-decoration:none}
  .m-story-ring{display:grid;place-items:center;width:84px;height:84px;padding:3px;border-radius:24px;background:conic-gradient(from 210deg,#ffb347,#ff5f6d,#d81b60,#8a0e3d,#ff7a59,#ffb347);transition:transform .2s}
  .m-story-pic{display:grid;place-items:center;width:100%;height:100%;border-radius:21px;overflow:hidden;background:#fff;border:3px solid #fff;color:#8a0e3d}
  .m-story-pic img{width:100%;height:100%;object-fit:cover;display:block}
  .m-story-pic svg{width:30px;height:30px}
  .m-story-all{background:linear-gradient(145deg,#fff1f5,#fbd9e5)}
  .m-story-name{max-width:100%;font-size:12.5px;font-weight:650;line-height:1.2;text-align:center;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .m-story:hover .m-story-ring{transform:translateY(-2px) scale(1.03)}
  .m-story:focus-visible{outline:none}.m-story:focus-visible .m-story-ring{outline:3px solid #8a0e3d;outline-offset:3px}
  .m-stories-btn{position:absolute;top:32px;z-index:5;display:grid;place-items:center;width:44px;height:44px;border:1px solid #eadfe3;border-radius:50%;background:rgba(255,255,255,.96);color:#3a2a31;box-shadow:0 6px 18px rgba(40,12,25,.18);cursor:pointer;transition:opacity .2s,transform .2s}
  .m-stories-btn .ic{width:22px;height:22px}
  .m-stories-btn.is-prev{left:-18px}.m-stories-btn.is-prev .ic{transform:rotate(90deg)}
  .m-stories-btn.is-next{right:-18px}.m-stories-btn.is-next .ic{transform:rotate(-90deg)}
  .m-stories-btn:hover{color:#8a0e3d;transform:scale(1.06)}
  .m-stories-btn:focus-visible{outline:3px solid #8a0e3d;outline-offset:2px}
  .m-stories-btn:disabled,.m-stories.is-static .m-stories-btn{opacity:0;pointer-events:none}
}
@media (prefers-reduced-motion:reduce){.m-story-ring,.m-stories-btn{transition:none}}
/* Owner 2026-11-26: category / catalog pages use the same category row as the home page (desktop), with the opened
   category marked and its subcategories as tiles below; phones keep "← Atgriezties" + the category + tiles. */
.m-story[aria-current] .m-story-name{color:#8a0e3d;font-weight:800}
@media (max-width:767.98px){.search-blueprint .m-home-carousels{display:none!important}}
@media (min-width:768px){
  .m-story[aria-current] .m-story-ring{background:#8a0e3d;box-shadow:0 0 0 3px rgba(138,14,61,.18)}
  html body .search-blueprint:has(.m-home-carousels)>.category-navigation,html body .search-blueprint:has(.m-home-carousels) .cat-drawer,html body .search-blueprint:has(.m-home-carousels) .subcategory-picker{display:none!important}
  .search-blueprint .m-cat-head{display:block;margin:4px 0 10px}
  .search-blueprint .m-cat-bar{display:none}
  .search-blueprint .m-subcats{display:flex;flex-wrap:wrap;gap:8px}
  .search-blueprint .m-subcat{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 14px;border:1px solid #eadfe3;border-radius:12px;background:#fff;color:#2a1c23;font-size:14px;font-weight:600;text-decoration:none}
  .search-blueprint .m-subcat svg{width:20px;height:20px}
  .search-blueprint .m-subcat small{color:#8a6a78;font-weight:600;font-size:12px}
  .search-blueprint .m-subcat[aria-current]{border-color:#8a0e3d;background:#fbeef3;color:#8a0e3d;box-shadow:inset 0 0 0 1px #8a0e3d}
  .search-blueprint .m-subcat:hover{border-color:#d9b9c6}
}
/* Owner 2026-11-26: one header everywhere (desktop) — the burgundy "Izveidot publikāciju ar AI" button on the right, as on the
   home page, instead of the old centred gradient button on inner pages. */
@media (min-width:1024px){
  html body.page-inner .site-header .header-row{display:flex!important;align-items:center!important;gap:20px!important;flex-wrap:nowrap!important}
  html body.page-inner .site-header .brand{position:static!important;flex:none}
  html body.page-inner .site-header .main-nav{display:flex!important;flex:1;justify-content:flex-end;order:1;margin-left:auto}
  html body.page-inner .site-header .header-tools{position:static!important;display:flex!important;align-items:center;gap:12px!important;order:2}
  html body.page-inner .site-header .tg-header-ai,html body.page-inner .site-header .tg-header-add{position:static!important;transform:none!important;left:auto!important;top:auto!important;order:3;flex:none;display:inline-flex!important;align-items:center;gap:8px;min-height:44px!important;max-width:none!important;padding:10px 18px!important;margin:0!important;border:0!important;border-radius:9px!important;background:#b80049!important;background-image:none!important;box-shadow:none!important;font-size:14px!important;font-weight:650!important;text-shadow:none!important;color:#fff!important}
  html body.page-inner .site-header .tg-header-ai:hover{background:#9c003e!important}
  html body.page-inner .site-header .tg-header-ai small,html body.page-inner .site-header .hero-action-chevron{display:none!important}
  html body.page-inner .site-header .hero-action-copy strong{font-size:14px!important;color:#fff!important}
}
@media (min-width:768px){
  /* its only visible content (the intent row) moved into the sort row; the count stays for screen readers */
  html body .catalog-results-head.feed-controls{display:block!important;min-height:0!important;height:0;margin:0!important;padding:0!important;overflow:hidden}
  html body .search-blueprint:has(.m-home-carousels) .subcategory-rows:not(:has(.brand-row)){display:none!important}
}
/* owner 2026-11-27 phone toolbar — (a) no list/grid switch on phones (grid only for now); (b) home: one compact row
   [Ieteiktie ▾][Visi][Pārdod][Pērk][Atdod] instead of two rows, closer to the photos; (c) menu: the 12 approved categories
   with their pictures. */
@media (max-width:767.98px){
  html body .results-toolbar .gallery-layout{display:none!important}
  html body.page-home .future-home-main .feed-intent{display:none!important}
  html body.page-home .results-toolbar:has(>.toolbar-intent){display:flex!important;align-items:center;justify-content:space-between;gap:6px!important;margin:6px 0 8px!important;padding:0!important;min-height:0!important}
  html body.page-home .results-toolbar>.catalog-sort{flex:0 0 auto;margin:0!important;justify-self:auto}
  html body.page-home .results-toolbar>.catalog-sort select{height:34px!important;min-height:34px!important;width:auto!important;max-width:112px;padding:0 24px 0 10px!important;border-radius:10px!important;font-size:12.5px!important;font-weight:600!important;background-position:right 7px center!important}
  html body.page-home .results-toolbar>.toolbar-intent{display:flex!important;flex:1 1 auto;min-width:0;justify-content:flex-end;justify-self:auto}
  html body.page-home .results-toolbar>.toolbar-intent .intent-nav{display:flex!important;gap:2px!important;margin:0!important;padding:0!important}
  html body.page-home .results-toolbar>.toolbar-intent .intent-option{min-height:34px!important;padding:3px 7px!important;gap:4px!important;font-size:12.5px!important;border-radius:9px!important}
  html body.page-home .results-toolbar>.toolbar-intent .intent-option .ic{width:14px!important;height:14px!important}
  html body.page-home .future-home-main .grid.grid-home{margin-top:0!important}
  /* menu: 12 categories with pictures */
  html body .mobile-nav-groups a{display:flex;align-items:center;gap:10px}
  html body .mobile-nav-group-ic{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid #E8CDA5;border-radius:50%;background:#fff}
  html body .mobile-nav-group-ic img{width:20px;height:20px;display:block}
}
@media (max-width:379.98px){
  html body.page-home .results-toolbar>.toolbar-intent .intent-option .ic{display:none!important}
  html body.page-home .results-toolbar>.toolbar-intent .intent-option{padding:3px 6px!important}
}
/* owner 2026-11-27 phone header + banner — tagline "MARKETPLACE LATVIJĀ" in the PC lettering; "Online veikali" centred in
   the header in the PC "Veikali" button design; the banner ends right after "Publikācijas nekomerciāliem nolūkiem — bez maksas." */
.tg-m-shops,.tg-hero-note{display:none}
@media (max-width:767.98px){
  html body .site-header .brand-tagline{text-transform:uppercase!important;font-family:Arial,"Segoe UI",sans-serif!important;font-weight:700!important}
  html body .site-header .header-row{position:relative}
  html body .site-header .tg-m-shops{position:absolute;left:50%;top:50%;z-index:3;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 11px;border:1px solid #DFB4C6;border-radius:10px;background:#FFF6FA;color:#930039;font-family:Arial,"Segoe UI",sans-serif;font-size:12.5px;font-weight:650;white-space:nowrap;text-decoration:none}
  html body .site-header .tg-m-shops .ic{width:16px;height:16px;flex:none}
  html body .site-header .tg-m-shops:focus-visible{outline:3px solid rgba(147,0,57,.35);outline-offset:2px}
  html body.page-home .future-hero .future-hero-copy>.tg-hero-note{display:inline-block;margin-top:8px;padding:5px 9px;border:1px solid #e6ade0aa;border-radius:10px;background:#54304755;color:#fff1fb;font-size:11px;font-weight:600;line-height:1.3}
}
@media (max-width:379.98px){html body .site-header .tg-m-shops .ic{display:none!important}}

@media (max-width:767.98px){
  /* tighter: search → [Ieteiktie][Visi…] row → photos */
  html body.page-home .future-home-main .feed-controls{margin-bottom:4px!important}
  html body.page-home .results-toolbar:has(>.toolbar-intent){margin:0 0 8px!important}
  /* "Online veikali" stays in the screen centre but narrower, clear of the logo */
  html body .site-header .tg-m-shops{gap:4px;min-height:34px;padding:0 8px;font-size:12px}
  html body .site-header .tg-m-shops .ic{width:14px;height:14px}
}
/* owner 2026-11-27 (2) phone home — banner ends right under "Piedāvājumi no privātpersonām un uzņēmējiem."; the search
   directly under the banner with a glossy lilac outline (banner colours); under it the four intent buttons across the line
   (the localhost tab look); the old search/intent block in the feed and the toolbar intent copy are hidden. */
.tg-m-intent,.tg-m-search{display:none}
@media (max-width:767.98px){
  html body.page-home .future-hero{height:auto!important;min-height:0!important;aspect-ratio:auto!important}
  html body.page-home .future-hero .future-hero-copy{position:relative!important;padding-bottom:14px!important}
  html body.page-home .future-hero .future-hero-copy>p{margin-bottom:0!important}
  html body.page-home .future-home-main>.tg-m-search{display:block!important;margin:12px 0 10px!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search{border:1.5px solid #C46BD6!important;background:#fff!important;box-shadow:0 0 0 3px rgba(196,107,214,.16),0 6px 18px rgba(150,50,170,.22),inset 0 1px 0 #fff!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search:focus-within{box-shadow:0 0 0 4px rgba(196,107,214,.3),0 6px 20px rgba(150,50,170,.3)!important}
  html body.page-home .future-home-main .feed-controls{display:none!important}
  html body.page-home .future-home-main>.tg-m-intent{display:block;margin:0 0 6px}
  html body.page-home .tg-m-intent .intent-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0;padding:0;background:none;border:0;box-shadow:none}
  html body.page-home .tg-m-intent .intent-option{display:flex!important;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:4px 6px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#5F4B55!important;font-size:13px!important;font-weight:600!important;text-decoration:none;box-shadow:none!important}
  html body.page-home .tg-m-intent .intent-option .ic{width:15px;height:15px;flex:none}
  html body.page-home .tg-m-intent .intent-all .ic{color:#6B5A63;stroke:#6B5A63}
  html body.page-home .tg-m-intent .intent-sell .ic{color:#C8102E;stroke:#C8102E}
  html body.page-home .tg-m-intent .intent-buy .ic{color:#1A8F4E;stroke:#1A8F4E}
  html body.page-home .tg-m-intent .intent-give .ic{color:#D19A00;stroke:#D19A00}
  html body.page-home .tg-m-intent .intent-option[aria-current]{background:#F3EEF0!important;color:#3A2A31!important;font-weight:750!important;box-shadow:inset 0 -2px 0 #6B5A63!important}
  html body.page-home .tg-m-intent .intent-option::after{display:none!important}
  /* the toolbar keeps only "Ieteiktie" (the intent buttons moved up) */
  html body.page-home .results-toolbar>.toolbar-intent{display:none!important}
  html body.page-home .results-toolbar:has(>.toolbar-intent){justify-content:flex-start!important}
}
@media (max-width:359.98px){html body.page-home .tg-m-intent .intent-option .ic{display:none}}

@media (max-width:767.98px){
  /* the banner height follows its text: ends right under "Piedāvājumi no privātpersonām un uzņēmējiem." */
  html body.future.page-home .future-home-main>section.future-hero.tg-hero-copy-updated{height:auto!important;min-height:0!important;max-height:none!important}
  html body.future.page-home .future-home-main>section.future-hero.tg-hero-copy-updated>.future-hero-copy{height:auto!important;min-height:0!important;padding-bottom:14px!important}
}
/* owner 2026-11-27 (3) phone — design pictures 1–3: the row above the listings "🔥 Ieteiktie ▾ | Piedāvājumi no partneriem
   [filters]"; the search a little closer to the banner; tighter category circles; "Visi online veikali" on the banner's
   top-right corner, see-through like the PC "Pievienot sludinājumu" button. */
.tg-partner-note,.tg-home-filters,.tg-hero-shops{display:none}
@media (max-width:767.98px){
  html body .site-header .tg-m-shops{display:none!important}
  html body.page-home .future-home-main>.tg-m-search{margin:8px 0 10px!important}
  html body.page-home .tg-cats .tg-cat-grid{gap:4px!important}
  html body.page-home .tg-cats .tg-cat-item{flex:0 0 64px!important}
  html body.future.page-home .future-home-main>section.future-hero{position:relative}
  html body.page-home .future-hero>.tg-hero-shops{position:absolute;top:10px;right:10px;z-index:4;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:4px 11px 4px 7px;border:2px solid #920036;border-radius:14px;background:rgba(255,246,250,.62);-webkit-backdrop-filter:blur(8px) saturate(1.2);backdrop-filter:blur(8px) saturate(1.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 3px 12px rgba(146,0,54,.18);color:#6D0029;font-family:Arial,"Segoe UI",sans-serif;font-size:12px;font-weight:800;white-space:nowrap;text-decoration:none}
  html body.page-home .future-hero>.tg-hero-shops .ic{box-sizing:border-box;width:22px;height:22px;padding:4px;border-radius:7px;background:#920036;color:#fff;stroke:#fff;flex:none}
  html body.page-home .future-hero>.tg-hero-shops:focus-visible{outline:3px solid #fff;outline-offset:2px}
  /* toolbar row */
  html body.page-home .results-toolbar:has(>.toolbar-intent){display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;margin:2px 0 10px!important}
  html body.page-home .results-toolbar>.catalog-sort{position:relative;flex:none;margin:0!important}
  html body.page-home .results-toolbar>.catalog-sort label{position:relative;display:inline-flex;align-items:center}
  html body.page-home .results-toolbar>.catalog-sort label::before{content:"";position:absolute;left:10px;top:50%;width:18px;height:18px;margin-top:-9px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%23E8332A'/%3E%3Cstop offset='.6' stop-color='%23FF7A1A'/%3E%3Cstop offset='1' stop-color='%23FFC233'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M12.6 2.2c.3 2.6-.9 4.3-2.3 5.9C8.7 9.9 7 11.8 7 14.7A5 5 0 0 0 12 20a5.3 5.3 0 0 0 5.3-5.2c0-2.1-1-3.6-1.8-4.6-.2 1.3-.8 2.3-1.8 2.8.6-3.6-.1-7.6-1.1-10.8z'/%3E%3Cpath fill='%23FFE08A' d='M12.2 12.4c.1 1.3-.5 2.1-1.1 2.8-.5.6-.9 1.2-.9 2a1.9 1.9 0 0 0 3.8 0c0-1.3-.8-2.1-1.8-4.8z'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none;z-index:1}
  html body.page-home .results-toolbar>.catalog-sort select{height:38px!important;min-height:38px!important;max-width:none!important;padding:0 30px 0 34px!important;border:1px solid #EBD6F2!important;border-radius:12px!important;background-color:#FBF4FD!important;color:#6A1B8A!important;font-size:15px!important;font-weight:800!important;box-shadow:0 2px 8px rgba(150,50,170,.10)!important}
  html body.page-home .results-toolbar>.tg-partner-note{display:block;flex:1 1 auto;min-width:0;padding-left:10px;border-left:1px solid #E2D6DC;color:#4A3B43;font-size:13px;font-weight:600;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html body.page-home .results-toolbar>.tg-home-filters{display:grid;place-items:center;flex:none;width:42px;height:42px;margin-left:auto;border:1px solid #ECE3E7;border-radius:12px;background:#fff;color:#3A2A31;box-shadow:0 2px 8px rgba(0,0,0,.06)}
  html body.page-home .results-toolbar>.tg-home-filters .ic{width:20px;height:20px}
}
@media (max-width:359.98px){html body.page-home .results-toolbar>.tg-partner-note{font-size:12px}}

@media (max-width:767.98px){
  html body.page-home .results-toolbar>.catalog-sort select{width:142px!important;font-size:14.5px!important}
  html body.page-home .results-toolbar>.tg-partner-note{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12.5px;padding-left:9px}
}
/* owner 2026-11-27 (4) phone — flame only while "Ieteiktie" is chosen; shorter sort labels → narrower select; "Piedāvājumi"
   in the same size as "Ieteiktie"; "Visi online veikali" on the logo line next to the menu; the search clear of the banner. */
.tg-head-shops{display:none}
@media (max-width:767.98px){
  html body.page-home .results-toolbar>.catalog-sort:not(.is-recommended) label::before{display:none!important}
  html body.page-home .results-toolbar>.catalog-sort select{width:auto!important;min-width:0!important;max-width:150px!important}
  html body.page-home .results-toolbar>.catalog-sort:not(.is-recommended) select{padding-left:12px!important}
  html body.page-home .results-toolbar>.tg-partner-note{display:block!important;-webkit-line-clamp:unset!important;white-space:nowrap!important;color:#3A2A31!important;font-size:14.5px!important;font-weight:800!important;line-height:38px!important;height:38px;padding-left:10px!important}
  html body .site-header .header-tools{display:flex!important;align-items:center;gap:8px}
  /* owner 2026-11-27: exactly the v173 "Visi online veikali" look (was on the banner corner), only moved to the header */
  html body .site-header .header-tools>.tg-head-shops{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:4px 11px 4px 7px;border:2px solid #920036;border-radius:14px;background:rgba(255,246,250,.62);-webkit-backdrop-filter:blur(8px) saturate(1.2);backdrop-filter:blur(8px) saturate(1.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 3px 12px rgba(146,0,54,.18);color:#6D0029;font-family:Arial,"Segoe UI",sans-serif;font-size:12px;font-weight:800;white-space:nowrap;text-decoration:none}
  html body .site-header .header-tools>.tg-head-shops .ic{box-sizing:border-box;width:22px;height:22px;padding:4px;border-radius:7px;background:#920036;color:#fff;stroke:#fff;flex:none}
  html body .site-header .header-tools>.tg-head-shops:focus-visible{outline:3px solid #fff;outline-offset:2px}
  /* the search sits clearly below the banner, not on its blurred backdrop */
  html body.page-home .future-home-main>.tg-m-search{margin:14px 0 10px!important}
  html body.future.page-home.owner-floating-reference::before{height:calc(var(--owner-masthead-height,260px) - 4px)!important}
}

@media (max-width:419.98px){
  html body .site-header .header-tools{flex-wrap:nowrap!important;gap:5px!important}
}
@media (max-width:767.98px){html body .site-header .header-row{flex-wrap:nowrap!important}}
/* owner 2026-11-27: "Visi online veikali" together with the menu at the right edge of the header block (phone) */
@media (max-width:767.98px){html body .site-header .header-row>.header-tools{margin-left:auto!important;margin-right:0!important;justify-content:flex-end}}
@media (max-width:767.98px){html body .site-header .header-row::after{display:none!important}}
/* owner 2026-11-27 (5) phone home — the row above the photos: [Visi][Pārdod][Pērk][Atdod] across the screen + the filters
   button; "Ieteiktie" and the other sort orders live in the filters menu. */
.tg-home-filter-menu{display:none}
@media (max-width:767.98px){
  html body.page-home .results-toolbar>.catalog-sort,html body.page-home .results-toolbar>.tg-partner-note,html body.page-home .future-home-main>.tg-m-intent{display:none!important}
  html body.page-home .results-toolbar:has(>.toolbar-intent){display:flex!important;align-items:center!important;gap:6px!important;margin:4px 0 10px!important}
  html body.page-home .results-toolbar>.toolbar-intent{display:flex!important;flex:1 1 auto;min-width:0;justify-content:stretch}
  html body.page-home .results-toolbar>.toolbar-intent .intent-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px!important;width:100%;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
  html body.page-home .results-toolbar>.toolbar-intent .intent-option{display:flex!important;align-items:center;justify-content:center;gap:4px!important;min-height:40px!important;padding:4px 4px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#5F4B55!important;font-size:12.5px!important;font-weight:600!important;box-shadow:none!important}
  html body.page-home .results-toolbar>.toolbar-intent .intent-option .ic{display:inline-block!important;width:14px!important;height:14px!important}
  html body.page-home .results-toolbar>.toolbar-intent .intent-all .ic{color:#6B5A63;stroke:#6B5A63}
  html body.page-home .results-toolbar>.toolbar-intent .intent-sell .ic{color:#C8102E;stroke:#C8102E}
  html body.page-home .results-toolbar>.toolbar-intent .intent-buy .ic{color:#1A8F4E;stroke:#1A8F4E}
  html body.page-home .results-toolbar>.toolbar-intent .intent-give .ic{color:#D19A00;stroke:#D19A00}
  html body.page-home .results-toolbar>.toolbar-intent .intent-option[aria-current]{background:#F3EEF0!important;color:#3A2A31!important;font-weight:750!important;box-shadow:inset 0 -2px 0 #6B5A63!important}
  html body.page-home .results-toolbar>.toolbar-intent .intent-option::after{display:none!important}
  /* filters menu */
  html body.page-home .results-toolbar>.tg-home-filter-menu{position:relative;display:block;flex:none}
  html body.page-home .tg-home-filter-menu>summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:42px;height:42px;border:1px solid #ECE3E7;border-radius:12px;background:#fff;color:#3A2A31;box-shadow:0 2px 8px rgba(0,0,0,.06)}
  html body.page-home .tg-home-filter-menu>summary::-webkit-details-marker{display:none}
  html body.page-home .tg-home-filter-menu>summary .ic{width:20px;height:20px}
  html body.page-home .tg-home-filter-menu[open]>summary{border-color:#C46BD6;box-shadow:0 0 0 3px rgba(196,107,214,.16)}
  html body.page-home .tg-hfm-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:30;width:210px;padding:8px;border:1px solid #ECE3E7;border-radius:14px;background:#fff;box-shadow:0 12px 32px rgba(40,10,20,.16)}
  html body.page-home .tg-hfm-label{margin:2px 6px 6px;color:#6E6066;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}
  html body.page-home .tg-hfm-opt{display:flex;align-items:center;gap:8px;min-height:40px;padding:6px 10px;border-radius:10px;color:#231A1F;font-size:14.5px;font-weight:600;text-decoration:none}
  html body.page-home .tg-hfm-opt.is-recommended::before{content:"";width:16px;height:16px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF7A1A' d='M12.6 2.2c.3 2.6-.9 4.3-2.3 5.9C8.7 9.9 7 11.8 7 14.7A5 5 0 0 0 12 20a5.3 5.3 0 0 0 5.3-5.2c0-2.1-1-3.6-1.8-4.6-.2 1.3-.8 2.3-1.8 2.8.6-3.6-.1-7.6-1.1-10.8z'/%3E%3C/svg%3E") center/contain no-repeat}
  html body.page-home .tg-hfm-opt[aria-current]{background:#FBF4FD;color:#6A1B8A;font-weight:800}
  html body.page-home .tg-hfm-opt:hover{background:#F8F4F5}
  html body.page-home .tg-hfm-more{display:block;margin-top:6px;padding:10px;border-top:1px solid #F0E8EC;color:#930039;font-size:13.5px;font-weight:700;text-decoration:none}
}
@media (max-width:369.98px){html body.page-home .results-toolbar>.toolbar-intent .intent-option .ic{display:none!important}}

@media (max-width:767.98px){html body.page-home .results-toolbar>.toolbar-intent{order:1}html body.page-home .results-toolbar>.tg-home-filter-menu{order:2}}
/* long labels (RU/EN) never push the menu off the screen: the shops button shrinks and its text ends with … */
@media (max-width:767.98px){html body .site-header .header-row>.brand{flex:none}html body .site-header .header-row>.header-tools{flex:1 1 auto;min-width:0}html body .site-header .header-tools>.tg-head-shops{min-width:0;max-width:none;flex:0 1 auto}html body .site-header .header-tools>.tg-head-shops>span{min-width:0;overflow:hidden;text-overflow:ellipsis}html body .site-header .header-tools>.mobile-menu,html body .site-header .header-tools>.cart-link{flex:none}}
/* owner 2026-11-27: no long white plate behind "Visi online veikali" + menu (phone) — the tools block is transparent */
@media (max-width:767.98px){html body .site-header .header-row>.header-tools{background:transparent!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
/* owner 2026-11-27 (6) phone home — the filters button opens the catalogue's filter panel with an extra "Kārtot" drop-down */
@media (max-width:767.98px){
  html body.page-home .results-toolbar>.tg-home-filters{order:2;position:relative;display:grid!important;place-items:center;flex:none;width:42px;height:42px;margin:0!important;padding:0;border:1px solid #ECE3E7;border-radius:12px;background:#fff;color:#3A2A31;box-shadow:0 2px 8px rgba(0,0,0,.06)}
  html body.page-home .results-toolbar>.tg-home-filters .ic{width:20px;height:20px}
  html body.page-home .results-toolbar>.tg-home-filters[aria-expanded="true"]{border-color:#C46BD6;box-shadow:0 0 0 3px rgba(196,107,214,.16)}
  html body.page-home .results-toolbar>.tg-home-filters .tg-filter-count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#920036;color:#fff;font-size:11px;line-height:18px;text-align:center}
  html body.page-home .tg-home-filter-panel[data-folded]{display:none!important}
  html body.page-home .tg-home-filter-panel{margin:0 0 12px}
}
/* owner 2026-11-27 (PC): the filters button on the right end of the "Ieteiktie / Visi Pārdod Pērk Atdod" row, as on the phone */
@media (min-width:768px){
  html body:is(#marketplace-home,*).page-home .results-toolbar:not(#tg-x){position:relative}
  html body:is(#marketplace-home,*).page-home .results-toolbar:not(#tg-x)>.tg-home-filters{position:absolute;right:0;top:50%;transform:translateY(-50%);display:grid!important;place-items:center;width:42px;height:42px;margin:0!important;padding:0;border:1px solid #ECE3E7;border-radius:12px;background:#fff;color:#3A2A31;box-shadow:0 2px 8px rgba(0,0,0,.06);cursor:pointer}
  html body:is(#marketplace-home,*).page-home .results-toolbar:not(#tg-x)>.tg-home-filters .ic{width:20px;height:20px}
  html body:is(#marketplace-home,*).page-home .results-toolbar:not(#tg-x)>.tg-home-filters[aria-expanded="true"]{border-color:#C46BD6;box-shadow:0 0 0 3px rgba(196,107,214,.16)}
  html body:is(#marketplace-home,*).page-home .results-toolbar:not(#tg-x)>.tg-home-filters .tg-filter-count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#920036;color:#fff;font-size:11px;line-height:18px;text-align:center}
  html body.page-home .tg-home-filter-panel[data-folded]{display:none!important}
  html body.page-home .tg-home-filter-panel{margin:16px 0 4px}
  html body.page-home .tg-home-filter-panel .facet-sort{display:none!important}
}

/* owner 2026-11-27 (7) phone home — the search blended into the banner, in place of "Piedāvājumi no privātpersonām un uzņēmējiem." */
@media (max-width:767.98px){
  html body.future.page-home .future-home-main>section.future-hero .future-hero-copy>p{visibility:hidden!important;min-height:40px;margin-top:4px!important}
  html body.page-home .future-home-main>.tg-m-search{position:relative;z-index:5;margin:-60px 10px 18px!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search{background:rgba(255,255,255,.72)!important;-webkit-backdrop-filter:blur(10px) saturate(1.3);backdrop-filter:blur(10px) saturate(1.3);border:1px solid rgba(255,255,255,.85)!important;box-shadow:0 6px 20px rgba(60,10,40,.28),inset 0 1px 0 rgba(255,255,255,.9)!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search input,html body.page-home .future-home-main>.tg-m-search .unified-search select,html body.page-home .future-home-main>.tg-m-search .unified-search button:not([type=submit]){background:transparent!important}
}
/* owner 2026-11-27 (8) phone home — picture 5: the search as dark see-through glass with a glowing light-pink outline, white
   text and the round burgundy button; "Visi online veikali" blended the same way; space between the banner and the categories. */
@media (max-width:767.98px){
  html body.page-home .future-home-main>.tg-m-search{margin:-62px 14px 32px!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search{min-height:50px;border-radius:26px!important;background:linear-gradient(180deg,rgba(60,22,48,.42),rgba(40,10,34,.55))!important;-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);border:1.5px solid rgba(255,225,245,.95)!important;box-shadow:0 0 0 1px rgba(236,120,210,.55),0 0 14px rgba(240,130,220,.65),0 0 28px rgba(200,60,170,.35),inset 0 1px 0 rgba(255,255,255,.35)!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search input,html body.page-home .future-home-main>.tg-m-search .unified-search select,html body.page-home .future-home-main>.tg-m-search .unified-search button:not([type=submit]),html body.page-home .future-home-main>.tg-m-search .unified-search summary,html body.page-home .future-home-main>.tg-m-search .unified-search span{color:#fff!important;background:transparent!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search input::placeholder{color:rgba(255,255,255,.88)!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search .ic,html body.page-home .future-home-main>.tg-m-search .unified-search svg{color:#fff;stroke:#fff}
  html body.page-home .future-home-main>.tg-m-search .unified-search [class*=divider],html body.page-home .future-home-main>.tg-m-search .unified-search [class*=loc]{border-color:rgba(255,255,255,.45)!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search button[type=submit]{border-radius:50%!important;background:#A0003E!important;box-shadow:0 2px 10px rgba(160,0,62,.55),inset 0 1px 0 rgba(255,255,255,.25)!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search button[type=submit] svg,html body.page-home .future-home-main>.tg-m-search .unified-search button[type=submit] .ic{color:#fff;stroke:#fff}
  html body.page-home .tg-cats{margin-top:12px!important}
  html body .site-header .header-tools>.tg-head-shops{background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,236,246,.35))!important;-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);border:1.5px solid #920036!important;box-shadow:0 0 0 1px rgba(255,225,245,.9),0 0 12px rgba(240,130,220,.45),inset 0 1px 0 rgba(255,255,255,.85)!important}
}
/* owner 2026-11-27 (9) phone home — text back on the banner ("… un pārdevējiem."), under it a slim search (not full width),
   its look 1:1 the "Visi online veikali" button (light glass, burgundy outline, pink glow). */
.tg-m-hero-sub{display:none}
@media (max-width:767.98px){
  html body.future.page-home .future-home-main>section.future-hero .future-hero-copy>p:not(.tg-m-hero-sub){display:none!important}
  html body.future.page-home .future-home-main>section.future-hero .future-hero-copy>p.tg-m-hero-sub{display:block!important;visibility:visible!important;max-width:58%;margin:6px 0 0!important;color:#fff;font-size:13px;font-weight:700;line-height:1.25;text-shadow:0 1px 4px rgba(0,0,0,.55)}
  html body.future.page-home .future-home-main>section.future-hero .future-hero-copy{padding-bottom:52px!important}
  html body.page-home .future-home-main>.tg-m-search{margin:-48px auto 30px 22px!important;width:min(250px,calc(100% - 120px))!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search{min-height:36px!important;height:36px!important;padding:0 3px 0 10px!important;border-radius:14px!important;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,236,246,.35))!important;-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);border:1.5px solid #920036!important;box-shadow:0 0 0 1px rgba(255,225,245,.9),0 0 12px rgba(240,130,220,.45),inset 0 1px 0 rgba(255,255,255,.85)!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search input,html body.page-home .future-home-main>.tg-m-search .unified-search select,html body.page-home .future-home-main>.tg-m-search .unified-search button:not([type=submit]),html body.page-home .future-home-main>.tg-m-search .unified-search summary,html body.page-home .future-home-main>.tg-m-search .unified-search span{color:#6D0029!important;font-size:12px!important;font-weight:700!important;min-height:0!important;height:30px!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search input::placeholder{color:#6D0029!important;opacity:.8}
  html body.page-home .future-home-main>.tg-m-search .unified-search .ic,html body.page-home .future-home-main>.tg-m-search .unified-search svg{color:#920036;stroke:#920036;width:15px;height:15px}
  html body.page-home .future-home-main>.tg-m-search .unified-search [class*=divider],html body.page-home .future-home-main>.tg-m-search .unified-search [class*=loc]{border-color:rgba(146,0,54,.3)!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search button[type=submit]{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:0!important;border-radius:9px!important;background:#920036!important;box-shadow:none!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search button[type=submit] svg,html body.page-home .future-home-main>.tg-m-search .unified-search button[type=submit] .ic{color:#fff;stroke:#fff;width:14px;height:14px}
}

@media (max-width:767.98px){
  html body.future.page-home .future-home-main>section.future-hero.tg-hero-copy-updated,html body.future.page-home .future-home-main>section.future-hero{min-height:204px!important;height:204px!important}
  html body.page-home .future-home-main>.tg-m-search{margin:-48px auto 30px 20px!important;width:min(268px,calc(100% - 104px))!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search .unified-location{flex:0 0 94px!important;width:94px!important;min-width:0!important;overflow:hidden}
  html body.page-home .future-home-main>.tg-m-search .unified-search .unified-location select,html body.page-home .future-home-main>.tg-m-search .unified-search .unified-location span,html body.page-home .future-home-main>.tg-m-search .unified-search .unified-location button{min-width:0!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:0!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search .unified-query{flex:1 1 auto!important;min-width:0!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search .unified-query input{width:100%!important;min-width:0!important;padding:0 4px!important}
}
/* owner 2026-11-27 (10) phone home — banner text in the PC font (15px, regular, PC colour/shadow); a longer search so
   "Visa Latvija" shows in full; inviting search: rotating real examples, clear focus glow; the banner keeps its height. */
@media (max-width:767.98px){
  html body.future.page-home .future-home-main>section.future-hero .future-hero-copy>p.tg-m-hero-sub{max-width:68%!important;margin:5px 0 0!important;font-family:Arial,"Segoe UI",sans-serif!important;font-size:15px!important;font-weight:400!important;line-height:1.3!important;color:rgb(255,248,252)!important;text-shadow:rgba(0,0,0,.533) 0 1px 5px!important;letter-spacing:normal!important}
  html body.page-home .future-home-main>.tg-m-search{margin:-50px 20px 30px!important;width:auto!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search{min-height:40px!important;height:40px!important;border-radius:15px!important;transition:box-shadow .2s ease,border-color .2s ease}
  html body.page-home .future-home-main>.tg-m-search .unified-search:focus-within{border-color:#B0004A!important;box-shadow:0 0 0 3px rgba(255,225,245,.95),0 0 18px rgba(240,130,220,.7),inset 0 1px 0 rgba(255,255,255,.85)!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search .unified-location{flex:0 0 auto!important;width:auto!important;overflow:visible}
  html body.page-home .future-home-main>.tg-m-search .unified-search .unified-location select,html body.page-home .future-home-main>.tg-m-search .unified-search .unified-location span,html body.page-home .future-home-main>.tg-m-search .unified-search .unified-location button{overflow:visible;text-overflow:clip}
  html body.page-home .future-home-main>.tg-m-search .unified-search input,html body.page-home .future-home-main>.tg-m-search .unified-search .unified-location *{font-size:13px!important;height:34px!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search input{font-size:16px!important;transform:scale(.8125);transform-origin:left center;width:123%!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search button[type=submit]{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:11px!important}
  html body.page-home .future-home-main>.tg-m-search .unified-search input.tg-ph-swap::placeholder{opacity:0;transition:opacity .25s}
  html body.page-home .future-home-main>.tg-m-search .unified-search input::placeholder{transition:opacity .25s}
}
@media (max-width:767.98px){html body.future.page-home .future-home-main>section.future-hero .future-hero-copy>p.tg-m-hero-sub{max-width:none!important;white-space:nowrap!important;font-size:min(15px,3.9vw)!important}}
@media (max-width:767.98px){html body.page-home .future-home-main>.tg-m-search{margin-top:-62px!important;margin-bottom:42px!important}}
/* owner 2026-11-27 (11) — no visible box around "Visa Latvija" (the phone's own select look off, own burgundy chevron);
   PC: the header search in the same place, 1:1 the phone banner search look. */
.tg-m-search .unified-location select,.site-header .header-search .unified-location select{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;border:0!important;outline:0;box-shadow:none!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23920036' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 2px center/12px 12px no-repeat!important;padding-right:18px!important;border-radius:0!important}
.tg-m-search .unified-location select:focus-visible,.site-header .header-search .unified-location select:focus-visible{outline:2px solid rgba(146,0,54,.45);outline-offset:2px;border-radius:6px!important}
@media (min-width:768px){
  html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x){border-radius:15px!important;background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,236,246,.42))!important;-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);border:1.5px solid #920036!important;box-shadow:0 0 0 1px rgba(255,225,245,.9),0 0 12px rgba(240,130,220,.45),inset 0 1px 0 rgba(255,255,255,.85)!important;transition:box-shadow .2s ease,border-color .2s ease}
  html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x):focus-within{border-color:#B0004A!important;box-shadow:0 0 0 3px rgba(255,225,245,.95),0 0 18px rgba(240,130,220,.7),inset 0 1px 0 rgba(255,255,255,.85)!important}
  html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) input,html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) select,html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) label{color:#6D0029!important;font-weight:700!important;background-color:transparent!important}
  html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) input::placeholder{color:#6D0029!important;opacity:.8}
  html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) label>.ic,html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) label>svg{color:#920036!important;stroke:#920036!important}
  html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) .unified-location{border-left:1px solid rgba(146,0,54,.3)!important}
  html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) button[type=submit]{border-radius:11px!important;background:#920036!important;box-shadow:none!important}
  html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) button[type=submit] svg,html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) button[type=submit] .ic{color:#fff!important;stroke:#fff!important}
}
.site-header .header-search input::placeholder{transition:opacity .25s}.site-header .header-search input.tg-ph-swap::placeholder{opacity:0}
html body:is(#marketplace-home,*) .tg-m-search .unified-search .unified-location select,html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) .unified-location select{background-color:transparent!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23920036' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 2px center!important;background-size:12px 12px!important;padding-right:18px!important;-webkit-appearance:none!important;appearance:none!important;border:0!important;box-shadow:none!important}
@media (min-width:768px){html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x)>button:last-child,html body:is(#marketplace-home,*) .site-header .tg-head-mid form.header-search:not(#tg-x) button.unified-submit{border-radius:11px!important;background:#920036!important}}
/* owner 2026-11-27 (12) PC — language: one round circle (thin line, globe across it, current code on top) opening the others;
   "Visi online veikali" on the banner to the right of "Piedāvājumi no privātpersonām un uzņēmējiem." (phone button look);
   the header "Veikali" button leaves the home page header. */
.tg-lang-ring,.tg-pc-hero-shops{display:none}
@media (min-width:768px){
  html body .site-header .header-tools>.tg-lang-ring{position:relative;display:block;flex:none}
  html body .site-header .tg-lang-ring>summary{list-style:none;position:relative;display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(146,0,54,.45);border-radius:50%;background:rgba(255,255,255,.7);color:#920036;cursor:pointer;user-select:none;overflow:hidden;transition:border-color .15s,box-shadow .15s}
  html body .site-header .tg-lang-ring>summary::-webkit-details-marker{display:none}
  html body .site-header .tg-lang-ring>summary .ic{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);color:rgba(146,0,54,.22);stroke:rgba(146,0,54,.22);stroke-width:1.2}
  html body .site-header .tg-lang-ring>summary b{position:relative;font-size:12.5px;font-weight:800;letter-spacing:.03em;color:#6D0029}
  html body .site-header .tg-lang-ring>summary:hover,html body .site-header .tg-lang-ring[open]>summary{border-color:#920036;box-shadow:0 0 0 3px rgba(146,0,54,.10)}
  html body .site-header .tg-lang-ring>summary:focus-visible{outline:2px solid #920036;outline-offset:2px}
  html body .site-header .tg-lang-ring-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:80;min-width:150px;padding:5px;border:1px solid #ECE3E7;border-radius:12px;background:#fff;box-shadow:0 12px 28px rgba(40,20,27,.16)}
  html body .site-header .tg-lang-ring-menu a{display:flex;align-items:center;gap:10px;min-height:38px;padding:6px 10px;border-radius:9px;color:#2f2a2c;text-decoration:none;font-size:13px}
  html body .site-header .tg-lang-ring-menu a b{width:24px;color:#920036}
  html body .site-header .tg-lang-ring-menu a:hover{background:#F8F3F5}
  html body .site-header .header-tools>.language-choices.desktop-languages{display:none!important}
  /* banner button */
  html body.page-home .future-hero .future-hero-copy>.tg-pc-hero-shops{display:inline-flex;vertical-align:middle;align-items:center;gap:7px;min-height:38px;padding:4px 13px 4px 6px;border:1.5px solid #920036;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,236,246,.35));-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);box-shadow:0 0 0 1px rgba(255,225,245,.9),0 0 12px rgba(240,130,220,.45),inset 0 1px 0 rgba(255,255,255,.85);color:#6D0029;font-family:Arial,"Segoe UI",sans-serif;font-size:13px;font-weight:800;white-space:nowrap;text-decoration:none}
  html body.page-home .future-hero .future-hero-copy>.tg-pc-hero-shops .ic{box-sizing:border-box;width:26px;height:26px;padding:5px;border-radius:8px;background:#920036;color:#fff;stroke:#fff;flex:none}
  html body.page-home .future-hero .future-hero-copy>.tg-pc-hero-shops:focus-visible{outline:3px solid #fff;outline-offset:2px}
  html body.page-home .site-header .header-stores-link{display:none!important}
}

@media (min-width:768px){
  html body:is(#marketplace-home,*).page-home .site-header .header-stores-link:not(#tg-x){display:none!important}

}
@media (min-width:768px){
}
/* owner 2026-11-27: no column / list chooser anywhere — the grid follows the screen width */
html body .gallery-layout,html body [data-gallery-view],html body [data-gallery-columns]{display:none!important}

html body:is(#marketplace-home,*) .gallery-layout:not(#tg-x),html body:is(#marketplace-home,*) [data-gallery-view]:not(#tg-x),html body:is(#marketplace-home,*) [data-gallery-columns]:not(#tg-x){display:none!important}
/* owner 2026-11-27 (PC home): the "Ieteiktie / Visi Pārdod Pērk Atdod" row sits lower, close to the listing photos */
@media (min-width:768px){html body:is(#marketplace-home,*).page-home .results-toolbar:not(#tg-x){margin-top:22px!important;margin-bottom:-6px!important}}
/* owner 2026-11-27 (13) PC — the round circle with a thin line is the LOGIN AVATAR (person icon across it); the language
   choice is plain (no circle), half the avatar's size; banner text closer to "Pērc. Pārdod. Atdod." with the button beside it. */
@media (min-width:768px){
  html body:is(#marketplace-home,*) .site-header .header-tools>a.tool-btn[href*="mans"]:not(#tg-x),html body:is(#marketplace-home,*) .site-header .header-tools>a.tool-btn[href*="ienakt"]:not(#tg-x),html body:is(#marketplace-home,*) .site-header .header-tools>a.tool-btn[href*="konts"]:not(#tg-x){display:grid!important;place-items:center;width:40px!important;height:40px!important;min-width:40px;padding:0!important;border:1px solid rgba(146,0,54,.45)!important;border-radius:50%!important;background:rgba(255,255,255,.7)!important;overflow:hidden;color:#920036!important;transition:border-color .15s,box-shadow .15s}
  html body:is(#marketplace-home,*) .site-header .header-tools>a.tool-btn:not(#tg-x) .ic{width:30px!important;height:30px!important;stroke-width:1.4;color:#920036;stroke:#920036;margin-top:6px}
  html body:is(#marketplace-home,*) .site-header .header-tools>a.tool-btn:not(#tg-x):hover{border-color:#920036!important;box-shadow:0 0 0 3px rgba(146,0,54,.10)!important}
  html body .site-header .tg-lang-ring>summary{width:auto!important;height:20px!important;padding:0 2px!important;border:0!important;border-radius:4px!important;background:none!important;overflow:visible!important;display:inline-flex!important;align-items:center;gap:2px;box-shadow:none!important}
  html body .site-header .tg-lang-ring>summary .ic{display:none!important}
  html body .site-header .tg-lang-ring>summary b{font-size:11px!important;font-weight:700!important;color:#6a5d62!important}
  html body .site-header .tg-lang-ring>summary::after{content:"";width:9px;height:9px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a5d62' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat}
  html body .site-header .tg-lang-ring>summary:hover b,html body .site-header .tg-lang-ring[open]>summary b{color:#920036!important}
}
/* owner 2026-11-27: PC banner texts/fonts/layout stay exactly as they were — only the "Visi online veikali" button is added,
   placed (site.js) to the right of "Piedāvājumi no privātpersonām un uzņēmējiem." without moving anything. */
@media (min-width:768px){html body.page-home .future-hero .future-hero-copy>.tg-pc-hero-shops{position:absolute;left:0;top:0;margin:0!important;visibility:hidden}html body.page-home .future-hero .future-hero-copy>.tg-pc-hero-shops.is-placed{visibility:visible}}
/* owner 2026-11-27: no header "Pievienot sludinājumu" outside the home page and the listing views */
html body.tg-no-header-add .site-header .tg-header-ai,html body.tg-no-header-add .site-header .tg-header-add,html body.tg-no-header-add .site-header .tg-add-old,html body.tg-no-header-add .site-header a[href="/pievienot"]:not(.mobile-nav a){display:none!important}
html body:is(#marketplace-home,*).tg-no-header-add .site-header a.tg-header-ai:not(#tg-x):not(#tg-y),html body:is(#marketplace-home,*).tg-no-header-add .site-header a.tg-header-add:not(#tg-x):not(#tg-y),html body:is(#marketplace-home,*).tg-no-header-add .site-header a.tg-add-old:not(#tg-x):not(#tg-y){display:none!important}
@media (min-width:768px){html body.page-home .tg-home-filter-panel:not([data-folded]){display:flex!important;justify-content:flex-end}}
@media (min-width:768px){html body:is(#marketplace-home,*).page-home .tg-home-filter-panel:not(#tg-x)>form{margin-left:auto!important;margin-right:0!important}}
