/* Биржа остатков. «Туф + чертёж» в духе Apple: тёплый светлый фон, один яркий цвет — туф (цены, печати скидки,
   главные кнопки, ссылки «Все →»), синий — только тонкие размерные линии сравнения цен. Золота нет. Сначала телефон. */
:root{
  --bg:#f8f6f1; --page:#ebe8e2; --surface:#fffefc; --text:#1f1b1a; --muted:#66707a;
  --tuff:#c9573a; --tuffHi:#d9694b; --tuffEdge:#a54329; --tuffSoft:#f6ddd2; --ink:#1d3f6e;
  --line:rgba(31,27,26,.09); --field:rgba(31,27,26,.16); --ph:#e9e5de;
  --solid:#1f1b1a; --solidHi:#3a3432; --onSolid:#fffefc;
  --gift:#3f7d5a; --giftHi:#4b8f69; --giftEdge:#2f5f45; --giftSoft:#e3efe7; /* «Даром» — свой зелёный, чтобы не путать с продажей */
  --ok:#2f6a4c; --okbg:#e6f0e9; --warn:#7a5512; --warnbg:#f6eedd; --bad:#9a3b2a; --badbg:#f8e6e0;
  --lift:0 1px 1px rgba(31,27,26,.06),0 4px 8px rgba(31,27,26,.06),0 14px 28px rgba(31,27,26,.10);
  --liftHi:0 1px 1px rgba(31,27,26,.08),0 8px 16px rgba(31,27,26,.10),0 24px 44px rgba(31,27,26,.16);
  --gloss:inset 0 1px 0 rgba(255,255,255,.35);
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Noto Sans Armenian",system-ui,sans-serif;
  /* Водяные знаки: знак вечности, абрикос, крест как на хачкарах, гранат, буквы «ԱԲԳ». Туф, 7–10%. */
  --wmA:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cg fill='none' stroke='%23c9573a' stroke-opacity='.09' stroke-width='3.2' stroke-linecap='round'%3E%3Ccircle r='5'/%3E%3Cg id='a'%3E%3Cpath d='M0-8C10-20 26-22 34-12C40-4 34 6 26 4'/%3E%3C/g%3E%3Cuse href='%23a' transform='rotate(45)'/%3E%3Cuse href='%23a' transform='rotate(90)'/%3E%3Cuse href='%23a' transform='rotate(135)'/%3E%3Cuse href='%23a' transform='rotate(180)'/%3E%3Cuse href='%23a' transform='rotate(225)'/%3E%3Cuse href='%23a' transform='rotate(270)'/%3E%3Cuse href='%23a' transform='rotate(315)'/%3E%3C/g%3E%3C/svg%3E");
  --wmB:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23c9573a' stroke-opacity='.10' stroke-width='3' stroke-linejoin='round'%3E%3Ccircle cx='50' cy='58' r='32'/%3E%3Cpath d='M38 28l4-12 8 8 8-8 4 12'/%3E%3Cpath d='M50 40c-8 10-8 26 0 36M36 50c6 4 6 14 0 18M64 50c-6 4-6 14 0 18' stroke-opacity='.07'/%3E%3C/g%3E%3C/svg%3E");
  --wmC:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cg fill='none' stroke='%23c9573a' stroke-opacity='.10' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0-9l9 9-9 9-9-9z'/%3E%3Cg id='k'%3E%3Cpath d='M-5-10V-30C-5-40-17-42-17-33C-17-27-10-27-10-31M5-10V-30C5-40 17-42 17-33C17-27 10-27 10-31M0-14V-36'/%3E%3C/g%3E%3Cuse href='%23k' transform='rotate(90)'/%3E%3Cuse href='%23k' transform='rotate(270)'/%3E%3Cuse href='%23k' transform='rotate(180) translate(0 4) scale(1 1.25)'/%3E%3C/g%3E%3C/svg%3E");
  --wmD:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23c9573a' stroke-opacity='.10' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M50 30C30 26 16 42 18 60C20 80 40 90 52 86C68 90 84 76 82 58C80 40 66 28 50 30z'/%3E%3Cpath d='M50 32C44 48 44 70 52 86' stroke-opacity='.07'/%3E%3Cpath d='M50 30C50 22 52 16 56 12'/%3E%3Cpath d='M55 16C66 6 82 10 84 16C74 24 62 22 55 16z'/%3E%3C/g%3E%3C/svg%3E");
  --wmE:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 100'%3E%3Ctext x='70' y='70' text-anchor='middle' font-family='Georgia,serif' font-size='64' fill='%23c9573a' fill-opacity='.08'%3E%D4%B1%D4%B2%D4%B3%3C/text%3E%3C/svg%3E");
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root{
  /* тёплый графит (22 окт): без синевы, яркость прежняя */
  --bg:#1a1817; --page:#121110; --surface:#24211f; --text:#efedeb; --muted:#a39d97;
  --tuff:#e2724f; --tuffHi:#e98563; --tuffEdge:#b4553a; --tuffSoft:#3b2119; --ink:#8fb3e6;
  --line:rgba(255,255,255,.08); --field:rgba(255,255,255,.16); --ph:#2c2926;
  --solid:#efedeb; --solidHi:#ffffff; --onSolid:#1a1817;
  --gift:#4f9a70; --giftHi:#5fae81; --giftEdge:#356b4e; --giftSoft:#1d3127;
  --ok:#8fd0ad; --okbg:#1c2c24; --warn:#e5c07b; --warnbg:#302816; --bad:#f0a08a; --badbg:#3a211b;
  --lift:0 1px 1px rgba(0,0,0,.35),0 6px 12px rgba(0,0,0,.35),0 16px 32px rgba(0,0,0,.4);
  --liftHi:0 1px 1px rgba(0,0,0,.4),0 10px 20px rgba(0,0,0,.45),0 26px 48px rgba(0,0,0,.5);
  --gloss:inset 0 1px 0 rgba(255,255,255,.10);
  color-scheme:dark;
}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:17px;line-height:1.4;font-weight:400;-webkit-font-smoothing:antialiased;position:relative;min-height:100vh}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:var(--text)}
button{cursor:pointer}
b,strong{font-weight:600}
:focus-visible{outline:2px solid var(--tuff);outline-offset:2px}
h1{margin:0;font-size:32px;line-height:1.12;font-weight:600;letter-spacing:-.025em;text-wrap:balance}
h2{margin:0;font-size:22px;line-height:1.2;font-weight:600;letter-spacing:-.015em}
:lang(hy) h1{letter-spacing:-.01em}
em{font-style:normal;color:var(--tuff)}
.wrap{max-width:720px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;position:relative;z-index:1}
main{flex:1}
.ic{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* водяные знаки — по краям экрана, по одному, далеко друг от друга (на экране не больше одного); под карточками, не под текстом */
.wm{display:none;position:absolute;inset:0;z-index:0;pointer-events:none;background-image:var(--wmA),var(--wmD),var(--wmC),var(--wmB),var(--wmE);
  background-repeat:no-repeat;background-size:150px,84px,120px,92px,140px;
  background-position:calc(100% + 52px) 760px,-30px 1600px,calc(100% + 44px) 2450px,-34px 3300px,calc(100% + 40px) 4150px}
body.wm-on .wm{display:block}

/* шапка */
.top{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);
  min-height:56px;padding:env(safe-area-inset-top,0) 8px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.logo{display:flex;align-items:center;gap:8px;font-weight:600;font-size:18px;letter-spacing:-.01em;min-width:0;white-space:nowrap;min-height:44px}
.logo i{width:26px;height:26px;border-radius:50%;background:radial-gradient(circle at 35% 30%,var(--tuffHi),var(--tuff) 70%);color:#fff;display:inline-grid;place-items:center;font-style:normal;font-size:11px;font-weight:600;flex:none;box-shadow:var(--gloss)}
.lang{position:relative;font-size:13px;color:var(--muted)}
.lang summary{list-style:none;cursor:pointer;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:2px;padding:0 4px 0 8px;border-radius:12px;color:var(--text);font-weight:600}
.lang summary::-webkit-details-marker{display:none}
.lang summary .ic{width:16px;height:16px;transition:transform .2s}
.lang[open] summary .ic{transform:rotate(180deg)}
.lang-list{position:absolute;right:0;top:calc(100% + 4px);z-index:30;background:var(--bg);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.16);padding:4px;display:flex;flex-direction:column;min-width:76px;animation:langdrop .18s ease-out}
.lang-list a,.lang-list b{min-height:44px;display:flex;align-items:center;justify-content:center;border-radius:10px;padding:0 12px}
.lang-list b{color:var(--text);font-weight:600;background:color-mix(in srgb,var(--text) 6%,transparent)}
@keyframes langdrop{from{opacity:0;transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.lang-list{animation:none}.lang summary .ic{transition:none}}
/* вошедший пользователь: в шапке на одну кнопку больше («Мои») — на узких телефонах ужимаем, чтобы не было прокрутки вбок */
@media (max-width:440px){.top:has(.me){gap:2px;padding-left:12px;padding-right:2px}.top:has(.me) .logo{font-size:16px;gap:6px;letter-spacing:-.02em}.top:has(.me) .katbtn{min-width:40px;padding:0 6px}.top:has(.me) .icon{width:40px}.top:has(.me) .lang summary{min-width:40px;padding:0 2px 0 4px}}
@media (max-width:360px){.lang summary{min-width:40px;padding:0 2px 0 4px}.top{gap:2px;padding-left:10px;padding-right:2px}.logo{font-size:15px;gap:5px;letter-spacing:-.02em}.katbtn{min-width:36px;padding:0 4px}.top .icon{width:36px}.top:has(.me) .katbtn{display:none}}
.icon{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:none;border:0;color:var(--text);flex-shrink:0;border-radius:12px}
.icon .ic{width:22px;height:22px;stroke-width:1.8}

/* кнопки: главная — туф с бликом сверху и «бортиком» снизу */
.btn{min-height:50px;border-radius:14px;border:0;background:linear-gradient(180deg,var(--tuffHi),var(--tuff));color:#fff;font-weight:600;font-size:17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;text-align:center;
  box-shadow:var(--gloss),0 2px 0 var(--tuffEdge),0 10px 20px color-mix(in srgb,var(--tuff) 35%,transparent);transition:transform .15s,box-shadow .15s}
.btn:active{transform:translateY(1px);box-shadow:var(--gloss),0 1px 0 var(--tuffEdge),0 6px 12px color-mix(in srgb,var(--tuff) 30%,transparent)}
.btn.sm{min-height:44px;font-size:15px;padding:0 14px;border-radius:12px}
.btn.ghost{background:var(--surface);color:var(--text);box-shadow:var(--lift)}
.btn.dark{background:linear-gradient(180deg,var(--solidHi),var(--solid));color:var(--onSolid);box-shadow:var(--gloss),0 3px 8px rgba(31,27,26,.25)}
.btn.full{width:100%}
.btn.dis,.btn:disabled{opacity:.55;pointer-events:none}
.link{color:var(--text);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--field)}
.more{color:var(--tuff);font-size:15px;min-height:44px;display:inline-flex;align-items:center}

/* общее */
.pad{padding:24px 16px 0;display:flex;flex-direction:column;gap:14px}
.pad.tight{padding-top:18px;gap:6px}
.pad-x{padding-left:16px;padding-right:16px}
.pad-y{padding-top:20px;padding-bottom:20px}
.m16{margin:12px 16px 0}
.narrow{max-width:440px;margin:0 auto;width:100%;padding-bottom:32px}
.center{text-align:center;align-items:center}
.sub{margin:0;color:var(--muted)}
.small{font-size:13px;color:var(--muted)}
.muted{color:var(--muted)}
.b{font-weight:600}
.row{display:flex;align-items:center;gap:8px;min-width:0}
.row.top-al{align-items:flex-start;gap:14px}
.wrapr{flex-wrap:wrap}
.col{display:flex;flex-direction:column;gap:3px;min-width:0}
.gap{gap:16px}
.grow{flex:1;min-width:0}
.between{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tag{font-size:11px;font-weight:500;color:var(--muted);border:1px solid var(--field);border-radius:6px;padding:0 6px;line-height:18px}
.hr{height:1px;background:var(--line)}
.note{padding:12px 14px;border-radius:14px;background:var(--surface);box-shadow:var(--lift);font-size:15px}
.note.warn{background:var(--warnbg);color:var(--warn);box-shadow:none}
.note.bad{background:var(--badbg);color:var(--bad);box-shadow:none}
.note.okn{background:var(--okbg);color:var(--ok);box-shadow:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

/* главная */
/* шапка главной: фото справа, растворяется в фон к левому и нижнему краю; текст поверх всегда читается */
.hero{padding:10px 16px 6px;position:relative;overflow:hidden}
.hero-ph{position:absolute;top:0;right:0;bottom:0;width:78%;z-index:0;pointer-events:none}
.hero-ph img{width:100%;height:100%;object-fit:cover;object-position:right center}
.hero-ph::after{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,var(--bg) 0%,color-mix(in srgb,var(--bg) 82%,transparent) 30%,color-mix(in srgb,var(--bg) 45%,transparent) 62%,color-mix(in srgb,var(--bg) 20%,transparent) 100%),
    linear-gradient(0deg,var(--bg) 0%,color-mix(in srgb,var(--bg) 60%,transparent) 30%,transparent 65%),
    linear-gradient(180deg,color-mix(in srgb,var(--bg) 50%,transparent) 0%,transparent 25%)}
.hero-txt{position:relative;z-index:1}
/* Шапка главной — отдельная «сцена» (27 окт): своя приподнятая подложка, фото в полном цвете.
   Телефон: фото полосой сверху, текст и кнопки под ним. Компьютер: фото справа на всю высоту сцены, к тексту растворяется. */
.stage{position:relative;margin:8px 12px 4px;border-radius:24px;overflow:hidden;background:var(--surface);box-shadow:var(--liftHi);padding-bottom:18px}
.stage .hero{position:static;overflow:visible;padding:0 16px}
.stage .hero-ph{position:relative;top:auto;right:auto;bottom:auto;width:auto;height:190px;margin:0 -16px 16px}
.stage .hero-ph img{filter:saturate(1.1) contrast(1.05)}
.stage .hero-ph::after{background:linear-gradient(0deg,var(--surface) 0%,color-mix(in srgb,var(--surface) 40%,transparent) 18%,transparent 42%)}
.stage .hero-txt h1,.stage .hero-txt .lead,.stage .facts{text-shadow:none}
.stage .cta2{padding-top:18px}
.stage .facts{grid-template-columns:1fr;gap:10px}
.stage .facts li{flex-direction:row;align-items:center;gap:10px}
.cat-hero{min-height:150px;display:flex;align-items:flex-end;padding-top:24px;padding-bottom:12px}
.cat-hero .hero-txt{display:flex;flex-direction:column;gap:2px}
.cat-hero .small{color:var(--text);text-shadow:0 0 1px var(--bg),0 0 12px var(--bg)}
h1.htitle{font-size:29px;line-height:1.18}
.hero-txt .lead{margin:14px 0 0;font-size:21px;line-height:1.3;font-weight:600;letter-spacing:-.01em;color:var(--text);max-width:600px}
.hero-txt h1,.hero-txt .dim,.hero-txt .lead,.facts{text-shadow:0 0 1px var(--bg),0 0 12px var(--bg),0 0 24px var(--bg)}
.facts{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.facts li{display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.25;color:var(--text);font-weight:500}
.facts svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.dim{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:13px;color:var(--ink);font-variant-numeric:tabular-nums}
.dim i{flex:1;height:1px;background:var(--ink);position:relative;opacity:.8}
.dim i::before,.dim i::after{content:"";position:absolute;top:-5px;width:1px;height:11px;background:var(--ink)}
.dim i::before{left:0}.dim i::after{right:0}
.search{margin:18px 16px 0;background:var(--surface);box-shadow:var(--liftHi);border-radius:14px;padding:5px 5px 5px 14px;display:flex;align-items:center;gap:10px;color:var(--muted);min-height:54px}
.search input{flex:1;min-width:0;border:0;outline:none;font-size:17px;background:transparent;min-height:44px}
.search button{border:0;border-radius:11px;min-height:44px;padding:0 16px;font-size:15px;font-weight:600;background:linear-gradient(180deg,var(--solidHi),var(--solid));color:var(--onSolid);box-shadow:var(--gloss),0 3px 6px rgba(31,27,26,.25)}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:16px 16px 14px;scroll-padding:16px}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;min-height:44px;padding:0 16px;border-radius:999px;background:var(--surface);box-shadow:var(--lift);font-size:15px;font-weight:500;display:inline-flex;align-items:center;white-space:nowrap;cursor:pointer;border:0}
.chip.on{background:linear-gradient(180deg,var(--solidHi),var(--solid));color:var(--onSolid);box-shadow:var(--gloss),var(--lift)}
.small-chips{padding-top:4px}
.small-chips .chip{font-size:14px;padding:0 14px}
.sh{display:flex;justify-content:space-between;align-items:baseline;padding:20px 16px 0;gap:12px}
.head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 12px;padding:6px 16px 4px}
.head .small{white-space:nowrap}
.head h1{font-size:32px}

