/* Public port 2026-12-02 of the owner-approved localhost design (kods-dizains tg-social.css, 2026-12-01/02):
   social listing cards (rail: avatar+follow, like+count, bookmark, cart, share; price + place on the photo; Manrope title),
   Pārdod / Pērk / Atdod toggle chips, PC columns by screen width. Loaded last. */
@font-face{font-family:"Manrope";font-style:normal;font-weight:600 800;font-display:swap;src:url(/static/fonts/manrope/manrope-latin-wght.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600 800;font-display:swap;src:url(/static/fonts/manrope/manrope-latin-ext-wght.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600 800;font-display:swap;src:url(/static/fonts/manrope/manrope-cyrillic-wght.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
/* card layout: photo (3:4) on top, the short title under it on white */
html body:is(.future,#marketplace-home) .card.future-card.home-listing-card{
  height:auto!important;aspect-ratio:auto!important;background:#fff;align-self:stretch;
}
html body:is(.future,#marketplace-home) .home-listing-card>.card-link{
  position:relative!important;inset:auto!important;display:flex!important;flex-direction:column;
  height:auto!important;aspect-ratio:auto!important;padding:5px;
}
html body:is(.future,#marketplace-home) .home-listing-card .card-link>.card-img{
  position:relative!important;inset:auto!important;width:100%;height:auto!important;
  min-height:0!important;aspect-ratio:3/4!important;border-radius:10px;overflow:hidden;
}
html body:is(.future,#marketplace-home) .home-listing-card .card-list-aside{display:none!important}
html body:is(.future,#marketplace-home) .home-listing-card .card-link>.card-body{
  position:relative!important;inset:auto!important;display:flex!important;flex-direction:column;
  padding:8px 6px 6px!important;gap:5px!important;background:#fff!important;color:#30252c!important;
}
html body:is(.future,#marketplace-home) .home-listing-card .card-body h3{
  min-height:2.5em;line-height:1.25!important;color:#30252c!important;text-shadow:none!important;
  font-size:14px!important;font-weight:600!important;-webkit-line-clamp:2;overflow:hidden;
}
html body:is(.future,#marketplace-home) .home-listing-card .card-body :is(.card-foot,.card-price){
  position:static!important;justify-content:flex-start!important;background:none!important;
  margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;color:#30252c!important;
}
html body:is(.future,#marketplace-home) .card.home-listing-card>.like-toggle{
  position:absolute;z-index:3;top:6px;right:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  min-width:44px;min-height:48px;padding:4px 2px;margin:0;border:0;background:none;color:#fff;cursor:pointer;
  font:700 12px/1 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 0 6px rgba(0,0,0,.25));-webkit-tap-highlight-color:transparent;
}
html body:is(.future,#marketplace-home) .card.home-listing-card>.like-toggle .ic{width:24px;height:24px;padding:0;border:0;background:none;box-shadow:none}
html body:is(.future,#marketplace-home) .card.home-listing-card>.like-toggle .ic path{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round}
html body:is(.future,#marketplace-home) .card.home-listing-card>.like-toggle[aria-pressed=true] .ic path{fill:#ff3d6e;stroke:#ff3d6e}
html body:is(.future,#marketplace-home) .card.home-listing-card>.like-own{cursor:default}
/* the old top-right badges (photo count dots) move out of the heart's way */
html body:is(.future,#marketplace-home) .home-listing-card .card-img :is(.card-photo-indicator,.card-views,.view-count-badge){right:auto!important;left:8px!important}
.home-listing-card .card-img .photo-place{
  position:absolute;z-index:2;right:8px;bottom:7px;display:flex;align-items:center;gap:3px;max-width:calc(100% - 16px);
  color:#fff;font:600 12.5px/1.2 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;pointer-events:none;
  text-shadow:0 1px 2px rgba(0,0,0,.6),0 0 6px rgba(0,0,0,.3);
}
.home-listing-card .card-img .photo-place .ic{flex:none;width:15px;height:15px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.home-listing-card .card-img .photo-place .ic :is(path,circle){fill:none;stroke:#fff;stroke-width:1.9}
.home-listing-card .card-img .photo-place-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* soft dark fade at the photo's bottom so the white place text reads on light photos */
html body:is(.future,#marketplace-home) .home-listing-card .card-img:has(.photo-place)::after{content:""!important;position:absolute!important;top:auto!important;left:0!important;right:0!important;bottom:0!important;height:34%!important;z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(20,10,16,.42),transparent)!important}
/* SAVE bookmark on the photo, under the heart + counter (white, no background, same soft shadow). */
html body:is(.future,#marketplace-home) .card.home-listing-card>.save-toggle{
  position:absolute;z-index:3;top:56px;right:6px;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;
  border:0;background:none;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 0 6px rgba(0,0,0,.25));
}
html body:is(.future,#marketplace-home) .card.home-listing-card>.save-toggle .ic{width:22px;height:22px;padding:0;border:0;background:none;box-shadow:none}
html body:is(.future,#marketplace-home) .card.home-listing-card>.save-toggle .ic path{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round}
html body:is(.future,#marketplace-home) .card.home-listing-card>.save-toggle[aria-pressed=true] .ic path{fill:#fff}
html body:is(.future,#marketplace-home) .card.home-listing-card>:is(.like-toggle,.save-toggle):focus-visible{outline:2px solid #fff;outline-offset:-2px}
html body:is(.future,#marketplace-home) .home-listing-card .home-card-seller-name{position:static!important;width:auto!important;height:auto!important;clip-path:none!important}
/* PRICE pill on the photo's bottom-left, exactly the public look (v192: white .94, burgundy 13px/800 Arial, round, soft shadow);
   the price under the photo is not repeated. */
.home-listing-card .card-img .photo-price{
  position:absolute;z-index:2;left:7px;bottom:6px;display:inline-flex;align-items:center;gap:3px;max-width:calc(70% - 8px);
  padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 2px 8px rgba(0,0,0,.25);
  color:#990037;font:800 13px/1.1 Arial,"Segoe UI",sans-serif;white-space:nowrap;pointer-events:none;
}
.home-listing-card .card-img .photo-price :is(strong,b){color:#990037;font:inherit}
.home-listing-card .card-img .photo-price small{color:#6a5562;font-size:10px;font-weight:700}
.home-listing-card .card-img .photo-price :is(s,del){color:#7a6872;font-size:10.5px;font-weight:600}
html body:is(.future,#marketplace-home) .home-listing-card .card-body .card-foot{display:none!important}
.home-listing-card .card-img .photo-place{max-width:calc(42% - 8px)}
/* price + place share one bottom row on the photo: price keeps its full size, the city takes what is left (ellipsis). */
.home-listing-card .card-img .photo-bottom{position:absolute;z-index:2;left:7px;right:8px;bottom:6px;display:flex;align-items:center;justify-content:space-between;gap:6px;pointer-events:none}
.home-listing-card .card-img .photo-bottom>.photo-price{position:static;flex:none;max-width:none}
.home-listing-card .card-img .photo-bottom>.photo-place{position:static;flex:0 1 auto;min-width:0;max-width:none}
@media(max-width:420px){.home-listing-card .card-img .photo-price small{display:none}}
/* Owner 2026-12-01: right column on the photo — heart+count, bookmark, then "Ielikt grozā" (bag +) and "Pirkt uzreiz" (lightning). */
html body:is(.future,#marketplace-home) .card.home-listing-card>.save-toggle{top:52px;height:40px}
html body:is(.future,#marketplace-home) .card.home-listing-card>.photo-shop-form{display:contents}
html body:is(.future,#marketplace-home) .card.home-listing-card .photo-shop{
  position:absolute;z-index:3;right:6px;display:grid;place-items:center;width:44px;height:40px;margin:0;padding:0;
  border:0;background:none;color:#fff;cursor:pointer;text-decoration:none;-webkit-tap-highlight-color:transparent;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 0 6px rgba(0,0,0,.25));
}
html body:is(.future,#marketplace-home) .card.home-listing-card .photo-cart{top:92px}
html body:is(.future,#marketplace-home) .card.home-listing-card .photo-buy{top:132px}
html body:is(.future,#marketplace-home) .card.home-listing-card .photo-shop .ic{width:22px;height:22px;padding:0;border:0;background:none;box-shadow:none}
html body:is(.future,#marketplace-home) .card.home-listing-card .photo-shop .ic :is(path,circle){fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}
html body:is(.future,#marketplace-home) .card.home-listing-card .photo-shop:focus-visible{outline:2px solid #fff;outline-offset:-2px}
@media(hover:hover){html body:is(.future,#marketplace-home) .card.home-listing-card :is(.photo-shop,.save-toggle,.like-toggle):hover .ic{transform:scale(1.12);transition:transform .15s ease-out}}
/* Owner 2026-12-01: TikTok-style seller avatar at the top of the right column, the heart column moves down under it. */
html body:is(.future,#marketplace-home) .card.home-listing-card>.seller-follow{position:absolute;z-index:4;top:10px;right:8px;width:40px;height:50px}
.home-listing-card .seller-follow-face{display:block;width:40px;height:40px;border-radius:50%;overflow:hidden;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.4);background:#f5eef1}
.home-listing-card .seller-follow-face img{display:block;width:100%;height:100%;object-fit:cover}
.home-listing-card .seller-follow-initials{display:grid;place-items:center;width:100%;height:100%;color:#990037;font:800 16px/1 system-ui,"Segoe UI",Arial,sans-serif}
html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn{
  position:absolute;left:50%;bottom:0;transform:translate(-50%,0);width:20px;height:20px;margin:0;padding:0;border:0;border-radius:50%;
  display:grid;place-items:center;background:#ff2c55;color:#fff;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.35);
  transition:background .2s ease,transform .2s ease;-webkit-tap-highlight-color:transparent;
}
/* bigger invisible tap area (44px) around the small "+" */
html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn::after{content:"";position:absolute;inset:-12px}
html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn .ic{width:13px;height:13px;padding:0;border:0;background:none;box-shadow:none}
html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn .ic path{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn .ic-check{display:none}
html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn[aria-pressed=true]{background:#fff}
html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn[aria-pressed=true] .ic-plus{display:none}
html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn[aria-pressed=true] .ic-check{display:block}
html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn[aria-pressed=true] .ic path{stroke:#ff2c55}
html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* the right column moves down by the avatar's height when the avatar is there */
html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow)>.like-toggle{top:62px}
html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow)>.save-toggle{top:108px}
html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow) .photo-cart{top:146px}
html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow) .photo-buy{top:184px}
/* compact right column so avatar + heart + bookmark + cart + bag fit above the price/place row on phone cards */
html body:is(.future,#marketplace-home) .card.home-listing-card>.seller-follow{top:8px;right:10px;width:36px;height:44px}
.home-listing-card .seller-follow-face{width:36px;height:36px}
html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow)>.like-toggle{top:50px;min-height:38px;padding:2px}
html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow)>.save-toggle{top:90px;height:32px}
html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow) .photo-shop{height:32px}
html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow) .photo-cart{top:122px}
html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow) .photo-buy{top:154px}
@media(max-width:380px){
  html body:is(.future,#marketplace-home) .card.home-listing-card>.seller-follow{top:6px;width:32px;height:40px}
  .home-listing-card .seller-follow-face{width:32px;height:32px}
  html body:is(.future,#marketplace-home) .home-listing-card .seller-follow-btn{width:18px;height:18px}
  html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow)>.like-toggle{top:44px;min-height:34px}
  html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow)>.like-toggle .ic{width:21px;height:21px}
  html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow)>.save-toggle{top:78px;height:28px}
  html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow) .photo-shop{height:28px}
  html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow) .photo-cart{top:106px}
  html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow) .photo-buy{top:134px}
  html body:is(.future,#marketplace-home) .card.home-listing-card:has(>.seller-follow) :is(.save-toggle,.photo-shop) .ic{width:19px;height:19px}
}
/* Owner 2026-12-01: under the photo only the short title — max 2 lines, centred under the photo, in Manrope (trend pick for
   mobile-first social commerce; variable, self-hosted, Latvian letters). The frame is just as tall as 2 lines. */
html body:is(.future,#marketplace-home) .home-listing-card .card-link>.card-body{padding:7px 8px 9px!important;gap:0!important;align-items:center}
html body:is(.future,#marketplace-home) .home-listing-card .card-body>:not(h3){display:none!important}
html body:is(.future,#marketplace-home) .home-listing-card .card-body h3{
  width:100%;margin:0!important;min-height:2.6em;max-height:2.6em;text-align:center!important;
  font-family:"Manrope",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;font-size:13.5px!important;font-weight:650!important;
  line-height:1.3!important;letter-spacing:-.005em;color:#2a1d25!important;text-wrap:balance;
  display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
html body:is(.future,#marketplace-home) .grid .card.future-card.home-listing-card .card-link>.card-body>h3{font-family:"Manrope",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;font-size:13.5px!important;font-weight:650!important}
/* Owner 2026-12-01: ONE rail on the photo's right edge — avatar+follow, heart+count, bookmark, cart (if buyable), share —
   from the top of the photo down to just above the price/place row, icons spread with equal gaps. */
html body:is(.future,#marketplace-home) .card.home-listing-card{container-type:inline-size}
html body:is(.future,#marketplace-home) .card.home-listing-card>.card-rail{
  position:absolute;z-index:3;top:10px;right:6px;width:44px;height:calc((100cqw - 10px) * 4 / 3 - 44px);
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;pointer-events:none;
}
html body:is(.future,#marketplace-home) .card.home-listing-card>.card-rail>*{pointer-events:auto;flex:none}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail :is(.seller-follow,.like-toggle,.save-toggle,.photo-shop){position:relative!important;inset:auto!important;top:auto!important;right:auto!important;transform:none!important;margin:0!important}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .photo-shop-form{display:contents}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .seller-follow{width:36px;height:44px}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail :is(.like-toggle,.save-toggle,.photo-shop){
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:44px;min-width:44px;min-height:30px;height:auto;padding:0;
  border:0;background:none;color:#fff;cursor:pointer;text-decoration:none;font:700 12px/1 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 0 6px rgba(0,0,0,.25));-webkit-tap-highlight-color:transparent;
}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .like-toggle .ic{width:23px;height:23px}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail :is(.save-toggle,.photo-shop) .ic{width:21px;height:21px}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail :is(.like-toggle,.save-toggle,.photo-shop) .ic{padding:0;border:0;background:none;box-shadow:none}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail :is(.like-toggle,.save-toggle,.photo-shop) .ic :is(path,circle){fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .like-toggle[aria-pressed=true] .ic path{fill:#ff3d6e;stroke:#ff3d6e}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .save-toggle[aria-pressed=true] .ic path{fill:#fff}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .photo-share.is-copied{color:#ffd6e6}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail :is(.like-toggle,.save-toggle,.photo-shop,.seller-follow-btn):focus-visible{outline:2px solid #fff;outline-offset:1px}
@media(hover:hover){html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail :is(.like-toggle,.save-toggle,.photo-shop):hover .ic{transform:scale(1.12);transition:transform .15s ease-out}}
@media(max-width:380px){
  html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .seller-follow{width:32px;height:40px}
  html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .seller-follow-face{width:32px;height:32px}
  html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .like-toggle .ic{width:21px;height:21px}
  html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail :is(.save-toggle,.photo-shop) .ic{width:19px;height:19px}
}
html body:is(.future,#marketplace-home) .card.home-listing-card>.card-rail{top:9px;height:calc((100cqw - 10px) * 4 / 3 - 36px)}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail :is(.save-toggle,.photo-shop){min-height:26px}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .like-toggle{min-height:0}
html body:is(.future,#marketplace-home) .card.home-listing-card .card-rail .seller-follow{height:42px}
/* Owner 2026-12-01 (PC): the number of columns follows the screen width like the public site — a card is at least
   265 px wide (public ≈ 280–314 px): 4 columns on a usual laptop / desktop, more columns automatically on wider screens. */
@media(min-width:768px){
  html body:is(#marketplace-home,.future):not([data-gallery-view="list"]) .grid:not(.related-row):has(>.card.future-card){grid-template-columns:repeat(auto-fill,minmax(265px,1fr))!important}
}
/* Owner 2026-12-01 (final): Pārdod / Pērk / Atdod keep their earlier look (small coloured icon, coloured name). A chip that is
   ON shows only a thin outline like the selected category card (inset burgundy line); OFF = no line. No fill, no check. */
html body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip{background:transparent!important;border-radius:999px!important;box-shadow:none!important;transition:box-shadow .15s ease}
html body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip.is-on{box-shadow:inset 0 0 0 2px #920036!important}
html body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip[aria-disabled=true]{cursor:default}
html body:is(.future,#marketplace-home) .intent-nav a.intent-option.intent-chip:focus-visible{outline:2px solid #920036;outline-offset:2px}
/* Owner 2026-12-01: a chip that is ON shows only the LOWER half of the oval outline (like a smile under the word); OFF = nothing. */
html body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip.is-on{box-shadow:none!important}
html body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip{position:relative!important}
html body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip.is-on::after{
  content:""!important;display:block!important;position:absolute!important;inset:0!important;border:2px solid #920036!important;border-radius:999px!important;
  clip-path:inset(50% 0 0 0)!important;background:none!important;pointer-events:none!important;opacity:1!important;transform:none!important;width:auto!important;height:auto!important}
/* Owner 2026-12-02: the like counter is hidden while the count is 0. */
html body [data-like-count][hidden]{display:none!important}
/* Port 2026-12-02 (owner item 11): on wide PC screens the listing area grows (more columns); the frozen PC banner keeps its
   exact public size (1320 px, centred) and the header/footer rows are not touched. */
@media(min-width:1400px){
  html body:is(#marketplace-home,.future) main>.wrap{max-width:2400px!important;padding-inline:clamp(12px,2.2vw,40px)!important}
  html body:is(#marketplace-home,.future) main>.wrap .future-hero{max-width:1320px!important;margin-inline:auto!important}
}

/* Port item 8 (owner 2026-12-02): product photo right column — seller avatar "+", like heart (counter hidden at 0), bookmark.
   From kods-dizains tg-social.css 484-508, .pv-stage → .media-stage (public gallery). */
.media-stage .pv-social{position:absolute;z-index:4;top:62px;right:10px;display:flex;flex-direction:column;align-items:center;gap:6px}
.media-stage .pv-social .seller-follow{position:relative;width:44px;height:54px}
.media-stage .pv-social .seller-follow-face{width:44px;height:44px;border-radius:50%;overflow:hidden;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.4);background:#f5eef1;display:block}
.media-stage .pv-social .seller-follow-face img{display:block;width:100%;height:100%;object-fit:cover}
.media-stage .pv-social .seller-follow-initials{display:grid;place-items:center;width:100%;height:100%;color:#990037;font:800 18px/1 system-ui,"Segoe UI",Arial,sans-serif}
.media-stage .pv-social .seller-follow-btn{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:22px;height:22px;margin:0;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:#ff2c55;color:#fff;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.media-stage .pv-social .seller-follow-btn::after{content:"";position:absolute;inset:-11px}
.media-stage .pv-social .seller-follow-btn .ic{width:14px;height:14px}
.media-stage .pv-social .seller-follow-btn .ic path{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.media-stage .pv-social .seller-follow-btn .ic-check{display:none}
.media-stage .pv-social .seller-follow-btn[aria-pressed=true]{background:#fff}
.media-stage .pv-social .seller-follow-btn[aria-pressed=true] .ic-plus{display:none}
.media-stage .pv-social .seller-follow-btn[aria-pressed=true] .ic-check{display:block}
.media-stage .pv-social .seller-follow-btn[aria-pressed=true] .ic path{stroke:#ff2c55}
.media-stage .pv-social :is(.like-toggle,.save-toggle){position:static;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:44px;min-height:44px;margin:0;padding:2px;border:0;background:none;color:#fff;cursor:pointer;
  font:700 13px/1 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 0 6px rgba(0,0,0,.25))}
.media-stage .pv-social .like-toggle .ic{width:30px;height:30px}
.media-stage .pv-social .save-toggle .ic{width:27px;height:27px}
.media-stage .pv-social :is(.like-toggle,.save-toggle) .ic path{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round}
.media-stage .pv-social .like-toggle[aria-pressed=true] .ic path{fill:#ff3d6e;stroke:#ff3d6e}
.media-stage .pv-social .save-toggle[aria-pressed=true] .ic path{fill:#fff}
.media-stage .pv-social :is(.like-toggle,.save-toggle,.seller-follow-btn):focus-visible{outline:2px solid #fff;outline-offset:2px}
html body .media-stage .pv-social .seller-follow-face img{min-height:0!important;min-width:0!important;aspect-ratio:auto!important;position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;transform:none!important;filter:none!important;opacity:1!important}
html body .media-stage .pv-social .seller-follow-face{position:static!important;inset:auto!important;width:44px!important;height:44px!important;min-height:0!important;max-height:44px!important;flex:none!important}
html body .media-stage .pv-social .seller-follow{height:54px!important;flex:none!important}
/* Public keeps share (top) + report flag (64px) on the right edge → the column starts below them. */
html body.future .product .media-stage>.pv-social{top:114px}
html body.future .product .media-stage:not(:has(>.media-report-flag))>.pv-social{top:62px}
/* Item 8: "Vēl no šī pārdevēja" / "Līdzīgas preces" — PC: wrapping grid (min 220 px); phone: one swipe row (kods-dizains tg-product.css 193-194, 241-243). */
html body.future .pv-related .grid.related-row{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:16px!important;overflow:visible!important;width:100%}
html body.future .pv-related .grid.related-row>*{width:auto!important;min-width:0!important;max-width:none!important}
@media(max-width:767px){
  html body.future .pv-related .grid.related-row{grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:44%!important;overflow-x:auto!important;scroll-snap-type:x proximity;gap:10px!important;padding-bottom:6px;scrollbar-width:none}
  html body.future .pv-related .grid.related-row::-webkit-scrollbar{display:none}
  html body.future .pv-related .grid.related-row>*{scroll-snap-align:start}
}

/* ===== Port stage B (owner 2026-12-02): PC home = one row + "Skatīt visus"; "Skatīt visus" list = no banner + "Tikai video / Visi";
   "Izveido savu sludinājumu" first card (PC row) + "Ir kas lieks?" after the 6th card in full lists. From kods-dizains facets.css
   68-70, 480-499, 758-802 and tg-social.css 87, 275-300, 576-586. ===== */
.home-see-all{flex:none;margin-left:auto;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 4px;color:#920036;font-weight:750;text-decoration:none;white-space:nowrap}
.home-see-all:hover{text-decoration:underline}
.home-see-all:focus-visible{outline:3px solid #920036;outline-offset:3px;border-radius:8px}
.video-toggle{display:inline-flex;gap:4px;padding:4px;margin:0 0 14px;border-radius:999px;background:#f4ecef;grid-column:1/-1;justify-self:start}
.video-toggle-opt{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 16px;border-radius:999px;color:#5b3746;font-weight:700;text-decoration:none;white-space:nowrap}
.video-toggle-opt.is-on{background:#920036;color:#fff;box-shadow:0 2px 8px rgba(146,0,54,.25)}
.video-toggle-opt:focus-visible{outline:3px solid #920036;outline-offset:2px}
html body.future .home-see-all{font-size:11px;min-height:32px;gap:4px;letter-spacing:.01em}
html body.future .video-toggle{padding:3px;gap:3px;margin:-12px 0 -10px}
html body.future .video-toggle-opt{min-height:26px;padding:0 11px;font-size:11.5px;gap:4px}
html body.future .video-toggle-opt span[aria-hidden]{font-size:9px}
@media(max-width:767.98px){html body.future .video-toggle{margin:2px 0 6px}html body.future .video-toggle-opt{font-size:12px;min-height:28px}}
html body.future .video-toggle{margin-top:-22px}
@media(max-width:767.98px){html body.future .video-toggle{margin-top:-4px}}
.create-card{position:relative;min-width:0;border-radius:18px;background:#fff;border:1px solid #efe4e8;box-shadow:0 1px 2px rgba(40,15,25,.04),0 8px 22px rgba(40,15,25,.06);overflow:hidden;transition:transform .22s,box-shadow .22s}
.create-card:hover{transform:translateY(-3px);box-shadow:0 2px 4px rgba(40,15,25,.05),0 16px 32px rgba(40,15,25,.12)}
.create-card-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
.create-card-link:focus-visible{outline:3px solid #920036;outline-offset:-3px;border-radius:18px}
.create-card-top{position:relative;flex:1 1 auto;min-height:0;overflow:hidden;background:linear-gradient(150deg,#fbe9f0,#f1dde6)}
.create-card-top img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.create-card:hover .create-card-top img{transform:scale(1.05)}
.create-card-guest{display:grid;place-items:center;width:100%;height:100%;color:#c58aa2}.create-card-guest .ic{width:44px;height:44px;stroke-width:1.5}
.create-card-bottom{position:relative;flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:4px;padding:26px 10px 14px;background:#fff;text-align:center}
.create-plus{position:absolute;top:-20px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#d81b60,#920036);color:#fff;border:4px solid #fff;box-shadow:0 4px 12px rgba(146,0,54,.3)}
.create-plus .ic{width:20px;height:20px;stroke-width:2.6}
.create-card-bottom strong{font-size:13px;font-weight:800;line-height:1.25;color:#22161c}
@media(prefers-reduced-motion:reduce){.create-card,.create-card-top img{transition:none}}
.create-video .create-card-top img{object-position:84% 50%}
.create-rec{position:absolute;top:10px;left:10px;display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:6px;background:rgba(15,8,12,.72);color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em}
.create-rec i{width:8px;height:8px;border-radius:50%;background:#ff2d55;box-shadow:0 0 0 0 rgba(255,45,85,.6);animation:recPulse 1.4s ease-in-out infinite}
@keyframes recPulse{0%,100%{opacity:1}50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.create-rec i{animation:none}}
.create-card-bottom strong{font-size:14px!important;font-weight:850!important;line-height:1.22!important;color:#12070c!important;letter-spacing:-.005em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
@media(max-width:767.98px){.create-card-bottom strong{font-size:12.5px!important}}
.create-card-bottom{padding:24px 8px 12px}
.create-card-bottom strong{font-size:13px!important}
html body:is(#marketplace-home,.future) .grid.grid-home>.card,html body:is(#marketplace-home,.future) .grid.grid-home>.create-card{width:auto!important;max-width:none!important;min-width:0!important;flex:initial!important}
html body:is(#marketplace-home,.future) .results-toolbar>.home-see-all{align-self:flex-end!important;display:inline-flex!important;align-items:flex-end;min-height:0!important;height:auto!important;padding:0 4px 3px!important;line-height:1.1!important}
/* In-feed invitation. The handover occupies the lower third of the portrait. */
html body:is(.future,#marketplace-home) .grid > .sell-promo-card {
  position: relative;
  display: block !important;
  container-type: inline-size;
  aspect-ratio: 3 / 4;
  margin: 0;
  padding: 0;
  border: 1px solid #c4c0bf;
  border-radius: 14px;
  overflow: hidden;
  background: #c4c3c1 url("../img/sell-invite-vintage.webp") center bottom / cover no-repeat;
}
html body:is(.future,#marketplace-home) .grid > .sell-promo-card .sell-promo-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 2cqi, 10px);
  padding: 0 5%;
  box-sizing: border-box;
  padding-bottom: 36%;
  color: #171616;
  text-align: center;
  text-decoration: none;
}
.sell-promo-link :is(.sell-promo-ic, .sell-promo-note) { display: none; }
.sell-promo-link .sell-promo-title {
  font: normal 500 clamp(23px, 11cqi, 46px)/1.04 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.sell-promo-link .sell-promo-sub {
  font: 600 clamp(12px, 4.4cqi, 16px)/1.35 "Manrope", sans-serif;
}
.sell-promo-link .sell-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  max-width: 100%;
  margin-top: clamp(4px, 2cqi, 9px);
  padding: .72em .95em;
  border-radius: 999px;
  background: #80002e;
  color: #fff;
  font: 700 clamp(11px, 4.15cqi, 15px)/1.2 "Manrope", sans-serif;
}
.sell-promo-btn .ic { width: 1em; height: 1em; flex: none; }
.sell-promo-link:is(:hover, :focus-visible) .sell-promo-btn { background: #620021; }
.sell-promo-link:focus-visible { outline: 3px solid #620021; outline-offset: -5px; border-radius: inherit; }

html body:is(.future,#marketplace-home) .grid>.sell-promo-card{min-width:0!important;max-width:100%!important;width:auto!important;flex:initial!important;justify-self:stretch;align-self:start;box-sizing:border-box}
@media(min-width:768px){html body:is(.future,#marketplace-home) .results-toolbar>.video-toggle{grid-column:right!important;grid-row:right!important;justify-self:end!important;align-self:center!important;margin:0!important;width:auto!important}}
/* phone: the toolbar is a flex row — "Tikai video / Visi" goes to its own line under it (as before). */
@media(max-width:767px){
  html body:is(.future,#marketplace-home) .results-toolbar:has(>.video-toggle){flex-wrap:wrap!important;row-gap:8px}
  html body:is(.future,#marketplace-home) .results-toolbar>.video-toggle{order:20;flex:0 0 auto;margin-right:auto!important}
  html body:is(.future,#marketplace-home) .results-toolbar:has(>.video-toggle)::after{content:"";order:19;flex-basis:100%;height:0}
}
/* Owner 2026-12-01: a chip that is ON shows only the LOWER half of the oval outline (like a smile under the word); OFF = nothing. */
/* Stage B — public-only glue */
html body.future .grid.grid-home>.create-card{aspect-ratio:auto!important;width:auto!important;min-width:0!important;max-width:100%!important;align-self:stretch}
html body.future .grid.grid-home.home-row>.is-row-off{display:none!important}
.home-shops-link{display:none}
@media(min-width:768px){
  .home-row > .create-photo .create-card-top {
    flex: none;
    width: 100%;
    aspect-ratio: 3 / 4;
  }
  .home-row > .create-photo .create-card-top img {
    position: absolute;
    inset: 0;
    object-fit: contain;
    transform: none;
  }
  /* PC home page: exactly ONE row (the rest is clipped here and taken out of the tab order by site.js), no pager / "Rādīt vēl" */
  html body.future .grid.grid-home.home-row{grid-template-rows:auto!important;grid-auto-rows:0!important;row-gap:0!important;overflow:hidden!important}
  html body.future .grid.grid-home.home-row>.sell-promo-card{display:none!important}
  html body.future .home-body:has(>.grid.home-row) .pager{display:none!important}
  html body.future .home-body:has(>.grid.home-row) .results-toolbar>.gallery-layout{display:none!important}
  /* "Visi veikali" right of the Pārdod / Pērk / Atdod chips (replaces the localhost "Online veikali" row) */
  html body.future .results-toolbar>.home-shops-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border:1px solid #ead7df;border-radius:999px;background:#fff;color:#920036;font-weight:750;font-size:13px;text-decoration:none;white-space:nowrap;align-self:center}
  html body.future .results-toolbar>.home-shops-link .ic{width:17px;height:17px}
  html body.future .results-toolbar>.home-shops-link:hover{background:#fbf3f6}
  html body.future .results-toolbar>.home-shops-link:focus-visible{outline:3px solid #920036;outline-offset:2px}
}
@media(max-width:767.98px){
  /* phone keeps the old long list: no "Izveido…" first card, no "Skatīt visus" */
  html body:is(#marketplace-home,.future) .grid.grid-home>.create-card:not(.sell-promo-card),html body:is(#marketplace-home,.future) .results-toolbar>.home-see-all{display:none!important}
}
@media(min-width:768px){
  /* Stage B toolbar (item 3): filter + sort on the left (4 px apart), Pārdod/Pērk/Atdod in the middle, on the right
     "Visi veikali" + "Skatīt visus" (home row) or "Tikai video / Visi" (the full list). */
  html body.future .home-body>.results-toolbar{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;grid-template-columns:none!important}
  html body.future .home-body>.results-toolbar>.tg-filter-toggle{order:1!important;margin:0!important;position:static!important;inset:auto!important;transform:none!important;translate:none!important;align-self:center!important;flex:none}
  html body.future .home-body>.results-toolbar>:is(.catalog-sort,.sort-bar){order:2!important;margin:0!important;flex:none}
  html body.future .home-body>.results-toolbar>.toolbar-intent{order:3!important;margin:0 auto!important;flex:none}
  html body.future .home-body>.results-toolbar>.home-shops-link{order:4!important}
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar>.home-see-all{order:5!important;margin:0 0 0 12px!important;align-self:center!important;font-size:13px;min-height:36px;padding:0 4px!important;align-items:center}
  html body.future .home-body>.results-toolbar>.video-toggle{order:6!important;margin:0!important}
  html body.future .home-body>.results-toolbar>.gallery-layout{order:7!important}
}
/* The "Skatīt visus" list has no banner on a computer; phones keep the old layout (their search sits in the banner). */
@media(min-width:768px){html:root body:not(#tg-x1):not(#tg-x2):not(#tg-x3).future.tg-list-view .future-home-main>.future-hero.future-hero.future-hero{display:none!important}}
/* Items 10 + 13 on /saglabatas: price-drop ticks and "Sekojumi" (round avatars as in the kods-dizains cabinet). */
.saved-alerts,.saved-follows{margin-top:28px}
.saved-alerts h2,.saved-follows h2{margin:0 0 6px;font-size:20px}
.saved-alert-list,.follow-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px;max-width:720px}
.saved-alert-list label{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 12px;border:1px solid #efe4e8;border-radius:12px;background:#fff;cursor:pointer}
.saved-alert-list input{width:20px;height:20px;accent-color:#920036;flex:none}
.saved-alert-list input:disabled+span{color:#8e7886}
.follow-list li{display:flex;align-items:center;gap:12px;min-height:60px;padding:6px 12px;border:1px solid #efe4e8;border-radius:12px;background:#fff}
.follow-face{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.18);background:#f5eef1}
.follow-initials{color:#990037;font:800 17px/1 system-ui,"Segoe UI",Arial,sans-serif}
.follow-main{display:grid;flex:1 1 auto;min-width:0}
.follow-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.follow-main small{color:#8e7886}
/* Item 13: report link under the contact block (kods-dizains tg-product.css 286-287; public colours). */
html body.future .pv-unavailable{display:block;margin:8px 0 0;color:#6e6066;font-size:13px;text-decoration:underline;text-underline-offset:2px}
html body.future .pv-unavailable:hover{color:#920036}
/* Item 3: the toolbar sits 4 px above the cards (kods-dizains: ".home-body row-gap 0 with the toolbar"); when the filter
   panel is open it keeps its own spacing. */
@media(min-width:768px){
  html body:is(#marketplace-home,*).page-home .home-body:has(>.results-toolbar .tg-filter-toggle[aria-expanded="false"])>.results-toolbar:not(#tg-x):not(#tg-y){margin-bottom:-16px!important}
}
/* Item 8: the photo arrows sit below the right column (it ends 268 px from the top), so the column never covers "next". */
html body.future .product .media-stage:has(>.pv-social) :is(.media-prev,.media-next){top:max(45%,302px)}
/* "Ir kas lieks?" fills the row height like the cards next to it (its content is absolutely positioned). */
html body:is(.future,#marketplace-home) .grid.grid-home>.sell-promo-card,html body:is(.future,#marketplace-home) .grid>.sell-promo-card{align-self:stretch!important;aspect-ratio:auto!important;height:auto!important;min-height:240px}
/* Owner 2026-12-02 (Codex idea, PC only — less on the photo): seller avatar in the photo's top-LEFT corner, the like heart
   (+ count) top-RIGHT, the bookmark on the first title line at the right edge; cart + share stay on the photo's right edge
   above the price/place row. Phones keep the right column. Photo = (card width − 12 px) × 4/3, inset 6 px. */
/* owner 2026-12-02 (later): phones too */
@media all{
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card{container-type:inline-size;--ph-bottom:calc(6px + (100cqw - 12px) * 4 / 3)}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail{display:contents!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>*{position:absolute!important;margin:0!important;z-index:5;inset:auto!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>.seller-follow{top:12px!important;left:12px!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>.like-toggle{top:10px!important;right:10px!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>.photo-share{top:calc(var(--ph-bottom) - 78px)!important;right:10px!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>:is(.photo-shop-form,.photo-shop:not(.photo-share)){top:calc(var(--ph-bottom) - 124px)!important;right:10px!important}
  /* bookmark: dark on the white title area, centred on the first title line */
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>.save-toggle{top:calc(var(--ph-bottom) - 2px)!important;right:6px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;color:#3a2a31!important;filter:none!important;text-shadow:none!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>.save-toggle .ic{width:21px!important;height:21px!important;filter:none!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>.save-toggle .ic path{stroke:currentColor!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>.save-toggle[aria-pressed=true] .ic path{fill:#920036!important;stroke:#920036!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>.save-toggle:focus-visible{outline:2px solid #920036!important;outline-offset:1px}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card:has(>.card-rail>.save-toggle) .card-body h3{padding-inline:34px!important}
  /* owner 2026-12-02: the Pērk / Atdod badge goes to the photo top-RIGHT corner (the avatar holds the top-left; these cards have no heart) */
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card .card-img .intent-badge{left:auto!important;right:12px!important;top:14px!important}
}

.mobile-sort-trigger { display: none; }
@media (max-width:767.98px) {
  html body:is(.future,#marketplace-home) .results-toolbar:has(.mobile-sort-trigger) {
    display:flex!important; align-items:center!important; gap:4px!important; border-bottom:1px solid #e4d9d8;
  }
  html body:is(.future,#marketplace-home) .results-toolbar:has(.mobile-sort-trigger) > :is(.catalog-sort,.tg-home-filter-menu) { display:none!important; }
  html body:is(.future,#marketplace-home) .results-toolbar > .toolbar-intent {order:0!important; flex:1 1 auto!important; min-width:0;}
  html body:is(.future,#marketplace-home) .results-toolbar .toolbar-intent .intent-nav {display:flex!important; justify-content:space-around; width:100%; gap:0!important;}
  html body:is(.future,#marketplace-home) .results-toolbar .intent-nav a.intent-option.intent-chip {
    background:none!important; border:0!important; box-shadow:none!important; border-radius:0!important; color:#655c60!important;
    padding:0 3px!important; min-height:44px!important; display:inline-flex!important; align-items:center; font:600 14px/1.2 Manrope,sans-serif!important;
  }
  html body:is(.future,#marketplace-home) .results-toolbar .intent-nav a.intent-option.intent-chip.is-on {color:#261c21!important;}
  html body:is(.future,#marketplace-home) .results-toolbar .intent-nav a.intent-option.intent-chip:is(.is-on,.intent-chip)::after,
  html body:is(.future,#marketplace-home) .results-toolbar .intent-nav a.intent-option.intent-chip .ic {display:none!important;}
  .results-toolbar .intent-option.is-on span {text-decoration:underline 2px #920036; text-underline-offset:7px;}
  .results-toolbar > .mobile-sort-trigger {display:block;order:1;min-height:44px;padding:0 8px;border:0;border-left:1px solid #d5c6cb;background:transparent;color:#542236;font:600 14px Manrope,sans-serif;}
  html body:is(.future,#marketplace-home) .results-toolbar > .tg-filter-toggle {order:2!important;position:relative!important;inset:auto!important;transform:none!important;flex:none;width:40px;height:44px;background:transparent!important;border:0!important;box-shadow:none!important;}
  .mobile-sort-sheet {position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:100%;box-sizing:border-box;border:0;border-radius:20px 20px 0 0;padding:24px 20px max(16px,env(safe-area-inset-bottom));background:#fffaf6;color:#241e20;}
  .mobile-sort-sheet::backdrop {background:rgb(32 21 24 / 40%);}
  .mobile-sort-sheet h2 {margin:0 44px 12px 0;font-size:21px;}
  .mobile-sort-sheet button {background:none;border:0;color:inherit;cursor:pointer;}
  .mobile-sort-sheet .sort-dismiss {position:absolute;right:10px;top:10px;width:44px;height:44px;font-size:26px;}
  .mobile-sort-sheet .sort-choice {display:block;width:100%;min-height:50px;text-align:left;border-top:1px solid #e8dedd;font:500 16px Manrope,sans-serif;}
  .sort-choice[aria-current]::after {content:'✓';float:right;color:#920036;}
  body:has(.mobile-sort-sheet[open]) {overflow:hidden;}
  body:has(.mobile-sort-trigger) .tg-home-filter-panel .facet-sort {display:none!important;}
}
/* Owner 2026-12-02 (reference Downloads/12.png): Pārdod / Pērk / Atdod are plain dark words — no icons, no ovals, no colours;
   the ON word has a 3 px bordo bar with round ends under it, a little wider than the word. Phone and PC alike. */
html:root body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip{position:relative!important;display:inline-flex!important;align-items:center!important;min-height:44px!important;padding:0 12px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#2b1f25!important;font:600 15px/1.2 Manrope,system-ui,sans-serif!important;letter-spacing:0!important}
html:root body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip .ic{display:none!important}
html:root body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip::after{content:none!important}
html:root body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip.is-on::after{content:""!important;display:block!important;position:absolute!important;inset:auto 4px 3px 4px!important;width:auto!important;height:3px!important;border:0!important;border-radius:3px!important;background:#920036!important;clip-path:none!important;opacity:1!important;transform:none!important}
html:root body:is(.future,#marketplace-home) .results-toolbar .intent-option.is-on span{text-decoration:none!important}
html:root body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip:hover{color:#000!important}
html:root body:is(.future,#marketplace-home) :is(.intent-nav,.intent-drop-menu) a.intent-option.intent-chip:focus-visible{outline:2px solid #2b1f25!important;outline-offset:2px}
@media(min-width:768px){html:root body:is(.future,#marketplace-home) .results-toolbar .toolbar-intent .intent-nav{display:flex!important;gap:28px!important}}
/* "Visi veikali": a plain text link with the shop icon (no oval). */
@media(min-width:768px){
  html body.future .results-toolbar>.home-shops-link{border:0!important;border-radius:0!important;background:none!important;padding:0 6px!important;color:#2b1f25!important}
  html body.future .results-toolbar>.home-shops-link:hover{background:none!important;text-decoration:underline;text-underline-offset:3px}
}
/* Owner 2026-12-02: toolbar — the sort in use on the LEFT, Pārdod / Pērk / Atdod in the MIDDLE, the filter icon on the RIGHT. */
@media(max-width:767.98px){
  html:root body:is(.future,#marketplace-home) .results-toolbar>.mobile-sort-trigger{order:-1!important;border:0!important;padding:0 18px 0 2px!important;position:relative;color:#2b1f25!important;font:600 14px Manrope,system-ui,sans-serif!important;white-space:nowrap;flex:none}
  html:root body:is(.future,#marketplace-home) .results-toolbar>.mobile-sort-trigger::after{content:"";position:absolute;right:4px;top:50%;width:6px;height:6px;margin-top:-5px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg)}
  html:root body:is(.future,#marketplace-home) .results-toolbar>.toolbar-intent{order:0!important;flex:1 1 auto!important}
  html:root body:is(.future,#marketplace-home) .results-toolbar .toolbar-intent .intent-nav{justify-content:center!important;gap:2px!important}
  html:root body:is(.future,#marketplace-home) .results-toolbar .intent-nav a.intent-option.intent-chip{padding:0 8px!important}
  html:root body:is(.future,#marketplace-home) .results-toolbar>.tg-filter-toggle{order:5!important;margin-left:0!important}
}
@media(min-width:768px){
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar>:is(.catalog-sort,.sort-bar){order:1!important}
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar>.toolbar-intent{order:3!important}
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar>.home-shops-link{order:4!important}
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar>.home-see-all{order:5!important}
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar>.video-toggle{order:6!important}
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar>.tg-filter-toggle{order:8!important;margin-left:12px!important}
}
@media(min-width:1100px){
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar{position:relative!important}
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar>.toolbar-intent{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important}
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar>.home-shops-link{margin-left:auto!important}
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar:not(:has(>.home-shops-link))>.video-toggle{margin-left:auto!important}
  html body:is(#marketplace-home,.future) .home-body>.results-toolbar:not(:has(>.home-shops-link,>.video-toggle))>.tg-filter-toggle{margin-left:auto!important}
}
/* Owner 2026-12-02: at 768–1023 px the home page showed the promo sidebar (TikTok / shop banners) on the right and squeezed
   the listings into one column — the home page has no sidebar at any width now (wider screens already hid it). */
@media(min-width:768px) and (max-width:1023.98px){
  html body:is(#marketplace-home,.future).page-home .future-home-shell{display:block!important;grid-template-columns:none!important}
  html body:is(#marketplace-home,.future).page-home .future-home-aside{display:none!important}
}
/* 768–1099 px: the Pārdod / Pērk tabs sit in the toolbar row (not centred above it), so the toolbar is taller — a smaller pull
   keeps their underline clear of the cards. */
@media(min-width:768px) and (max-width:1099.98px){
  html:root body:is(#marketplace-home,*).page-home .home-body:has(>.results-toolbar .tg-filter-toggle[aria-expanded="false"])>.results-toolbar:not(#tg-x):not(#tg-y):not(#tg-z){margin-bottom:-8px!important}
}
@media(min-width:768px) and (max-width:1023.98px){
  html:root body:is(#marketplace-home,*).page-home .home-body:has(>.results-toolbar .tg-filter-toggle[aria-expanded="false"])>.results-toolbar:not(#tg-x):not(#tg-y):not(#tg-z):not(#tg-w){margin-bottom:2px!important}
}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card:has(>.card-rail>.seller-follow) .card-img :is(.card-views,.view-count-badge){left:62px!important;top:22px!important;right:auto!important;bottom:auto!important}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card:has(>.card-rail>.seller-follow) .card-img:has(.card-photo-indicator) :is(.card-views,.view-count-badge){top:46px!important}
/* Owner 2026-12-02: product photo icons as on the cards — avatar top-LEFT (phones: right of the back arrow), like heart (+count)
   top-RIGHT, report flag under it, share bottom-RIGHT; the bookmark sits on the title line. */
html:root body.future .product .media-stage>.pv-social.pv-avatar{top:12px!important;left:12px!important;right:auto!important}
@media(max-width:767.98px){html:root body.future .product .media-stage>.pv-social.pv-avatar{left:64px!important}}
html:root body.future .product .media-stage>.pv-social.pv-like{top:10px!important;right:10px!important;left:auto!important}
html:root body.future .product .media-stage:has(>.pv-like)>.media-report-flag{top:84px!important;right:14px!important}
html:root body.future .product .media-stage:has(>.pv-like) .media-share-corner{top:auto!important;bottom:16px!important;right:12px!important}
html:root body.future .product .media-stage:has(>.pv-social) :is(.media-prev,.media-next){top:45%!important}
html body.future .item-title-row{position:relative}
html body.future .item-title-row:has(.pv-title-save) h1{padding-right:44px}
html body.future .item-title-row .pv-title-save{position:absolute;top:0;right:0;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;background:none;color:#2b1f25;cursor:pointer}
html body.future .item-title-row .pv-title-save .ic{width:24px;height:24px}
html body.future .item-title-row .pv-title-save .ic path{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round}
html body.future .item-title-row .pv-title-save[aria-pressed=true] .ic path{fill:#920036;stroke:#920036}
html body.future .item-title-row .pv-title-save:focus-visible{outline:2px solid #2b1f25;outline-offset:2px}
html body.future .item-title-row:has(.pv-title-save) .item-meta{margin-right:44px}
html body.future .item-title-row:has(.pv-title-save) h1{padding-right:0}
/* Owner 2026-12-02 (bug): the soft dark fade under price/place kept the old full-frame inset shadow + rounded corners, so the
   bottom third of some photos looked like an extra layer with an edge — the fade is just a gradient now. */
html:root body:is(.future,#marketplace-home) .home-listing-card .card-img:has(.photo-place)::after{box-shadow:none!important;border-radius:0 0 10px 10px!important;border:0!important;background:linear-gradient(to top,rgba(20,10,16,.38),rgba(20,10,16,.12) 55%,rgba(0,0,0,0))!important}
/* Owner 2026-12-02: the photo dots / "1/4" counter back in the middle at the top of the photo (it had slid left under the avatar). */
html:root body:is(.future,#marketplace-home) .home-listing-card .card-img .card-photo-indicator{left:50%!important;right:auto!important;top:20px!important;bottom:auto!important;transform:translateX(-50%)!important}

/* Owner 2026-12-02: the localhost card video mark — a thin play ring in the middle of the photo (kods-dizains tg-social.css 241-260). */
/* Owner 2026-11-27: card video mark — fine thin ring centred UNDER the photo dots (or where the dots would be with one photo);
   a video-only listing: one large thin play mark over the whole picture (the whole picture opens the video). */
html body:is(.future,#marketplace-home) .card.future-card{anchor-scope:--listing-photo}
html body:is(.future,#marketplace-home) .card.future-card .card-img{anchor-name:--listing-photo}
html body:is(.future,#marketplace-home) .card.future-card .video-launch:is(.is-mini,.is-video-only){
  position-anchor:--listing-photo;
  top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
  width:44px!important;height:44px!important;margin:0!important;padding:4px!important;
  display:grid!important;place-items:center;transform:translate(-50%,-50%)!important;
  border:0!important;border-radius:50%!important;color:#fff5de;
  background:radial-gradient(circle,#251a22a8 52%,transparent 72%)!important;
  box-shadow:none!important;filter:drop-shadow(0 2px 5px #140d16a6);
}
@supports (anchor-scope:--listing-photo) and (top:anchor(center)){
  html body:is(.future,#marketplace-home) .card.future-card .video-launch:is(.is-mini,.is-video-only){top:anchor(center)!important;left:anchor(center)!important}
}
html body:is(.future,#marketplace-home) .card.future-card .video-launch .video-launch-mark{display:block;width:100%;height:100%}
html body:is(.future,#marketplace-home) .card.future-card .video-launch .video-launch-mark circle{fill:#2c202a45;stroke-width:1.2}
html body:is(.future,#marketplace-home) .card.future-card .video-launch:is(.is-mini,.is-video-only):hover .video-launch-mark circle{fill:#3a263ac9}
html body:is(.future,#marketplace-home) .card.future-card .video-launch:is(.is-mini,.is-video-only):focus-visible{outline:2px solid #fff!important;outline-offset:2px}
/* centre of the PHOTO (card = container; photo inset 6 px, 3:4) — not of the whole card */
html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.video-launch:is(.is-mini,.is-video-only){top:calc(6px + (100cqw - 12px) * 2 / 3)!important;left:50%!important;transform:translate(-50%,-50%)!important;z-index:4}
/* Owner 2026-12-02: cart on the title line — LEFT, the bookmark RIGHT, both dark; computers only (phones: no cart on cards). */
@media all{
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>:is(.photo-shop-form,.photo-shop.photo-cart:not(.photo-share)){top:calc(var(--ph-bottom) - 2px)!important;left:6px!important;right:auto!important;bottom:auto!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card .photo-cart{display:grid!important;place-items:center;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#3a2a31!important;filter:none!important;cursor:pointer}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card .photo-cart .ic{width:21px!important;height:21px!important;filter:none!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card .photo-cart .ic path{stroke:currentColor!important;fill:none!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card .photo-cart:focus-visible{outline:2px solid #3a2a31!important;outline-offset:1px}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card .photo-shop-form{margin:0!important}
}
/* owner 2026-12-03: phones show the cart on cards too (was hidden) */
/* Real shop listings: the cart is a <button> inside a <form> — the form steps aside, the button is placed like the bookmark. */
@media all{
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>.photo-shop-form{display:contents!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-rail>.photo-shop-form>.photo-cart{position:absolute!important;inset:auto!important;top:calc(var(--ph-bottom) - 2px)!important;left:6px!important;z-index:5}
}
/* Owner 2026-12-02: a cart button that has added its item turns bordo (filled); the header cart gives a short bump. */
html:root body:is(.future,#marketplace-home) article.card.home-listing-card .photo-cart.is-added{color:#920036!important}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card .photo-cart.is-added .ic :is(path,circle){fill:none!important;stroke:#920036!important;stroke-width:2.4!important}
html body .site-header .cart-link.cart-bump{animation:tgCartBump .5s ease}
@keyframes tgCartBump{0%,100%{transform:scale(1)}40%{transform:scale(1.18)}}
@media(prefers-reduced-motion:reduce){html body .site-header .cart-link.cart-bump{animation:none}}
/* Owner 2026-12-02: photo edge to edge in the card (no inner frame — "rāmis rāmī"), as in the reference Downloads/12.png;
   no glass-stack frames inside the photo (the dots already say how many photos). */
html:root body:is(.future,#marketplace-home) article.card.home-listing-card{overflow:hidden!important;--ph-bottom:calc(100cqw * 4 / 3)}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-link{padding:0!important}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card .card-img{border-radius:13px 13px 0 0!important;margin:0!important;width:100%!important}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card .card-img::after{border-radius:0!important}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card .card-img :is(.glass-stack,.glass-stack-layer){display:none!important}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card .card-body{padding-left:10px!important;padding-right:10px!important}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.video-launch:is(.is-mini,.is-video-only){top:calc(100cqw * 2 / 3)!important}
/* Owner 2026-12-02: an added cart is unmistakable — the whole button turns into a bordo circle with a white cart. */
html:root body:is(.future,#marketplace-home) article.card.home-listing-card .photo-cart.is-added{background:#920036!important;border-radius:50%!important;color:#fff!important}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card .photo-cart.is-added .ic :is(path,circle){stroke:#fff!important;fill:none!important;stroke-width:2.2!important}
/* Owner 2026-12-02: the photo FILLS the card frame (cover) — no blurred bands above/below photos that are not exactly 3:4. */
html:root body:is(.future,#marketplace-home) article.card.home-listing-card .card-img>img:not(.card-img-bg){object-fit:cover!important;object-position:center!important;width:100%!important;height:100%!important}
html:root body:is(.future,#marketplace-home) article.card.home-listing-card .card-img>.card-img-bg{display:none!important}
/* Owner 2026-12-02 (product page): share on the photo looks like the card share (white icon, soft shadow, no dark circle). */
html:root body.future .product .media-stage .media-share-corner{width:44px!important;height:44px!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#fff!important;display:grid!important;place-items:center;filter:drop-shadow(rgba(0,0,0,.55) 0 1px 2px) drop-shadow(rgba(0,0,0,.25) 0 0 6px)}
html:root body.future .product .media-stage .media-share-corner .ic{width:24px!important;height:24px!important}
html:root body.future .product .media-stage .media-share-corner .ic path{stroke-width:1.9!important}
/* seller block: the card avatar (store logo / photo) with the "+" follow, next to the name */
html body.future .seller-head{display:flex;align-items:center;gap:12px}
html body.future .seller-head .seller-link{flex:1 1 auto;min-width:0}
html body.future .seller-head .seller-follow{position:relative;flex:none;width:48px;height:56px}
html body.future .seller-head .seller-follow-face{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;overflow:hidden;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.25);background:#f5eef1;text-decoration:none}
html body.future .seller-head .seller-follow-face img{display:block;width:100%;height:100%;object-fit:cover}
html body.future .seller-head .seller-follow-initials{color:#990037;font:800 18px/1 system-ui,"Segoe UI",Arial,sans-serif}
html body.future .seller-head .seller-follow-btn{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:22px;height:22px;margin:0;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:#ff2c55;color:#fff;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.3)}
html body.future .seller-head .seller-follow-btn::after{content:"";position:absolute;inset:-11px}
html body.future .seller-head .seller-follow-btn .ic{width:14px;height:14px}
html body.future .seller-head .seller-follow-btn .ic path{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
html body.future .seller-head .seller-follow-btn .ic-check{display:none}
html body.future .seller-head .seller-follow-btn[aria-pressed=true]{background:#fff}
html body.future .seller-head .seller-follow-btn[aria-pressed=true] .ic-plus{display:none}
html body.future .seller-head .seller-follow-btn[aria-pressed=true] .ic-check{display:block}
html body.future .seller-head .seller-follow-btn[aria-pressed=true] .ic path{stroke:#ff2c55}
html body.future .seller-head .seller-follow-btn:focus-visible{outline:2px solid #2b1f25;outline-offset:2px}
/* product gallery dots (any photo count): top centre, as on the cards */
html:root body.future .product .media-stage .media-dots{top:16px!important;bottom:auto!important}
/* Owner 2026-12-02 (later): on computers the photo gets its neat frame back (5 px white margin, rounded photo) — still filled
   (cover), no blurred bands, no glass layers. Phones keep the photo edge to edge. */
@media(min-width:768px){
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card{--ph-bottom:calc(5px + (100cqw - 10px) * 4 / 3)}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.card-link{padding:5px!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card .card-img{border-radius:10px!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card .card-img::after{border-radius:0 0 10px 10px!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card>.video-launch:is(.is-mini,.is-video-only){top:calc(5px + (100cqw - 10px) * 2 / 3)!important}
  html:root body:is(.future,#marketplace-home) article.card.home-listing-card .card-body{padding-left:5px!important;padding-right:5px!important}
}
/* Owner 2026-12-02: product page on computers — the seller block (seller, buy / contact buttons, report) sits UNDER the photo. */
html body.future .product>.pv-seller-box{box-sizing:border-box;min-width:0}
@media(min-width:1024px){
  html body.future article.product:has(>.pv-seller-box){grid-template-rows:auto 1fr!important;align-items:start!important}
  html body.future article.product:has(>.pv-seller-box)>.gallery{grid-column:1!important;grid-row:1!important}
  html body.future article.product:has(>.pv-seller-box)>.info{grid-column:2!important;grid-row:1 / span 2!important}
  html body.future article.product>.pv-seller-box{grid-column:1!important;grid-row:2!important;align-self:start;justify-self:center;margin:0;width:100%;max-width:504px;padding:20px 22px;border-radius:22px;background:rgba(255,250,247,.93);border:1px solid rgba(255,255,255,.6);box-shadow:0 8px 30px rgba(53,27,39,.08)}
}
@media(max-width:1023.98px){
  html body.future article.product>.pv-seller-box{padding:0 24px 24px;background:rgba(255,250,247,.93)}
}
html body.future article.product>.pv-seller-box>.section-head{margin:0!important;padding:0!important;min-height:0!important;height:0!important}
/* Owner 2026-12-02: header — no "Pievienot sludinājumu" on the product page; no magnifier ("AI search / request" is not ready;
   when it is, it belongs in the search field); a clean round cart button with a bordo count badge. */
html body.future:has(main article.product) .site-header .tg-header-add{display:none!important}
html body .site-header .tg-ai-search{display:none!important}
html body .site-header .cart-link{position:relative!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border:1.5px solid #e2cfd7!important;border-radius:50%!important;background:#fff!important;color:#6d0029!important;box-shadow:0 1px 3px rgba(43,31,37,.08)!important;text-decoration:none!important}
html body .site-header .cart-link:hover{border-color:#920036!important}
html body .site-header .cart-link .ic{width:20px!important;height:20px!important;margin:0!important}
html body .site-header .cart-link .ic :is(path,circle){stroke:currentColor!important;stroke-width:1.8!important;fill:none!important}
html body .site-header .cart-link .cart-count{position:absolute!important;top:-5px!important;right:-6px!important;display:grid!important;place-items:center!important;min-width:19px!important;height:19px!important;padding:0 5px!important;box-sizing:border-box!important;border:2px solid #fff!important;border-radius:10px!important;background:#920036!important;color:#fff!important;font:700 11px/1 Manrope,system-ui,sans-serif!important}
html body .site-header .cart-link:focus-visible{outline:2px solid #920036!important;outline-offset:2px}
html:root body.future:not(#tg-a):not(#tg-b):has(article.product) .site-header .tg-header-add{display:none!important}
html:root body:not(#tg-a):not(#tg-b) .site-header .tg-ai-search{display:none!important}
/* Owner 2026-12-02: the product description starts folded (phone and computer) — "Vai gribi redzēt papildus aprakstu?" opens it. */
html:root body.future .desc-wrap[data-desc-wrap]>.desc-reveal{display:flex!important}
html:root body.future .desc-wrap[data-desc-wrap]:not(.is-open)>.desc{display:none!important}
html:root body.future .desc-wrap[data-desc-wrap].is-open>.desc{display:block!important}
/* without "Visi veikali": "Skatīt visus →" + the filter icon keep the right edge */
@media(min-width:1100px){
  html:root body:is(#marketplace-home,.future) .home-body>.results-toolbar>.home-see-all{margin-left:auto!important}
  html:root body:is(#marketplace-home,.future) .home-body>.results-toolbar:has(>.home-see-all)>.tg-filter-toggle{margin-left:12px!important}
}

/* Public 2026-12-03 (ported from the design copy): "Meklēt arī citur" products + "Paziņot man, kad parādīsies TIRGOTE". New blocks only. */
/* Owner 2026-12-03: "Meklēt arī citur" — other shops below our results: products (cheapest first) + plain links. */
.other-shops { grid-column: 1 / -1; margin: 28px 0 8px; padding-top: 20px; border-top: 1px solid #e7dcdf; }
.other-shops h2 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; color: #1f1418; line-height: 1.4; }
.other-shops .os-status { margin: 0 0 12px; color: #6b5a60; font-size: .85rem; }
.os-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.os-item { display: flex; flex-direction: column; height: 100%; background: #ffffff; border: 1px solid #e7dcdf; border-radius: 12px; overflow: hidden; color: #1f1418; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.os-item:hover { border-color: #efd3de; box-shadow: 0 4px 14px rgba(92, 10, 41, .08); }
.os-item:focus-visible { outline: 2px solid #8a0e3d; outline-offset: 2px; }
.os-pic { position: relative; display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid #e7dcdf; }
.os-pic img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.os-best { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: #8a0e3d; color: #ffffff; font-size: .72rem; font-weight: 700; }
.os-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.os-price { color: #8a0e3d; font-size: 1.05rem; font-weight: 800; }
.os-title { font-size: .85rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.os-shop { color: #6b5a60; font-size: .78rem; margin-top: auto; }
.os-more { display: block; margin: -6px 0 18px; min-height: 44px; padding: 0 18px; background: #ffffff; border: 1px solid #efd3de; border-radius: 10px; color: #8a0e3d; font: inherit; font-weight: 700; cursor: pointer; }
.os-more:hover { background: #f8e6ec; }
.os-more:focus-visible { outline: 2px solid #8a0e3d; outline-offset: 2px; }
.other-shops .os-sub { margin: 0 0 10px; font-size: .9rem; font-weight: 700; color: #6b5a60; }
.other-shops .os-note { margin: 10px 0 0; color: #6b5a60; font-size: .8rem; }
@media (max-width: 600px) {
  .os-list { grid-template-columns: 1fr; gap: 8px; }
  .os-item { flex-direction: row; min-height: 88px; }
  .os-pic { flex: 0 0 88px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid #e7dcdf; }
  .os-best { left: 4px; top: 4px; font-size: .66rem; padding: 2px 6px; }
}

/* Owner 2026-12-03: "Paziņot man, kad parādīsies TIRGOTE" — the zero-results action and the /pazinot card. */
.request-cta.sa-cta .btn.sa-cta-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; background: #8a0e3d; border-color: #8a0e3d; color: #ffffff; border-radius: 10px; font-weight: 700; text-decoration: none; }
.request-cta.sa-cta .btn.sa-cta-btn:hover { background: #5c0a29; border-color: #5c0a29; }
.sa-cta .sa-cta-btn:focus-visible, .sa-card .sa-btn:focus-visible { outline: 2px solid #8a0e3d; outline-offset: 3px; }
.sa-cta .sa-cta-alt { margin: 4px 0 0; font-size: .9rem; }
.sa-cta .sa-cta-alt a { display: inline-flex; align-items: center; min-height: 44px; color: #6b5a60; }
.sa-card { max-width: 440px; margin: 32px auto 48px; padding: 28px 28px 24px; background: #ffffff; border: 1px solid #e7dcdf; border-radius: 16px; box-shadow: 0 6px 24px rgba(92, 10, 41, .06); }
.sa-card h1 { margin: 0 0 8px; font-family: "Manrope","Inter",system-ui,sans-serif; font-size: 1.4rem; line-height: 1.3; color: #1f1418; }
.sa-card p { line-height: 1.5; }
.sa-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; background: #f8e6ec; color: #8a0e3d; }
.sa-icon.is-ok { background: #e9f3ec; color: #1d6b3a; }
.sa-icon .ic { width: 24px; height: 24px; }
.sa-lead { margin: 0 0 18px; color: #6b5a60; }
.sa-form { display: flex; flex-direction: column; gap: 6px; }
.sa-form label { font-weight: 600; font-size: .92rem; color: #1f1418; }
.sa-form input:not(.hp-field) { min-height: 46px; margin-bottom: 10px; padding: 0 14px; border: 1px solid #cdbfc4; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: #1f1418; }
.sa-form input:not(.hp-field):focus { outline: none; border-color: #8a0e3d; box-shadow: 0 0 0 3px #f8e6ec; }
.sa-card .sa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 4px; background: #8a0e3d; border: 1px solid #8a0e3d; color: #ffffff; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.sa-card .sa-btn:hover { background: #5c0a29; }
.sa-points { margin: 18px 0 0; padding: 14px 0 0 18px; border-top: 1px solid #e7dcdf; color: #6b5a60; font-size: .88rem; line-height: 1.6; }
.sa-fine { margin: 12px 0 0; color: #6b5a60; font-size: .82rem; }
.sa-error { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #fdecee; color: #8a1020; font-size: .92rem; }
.sa-dev { padding: 10px 12px; border: 1px dashed #efd3de; border-radius: 8px; font-size: .88rem; }
.sa-back { display: inline-block; margin-top: 14px; color: #8a0e3d; }
@media (max-width: 600px) { .sa-card { margin: 16px auto 32px; padding: 22px 18px; border-radius: 12px; } .sa-cta .sa-cta-btn { width: 100%; justify-content: center; } }
.sa-card a.sa-btn { margin-top: 16px; }
/* "Paziņot man" inside the "Nekas netika atrasts" box (owner 2026-12-03 (2)). */
html body .empty-state .request-cta.sa-cta{max-width:520px;margin:18px auto 0!important;padding:18px 0 0!important;border:0!important;border-top:1px solid #e7dcdf!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-align:center}
.empty-state .sa-cta .sa-cta-lead{margin:0 0 12px;color:#6b5a60;font-size:.95rem;line-height:1.5}
.sa-card a.sa-btn { margin-top: 16px; }

/* Owner 2026-12-03: on a search the "Nekas netika atrasts" box is compact and sits close under the results heading,
   so the buyer sees the products from other shops below it without scrolling far. */
html body:is(#marketplace-home,*) .search-refine:not(#tg-x){margin-bottom:4px!important}
html body:is(#marketplace-home,*) .search-refine+.results-toolbar:not(#tg-x){margin-top:2px!important}
html body:is(#marketplace-home,*) .grid .empty-state:has(.sa-cta){padding:18px 24px 20px!important}
html body .grid .empty-state:has(.sa-cta) .request-cta.sa-cta{margin-top:10px!important;padding-top:10px!important}
.empty-state:has(.sa-cta) .sa-cta .sa-cta-lead{margin:0 0 8px!important;font-size:.9rem!important}
html body .empty-state .request-cta.sa-cta .btn.sa-cta-btn{min-height:44px!important}
html body .empty-state .sa-cta .sa-cta-alt{margin-top:0!important}
html body .empty-state .request-cta.sa-cta{max-width:680px!important}
html body .other-shops{margin-top:16px!important;padding-top:14px!important}

/* Owner 2026-12-03 (Smart Search 1): kinds of the found items — plain words, bordo underline on the current one (no ovals),
   one scrollable row. */
.search-types{margin:2px 0 8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.search-types::-webkit-scrollbar{display:none}
.search-types ul{display:flex;gap:4px;margin:0;padding:0;list-style:none;white-space:nowrap}
.search-types a.search-type{position:relative;display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:0 10px;color:#2b1f25;font:600 14px/1.2 Manrope,system-ui,sans-serif;text-decoration:none}
.search-types a.search-type:hover{color:#000}
.search-types a.search-type:focus-visible{outline:2px solid #2b1f25;outline-offset:2px}
.search-types a.search-type.is-on::after{content:"";position:absolute;inset:auto 6px 4px 6px;height:3px;border-radius:3px;background:#920036}
.search-types .search-type-n{color:#6b5a60;font-weight:500}

/* Owner 2026-12-03 (Smart Search, tyres): quick refine row under the search — compact selects, one scrollable row on the phone. */
.quick-refine{display:flex;align-items:flex-end;gap:10px;margin:2px 0 10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.quick-refine::-webkit-scrollbar{display:none}
.quick-refine .qr-title{flex:none;align-self:center;color:#2b1f25;font:700 14px/1.2 Manrope,system-ui,sans-serif;margin-right:2px}
.quick-refine .qr-field{display:flex;flex-direction:column;gap:3px;flex:none}
.quick-refine .qr-field span{color:#6b5a60;font:600 12px/1.2 Manrope,system-ui,sans-serif}
.quick-refine select{min-height:44px;min-width:92px;padding:0 30px 0 12px;border:1px solid #e3dcd8;border-radius:10px;background-color:#fff;color:#2b1f25;font:600 14px Manrope,system-ui,sans-serif}
.quick-refine select:focus-visible{outline:2px solid #920036;outline-offset:2px}

/* Owner 2026-12-03 (search list, part 3): search results view (body.tg-search-view, home page with ?q=).
   Search field under the categories (the header one hidden here), counts + a small notify line under it (never wider),
   one toolbar "Skatīt visus → | filter | Kārtot pēc:", the filter panel open with all fields in one row. */
html:root body.tg-search-view .site-header .tg-head-mid form.header-search:not(#tg-x),
html body.tg-search-view .mobile-home-search,
html body.tg-search-view .tg-m-search{display:none!important}
.sv-top{max-width:720px;margin:14px 0 6px}
.sv-search{display:flex;align-items:center;gap:0;height:52px;padding:0 5px 0 16px;border:1.5px solid #920036;border-radius:14px;background:#fff}
.sv-search:focus-within{box-shadow:0 0 0 3px rgba(146,0,54,.14)}
.sv-q{display:flex;align-items:center;gap:10px;flex:1;min-width:0;height:100%;color:#6b5a60}
.sv-q svg{width:20px;height:20px;flex:none}
.sv-q input{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;color:#2b1f25;font:600 16px Manrope,system-ui,sans-serif}
.sv-q input::-webkit-search-cancel-button{cursor:pointer}
.sv-go{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border:0;border-radius:10px;background:#920036;color:#fff;font:700 15px Manrope,system-ui,sans-serif;cursor:pointer}
.sv-go:hover{background:#6e0029}
.sv-go:focus-visible{outline:2px solid #2b1f25;outline-offset:2px}
.sv-go svg{width:18px;height:18px}
html body.tg-search-view .sv-counts:not(#tg-x){display:flex;flex-wrap:wrap;gap:4px 22px;margin:10px 2px 0!important;color:#4a3a41;font:500 14px/1.4 Manrope,system-ui,sans-serif}
.sv-counts b{color:#2b1f25;font-weight:800}
.sv-counts:focus{outline:none}
.sv-notify{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin:8px 2px 0}
.sv-notify a{display:inline-flex;align-items:center;gap:6px;min-height:36px;font:600 14px/1.2 Manrope,system-ui,sans-serif;text-decoration:none}
.sv-notify .sv-notify-btn{color:#920036}
.sv-notify .sv-notify-btn svg{width:16px;height:16px}
.sv-notify .sv-request{color:#6b5a60;text-decoration:underline;text-underline-offset:3px}
.sv-notify a:hover span,.sv-notify .sv-request:hover{text-decoration:underline;color:#5c0a29}
.sv-notify a:focus-visible{outline:2px solid #920036;outline-offset:2px;border-radius:4px}
html body.tg-search-view .home-body>.sv-intent-row:not(#tg-x){position:relative;min-height:48px;margin:6px 0 0!important}
/* Toolbar: left to right, everything on the left */
html body.tg-search-view .home-body>.results-toolbar.sv-toolbar:not(#tg-x){display:flex!important;justify-content:flex-start!important;align-items:center;flex-wrap:wrap;gap:6px 14px!important;margin:6px 0 8px!important}
html body.tg-search-view .sv-toolbar>.gallery-layout:not(#tg-x){margin-left:auto!important}
.sv-all{display:inline-flex;align-items:center;gap:5px;min-height:40px;color:#2b1f25;font:700 14px Manrope,system-ui,sans-serif;text-decoration:none}
.sv-all:hover{color:#920036}
html:root body.tg-search-view .home-body .sv-filter-btn:not(#tg-x){order:0!important;position:relative!important;transform:none!important;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);cursor:pointer}
html:root body.tg-search-view .home-body .sv-filter-btn[hidden]:not(#tg-x){display:none!important}
.sv-filter-btn .ic{width:20px;height:20px}
.sv-filter-btn .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:root body.tg-search-view section.home-body:not(#tg-x){display:block!important}
html body.tg-search-view .sv-toolbar .sv-filter-btn[aria-expanded="true"]:not(#tg-x){border-color:#920036!important;color:#920036!important}
.sv-sort{display:flex;align-items:center;gap:2px;min-width:0;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.sv-sort::-webkit-scrollbar{display:none}
.sv-sort-h{margin-right:6px;color:#6b5a60;font:600 14px Manrope,system-ui,sans-serif}
.sv-sort a{position:relative;display:inline-flex;align-items:center;min-height:40px;padding:0 9px;color:#4a3a41;font:600 14px Manrope,system-ui,sans-serif;text-decoration:none}
.sv-sort a:hover{color:#000}
.sv-sort a.is-on{color:#2b1f25;font-weight:800}
.sv-sort a.is-on::after{content:"";position:absolute;inset:auto 7px 3px 7px;height:3px;border-radius:3px;background:#920036}
.sv-sort a:focus-visible{outline:2px solid #2b1f25;outline-offset:1px;border-radius:4px}
/* Filter panel: open by default, one row (wraps only when the screen is too narrow); the price slider joins the row when there is room */
html:root body.tg-search-view .sv-filters[data-folded]:not(#tg-x),html:root body.tg-search-view .sv-filters[hidden]:not(#tg-x){display:none!important}
html body.tg-search-view .sv-filters:not(#tg-x){display:block!important;margin:0 0 14px!important}
.sv-filter-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px;padding:12px 14px;border:1px solid #eadfe3;border-radius:14px;background:#fff}
.sv-filter-row>form{display:contents}
.sv-filter-row .qr-title{display:none}
.sv-filter-row .qr-field,.sv-filter-row .facet{display:flex;flex-direction:column;gap:3px;flex:0 1 150px;min-width:110px;max-width:200px}
.sv-filter-row .qr-field span,.sv-filter-row .facet>span{color:#6b5a60;font:600 12px/1.2 Manrope,system-ui,sans-serif}
.sv-filter-row select,.sv-filter-row .facet-city .city-picker>summary{width:100%;min-width:0;min-height:40px;height:40px;padding:0 28px 0 10px;border:1px solid #e3dcd8;border-radius:10px;background-color:#fff;color:#2b1f25;font:600 14px Manrope,system-ui,sans-serif}
.sv-filter-row .facet-city .city-picker>summary{padding:0 10px}
.sv-filter-row .facet-price{flex:1 1 240px;max-width:360px}
.sv-filter-row .facet-sort{display:none}
.sv-filter-row .facet-clear{align-self:center;min-height:40px;display:inline-flex;align-items:center}
html body.tg-search-view .grid .empty-state.sv-empty:not(#tg-x){padding:14px 18px!important}
.sv-empty p{margin:0}
@media (max-width:767px){
  .sv-top{margin:10px 0 4px}
  .sv-search{height:48px;padding-left:12px}
  .sv-go{width:42px;padding:0;justify-content:center}
  .sv-go span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  html body.tg-search-view .sv-counts:not(#tg-x){font-size:13px;gap:2px 14px}
  html body.tg-search-view .home-body>.results-toolbar.sv-toolbar:not(#tg-x){flex-wrap:wrap!important;gap:0 10px!important}
  .sv-toolbar .sv-sort{order:5;flex:1 1 100%}
  .sv-filter-row{padding:10px}
  .sv-filter-row .qr-field,.sv-filter-row .facet{flex:1 1 calc(50% - 6px);max-width:none}
  .sv-filter-row .facet-price{flex-basis:100%;max-width:none}
}
html body.tg-search-view .sv-toolbar+.grid,html body.tg-search-view .sv-filters+.grid{margin-top:8px}
@media (max-width:420px){.sv-sort a{padding:0 6px;font-size:13px}.sv-sort-h{margin-right:2px;font-size:13px}}
/* v220: sort on the left, "Skatīt visus →" + filter icon at the right edge of the same line */
.sv-tools{display:flex;align-items:center;gap:14px;margin-left:auto}
html body.tg-search-view .sv-toolbar>.gallery-layout:not(#tg-x){margin-left:0!important}
@media (max-width:767px){.sv-tools{width:100%;justify-content:flex-end}.sv-toolbar .sv-sort{order:5}}
/* v220: the search field (with its counts and notify line) centred in the search view */
html body.tg-search-view .sv-top:not(#tg-x){margin-left:auto;margin-right:auto}
html body.tg-search-view .sv-counts:not(#tg-x),.sv-notify{justify-content:center}
/* Owner 2026-12-03: TikTok Live number under the product name — black, TikTok cyan/red, small; the photo frame is untouched. */
.tt-live{display:inline-flex;align-items:center;gap:6px;max-width:100%;margin:4px 0 2px;padding:3px 9px 3px 8px;border-radius:999px;background:#000;color:#fff;font:700 11px/1.3 Manrope,system-ui,sans-serif;letter-spacing:.02em;white-space:nowrap;box-shadow:-1.5px 0 0 #25F4EE,1.5px 0 0 #FE2C55}
.tt-live-k{color:#fff;text-shadow:-1px 0 #25F4EE,1px 0 #FE2C55}
.tt-live-n{color:#fff;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.tt-live::before{content:"";width:6px;height:6px;border-radius:50%;background:#FE2C55;box-shadow:0 0 0 2px rgba(254,44,85,.25);flex:none}
.tt-live-page{margin:8px 0 4px;padding:5px 12px 5px 10px;font-size:13px}
.tt-live-code{max-width:140px;text-transform:uppercase;letter-spacing:.08em}
html body:is(.future,#marketplace-home) .home-listing-card .card-body>.tt-live:not(#tg-x){display:inline-flex!important;flex:none;margin:3px auto 0}
/* Owner 2026-12-03 (2): every home-page view (home, "Skatīt visus", categories, search) — the search field centred under the
   categories (header search hidden), the filter panel centred under it with the price slider in the same row; the toolbar
   (sort + filter icon) stays right above the listings. Phones keep their own search in the banner. */
html:root body.tg-center-search .site-header .tg-head-mid form.header-search:not(#tg-x){display:none!important}
html body.tg-center-search .sv-top:not(#tg-x){margin:14px auto 10px}
@media (max-width:767px){html body.tg-center-search:not(.tg-search-view) .sv-top-plain{display:none!important}}
@media (min-width:768px){
  html:root body.tg-center-search section.home-body:not(#tg-x){display:block!important}
  html:root body:is(#marketplace-home,*).tg-center-search .tg-home-filter-panel:not([data-folded]):not(#tg-x):not(#tg-y){display:flex!important;justify-content:center!important;margin:0 auto 14px!important}
  html:root body:is(#marketplace-home,*).tg-center-search .tg-home-filter-panel:not(#tg-x):not(#tg-y)>form{margin:0 auto!important;width:min(100%,1180px)!important;max-width:100%!important;flex-wrap:wrap;justify-content:center}
  html body.tg-center-search .tg-home-filter-panel .facet{flex:0 1 165px;max-width:200px}
  html body.tg-center-search .tg-home-filter-panel .facet-price{flex:1 1 240px;max-width:320px}
  .sv-filter-row{justify-content:center}
}
/* Header avatar: the shop logo / profile picture in a round frame, no extra background. */
html body .header-tools .tool-btn.tg-head-avatar{padding:0;overflow:hidden;border-radius:50%;background:none!important;box-shadow:none!important}
.header-tools .tool-btn.tg-head-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
/* Owner 2026-12-03 (3): no "Pievienot sludinājumu" button in the header (the bottom bar / cabinet keep adding);
   home toolbar no longer slides under the cards (its −16 px bottom margin was absorbed by the old grid). */
html:root body .site-header :is(.tg-header-ai,.tg-header-add):not(#tg-x){display:none!important}
@media (min-width:768px){
  html:root body:is(#marketplace-home,*).tg-center-search .home-body>.results-toolbar:not(#tg-x):not(#tg-y):not(#tg-z){margin-bottom:10px!important}
}
@media (min-width:768px){html:root body.tg-center-search:not(.tg-home-row) .tg-catnav:not(#tg-x){margin-top:-14px!important}} /* categories closer to the logo (no header add button any more) */
/* Owner 2026-12-03 (4): search — 2 rows per block, "Skatīt visus N →" opens the rest; no "Nekas netika atrasts" box. */
html body .sv-cut:not(#tg-x){display:none!important}
button.sv-all{border:0;background:none;padding:0 2px;cursor:pointer}
.sv-all b{font-weight:800;color:#920036}
.sv-all:focus-visible{outline:2px solid #920036;outline-offset:2px;border-radius:4px}
.os-head{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin:0 0 10px}
.os-head .os-status{margin:0}
.os-head .os-all{margin-left:auto}
html body .os-head .sv-tools:not(#tg-x){display:flex;align-items:center;gap:14px;margin-left:0;width:auto}
/* Owner 2026-12-03 (5): nothing extra appears around the search field while typing (it already has its bordo frame). */
html:root body .sv-search input:not(#tg-x),html:root body .sv-search input:focus:not(#tg-x),html:root body .sv-search input:focus-visible:not(#tg-x){outline:none!important;box-shadow:none!important}
html:root body .sv-search:focus-within:not(#tg-x){box-shadow:none!important}
.sv-q input{text-overflow:ellipsis}
.sv-q input::placeholder{color:#8a7a82;font-weight:500}
/* Owner 2026-12-03 (5): the banner ~1 cm (38 px) higher, closer to the logo and avatar; its "Visi online veikali" button
   hidden (kept in the HTML — the owner decides where to show the shops link). */
@media (min-width:768px){html:root body.page-home .future-hero:not(#tg-x){margin-top:-38px!important}}
html:root body .future-hero .tg-pc-hero-shops:not(#tg-x){display:none!important}
/* Owner 2026-12-04 (phone, corrected): heart + share right at the photo's RIGHT edge (the 2026-12-03 18 px moved them
   left — wrong); the search without the place choice (it is in the filter); "Visi online veikali" hidden for now. */
@media (max-width:767.98px){
  html:root body:is(.future,#marketplace-home) article.card :is(.like-toggle,.fav-toggle,.photo-share):not(#tg-x){right:2px!important}
  html:root body :is(.tg-m-search-form,.mobile-home-search,.feed-search-form,.catalog-search) .unified-location:not(#tg-x){display:none!important}
  html:root body .site-header .tg-head-shops:not(#tg-x){display:none!important}
}
/* Owner 2026-12-03 (search list 4.2): category words above other shops' products — plain words, bordo underline on the chosen one. */
.os-cats{display:flex;flex-wrap:wrap;gap:4px 20px;margin:0 0 14px;padding:0}
.os-cat{position:relative;min-height:40px;padding:6px 0;background:none;border:0;color:#2b1f25;font:inherit;font-weight:600;font-size:.92rem;cursor:pointer}
.os-cat-n{color:#8c7a80;font-weight:500}
.os-cat[aria-pressed="true"]::after{content:"";position:absolute;left:-3px;right:-3px;bottom:2px;height:3px;border-radius:3px;background:#8a0e3d}
.os-cat:hover{color:#8a0e3d}
.os-cat:focus-visible{outline:2px solid #8a0e3d;outline-offset:2px;border-radius:4px}
@media (max-width:640px){.os-cats{flex-wrap:nowrap;overflow-x:auto;gap:16px;scrollbar-width:none}.os-cat{white-space:nowrap}}

/* Owner 2026-12-04: (1) phone product view — heart and share sit right next to the frame's right edge;
   (2) share buttons and the back circle have no background anywhere — bare white icons with a soft shadow, as on the home page. */
@media (max-width:767px){
  html:root body.future .product .media-stage>.pv-social.pv-like{right:4px!important}
  html:root body.future .product .media-stage .media-share-corner,
  html:root body.future .product .media-stage:has(>.pv-like) .media-share-corner{right:4px!important}
}
html:root body.future .media-share-corner,
html:root body.future .product .media-stage .immersive-navigation>[data-listing-back]{background:none!important;border:0!important;box-shadow:none!important;color:#fff!important;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 0 6px rgba(0,0,0,.25))}
html:root body.future .product .media-stage .immersive-navigation>[data-listing-back]{font-size:34px!important;line-height:1!important}
html:root body.future .media-share-corner .ic{width:24px!important;height:24px!important}
/* the bottom menu's cart count sits like the messages count */
html body.future .bottom-nav .bn-cart{position:relative}
/* the seller page head is light: there the bare share icon is wine, without the photo shadow */
html:root body.future .seller-page-head .media-share-corner{color:#7a1d40!important;filter:none!important}
/* Owner 2026-12-04: the PC search examples change with the same soft fade as on the phone */
.unified-search input::placeholder,.sv-search input::placeholder{transition:opacity .25s}
.unified-search input.tg-ph-swap::placeholder,.sv-search input.tg-ph-swap::placeholder{opacity:0}
/* Owner 2026-12-05: under the search results (≥ 50 shown) one clear button opens every found result on one page. */
.sv-show-all{display:flex;justify-content:center;margin:18px 0 8px}
.sv-show-all-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 24px;border-radius:14px;background:#8a0e3d;color:#fff;font-weight:700;font-size:1rem;text-decoration:none;box-shadow:0 6px 16px #8a0e3d33}
.sv-show-all-btn:hover{background:#920036}
.sv-show-all-btn:focus-visible{outline:3px solid #2b1f25;outline-offset:2px}
.sv-show-all-btn b{font-weight:800;opacity:.9}
.sv-show-all-btn .ic{width:18px;height:18px}
@media (max-width:767.98px){.sv-show-all-btn{width:100%;max-width:420px}}