/* реклама */
.banners{position:relative;margin:4px 0 2px}
.banners .track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:6px 16px 14px;scroll-padding:16px}
.banners .track::-webkit-scrollbar{display:none}
.banner{flex:0 0 100%;scroll-snap-align:start;min-height:132px;border-radius:18px;padding:16px 18px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--surface) 70%,var(--page)));box-shadow:var(--lift)}
.banner strong{font-size:20px;font-weight:600;letter-spacing:-.01em;line-height:1.2;position:relative}
.banner span{font-size:15px;color:var(--muted);position:relative}
.banner:not(.img){min-height:0;justify-content:flex-start;gap:2px;padding:14px 18px 16px}
.banner:not(.img) .k{position:static;margin-bottom:4px}
.banner.img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.banner.img::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 30%,rgba(0,0,0,.6))}
.banner.img strong,.banner.img span,.banner.img .k{color:#fff;z-index:1}
.k{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);position:absolute;top:12px;left:16px;z-index:1}
.ad .k{position:static}
.dots{display:flex;justify-content:center;gap:6px;margin-top:-4px}
.dots i{width:6px;height:6px;border-radius:50%;background:var(--field)}
.dots i.on{background:var(--text)}
.ad{grid-column:1/-1;background:var(--surface);border-radius:18px;padding:12px;display:flex;gap:12px;align-items:center;box-shadow:var(--lift);min-height:76px}
.ad .lg{width:52px;height:52px;border-radius:14px;background:linear-gradient(180deg,var(--solidHi),var(--solid));color:var(--onSolid);display:grid;place-items:center;font-weight:600;font-size:18px;flex:none;box-shadow:var(--gloss)}
.ad>img{width:64px;height:64px;border-radius:14px;object-fit:cover;flex:none}
.ad strong{font-size:16px;line-height:1.25}
.ad span{font-size:14px;color:var(--muted)}

/* лента: 2 колонки, карточки приподняты */
.feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 16px 20px}
.card{background:var(--surface);border-radius:18px;overflow:hidden;box-shadow:var(--lift);min-width:0;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.card:hover,.card:active{transform:translateY(-3px);box-shadow:var(--liftHi)}
@media (prefers-reduced-motion:reduce){.card,.btn{transition:none}.card:hover,.card:active{transform:none}}
.pic{aspect-ratio:1;position:relative;background:var(--ph);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.pic img{width:100%;height:100%;object-fit:cover}
.pic>svg{width:28px;height:28px;fill:none;stroke:var(--muted);stroke-width:1.5}
.pic.sm{width:88px;border-radius:14px}
.stamp{position:absolute;right:8px;bottom:8px;width:52px;height:52px;border-radius:50%;color:#fff;display:grid;place-items:center;font-weight:600;font-size:13px;font-variant-numeric:tabular-nums;transform:rotate(-12deg);
  outline:2px dashed rgba(255,255,255,.75);outline-offset:-5px;z-index:1;background:radial-gradient(circle at 35% 30%,var(--tuffHi),var(--tuff) 70%);box-shadow:inset 0 2px 0 rgba(255,255,255,.3),0 6px 12px rgba(0,0,0,.3)}
.stamp.free{width:auto;height:auto;border-radius:10px;padding:6px 10px;font-size:12px;letter-spacing:.06em;outline-offset:-4px;background:radial-gradient(circle at 35% 30%,var(--giftHi),var(--gift) 70%)}
.stamp.inline{position:static;display:inline-block;align-self:flex-start;transform:rotate(-4deg);font-size:15px;padding:8px 14px}
.cb{padding:10px 12px 12px;display:flex;flex-direction:column;gap:2px;flex:1}
.pr{font-weight:600;font-size:19px;color:var(--tuff);font-variant-numeric:tabular-nums;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.old{font-size:13px;color:var(--muted);text-decoration:line-through;font-variant-numeric:tabular-nums}
.t{font-size:15px;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;margin-top:2px}
.m{font-size:13px;color:var(--muted)}
.tags{display:flex;gap:4px;margin-top:4px}
.ask{margin-top:auto;align-self:stretch;text-align:center;border-radius:12px;min-height:44px;display:grid;place-items:center;font-weight:600;font-size:15px;background:var(--bg);box-shadow:var(--lift);margin-top:10px}
.card.sk .pic{animation:pulse 1.4s infinite}
.card.sk i{display:block;height:12px;border-radius:6px;background:var(--ph);width:70%;margin:4px 0}
@keyframes pulse{50%{opacity:.6}}

/* плавающая кнопка «+ Разместить бесплатно»: у самого низа (над панелью Safari), при прокрутке вниз сворачивается в круг «+» */
.fab{position:fixed;z-index:30;right:max(16px,calc((100vw - 720px) / 2 + 16px));bottom:calc(10px + env(safe-area-inset-bottom,0));min-height:52px;height:52px;max-width:min(380px,calc(100vw - 32px));padding:0 20px;border-radius:26px;display:inline-flex;align-items:center;gap:6px;overflow:hidden;white-space:nowrap;
  background:linear-gradient(180deg,var(--tuffHi),var(--tuff));color:#fff;font-weight:600;font-size:16px;box-shadow:var(--gloss),0 2px 0 var(--tuffEdge),0 12px 24px color-mix(in srgb,var(--tuff) 45%,transparent);
  transition:max-width .25s ease,padding .25s ease}
.fab b{font-weight:600;font-size:24px;line-height:1;margin-top:-2px;flex:none}
.fab span{transition:opacity .2s ease}
.fab.mini{max-width:52px;padding:0 0 0 15px}
.fab.mini span{opacity:0}
@media (prefers-reduced-motion:reduce){.fab,.fab span{transition:none}}
body.has-fab .wrap{padding-bottom:76px}

/* раздел, поиск */
.bar-top{display:flex;align-items:center;gap:6px;padding:6px 10px 6px 4px;min-height:56px}
.h-title{font-size:22px;font-weight:600;margin:0}
.bar-top h1.h-title.grow{padding-left:8px}
.cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cat{min-height:92px;border-radius:18px;background:var(--surface);box-shadow:var(--lift);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:500;text-align:center;padding:10px 6px;line-height:1.2;overflow-wrap:anywhere}
.sub-bar{padding:8px 16px 0;align-items:flex-start}
.filters{flex:1}
.filters summary{list-style:none;width:max-content}
.filters summary::-webkit-details-marker{display:none}
.fform{display:flex;flex-direction:column;gap:14px;padding:14px 0 6px}
.fform select,.fform .inp{width:100%}
.fform .row .inp{flex:1}
.sortf select{min-height:44px;border:0;background:transparent;font-size:15px;font-weight:500;padding:0 4px;max-width:180px;box-shadow:none}
.list{display:flex;flex-direction:column}
.pager{display:flex;align-items:center;justify-content:center;gap:16px;padding:16px}
.rules-note{margin:0 0 8px}

/* «Даром»: табличка на входе */
.gift{margin:12px 16px 4px;border-radius:18px;padding:16px;background:var(--surface);box-shadow:var(--liftHi);border-left:4px solid var(--tuff);display:flex;flex-direction:column;gap:8px}
.gift b{font-size:17px;line-height:1.3}
.gift p{margin:0;font-size:15px;color:var(--muted);line-height:1.45}
.sheet .gift{margin:4px 0}
.asks{display:flex;flex-direction:column;gap:12px}
.askrow{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:14px;background:var(--surface);box-shadow:var(--lift);flex-wrap:wrap}
.askrow span{font-size:15px}

/* «Реклама на бирже» */
.formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}
.fmt{background:var(--surface);border-radius:18px;padding:16px;box-shadow:var(--lift);display:flex;flex-direction:column;gap:6px}
.fmt .num{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:600;background:var(--bg);color:var(--muted)}
.fmt h2{font-size:17px}
.fmt p{margin:0;font-size:14px;color:var(--muted)}

/* объявление: большое фото, на него наезжает лист с ценой */
.gal{position:relative;background:var(--ph);aspect-ratio:1;max-height:72vh;overflow:hidden}
.slides{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.slides::-webkit-scrollbar{display:none}
.slide{flex:0 0 100%;scroll-snap-align:center;height:100%}
.slide img{width:100%;height:100%;object-fit:cover}
.round{position:absolute;top:12px;width:44px;height:44px;border-radius:22px;background:color-mix(in srgb,var(--surface) 92%,transparent);border:0;display:flex;align-items:center;justify-content:center;color:var(--text);box-shadow:var(--lift);z-index:2}
.count{position:absolute;bottom:36px;right:12px;padding:3px 10px;border-radius:12px;background:rgba(22,24,29,.72);color:#fff;font-size:13px}
.sheet{background:var(--bg);border-radius:24px 24px 0 0;margin-top:-24px;position:relative;z-index:1;padding:20px 16px 8px;display:flex;flex-direction:column;gap:14px;box-shadow:0 -10px 30px rgba(0,0,0,.14)}
.sheet h2{font-size:20px;margin-bottom:8px}
.big{font-size:32px;font-weight:600;color:var(--tuff);font-variant-numeric:tabular-nums;letter-spacing:-.02em;line-height:1.1}
.ltitle{font-size:20px;font-weight:500;letter-spacing:-.01em;line-height:1.3;text-wrap:pretty}
.sold{padding:12px 14px;border-radius:14px;background:var(--surface);box-shadow:var(--lift);font-weight:600}
.compare{background:var(--surface);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:var(--lift)}
.compare h2{font-size:17px;margin:0}
.dimrow{display:grid;grid-template-columns:70px 1fr auto;gap:10px;align-items:center;font-size:13px;font-variant-numeric:tabular-nums}
.dimrow .d{position:relative;height:22px}
.dimrow .d i{position:absolute;left:0;top:11px;height:1px;background:currentColor}
.dimrow .d i::before,.dimrow .d i::after{content:"";position:absolute;top:-5px;width:1px;height:11px;background:currentColor}
.dimrow .d i::before{left:0}.dimrow .d i::after{right:0}
.dimrow>b{font-weight:600;font-size:15px;min-width:64px;text-align:right}
.dimrow.shop{color:var(--ink)}
.dimrow.shop span{color:var(--muted)}
.dimrow.here{color:var(--tuff)}
.compare .cap{margin:0;font-size:13px;color:var(--muted)}
.okline{margin:0;font-size:14px;color:var(--ok);display:flex;align-items:center;gap:6px}
.specs{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:15px;margin:0}
.specs dt{color:var(--muted)}
.specs dd{margin:0;overflow-wrap:anywhere}
.desc{margin:0;white-space:pre-line;font-size:16px}
.seller{gap:12px;padding:4px 0 8px}
.ava{width:44px;height:44px;border-radius:22px;background:var(--surface);box-shadow:var(--lift);display:flex;align-items:center;justify-content:center;font-weight:600;color:var(--muted)}
.callbar{position:fixed;left:0;right:0;bottom:0;z-index:25;background:var(--surface);box-shadow:0 -8px 20px rgba(0,0,0,.08);padding:12px 16px calc(12px + env(safe-area-inset-bottom,0));display:grid;grid-template-columns:1fr 1.3fr;gap:10px;max-width:720px;margin:0 auto}
.callbar .btn{min-height:52px}
body.has-callbar .wrap{padding-bottom:88px}

/* формы */
.field{display:flex;flex-direction:column;gap:8px}
.lbl{font-size:15px;font-weight:500}
.inp,select{min-height:52px;border:0;border-radius:14px;padding:0 14px;font-size:17px;min-width:0;background:var(--surface);box-shadow:inset 0 0 0 1px var(--field)}
select{padding-right:10px}
.inp:focus,select:focus{outline:none;box-shadow:inset 0 0 0 1.5px var(--text)}
.inp.focus{font-weight:600;font-size:19px;font-variant-numeric:tabular-nums}
.inp.area{min-height:104px;padding:12px 14px;resize:vertical}
.inp.unit{width:124px;flex-shrink:0}
.check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:16px}
.check input{width:22px;height:22px;accent-color:var(--text)}
.hint{padding:12px 14px;border-radius:14px;background:var(--surface);box-shadow:var(--lift);display:flex;flex-direction:column;gap:3px;font-size:15px}
.hint b{font-size:15px}
.hint.ok{background:var(--okbg);color:var(--ok);box-shadow:none}
.hint.bad{background:var(--badbg);color:var(--bad);box-shadow:none}
.chip-radio{position:relative}
.chip-radio input{position:absolute;opacity:0}
.chip-radio span{min-height:44px;padding:0 16px;border-radius:22px;background:var(--surface);box-shadow:var(--lift);display:inline-flex;align-items:center;font-size:15px;font-weight:500;cursor:pointer}
.chip-radio input:checked+span{background:linear-gradient(180deg,var(--solidHi),var(--solid));color:var(--onSolid)}
.chip-radio input:focus-visible+span{outline:2px solid var(--tuff);outline-offset:2px}
.sso{min-height:44px}

/* мои */
.tabs{display:flex;gap:20px;padding:0 16px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs a{min-height:46px;display:flex;align-items:center;font-size:16px;color:var(--muted);white-space:nowrap;flex:none}
.tabs a.on{color:var(--text);font-weight:600;box-shadow:inset 0 -2px 0 var(--text)}
.mine{margin:12px 16px 0;padding:14px;border-radius:18px;background:var(--surface);box-shadow:var(--lift);display:flex;flex-direction:column;gap:12px}
.mine .txt{flex:1}
.mine .pr{font-size:17px}
.status{font-size:13px;font-weight:600}
.status.ok{color:var(--ok)}.status.warn{color:var(--warn)}.status.bad{color:var(--bad)}.status.muted{color:var(--muted)}

/* подача объявления */
.sell{min-height:100vh;display:flex;flex-direction:column}
.sell .stop{min-height:56px;padding:env(safe-area-inset-top,0) 6px 0 16px;display:flex;align-items:center;justify-content:space-between}
.progress{margin:0 16px;height:4px;border-radius:2px;background:var(--line)}
.progress div{height:4px;border-radius:2px;background:var(--tuff);transition:width .25s}
.sell .body{flex:1;padding:24px 16px;display:flex;flex-direction:column;gap:22px}
.sell .foot-bar{position:sticky;bottom:0;background:var(--bg);padding:12px 16px calc(16px + env(safe-area-inset-bottom,0));display:flex;gap:10px}
.sell .foot-bar .btn{flex:1;min-height:52px}
.sell .foot-bar .btn.ghost{flex:0 0 112px}
.shots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.shot{position:relative;aspect-ratio:1;border-radius:14px;overflow:hidden;background:var(--ph)}
.shot img{width:100%;height:100%;object-fit:cover}
.shot .st{position:absolute;left:0;right:0;bottom:0;padding:4px 6px;font-size:12px;font-weight:600;background:color-mix(in srgb,var(--surface) 92%,transparent);line-height:1.25}
.shot .st.bad{color:var(--bad)}.shot .st.ok{color:var(--ok)}
.shot .x{position:absolute;top:4px;right:4px;width:44px;height:44px;border-radius:22px;border:0;background:rgba(22,24,29,.7);color:#fff;font-size:20px;line-height:1}
.addshot{aspect-ratio:1;border-radius:14px;border:1.5px dashed var(--field);background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:500;color:var(--muted);text-align:center;padding:4px;cursor:pointer}
.catpick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.catpick button{min-height:52px;border-radius:14px;border:0;background:var(--surface);box-shadow:var(--lift);display:flex;align-items:center;gap:10px;padding:0 12px;font-size:15px;font-weight:500;text-align:left}
.catpick button .ic{width:22px;height:22px;flex-shrink:0}
.catpick button.on{background:linear-gradient(180deg,var(--solidHi),var(--solid));color:var(--onSolid)}
.done{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:32px 16px}
.done .big{width:64px;height:64px;border-radius:32px;display:flex;align-items:center;justify-content:center;background:var(--okbg);color:var(--ok)}
.done .big.warn{background:var(--warnbg);color:var(--warn)}

/* тексты */
.prose{padding-bottom:32px;gap:12px}
.prose h2{margin-top:12px}
.prose p,.prose ol{margin:0}
.prose ol{padding-left:22px;display:flex;flex-direction:column;gap:6px}
.prose a{text-decoration:underline}

.foot{padding:24px 16px calc(24px + env(safe-area-inset-bottom,0));margin-top:32px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:4px 18px;font-size:14px;color:var(--muted)}
.foot a{min-height:44px;display:inline-flex;align-items:center}
.foot-projects{flex-basis:100%;display:flex;flex-wrap:wrap;gap:4px 18px;align-items:center}
.foot-projects b{font-weight:500}

/* Главная «скажите, что нужно»: большое поле, три пункта, две кнопки, «Сейчас ищут» */
.search.askf{min-height:62px;padding-left:16px}
.search.askf input{font-size:18px;min-height:50px}
.search.askf button{min-height:50px;padding:0 20px;font-size:16px;background:linear-gradient(180deg,var(--tuffHi),var(--tuff));color:#fff;box-shadow:var(--gloss),0 2px 0 var(--tuffEdge)}
.pad-x>.facts{margin-top:16px}
.cta2{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px 16px 2px}
.cta2 .btn{min-height:52px;padding:0 10px;font-size:16px}
.wanted{list-style:none;margin:0;padding:4px 16px 8px;display:flex;flex-direction:column;gap:8px}
.wanted a{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:14px;background:var(--surface);box-shadow:var(--lift);font-size:15px}
.parsed{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px}
.pchip{min-height:36px;padding:0 12px;border-radius:999px;background:var(--tuffSoft);color:var(--text);display:inline-flex;align-items:center;font-size:15px}
.mrow{flex-direction:row}
.mnote{font-size:15px;color:var(--text);font-weight:500}
.wantbox{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:14px;background:var(--tuffSoft)}
.wrow{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px solid var(--line)}
.wantbox .wrow:first-of-type{border-top:0;padding-top:0}
.wrow .row{gap:8px;flex-wrap:wrap}
.pic.xs{width:64px;border-radius:12px}
.notices{display:flex;flex-direction:column;gap:8px;padding:0 16px 8px}
.notice{display:block;padding:12px 14px;border-radius:14px;background:var(--surface);box-shadow:var(--lift);border-left:4px solid var(--tuff);font-size:15px}
.icon.me{position:relative}
.icon.me .dot{position:absolute;top:9px;right:9px;width:9px;height:9px;border-radius:50%;background:var(--tuff);box-shadow:0 0 0 2px var(--bg)}
.part summary{min-height:44px;display:inline-flex;align-items:center;cursor:pointer}
.part .row{gap:8px;margin-top:6px}

/* Свои блоки 13 Home Help и 13 Շին: не реклама — без метки, тонкая рамка цвета туфа, логотип «13» */
.own{grid-column:1/-1;background:var(--surface);border-radius:18px;padding:14px;display:flex;gap:12px;align-items:flex-start;box-shadow:var(--lift);border:1px solid color-mix(in srgb,var(--tuff) 22%,transparent)}
.own-logo{width:48px;height:48px;border-radius:50%;background:radial-gradient(circle at 35% 30%,var(--tuffHi),var(--tuff) 70%);color:#fff;display:grid;place-items:center;font-weight:600;font-size:17px;flex:none;box-shadow:var(--gloss)}
.own-t{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.own-t b{font-size:17px;line-height:1.25}
.own-t p{margin:0;font-size:15px;color:var(--muted);line-height:1.4}
.own-t .row{flex-wrap:wrap;gap:8px;margin-top:6px}
.pad-x>.own{margin:8px 0}
.ownc .own{flex:0 0 100%;scroll-snap-align:start}
.side{display:flex;flex-direction:column}

/* «Даром» — зелёный: ярлык, кнопка, табличка */
.chip.gift-chip{background:linear-gradient(180deg,var(--giftHi),var(--gift));color:#fff;box-shadow:var(--gloss),0 2px 0 var(--giftEdge),var(--lift)}
.chip.gift-chip.on{outline:2px solid var(--gift);outline-offset:2px}
.chip.all-chip{color:var(--tuff)}
.fab.gift-fab{background:linear-gradient(180deg,var(--giftHi),var(--gift));box-shadow:var(--gloss),0 2px 0 var(--giftEdge),0 12px 24px color-mix(in srgb,var(--gift) 45%,transparent)}
.gift{border-left-color:var(--gift)}
.btn.gift-btn{background:linear-gradient(180deg,var(--giftHi),var(--gift));box-shadow:var(--gloss),0 2px 0 var(--giftEdge),0 10px 20px color-mix(in srgb,var(--gift) 35%,transparent)}

/* Кнопка «Каталог» в шапке и выпадающий каталог на компьютере */
.katbtn{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;justify-content:center;padding:0 10px;border-radius:12px;font-size:15px;font-weight:500;margin-right:auto}
.katbtn .ic{width:22px;height:22px}
.katbtn span{display:none}
.mega{display:none}
/* Каталог шторкой на телефоне (☰ ↔ ✕): выезжает из-под шапки, закрывается кнопкой, свайпом вверх/вбок, нажатием на затемнение */
.mega.phone{display:block;position:fixed;left:0;right:0;z-index:25;max-height:calc(100dvh - 56px);overflow:auto;overscroll-behavior:contain;
  padding:12px 16px 6px;background:var(--bg);border-radius:0 0 22px 22px;box-shadow:var(--liftHi);
  opacity:0;transform:translateY(-16px);pointer-events:none;transition:opacity .2s ease,transform .22s ease}
.mega.phone.on{opacity:1;transform:none;pointer-events:auto}
.mega .grab{display:none}
.mega.phone .grab{display:block;width:44px;height:5px;border-radius:3px;background:var(--field);margin:8px auto 4px}
.mega-bg{position:fixed;left:0;right:0;bottom:0;top:0;z-index:24;background:rgba(0,0,0,.28);opacity:0;pointer-events:none;transition:opacity .2s ease}
.mega-bg.on{opacity:1;pointer-events:auto}
html.mega-lock,html.mega-lock body{overflow:hidden}
html.mega-lock .fab{display:none}
/* В шторке список компактнее, чтобы помещался целиком и свайп вверх сразу закрывал (подписи — на странице «Каталог») */
.mega.phone .kat{gap:6px}
.mega.phone .kg>summary,.mega.phone a.kg{min-height:52px;padding:6px 10px;gap:10px}
.mega.phone .kic{width:36px;height:36px;border-radius:10px}
.mega.phone .kic .ic{width:20px;height:20px}
.mega.phone .kt b{font-size:16px}
.mega.phone .kt small{display:none}
.mega.phone .ks{padding:0 10px 8px 56px}
.mega.phone .kprop{min-height:44px}
@media (prefers-reduced-motion:reduce){.mega.phone,.mega-bg{transition:none}}

/* Каталог: группы и подкатегории */
.kat{display:flex;flex-direction:column;gap:8px}
.kg{background:var(--surface);border-radius:18px;box-shadow:var(--lift);overflow:hidden}
.kg>summary,a.kg{list-style:none;display:flex;align-items:center;gap:12px;min-height:68px;padding:10px 12px;cursor:pointer}
.kg>summary::-webkit-details-marker{display:none}
.kic{width:44px;height:44px;border-radius:12px;background:var(--tuffSoft);color:var(--tuff);display:grid;place-items:center;flex:none}
.kic .ic{width:24px;height:24px}
.kfree .kic{background:var(--giftSoft);color:var(--gift)}
.kt{display:flex;flex-direction:column;min-width:0;flex:1;gap:2px}
.kt b{font-size:17px;font-weight:600;line-height:1.25}
.kt small{font-size:14px;color:var(--muted);line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kn{font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
.kch{width:20px;height:20px;flex:none;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.kg[open]>summary .kch{transform:rotate(90deg)}
.ks{display:flex;flex-direction:column;padding:0 12px 10px 68px}
.ks a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;border-top:1px solid var(--line);font-size:16px}
.ks a span{font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
.ks a.kall{color:var(--tuff);border-top:0;font-weight:500}
.ks a.k0{color:var(--muted)}
.kprop{display:flex;align-items:center;gap:8px;min-height:52px;padding:0 16px;color:var(--tuff);font-size:15px}
.kprop b{font-size:20px;font-weight:600}
@media (prefers-reduced-motion:reduce){.kch{transition:none}}

/* Хлебные крошки и соседние подкатегории */
.crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;padding:12px 16px 0;font-size:14px;color:var(--muted)}
.crumbs a{min-height:32px;display:inline-flex;align-items:center;color:var(--tuff)}
.crumbs i{font-style:normal}
.crumbs span{color:var(--text)}
.chips.sibs .chip.k0{color:var(--muted)}
.catpick button small{display:block;font-size:12px;color:var(--muted);font-weight:400}
.catpick button.on small{color:inherit;opacity:.75}

/* компьютер */
@media (min-width:760px){
  :root{--maxw:1080px}
  .wrap{max-width:var(--maxw)}
  .top{padding:0 24px}
  .pad,.chips,.sub-bar,.tabs,.sh,.head,.hero,.pad-x{padding-left:24px;padding-right:24px}
  .search{margin-left:24px;margin-right:24px;max-width:680px}
  .banners .track{padding-left:24px;padding-right:24px}
  .banner{flex-basis:calc(50% - 6px)}
  .feed{grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 24px 24px;gap:16px}
  .cats{grid-template-columns:repeat(5,minmax(0,1fr))}
  .formats{grid-template-columns:repeat(4,minmax(0,1fr));padding:16px 24px}
  .hero{padding-top:36px;padding-bottom:20px}
  .hero-ph{width:62%}
  .hero-ph img{-webkit-mask-image:linear-gradient(270deg,transparent 0,#000 12%);mask-image:linear-gradient(270deg,transparent 0,#000 12%)}
  .hero-txt{max-width:640px}
  .cat-hero{min-height:180px}
  .facts{gap:16px;margin-top:22px}
  .facts li{flex-direction:row;align-items:center;font-size:15px;gap:10px}
  h1,.head h1{font-size:40px}
  h1.htitle{font-size:38px;max-width:760px}
  .hero-txt .lead{font-size:24px}
  .gift{margin-left:24px;margin-right:24px;max-width:760px}
  body.listing .gal{aspect-ratio:16/10;max-height:560px;margin:16px 24px 0;border-radius:24px}
  body.listing .sheet{margin:-24px 24px 0;border-radius:24px;max-width:none;padding:24px}
  .compare{max-width:560px}
  .callbar{position:sticky;margin:16px 24px 0;border-radius:18px;bottom:16px;max-width:560px}
  body.has-callbar .wrap{padding-bottom:0}
  .mine{margin-left:24px;margin-right:24px}
  .sell{max-width:560px;margin:0 auto;width:100%}
  .narrow{padding-top:40px}
  .fab{right:max(24px,calc((100vw - var(--maxw)) / 2 + 24px))}
  .katbtn span{display:inline}
  .cta2,.wanted,.notices,.parsed{padding-left:24px;padding-right:24px}
  .cta2{max-width:728px}
  .search.askf{max-width:728px}
  .pad-x>.facts{max-width:728px}
  .wanted{max-width:776px}
  .wanted{display:grid;grid-template-columns:1fr 1fr}
  .crumbs{padding-left:24px;padding-right:24px}
  .wm{background-position:calc(100% + 20px) 980px,10px 1800px,calc(100% + 10px) 2650px,6px 3500px,calc(100% + 10px) 4350px}
}

/* Главная на компьютере: лента слева, справа — 13 Home Help / 13 Շին (слайды) и реклама, колонка не уезжает при прокрутке */
@media (min-width:1000px){
  .homegrid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:0 8px;align-items:start}
  .homegrid .side{grid-column:2;grid-row:1;position:sticky;top:64px;padding-top:10px}
  .homegrid .maincol{grid-column:1;grid-row:1;min-width:0}
  .homegrid .side{min-width:0;padding-right:24px}
  .homegrid .side .banners .track{padding:6px 2px 14px;scroll-padding:0}
  .homegrid .side .banner,.homegrid .side .own{flex-basis:100%}
  .homegrid .maincol .feed{grid-template-columns:repeat(3,minmax(0,1fr))}
  .homegrid .wanted{grid-template-columns:1fr}
}

/* Каталог на компьютере: группы слева, подкатегории открываются справа */
@media (min-width:900px){
  .kat{position:relative;display:block;min-height:100%}
  .kat>.kg,.kat>.kprop{width:340px;margin-bottom:8px}
  .kg>summary,a.kg{min-height:60px}
  .kg[open]{background:var(--surface);box-shadow:var(--liftHi)}
  .kg[open]>summary .kch{transform:none;stroke:var(--tuff)}
  .ks{position:absolute;left:356px;right:0;top:0;padding:16px 20px;background:var(--surface);border-radius:18px;box-shadow:var(--lift);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-content:start}
  .ks a.kall{grid-column:1/-1;border-bottom:1px solid var(--line)}
  .ks a:nth-child(2),.ks a:nth-child(3){border-top:0}
  .katpage{min-height:760px}
  .mega{position:fixed;left:0;right:0;top:56px;z-index:25;padding:16px max(24px,calc((100vw - var(--maxw)) / 2 + 24px)) 24px;background:var(--bg);box-shadow:var(--liftHi);max-height:calc(100vh - 56px);overflow:auto}
  .mega.on{display:block}
  .mega .kat{min-height:720px}
}

/* Большие экраны (26 окт, просьба владельца): сайт шире, по бокам не пусто, товаров в ряд больше */
@media (min-width:1280px){
  :root{--maxw:1360px}
  .feed{grid-template-columns:repeat(5,minmax(0,1fr))}
  .homegrid .maincol .feed{grid-template-columns:repeat(4,minmax(0,1fr))}
  .cats{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media (min-width:1680px){
  :root{--maxw:1600px}
  .feed{grid-template-columns:repeat(6,minmax(0,1fr))}
  .homegrid .maincol .feed{grid-template-columns:repeat(5,minmax(0,1fr))}
  .homegrid{grid-template-columns:minmax(0,1fr) 380px}
}

@media (min-width:760px){
  .stage{margin:16px 24px 8px;border-radius:28px;padding-bottom:28px}
  .stage .hero{padding:40px 32px 0}
  .stage .hero-ph{position:absolute;top:0;right:0;bottom:0;left:auto;width:54%;height:auto;margin:0}
  .stage .hero-ph img{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 34%);mask-image:linear-gradient(90deg,transparent 0,#000 34%)}
  .stage .hero-ph::after{background:none}
  .stage .hero-txt{position:relative;max-width:50%}
  .stage h1.htitle{max-width:none}
  .stage .pad-x{padding-left:32px;padding-right:32px}
  .stage .facts{max-width:50%;position:relative;z-index:1}
  .stage .cta2{position:relative;z-index:1;max-width:calc(50% + 32px);padding-left:32px;padding-right:0}
}

/* Блоки главной (27 окт): счётчики, экономия, запросы «Хочу купить», экосчётчик, компании, «Как это работает», сделки и отзывы */
.save{font-size:13px;font-weight:500;color:var(--ok);font-variant-numeric:tabular-nums}
.sheet .save{font-size:15px;margin-top:-4px}
.stats{list-style:none;margin:12px 16px 0;padding:2px 16px;border-radius:18px;background:var(--surface);box-shadow:var(--lift);display:grid;grid-template-columns:minmax(0,1fr)}
.stats li{padding:9px 0;font-size:15px;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.stats li+li{border-top:1px solid var(--line)}
.wcards{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:12px 16px 4px}
.wcard{background:var(--surface);border-radius:18px;box-shadow:var(--lift);padding:14px;display:flex;flex-direction:column;gap:4px;min-width:0}
.wcard b{font-weight:600;font-size:17px;line-height:1.3;overflow-wrap:anywhere}
.wcard .btn{margin-top:8px;align-self:flex-start;max-width:100%;white-space:normal;text-align:center}
.eco{margin:24px 16px 4px;padding:18px;border-radius:24px;background:var(--giftSoft);box-shadow:var(--lift);color:var(--text)}
.eco h2{margin:0 0 12px;font-size:22px;font-weight:600;color:var(--gift)}
.eco-g{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.eco-g div{display:flex;flex-direction:column;gap:2px;min-width:0}
.eco-g b{font-size:32px;line-height:1.1;font-weight:600;color:var(--gift);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.eco-g span{font-size:15px;color:var(--muted)}
.eco p{margin:14px 0 0;font-size:15px}
.comps{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding:12px 16px 14px;scroll-snap-type:x mandatory}
.comps::-webkit-scrollbar{display:none}
.comp{flex:0 0 200px;scroll-snap-align:start;background:var(--surface);border-radius:18px;box-shadow:var(--lift);padding:14px;display:flex;flex-direction:column;gap:4px;min-width:0}
.comp b{font-weight:600;font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.clogo{width:52px;height:52px;border-radius:14px;background:var(--ph);overflow:hidden;display:grid;place-items:center;flex:none;font-weight:600;font-size:20px;color:var(--muted)}
.clogo img{width:100%;height:100%;object-fit:cover}
.vbadge{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;font-size:13px;font-weight:500;color:var(--ok);background:var(--okbg);border-radius:999px;padding:2px 9px 2px 6px}
.vbadge svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.how2 .howg{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:12px 16px 8px}
.howc{background:var(--surface);border-radius:18px;box-shadow:var(--lift);padding:16px}
.howc h3{margin:0 0 10px;font-size:19px;font-weight:600}
.howc ol{margin:0;padding:0;list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:10px}
.howc li{counter-increment:s;display:flex;gap:10px;font-size:15px;line-height:1.4}
.howc li::before{content:counter(s);flex:none;width:26px;height:26px;border-radius:50%;background:var(--ph);display:grid;place-items:center;font-size:13px;font-weight:600}
.review{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-top:1px solid var(--line)}
.review p{margin:2px 0 0;font-size:15px}
.stars{color:var(--text);letter-spacing:2px;font-size:15px}
.starpick{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.starpick input{position:absolute;opacity:0;width:1px;height:1px}
.starpick label{font-size:28px;line-height:1;min-width:44px;min-height:44px;display:grid;place-items:center;color:var(--field);cursor:pointer}
.starpick input:checked~label,.starpick label:hover,.starpick label:hover~label{color:var(--text)}
.starpick input:focus-visible+label{outline:2px solid var(--text);border-radius:8px}
.pickl{display:flex;align-items:center;gap:12px;padding:8px;border-radius:14px;background:var(--surface);box-shadow:var(--lift);min-height:56px;cursor:pointer}
.pickl input{width:22px;height:22px;flex:none;accent-color:var(--text)}
.pickl .col{min-width:0}
.pic.xs{width:52px;border-radius:10px;flex:none}
.dealbox .brow{padding-top:8px;border-top:1px solid var(--line)}
.dealbox .row .inp{flex:1;min-width:0}
.seller .col{gap:2px;min-width:0}
@media (min-width:760px){
  .wcards,.comps,.how2 .howg{padding-left:24px;padding-right:24px}
  .eco,.stats{margin-left:24px;margin-right:24px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
  .stats li+li{border-top:0}
  .wcards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .how2 .howg{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eco-g{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.card .pr{white-space:normal;overflow:visible} /* «2 320 ֏/мешок» не обрезаем: единица переносится на вторую строку */

/* Мало товаров в разделе (< few_listings): карточки крупнее, по одной-две в ряд, без дыр в сетке */
.feed.few,.homegrid .maincol .feed.few{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));max-width:720px;margin-inline:0}


/* External offers use the established card and theme tokens. */
.aggregate-card { overflow-wrap:anywhere; }
.aggregate-price { color:var(--tuff); font-weight:600; font-variant-numeric:tabular-nums; }

.aggregate-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px;padding:0 16px 16px;align-items:stretch;}
.aggregate-grid .aggregate-card {margin:0;min-width:0;display:flex;flex-direction:column;gap:8px;}
.aggregate-grid .aggregate-card p {margin:0;}
.aggregate-grid .aggregate-card .btn {margin-top:auto;}
.aggregate-examples {padding:0 0 12px;flex-wrap:wrap;}
